Lines Matching refs:sprintf
164 sprintf(iio_device_node, "%s%d", "/dev/iio:device", in enable_iio_sysfs()
506 sprintf(sysfs_path, "%s%d", "/sys/bus/iio/devices/iio:device", in inv_init_sysfs_attributes()
513 sprintf(sysfs_path, "%s%s", "sys/class/input/input", tbuf); in inv_init_sysfs_attributes()
516 sprintf(compassSysFs.compass_enable, "%s%s", sysfs_path, "/enable"); in inv_init_sysfs_attributes()
517 sprintf(compassSysFs.compass_rate, "%s%s", sysfs_path, "/rate"); in inv_init_sysfs_attributes()
518 sprintf(compassSysFs.compass_scale, "%s%s", sysfs_path, "/scale"); in inv_init_sysfs_attributes()
519 sprintf(compassSysFs.compass_orient, "%s%s", sysfs_path, "/compass_matrix"); in inv_init_sysfs_attributes()
521 sprintf(compassSysFs.chip_enable, "%s%s", sysfs_path, "/buffer/enable"); in inv_init_sysfs_attributes()
522 sprintf(compassSysFs.in_timestamp_en, "%s%s", sysfs_path, "/scan_elements/in_timestamp_en"); in inv_init_sysfs_attributes()
523 sprintf(compassSysFs.buffer_length, "%s%s", sysfs_path, "/buffer/length"); in inv_init_sysfs_attributes()
525 sprintf(compassSysFs.compass_x_fifo_enable, "%s%s", sysfs_path, "/scan_elements/in_magn_x_en"); in inv_init_sysfs_attributes()
526 sprintf(compassSysFs.compass_y_fifo_enable, "%s%s", sysfs_path, "/scan_elements/in_magn_y_en"); in inv_init_sysfs_attributes()
527 sprintf(compassSysFs.compass_z_fifo_enable, "%s%s", sysfs_path, "/scan_elements/in_magn_z_en"); in inv_init_sysfs_attributes()
528 sprintf(compassSysFs.compass_rate, "%s%s", sysfs_path, "/sampling_frequency"); in inv_init_sysfs_attributes()
529 sprintf(compassSysFs.compass_scale, "%s%s", sysfs_path, "/in_magn_scale"); in inv_init_sysfs_attributes()
530 sprintf(compassSysFs.compass_orient, "%s%s", sysfs_path, "/compass_matrix"); in inv_init_sysfs_attributes()
533 sprintf(compassSysFs.compass_attr_1, "%s%s", sysfs_path, "/overunderflow"); in inv_init_sysfs_attributes()