Home
last modified time | relevance | path

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

/linux/drivers/iio/humidity/
A Dhid-sensor-humidity.c17 struct hid_sensor_common common_attributes; member
69 humid_st->common_attributes.hsdev, 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()
207 humid_st->common_attributes.hsdev = hsdev; in hid_humidity_probe()
208 humid_st->common_attributes.pdev = pdev; in hid_humidity_probe()
212 &humid_st->common_attributes, in hid_humidity_probe()
234 atomic_set(&humid_st->common_attributes.data_ready, 0); in hid_humidity_probe()
[all …]
/linux/drivers/iio/temperature/
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()
204 temp_st->common_attributes.hsdev = hsdev; in hid_temperature_probe()
205 temp_st->common_attributes.pdev = pdev; in hid_temperature_probe()
209 &temp_st->common_attributes, in hid_temperature_probe()
[all …]
/linux/drivers/iio/position/
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()
135 hid_sensor_power_state(&st->common_attributes, false); in hinge_read_raw()
198 if (atomic_read(&st->common_attributes.data_ready)) { in hinge_proc_event()
279 st->common_attributes.hsdev = hsdev; in hid_hinge_probe()
280 st->common_attributes.pdev = pdev; in hid_hinge_probe()
286 &st->common_attributes, in hid_hinge_probe()
312 atomic_set(&st->common_attributes.data_ready, 0); in hid_hinge_probe()
[all …]
/linux/drivers/iio/pressure/
A Dhid-sensor-press.c23 struct hid_sensor_common common_attributes; member
97 press_state->common_attributes.hsdev, in press_read_raw()
121 &press_state->common_attributes, val, val2); in press_read_raw()
125 &press_state->common_attributes, val, val2); in press_read_raw()
148 &press_state->common_attributes, val, val2); in press_write_raw()
152 &press_state->common_attributes, val, val2); in press_write_raw()
203 &press_state->common_attributes, *(s64 *)raw_data); in press_capture_sample()
257 press_state->common_attributes.hsdev = hsdev; in hid_press_probe()
258 press_state->common_attributes.pdev = pdev; in hid_press_probe()
262 &press_state->common_attributes, in hid_press_probe()
[all …]
/linux/drivers/iio/gyro/
A Dhid-sensor-gyro-3d.c26 struct hid_sensor_common common_attributes; member
118 gyro_state->common_attributes.hsdev, in gyro_3d_read_raw()
125 hid_sensor_power_state(&gyro_state->common_attributes, in gyro_3d_read_raw()
143 &gyro_state->common_attributes, val, val2); in gyro_3d_read_raw()
147 &gyro_state->common_attributes, val, val2); in gyro_3d_read_raw()
170 &gyro_state->common_attributes, val, val2); in gyro_3d_write_raw()
174 &gyro_state->common_attributes, val, val2); in gyro_3d_write_raw()
294 gyro_state->common_attributes.hsdev = hsdev; in hid_gyro_3d_probe()
295 gyro_state->common_attributes.pdev = pdev; in hid_gyro_3d_probe()
299 &gyro_state->common_attributes, in hid_gyro_3d_probe()
[all …]
/linux/drivers/iio/light/
A Dhid-sensor-prox.c20 struct hid_sensor_common common_attributes; member
79 hsdev = prox_state->common_attributes.hsdev; in prox_read_raw()
86 hid_sensor_power_state(&prox_state->common_attributes, in prox_read_raw()
111 &prox_state->common_attributes, val, val2); in prox_read_raw()
115 &prox_state->common_attributes, val, val2); in prox_read_raw()
138 &prox_state->common_attributes, val, val2); in prox_write_raw()
142 &prox_state->common_attributes, val, val2); in prox_write_raw()
249 prox_state->common_attributes.hsdev = hsdev; in hid_prox_probe()
250 prox_state->common_attributes.pdev = pdev; in hid_prox_probe()
253 &prox_state->common_attributes, in hid_prox_probe()
[all …]
A Dhid-sensor-als.c29 struct hid_sensor_common common_attributes; member
199 &als_state->common_attributes, val, val2); in als_read_raw()
203 &als_state->common_attributes, val, val2); in als_read_raw()
207 &als_state->common_attributes, val, val2); in als_read_raw()
230 &als_state->common_attributes, val, val2); in als_write_raw()
234 &als_state->common_attributes, val, val2); in als_write_raw()
238 &als_state->common_attributes, val, val2); in als_write_raw()
371 als_state->common_attributes.hsdev = hsdev; in hid_als_probe()
372 als_state->common_attributes.pdev = pdev; in hid_als_probe()
376 &als_state->common_attributes, in hid_als_probe()
[all …]
/linux/drivers/iio/orientation/
A Dhid-sensor-incl-3d.c28 struct hid_sensor_common common_attributes; member
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()
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()
316 incl_state->common_attributes.hsdev = hsdev; in hid_incl_3d_probe()
317 incl_state->common_attributes.pdev = pdev; in hid_incl_3d_probe()
321 &incl_state->common_attributes, in hid_incl_3d_probe()
[all …]
A Dhid-sensor-rotation.c19 struct hid_sensor_common common_attributes; member
99 &rot_state->common_attributes, &vals[0], &vals[1]); in dev_rot_read_raw()
103 &rot_state->common_attributes, &vals[0], &vals[1]); in dev_rot_read_raw()
126 &rot_state->common_attributes, val, val2); in dev_rot_write_raw()
130 &rot_state->common_attributes, val, val2); in dev_rot_write_raw()
153 if (atomic_read(&rot_state->common_attributes.data_ready)) { in dev_rot_proc_event()
247 rot_state->common_attributes.hsdev = hsdev; in hid_dev_rot_probe()
248 rot_state->common_attributes.pdev = pdev; in hid_dev_rot_probe()
266 &rot_state->common_attributes, in hid_dev_rot_probe()
295 atomic_set(&rot_state->common_attributes.data_ready, 0); in hid_dev_rot_probe()
[all …]
/linux/drivers/iio/accel/
A Dhid-sensor-accel-3d.c26 struct hid_sensor_common common_attributes; member
145 accel_state->common_attributes.hsdev; in accel_3d_read_raw()
157 accel_state->common_attributes.hsdev, in accel_3d_read_raw()
181 &accel_state->common_attributes, val, val2); in accel_3d_read_raw()
185 &accel_state->common_attributes, val, val2); in accel_3d_read_raw()
208 &accel_state->common_attributes, val, val2); in accel_3d_write_raw()
281 &accel_state->common_attributes, in accel_3d_capture_sample()
348 accel_state->common_attributes.hsdev = hsdev; in hid_accel_3d_probe()
349 accel_state->common_attributes.pdev = pdev; in hid_accel_3d_probe()
364 &accel_state->common_attributes, in hid_accel_3d_probe()
[all …]
/linux/drivers/rtc/
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/
A Dhid-sensor-magn-3d.c27 struct common_attributes { struct
45 struct common_attributes magn_flux_attr; argument
46 struct common_attributes rot_attr;
/linux/fs/smb/client/
A Dcifspdu.h885 struct_group_attr(common_attributes, __packed,
2269 struct_group_attr(common_attributes, __packed,
A Dcifssmb.c1250 memcpy(&buf->common_attributes, in CIFS_open()
1251 &rsp->common_attributes, in CIFS_open()
1252 sizeof(buf->common_attributes)); in CIFS_open()

Completed in 54 milliseconds