Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/iio/humidity/ !
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-6.12.1/drivers/iio/temperature/ !
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()
204 temp_st->common_attributes.hsdev = hsdev; in hid_temperature_probe()
[all …]
/linux-6.12.1/drivers/iio/position/ !
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-6.12.1/drivers/iio/pressure/ !
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()
203 &press_state->common_attributes, *(s64 *)raw_data); in press_capture_sample()
[all …]
/linux-6.12.1/drivers/iio/gyro/ !
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.data_ready)) { in gyro_3d_proc_event()
[all …]
/linux-6.12.1/drivers/iio/light/ !
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()
91 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()
173 if (atomic_read(&prox_state->common_attributes.data_ready)) in prox_proc_event()
249 prox_state->common_attributes.hsdev = hsdev; in hid_prox_probe()
[all …]
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, val, val2); in als_write_raw()
[all …]
/linux-6.12.1/drivers/iio/orientation/ !
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 …]
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()
189 rot_state->timestamp = hid_sensor_convert_timestamp(&rot_state->common_attributes, in dev_rot_capture_sample()
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()
[all …]
/linux-6.12.1/drivers/iio/accel/ !
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, val, val2); in accel_3d_write_raw()
[all …]
/linux-6.12.1/drivers/rtc/ !
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-6.12.1/drivers/iio/magnetometer/ !
Dhid-sensor-magn-3d.c27 struct common_attributes { struct
45 struct common_attributes magn_flux_attr; argument
46 struct common_attributes rot_attr;
/linux-6.12.1/fs/smb/client/ !
Dcifspdu.h885 struct_group_attr(common_attributes, __packed,
2269 struct_group_attr(common_attributes, __packed,
Dcifssmb.c1250 memcpy(&buf->common_attributes, in CIFS_open()
1251 &rsp->common_attributes, in CIFS_open()
1252 sizeof(buf->common_attributes)); in CIFS_open()