Home
last modified time | relevance | path

Searched refs:common_attributes (Results 1 – 11 of 11) 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 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 in hid_temperature_probe()
[all...]
/linux/drivers/iio/pressure/
H A Dhid-sensor-press.c23 struct hid_sensor_common common_attributes; member
94 hid_sensor_power_state(&press_state->common_attributes, in press_read_raw()
97 press_state->common_attributes.hsdev, in press_read_raw()
102 hid_sensor_power_state(&press_state->common_attributes, 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()
175 if (atomic_read(&press_state->common_attributes.data_ready)) { in press_proc_event()
204 &press_state->common_attributes, *(s6 in press_capture_sample()
[all...]
/linux/drivers/iio/gyro/
H A Dhid-sensor-gyro-3d.c26 struct hid_sensor_common common_attributes; member
112 hid_sensor_power_state(&gyro_state->common_attributes, true); in gyro_3d_read_raw()
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()
129 hid_sensor_power_state(&gyro_state->common_attributes, false); 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()
197 if (atomic_read(&gyro_state->common_attributes in gyro_3d_proc_event()
[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 in incl_3d_proc_event()
[all...]
/linux/drivers/iio/accel/
H A Dhid-sensor-accel-3d.c26 struct hid_sensor_common common_attributes; member
145 accel_state->common_attributes.hsdev; in accel_3d_read_raw()
151 hid_sensor_power_state(&accel_state->common_attributes, true); in accel_3d_read_raw()
157 accel_state->common_attributes.hsdev, in accel_3d_read_raw()
163 hid_sensor_power_state(&accel_state->common_attributes, in accel_3d_read_raw()
167 hid_sensor_power_state(&accel_state->common_attributes, false); 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()
212 &accel_state->common_attributes, va in accel_3d_write_raw()
[all...]
/linux/drivers/iio/light/
H A Dhid-sensor-als.c29 struct hid_sensor_common common_attributes; member
138 struct hid_sensor_hub_device *hsdev = als_state->common_attributes.hsdev; in als_read_raw()
175 hid_sensor_power_state(&als_state->common_attributes, in als_read_raw()
180 hid_sensor_power_state(&als_state->common_attributes, in als_read_raw()
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, va in als_write_raw()
[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.c27 struct common_attributes { struct
45 struct common_attributes magn_flux_attr; argument
46 struct common_attributes rot_attr;
/linux/fs/smb/client/
H A Dcifspdu.h925 struct_group_attr(common_attributes, __packed,
2280 struct_group_attr(common_attributes, __packed,
H A Dcifssmb.c1284 memcpy(&buf->common_attributes, in CIFS_open()
1285 &rsp->common_attributes, in CIFS_open()
1286 sizeof(buf->common_attributes)); in CIFS_open()