/linux-4.4.14/drivers/iio/light/ |
H A D | hid-sensor-als.c | 38 struct hid_sensor_common common_attributes; member in struct:als_state 99 hid_sensor_power_state(&als_state->common_attributes, als_read_raw() 102 als_state->common_attributes.hsdev, als_read_raw() 106 hid_sensor_power_state(&als_state->common_attributes, als_read_raw() 125 &als_state->common_attributes, val, val2); als_read_raw() 129 &als_state->common_attributes, val, val2); als_read_raw() 152 &als_state->common_attributes, val, val2); als_write_raw() 156 &als_state->common_attributes, val, val2); als_write_raw() 188 if (atomic_read(&als_state->common_attributes.data_ready)) als_proc_event() 245 if (st->common_attributes.sensitivity.index < 0) { als_parse_report() 250 &st->common_attributes.sensitivity); als_parse_report() 252 st->common_attributes.sensitivity.index, als_parse_report() 253 st->common_attributes.sensitivity.report_id); als_parse_report() 273 als_state->common_attributes.hsdev = hsdev; hid_als_probe() 274 als_state->common_attributes.pdev = pdev; hid_als_probe() 277 &als_state->common_attributes); hid_als_probe() 311 atomic_set(&als_state->common_attributes.data_ready, 0); hid_als_probe() 313 &als_state->common_attributes); hid_als_probe() 340 hid_sensor_remove_trigger(&als_state->common_attributes); hid_als_probe() 357 hid_sensor_remove_trigger(&als_state->common_attributes); hid_als_remove()
|
H A D | hid-sensor-prox.c | 37 struct hid_sensor_common common_attributes; member in struct:prox_state 92 hid_sensor_power_state(&prox_state->common_attributes, prox_read_raw() 95 prox_state->common_attributes.hsdev, prox_read_raw() 99 hid_sensor_power_state(&prox_state->common_attributes, prox_read_raw() 118 &prox_state->common_attributes, val, val2); prox_read_raw() 122 &prox_state->common_attributes, val, val2); prox_read_raw() 145 &prox_state->common_attributes, val, val2); prox_write_raw() 149 &prox_state->common_attributes, val, val2); prox_write_raw() 181 if (atomic_read(&prox_state->common_attributes.data_ready)) prox_proc_event() 233 if (st->common_attributes.sensitivity.index < 0) { prox_parse_report() 238 &st->common_attributes.sensitivity); prox_parse_report() 240 st->common_attributes.sensitivity.index, prox_parse_report() 241 st->common_attributes.sensitivity.report_id); prox_parse_report() 262 prox_state->common_attributes.hsdev = hsdev; hid_prox_probe() 263 prox_state->common_attributes.pdev = pdev; hid_prox_probe() 266 &prox_state->common_attributes); hid_prox_probe() 299 atomic_set(&prox_state->common_attributes.data_ready, 0); hid_prox_probe() 301 &prox_state->common_attributes); hid_prox_probe() 328 hid_sensor_remove_trigger(&prox_state->common_attributes); hid_prox_probe() 345 hid_sensor_remove_trigger(&prox_state->common_attributes); hid_prox_remove()
|
/linux-4.4.14/drivers/iio/pressure/ |
H A D | hid-sensor-press.c | 37 struct hid_sensor_common common_attributes; member in struct:press_state 96 hid_sensor_power_state(&press_state->common_attributes, press_read_raw() 99 press_state->common_attributes.hsdev, press_read_raw() 103 hid_sensor_power_state(&press_state->common_attributes, press_read_raw() 122 &press_state->common_attributes, val, val2); press_read_raw() 126 &press_state->common_attributes, val, val2); press_read_raw() 149 &press_state->common_attributes, val, val2); press_write_raw() 153 &press_state->common_attributes, val, val2); press_write_raw() 185 if (atomic_read(&press_state->common_attributes.data_ready)) press_proc_event() 242 if (st->common_attributes.sensitivity.index < 0) { press_parse_report() 247 &st->common_attributes.sensitivity); press_parse_report() 249 st->common_attributes.sensitivity.index, press_parse_report() 250 st->common_attributes.sensitivity.report_id); press_parse_report() 271 press_state->common_attributes.hsdev = hsdev; hid_press_probe() 272 press_state->common_attributes.pdev = pdev; hid_press_probe() 276 &press_state->common_attributes); hid_press_probe() 310 atomic_set(&press_state->common_attributes.data_ready, 0); hid_press_probe() 312 &press_state->common_attributes); hid_press_probe() 339 hid_sensor_remove_trigger(&press_state->common_attributes); hid_press_probe() 356 hid_sensor_remove_trigger(&press_state->common_attributes); hid_press_remove()
|
/linux-4.4.14/drivers/iio/orientation/ |
H A D | hid-sensor-rotation.c | 31 struct hid_sensor_common common_attributes; member in struct:dev_rot_state 85 &rot_state->common_attributes, &vals[0], &vals[1]); dev_rot_read_raw() 89 &rot_state->common_attributes, &vals[0], &vals[1]); dev_rot_read_raw() 112 &rot_state->common_attributes, val, val2); dev_rot_write_raw() 116 &rot_state->common_attributes, val, val2); dev_rot_write_raw() 149 if (atomic_read(&rot_state->common_attributes.data_ready)) dev_rot_proc_event() 203 if (st->common_attributes.sensitivity.index < 0) { dev_rot_parse_report() 208 &st->common_attributes.sensitivity); dev_rot_parse_report() 210 st->common_attributes.sensitivity.index, dev_rot_parse_report() 211 st->common_attributes.sensitivity.report_id); dev_rot_parse_report() 234 rot_state->common_attributes.hsdev = hsdev; hid_dev_rot_probe() 235 rot_state->common_attributes.pdev = pdev; hid_dev_rot_probe() 239 &rot_state->common_attributes); hid_dev_rot_probe() 274 atomic_set(&rot_state->common_attributes.data_ready, 0); hid_dev_rot_probe() 276 &rot_state->common_attributes); hid_dev_rot_probe() 304 hid_sensor_remove_trigger(&rot_state->common_attributes); hid_dev_rot_probe() 319 hid_sensor_remove_trigger(&rot_state->common_attributes); hid_dev_rot_remove()
|
H A D | hid-sensor-incl-3d.c | 43 struct hid_sensor_common common_attributes; member in struct:incl_3d_state 119 hid_sensor_power_state(&incl_state->common_attributes, true); incl_3d_read_raw() 125 incl_state->common_attributes.hsdev, incl_3d_read_raw() 130 hid_sensor_power_state(&incl_state->common_attributes, incl_3d_read_raw() 134 hid_sensor_power_state(&incl_state->common_attributes, false); incl_3d_read_raw() 148 &incl_state->common_attributes, val, val2); incl_3d_read_raw() 152 &incl_state->common_attributes, val, val2); incl_3d_read_raw() 175 &incl_state->common_attributes, val, val2); incl_3d_write_raw() 179 &incl_state->common_attributes, val, val2); incl_3d_write_raw() 210 if (atomic_read(&incl_state->common_attributes.data_ready)) incl_3d_proc_event() 297 if (st->common_attributes.sensitivity.index < 0) { incl_3d_parse_report() 302 &st->common_attributes.sensitivity); incl_3d_parse_report() 304 st->common_attributes.sensitivity.index, incl_3d_parse_report() 305 st->common_attributes.sensitivity.report_id); incl_3d_parse_report() 327 incl_state->common_attributes.hsdev = hsdev; hid_incl_3d_probe() 328 incl_state->common_attributes.pdev = pdev; hid_incl_3d_probe() 332 &incl_state->common_attributes); hid_incl_3d_probe() 366 atomic_set(&incl_state->common_attributes.data_ready, 0); hid_incl_3d_probe() 368 &incl_state->common_attributes); hid_incl_3d_probe() 396 hid_sensor_remove_trigger(&incl_state->common_attributes); hid_incl_3d_probe() 413 hid_sensor_remove_trigger(&incl_state->common_attributes); hid_incl_3d_remove()
|
/linux-4.4.14/drivers/iio/accel/ |
H A D | hid-sensor-accel-3d.c | 43 struct hid_sensor_common common_attributes; member in struct:accel_3d_state 119 hid_sensor_power_state(&accel_state->common_attributes, true); accel_3d_read_raw() 124 accel_state->common_attributes.hsdev, accel_3d_read_raw() 130 hid_sensor_power_state(&accel_state->common_attributes, accel_3d_read_raw() 134 hid_sensor_power_state(&accel_state->common_attributes, false); accel_3d_read_raw() 148 &accel_state->common_attributes, val, val2); accel_3d_read_raw() 152 &accel_state->common_attributes, val, val2); accel_3d_read_raw() 175 &accel_state->common_attributes, val, val2); accel_3d_write_raw() 179 &accel_state->common_attributes, val, val2); accel_3d_write_raw() 211 if (atomic_read(&accel_state->common_attributes.data_ready)) accel_3d_proc_event() 280 if (st->common_attributes.sensitivity.index < 0) { accel_3d_parse_report() 285 &st->common_attributes.sensitivity); accel_3d_parse_report() 287 st->common_attributes.sensitivity.index, accel_3d_parse_report() 288 st->common_attributes.sensitivity.report_id); accel_3d_parse_report() 311 accel_state->common_attributes.hsdev = hsdev; hid_accel_3d_probe() 312 accel_state->common_attributes.pdev = pdev; hid_accel_3d_probe() 316 &accel_state->common_attributes); hid_accel_3d_probe() 349 atomic_set(&accel_state->common_attributes.data_ready, 0); hid_accel_3d_probe() 351 &accel_state->common_attributes); hid_accel_3d_probe() 378 hid_sensor_remove_trigger(&accel_state->common_attributes); hid_accel_3d_probe() 395 hid_sensor_remove_trigger(&accel_state->common_attributes); hid_accel_3d_remove()
|
/linux-4.4.14/drivers/iio/gyro/ |
H A D | hid-sensor-gyro-3d.c | 43 struct hid_sensor_common common_attributes; member in struct:gyro_3d_state 119 hid_sensor_power_state(&gyro_state->common_attributes, true); gyro_3d_read_raw() 124 gyro_state->common_attributes.hsdev, gyro_3d_read_raw() 130 hid_sensor_power_state(&gyro_state->common_attributes, gyro_3d_read_raw() 134 hid_sensor_power_state(&gyro_state->common_attributes, false); gyro_3d_read_raw() 148 &gyro_state->common_attributes, val, val2); gyro_3d_read_raw() 152 &gyro_state->common_attributes, val, val2); gyro_3d_read_raw() 175 &gyro_state->common_attributes, val, val2); gyro_3d_write_raw() 179 &gyro_state->common_attributes, val, val2); gyro_3d_write_raw() 211 if (atomic_read(&gyro_state->common_attributes.data_ready)) gyro_3d_proc_event() 280 if (st->common_attributes.sensitivity.index < 0) { gyro_3d_parse_report() 285 &st->common_attributes.sensitivity); gyro_3d_parse_report() 287 st->common_attributes.sensitivity.index, gyro_3d_parse_report() 288 st->common_attributes.sensitivity.report_id); gyro_3d_parse_report() 308 gyro_state->common_attributes.hsdev = hsdev; hid_gyro_3d_probe() 309 gyro_state->common_attributes.pdev = pdev; hid_gyro_3d_probe() 313 &gyro_state->common_attributes); hid_gyro_3d_probe() 346 atomic_set(&gyro_state->common_attributes.data_ready, 0); hid_gyro_3d_probe() 348 &gyro_state->common_attributes); hid_gyro_3d_probe() 375 hid_sensor_remove_trigger(&gyro_state->common_attributes); hid_gyro_3d_probe() 392 hid_sensor_remove_trigger(&gyro_state->common_attributes); hid_gyro_3d_remove()
|
/linux-4.4.14/drivers/iio/magnetometer/ |
H A D | hid-sensor-magn-3d.c | 47 struct hid_sensor_common common_attributes; member in struct:magn_3d_state 165 hid_sensor_power_state(&magn_state->common_attributes, true); magn_3d_read_raw() 171 magn_state->common_attributes.hsdev, magn_3d_read_raw() 177 hid_sensor_power_state(&magn_state->common_attributes, magn_3d_read_raw() 181 hid_sensor_power_state(&magn_state->common_attributes, false); magn_3d_read_raw() 195 &magn_state->common_attributes, val, val2); magn_3d_read_raw() 199 &magn_state->common_attributes, val, val2); magn_3d_read_raw() 222 &magn_state->common_attributes, val, val2); magn_3d_write_raw() 226 &magn_state->common_attributes, val, val2); magn_3d_write_raw() 257 if (atomic_read(&magn_state->common_attributes.data_ready)) magn_3d_proc_event() 398 if (st->common_attributes.sensitivity.index < 0) { magn_3d_parse_report() 403 &st->common_attributes.sensitivity); magn_3d_parse_report() 405 st->common_attributes.sensitivity.index, magn_3d_parse_report() 406 st->common_attributes.sensitivity.report_id); magn_3d_parse_report() 431 magn_state->common_attributes.hsdev = hsdev; hid_magn_3d_probe() 432 magn_state->common_attributes.pdev = pdev; hid_magn_3d_probe() 436 &magn_state->common_attributes); hid_magn_3d_probe() 463 atomic_set(&magn_state->common_attributes.data_ready, 0); hid_magn_3d_probe() 465 &magn_state->common_attributes); hid_magn_3d_probe() 492 hid_sensor_remove_trigger(&magn_state->common_attributes); hid_magn_3d_probe() 507 hid_sensor_remove_trigger(&magn_state->common_attributes); hid_magn_3d_remove()
|
/linux-4.4.14/drivers/rtc/ |
H A D | rtc-hid-sensor-time.c | 38 struct hid_sensor_common common_attributes; member in struct:hid_time_state 214 sensor_hub_input_attr_get_raw_value(time_state->common_attributes.hsdev, hid_rtc_read_time() 250 time_state->common_attributes.hsdev = hsdev; hid_time_probe() 251 time_state->common_attributes.pdev = pdev; hid_time_probe() 255 &time_state->common_attributes); hid_time_probe()
|