/Linux-v4.19/drivers/iio/light/ |
D | hid-sensor-prox.c | 37 struct hid_sensor_common common_attributes; member 92 hid_sensor_power_state(&prox_state->common_attributes, in prox_read_raw() 95 prox_state->common_attributes.hsdev, in prox_read_raw() 99 hid_sensor_power_state(&prox_state->common_attributes, in prox_read_raw() 118 &prox_state->common_attributes, val, val2); in prox_read_raw() 122 &prox_state->common_attributes, val, val2); in prox_read_raw() 145 &prox_state->common_attributes, val, val2); in prox_write_raw() 149 &prox_state->common_attributes, val, val2); in prox_write_raw() 180 if (atomic_read(&prox_state->common_attributes.data_ready)) in prox_proc_event() 232 if (st->common_attributes.sensitivity.index < 0) { in prox_parse_report() [all …]
|
D | hid-sensor-als.c | 42 struct hid_sensor_common common_attributes; member 113 hid_sensor_power_state(&als_state->common_attributes, in als_read_raw() 116 als_state->common_attributes.hsdev, in als_read_raw() 120 hid_sensor_power_state(&als_state->common_attributes, in als_read_raw() 139 &als_state->common_attributes, val, val2); in als_read_raw() 143 &als_state->common_attributes, val, val2); in als_read_raw() 166 &als_state->common_attributes, val, val2); in als_write_raw() 170 &als_state->common_attributes, val, val2); in als_write_raw() 201 if (atomic_read(&als_state->common_attributes.data_ready)) in als_proc_event() 262 if (st->common_attributes.sensitivity.index < 0) { in als_parse_report() [all …]
|
/Linux-v4.19/drivers/iio/humidity/ |
D | hid-sensor-humidity.c | 29 struct hid_sensor_common common_attributes; member 72 hid_sensor_power_state(&humid_st->common_attributes, true); in humidity_read_raw() 74 humid_st->common_attributes.hsdev, in humidity_read_raw() 79 hid_sensor_power_state(&humid_st->common_attributes, false); in humidity_read_raw() 96 &humid_st->common_attributes, val, val2); in humidity_read_raw() 100 &humid_st->common_attributes, val, val2); in humidity_read_raw() 116 &humid_st->common_attributes, val, val2); in humidity_write_raw() 120 &humid_st->common_attributes, val, val2); in humidity_write_raw() 139 if (atomic_read(&humid_st->common_attributes.data_ready)) in humidity_proc_event() 190 if (st->common_attributes.sensitivity.index < 0) in humidity_parse_report() [all …]
|
/Linux-v4.19/drivers/iio/temperature/ |
D | hid-sensor-temperature.c | 29 struct hid_sensor_common common_attributes; member 73 &temp_st->common_attributes, true); in temperature_read_raw() 75 temp_st->common_attributes.hsdev, in temperature_read_raw() 81 &temp_st->common_attributes, in temperature_read_raw() 97 &temp_st->common_attributes, val, val2); in temperature_read_raw() 101 &temp_st->common_attributes, val, val2); in temperature_read_raw() 116 &temp_st->common_attributes, val, val2); in temperature_write_raw() 119 &temp_st->common_attributes, val, val2); in temperature_write_raw() 137 if (atomic_read(&temp_st->common_attributes.data_ready)) in temperature_proc_event() 187 if (st->common_attributes.sensitivity.index < 0) in temperature_parse_report() [all …]
|
/Linux-v4.19/drivers/iio/pressure/ |
D | hid-sensor-press.c | 37 struct hid_sensor_common common_attributes; member 96 hid_sensor_power_state(&press_state->common_attributes, in press_read_raw() 99 press_state->common_attributes.hsdev, in press_read_raw() 103 hid_sensor_power_state(&press_state->common_attributes, in press_read_raw() 122 &press_state->common_attributes, val, val2); in press_read_raw() 126 &press_state->common_attributes, val, val2); in press_read_raw() 149 &press_state->common_attributes, val, val2); in press_write_raw() 153 &press_state->common_attributes, val, val2); in press_write_raw() 184 if (atomic_read(&press_state->common_attributes.data_ready)) in press_proc_event() 241 if (st->common_attributes.sensitivity.index < 0) { in press_parse_report() [all …]
|
/Linux-v4.19/drivers/iio/accel/ |
D | hid-sensor-accel-3d.c | 43 struct hid_sensor_common common_attributes; member 153 accel_state->common_attributes.hsdev; in accel_3d_read_raw() 159 hid_sensor_power_state(&accel_state->common_attributes, true); in accel_3d_read_raw() 164 accel_state->common_attributes.hsdev, in accel_3d_read_raw() 169 hid_sensor_power_state(&accel_state->common_attributes, in accel_3d_read_raw() 173 hid_sensor_power_state(&accel_state->common_attributes, false); in accel_3d_read_raw() 187 &accel_state->common_attributes, val, val2); in accel_3d_read_raw() 191 &accel_state->common_attributes, val, val2); in accel_3d_read_raw() 214 &accel_state->common_attributes, val, val2); in accel_3d_write_raw() 218 &accel_state->common_attributes, val, val2); in accel_3d_write_raw() [all …]
|
/Linux-v4.19/drivers/iio/gyro/ |
D | hid-sensor-gyro-3d.c | 43 struct hid_sensor_common common_attributes; member 119 hid_sensor_power_state(&gyro_state->common_attributes, true); in gyro_3d_read_raw() 124 gyro_state->common_attributes.hsdev, in gyro_3d_read_raw() 130 hid_sensor_power_state(&gyro_state->common_attributes, in gyro_3d_read_raw() 134 hid_sensor_power_state(&gyro_state->common_attributes, false); in gyro_3d_read_raw() 148 &gyro_state->common_attributes, val, val2); in gyro_3d_read_raw() 152 &gyro_state->common_attributes, val, val2); in gyro_3d_read_raw() 175 &gyro_state->common_attributes, val, val2); in gyro_3d_write_raw() 179 &gyro_state->common_attributes, val, val2); in gyro_3d_write_raw() 210 if (atomic_read(&gyro_state->common_attributes.data_ready)) in gyro_3d_proc_event() [all …]
|
/Linux-v4.19/drivers/iio/orientation/ |
D | hid-sensor-incl-3d.c | 43 struct hid_sensor_common common_attributes; member 119 hid_sensor_power_state(&incl_state->common_attributes, true); in incl_3d_read_raw() 125 incl_state->common_attributes.hsdev, in incl_3d_read_raw() 130 hid_sensor_power_state(&incl_state->common_attributes, in incl_3d_read_raw() 134 hid_sensor_power_state(&incl_state->common_attributes, false); in incl_3d_read_raw() 148 &incl_state->common_attributes, val, val2); in incl_3d_read_raw() 152 &incl_state->common_attributes, val, val2); in incl_3d_read_raw() 175 &incl_state->common_attributes, val, val2); in incl_3d_write_raw() 179 &incl_state->common_attributes, val, val2); in incl_3d_write_raw() 209 if (atomic_read(&incl_state->common_attributes.data_ready)) in incl_3d_proc_event() [all …]
|
D | hid-sensor-rotation.c | 31 struct hid_sensor_common common_attributes; member 100 &rot_state->common_attributes, &vals[0], &vals[1]); in dev_rot_read_raw() 104 &rot_state->common_attributes, &vals[0], &vals[1]); in dev_rot_read_raw() 127 &rot_state->common_attributes, val, val2); in dev_rot_write_raw() 131 &rot_state->common_attributes, val, val2); in dev_rot_write_raw() 163 if (atomic_read(&rot_state->common_attributes.data_ready)) in dev_rot_proc_event() 222 if (st->common_attributes.sensitivity.index < 0) { in dev_rot_parse_report() 227 &st->common_attributes.sensitivity); in dev_rot_parse_report() 229 st->common_attributes.sensitivity.index, in dev_rot_parse_report() 230 st->common_attributes.sensitivity.report_id); in dev_rot_parse_report() [all …]
|
/Linux-v4.19/drivers/rtc/ |
D | rtc-hid-sensor-time.c | 38 struct hid_sensor_common common_attributes; member 214 sensor_hub_input_attr_get_raw_value(time_state->common_attributes.hsdev, in hid_rtc_read_time() 250 time_state->common_attributes.hsdev = hsdev; in hid_time_probe() 251 time_state->common_attributes.pdev = pdev; in hid_time_probe() 255 &time_state->common_attributes); in hid_time_probe()
|
/Linux-v4.19/drivers/iio/magnetometer/ |
D | hid-sensor-magn-3d.c | 45 struct common_attributes { struct 63 struct common_attributes magn_flux_attr; argument 64 struct common_attributes rot_attr;
|