| /linux/drivers/iio/position/ |
| H A D | hid-sensor-custom-intel-hinge.c | 38 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/humidity/ |
| H A D | hid-sensor-humidity.c | 17 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 D | hid-sensor-temperature.c | 17 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/pressure/ |
| H A D | hid-sensor-press.c | 23 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, *(s64 *)raw_data); in press_capture_sample() [all …]
|
| /linux/drivers/iio/gyro/ |
| H A D | hid-sensor-gyro-3d.c | 26 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/drivers/iio/orientation/ |
| H A D | hid-sensor-incl-3d.c | 28 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 D | hid-sensor-rotation.c | 19 struct hid_sensor_common common_attributes; member 104 &rot_state->common_attributes, &vals[0], &vals[1]); in dev_rot_read_raw() 108 &rot_state->common_attributes, &vals[0], &vals[1]); in dev_rot_read_raw() 131 &rot_state->common_attributes, val, val2); in dev_rot_write_raw() 135 &rot_state->common_attributes, val, val2); in dev_rot_write_raw() 158 if (atomic_read(&rot_state->common_attributes.data_ready)) { in dev_rot_proc_event() 205 rot_state->timestamp = hid_sensor_convert_timestamp(&rot_state->common_attributes, in dev_rot_capture_sample() 263 rot_state->common_attributes.hsdev = hsdev; in hid_dev_rot_probe() 264 rot_state->common_attributes.pdev = pdev; in hid_dev_rot_probe() 282 &rot_state->common_attributes, in hid_dev_rot_probe() [all …]
|
| /linux/drivers/iio/accel/ |
| H A D | hid-sensor-accel-3d.c | 26 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/drivers/iio/light/ |
| H A D | hid-sensor-als.c | 29 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 …]
|
| H A D | hid-sensor-prox.c | 32 struct hid_sensor_common common_attributes; member 103 hsdev = prox_state->common_attributes.hsdev; in prox_read_raw() 105 hid_sensor_power_state(&prox_state->common_attributes, true); in prox_read_raw() 115 hid_sensor_power_state(&prox_state->common_attributes, false); in prox_read_raw() 132 &prox_state->common_attributes, val, val2); in prox_read_raw() 136 &prox_state->common_attributes, val, val2); in prox_read_raw() 159 &prox_state->common_attributes, val, val2); in prox_write_raw() 163 &prox_state->common_attributes, val, val2); in prox_write_raw() 186 if (atomic_read(&prox_state->common_attributes.data_ready)) { in prox_proc_event() 288 prox_state->common_attributes.hsdev = hsdev; in hid_prox_probe() [all …]
|
| /linux/drivers/rtc/ |
| H A D | rtc-hid-sensor-time.c | 25 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 D | hid-sensor-magn-3d.c | 27 struct common_attributes { struct 45 struct common_attributes magn_flux_attr; argument 46 struct common_attributes rot_attr;
|
| /linux/fs/smb/client/ |
| H A D | smb1pdu.h | 765 struct_group_attr(common_attributes, __packed, 1976 struct_group_attr(common_attributes, __packed,
|
| H A D | cifssmb.c | 1448 memcpy(&buf->common_attributes, in CIFS_open() 1449 &rsp->common_attributes, in CIFS_open() 1450 sizeof(buf->common_attributes)); in CIFS_open()
|