Home
last modified time | relevance | path

Searched refs:common_attributes (Results 1 – 12 of 12) sorted by relevance

/linux/drivers/iio/humidity/
H A Dhid-sensor-humidity.c17 struct hid_sensor_common common_attributes; member
67 hid_sensor_power_state(&humid_st->common_attributes, true); in humidity_read_raw()
69 humid_st->common_attributes.hsdev, in humidity_read_raw()
75 hid_sensor_power_state(&humid_st->common_attributes, false); in humidity_read_raw()
92 &humid_st->common_attributes, val, val2); in humidity_read_raw()
96 &humid_st->common_attributes, val, val2); in humidity_read_raw()
112 &humid_st->common_attributes, val, val2); in humidity_write_raw()
116 &humid_st->common_attributes, val, val2); in humidity_write_raw()
135 if (atomic_read(&humid_st->common_attributes.data_ready)) in humidity_proc_event()
207 humid_st->common_attributes.hsdev = hsdev; in hid_humidity_probe()
[all …]
/linux/drivers/iio/temperature/
H A Dhid-sensor-temperature.c17 struct hid_sensor_common common_attributes; member
68 &temp_st->common_attributes, true); in temperature_read_raw()
70 temp_st->common_attributes.hsdev, in temperature_read_raw()
77 &temp_st->common_attributes, in temperature_read_raw()
93 &temp_st->common_attributes, val, val2); in temperature_read_raw()
97 &temp_st->common_attributes, val, val2); in temperature_read_raw()
112 &temp_st->common_attributes, val, val2); in temperature_write_raw()
115 &temp_st->common_attributes, val, val2); in temperature_write_raw()
133 if (atomic_read(&temp_st->common_attributes.data_ready)) in temperature_proc_event()
205 temp_st->common_attributes.hsdev = hsdev; in hid_temperature_probe()
[all …]
/linux/drivers/iio/position/
H A Dhid-sensor-custom-intel-hinge.c38 struct hid_sensor_common common_attributes; member
118 hsdev = st->common_attributes.hsdev; in hinge_read_raw()
121 hid_sensor_power_state(&st->common_attributes, true); in hinge_read_raw()
125 hid_sensor_power_state(&st->common_attributes, false); in hinge_read_raw()
129 *val = sensor_hub_input_attr_get_raw_value(st->common_attributes.hsdev, in hinge_read_raw()
135 hid_sensor_power_state(&st->common_attributes, false); in hinge_read_raw()
145 return hid_sensor_read_samp_freq_value(&st->common_attributes, in hinge_read_raw()
148 return hid_sensor_read_raw_hyst_value(&st->common_attributes, in hinge_read_raw()
164 return hid_sensor_write_samp_freq_value(&st->common_attributes, in hinge_write_raw()
167 return hid_sensor_write_raw_hyst_value(&st->common_attributes, in hinge_write_raw()
[all …]
/linux/drivers/iio/pressure/
H A Dhid-sensor-press.c24 struct hid_sensor_common common_attributes;
84 hid_sensor_power_state(&press_state->common_attributes, in press_read_raw()
87 press_state->common_attributes.hsdev, in press_read_raw()
92 hid_sensor_power_state(&press_state->common_attributes, in press_read_raw()
111 &press_state->common_attributes, val, val2); in press_read_raw()
115 &press_state->common_attributes, val, val2); in press_read_raw()
138 &press_state->common_attributes, val, val2); in press_write_raw()
142 &press_state->common_attributes, val, val2); in press_write_raw()
165 if (atomic_read(&press_state->common_attributes.data_ready)) {
194 &press_state->common_attributes, *(s6 in press_capture_sample()
23 struct hid_sensor_common common_attributes; global() member
[all...]
/linux/drivers/iio/gyro/
H A Dhid-sensor-gyro-3d.c27 struct hid_sensor_common common_attributes;
102 hid_sensor_power_state(&gyro_state->common_attributes, true); in gyro_3d_read_raw()
108 gyro_state->common_attributes.hsdev, in gyro_3d_read_raw()
115 hid_sensor_power_state(&gyro_state->common_attributes, in gyro_3d_read_raw()
119 hid_sensor_power_state(&gyro_state->common_attributes, false); in gyro_3d_read_raw()
133 &gyro_state->common_attributes, val, val2); in gyro_3d_read_raw()
137 &gyro_state->common_attributes, val, val2); in gyro_3d_read_raw()
160 &gyro_state->common_attributes, val, val2); in gyro_3d_write_raw()
164 &gyro_state->common_attributes, val, val2); in gyro_3d_write_raw()
187 if (atomic_read(&gyro_state->common_attributes
26 struct hid_sensor_common common_attributes; global() member
[all...]
/linux/drivers/iio/orientation/
H A Dhid-sensor-incl-3d.c28 struct hid_sensor_common common_attributes; member
115 hid_sensor_power_state(&incl_state->common_attributes, true); in incl_3d_read_raw()
121 incl_state->common_attributes.hsdev, in incl_3d_read_raw()
127 hid_sensor_power_state(&incl_state->common_attributes, in incl_3d_read_raw()
131 hid_sensor_power_state(&incl_state->common_attributes, false); in incl_3d_read_raw()
145 &incl_state->common_attributes, val, val2); in incl_3d_read_raw()
149 &incl_state->common_attributes, val, val2); in incl_3d_read_raw()
172 &incl_state->common_attributes, val, val2); in incl_3d_write_raw()
176 &incl_state->common_attributes, val, val2); in incl_3d_write_raw()
199 if (atomic_read(&incl_state->common_attributes.data_ready)) { in incl_3d_proc_event()
[all …]
H A Dhid-sensor-rotation.c19 struct hid_sensor_common common_attributes; member
116 &rot_state->common_attributes, &vals[0], &vals[1]); in dev_rot_read_raw()
120 &rot_state->common_attributes, &vals[0], &vals[1]); in dev_rot_write_raw()
143 &rot_state->common_attributes, val, val2);
147 &rot_state->common_attributes, val, val2);
186 if (atomic_read(&rot_state->common_attributes.data_ready)) { in dev_rot_capture_sample()
233 rot_state->timestamp = hid_sensor_convert_timestamp(&rot_state->common_attributes, in dev_rot_parse_report()
287 rot_state->common_attributes.hsdev = hsdev; in hid_dev_rot_probe()
288 rot_state->common_attributes.pdev = pdev; in hid_dev_rot_probe()
306 &rot_state->common_attributes, in hid_dev_rot_probe()
[all...]
/linux/drivers/iio/accel/
H A Dhid-sensor-accel-3d.c27 struct hid_sensor_common common_attributes;
135 accel_state->common_attributes.hsdev; in accel_3d_read_raw()
141 hid_sensor_power_state(&accel_state->common_attributes, true); in accel_3d_read_raw()
147 accel_state->common_attributes.hsdev, in accel_3d_read_raw()
153 hid_sensor_power_state(&accel_state->common_attributes, in accel_3d_read_raw()
157 hid_sensor_power_state(&accel_state->common_attributes, false); in accel_3d_read_raw()
171 &accel_state->common_attributes, val, val2); in accel_3d_read_raw()
175 &accel_state->common_attributes, val, val2); in accel_3d_read_raw()
198 &accel_state->common_attributes, val, val2); in accel_3d_write_raw()
202 &accel_state->common_attributes, va in accel_3d_write_raw()
26 struct hid_sensor_common common_attributes; global() member
[all...]
/linux/drivers/iio/light/
H A Dhid-sensor-prox.c33 struct hid_sensor_common common_attributes;
93 hsdev = prox_state->common_attributes.hsdev; in prox_read_raw()
95 hid_sensor_power_state(&prox_state->common_attributes, true); in prox_read_raw()
105 hid_sensor_power_state(&prox_state->common_attributes, false); in prox_read_raw()
122 &prox_state->common_attributes, val, val2); in prox_read_raw()
126 &prox_state->common_attributes, val, val2); in prox_read_raw()
149 &prox_state->common_attributes, val, val2); in prox_write_raw()
153 &prox_state->common_attributes, val, val2); in prox_write_raw()
176 if (atomic_read(&prox_state->common_attributes.data_ready)) {
281 prox_state->common_attributes in hid_prox_probe()
32 struct hid_sensor_common common_attributes; global() member
[all...]
/linux/drivers/rtc/
H A Drtc-hid-sensor-time.c25 struct hid_sensor_common common_attributes; member
200 sensor_hub_input_attr_get_raw_value(time_state->common_attributes.hsdev, in hid_rtc_read_time()
236 time_state->common_attributes.hsdev = hsdev; in hid_time_probe()
237 time_state->common_attributes.pdev = pdev; in hid_time_probe()
241 &time_state->common_attributes, in hid_time_probe()
/linux/drivers/iio/magnetometer/
H A Dhid-sensor-magn-3d.c28 struct common_attributes {
46 struct common_attributes magn_flux_attr;
47 struct common_attributes rot_attr;
27 struct common_attributes { global() struct
45 value_offsetcommon_attributes global() argument
/linux/fs/smb/client/
H A Dcifssmb.c1448 memcpy(&buf->common_attributes, in CIFS_open()
1449 &rsp->common_attributes, in CIFS_open()
1450 sizeof(buf->common_attributes)); in CIFS_open()