common_attributes
accel_state->common_attributes.hsdev;
hid_sensor_power_state(&accel_state->common_attributes, true);
accel_state->common_attributes.hsdev,
hid_sensor_power_state(&accel_state->common_attributes,
hid_sensor_power_state(&accel_state->common_attributes, false);
&accel_state->common_attributes, val, val2);
&accel_state->common_attributes, val, val2);
&accel_state->common_attributes, val, val2);
&accel_state->common_attributes, val, val2);
if (atomic_read(&accel_state->common_attributes.data_ready)) {
struct hid_sensor_common common_attributes;
&accel_state->common_attributes,
accel_state->common_attributes.hsdev = hsdev;
accel_state->common_attributes.pdev = pdev;
&accel_state->common_attributes,
atomic_set(&accel_state->common_attributes.data_ready, 0);
&accel_state->common_attributes);
hid_sensor_remove_trigger(indio_dev, &accel_state->common_attributes);
hid_sensor_remove_trigger(indio_dev, &accel_state->common_attributes);
hid_sensor_power_state(&gyro_state->common_attributes, true);
gyro_state->common_attributes.hsdev,
hid_sensor_power_state(&gyro_state->common_attributes,
hid_sensor_power_state(&gyro_state->common_attributes, false);
&gyro_state->common_attributes, val, val2);
&gyro_state->common_attributes, val, val2);
&gyro_state->common_attributes, val, val2);
&gyro_state->common_attributes, val, val2);
if (atomic_read(&gyro_state->common_attributes.data_ready)) {
hid_sensor_convert_timestamp(&gyro_state->common_attributes,
struct hid_sensor_common common_attributes;
gyro_state->common_attributes.hsdev = hsdev;
gyro_state->common_attributes.pdev = pdev;
&gyro_state->common_attributes,
atomic_set(&gyro_state->common_attributes.data_ready, 0);
&gyro_state->common_attributes);
hid_sensor_remove_trigger(indio_dev, &gyro_state->common_attributes);
hid_sensor_remove_trigger(indio_dev, &gyro_state->common_attributes);
&humid_st->common_attributes, val, val2);
&humid_st->common_attributes, val, val2);
if (atomic_read(&humid_st->common_attributes.data_ready))
struct hid_sensor_common common_attributes;
humid_st->common_attributes.hsdev = hsdev;
humid_st->common_attributes.pdev = pdev;
&humid_st->common_attributes,
atomic_set(&humid_st->common_attributes.data_ready, 0);
&humid_st->common_attributes);
hid_sensor_remove_trigger(indio_dev, &humid_st->common_attributes);
hid_sensor_remove_trigger(indio_dev, &humid_st->common_attributes);
hid_sensor_power_state(&humid_st->common_attributes, true);
humid_st->common_attributes.hsdev,
hid_sensor_power_state(&humid_st->common_attributes, false);
&humid_st->common_attributes, val, val2);
&humid_st->common_attributes, val, val2);
struct hid_sensor_hub_device *hsdev = als_state->common_attributes.hsdev;
hid_sensor_power_state(&als_state->common_attributes,
hid_sensor_power_state(&als_state->common_attributes,
&als_state->common_attributes, val, val2);
&als_state->common_attributes, val, val2);
&als_state->common_attributes, val, val2);
&als_state->common_attributes, val, val2);
&als_state->common_attributes, val, val2);
&als_state->common_attributes, val, val2);
if (atomic_read(&als_state->common_attributes.data_ready)) {
struct hid_sensor_common common_attributes;
als_state->timestamp = hid_sensor_convert_timestamp(&als_state->common_attributes,
als_state->common_attributes.hsdev = hsdev;
als_state->common_attributes.pdev = pdev;
&als_state->common_attributes,
atomic_set(&als_state->common_attributes.data_ready, 0);
&als_state->common_attributes);
hid_sensor_remove_trigger(indio_dev, &als_state->common_attributes);
hid_sensor_remove_trigger(indio_dev, &als_state->common_attributes);
hsdev = prox_state->common_attributes.hsdev;
hid_sensor_power_state(&prox_state->common_attributes, true);
hid_sensor_power_state(&prox_state->common_attributes, false);
&prox_state->common_attributes, val, val2);
&prox_state->common_attributes, val, val2);
&prox_state->common_attributes, val, val2);
&prox_state->common_attributes, val, val2);
if (atomic_read(&prox_state->common_attributes.data_ready)) {
prox_state->common_attributes.hsdev = hsdev;
prox_state->common_attributes.pdev = pdev;
&prox_state->common_attributes,
atomic_set(&prox_state->common_attributes.data_ready, 0);
&prox_state->common_attributes);
struct hid_sensor_common common_attributes;
hid_sensor_remove_trigger(indio_dev, &prox_state->common_attributes);
hid_sensor_remove_trigger(indio_dev, &prox_state->common_attributes);
struct common_attributes magn_flux_attr;
struct common_attributes rot_attr;
hid_sensor_power_state(&incl_state->common_attributes, true);
incl_state->common_attributes.hsdev,
hid_sensor_power_state(&incl_state->common_attributes,
hid_sensor_power_state(&incl_state->common_attributes, false);
&incl_state->common_attributes, val, val2);
&incl_state->common_attributes, val, val2);
&incl_state->common_attributes, val, val2);
&incl_state->common_attributes, val, val2);
if (atomic_read(&incl_state->common_attributes.data_ready)) {
hid_sensor_convert_timestamp(&incl_state->common_attributes,
struct hid_sensor_common common_attributes;
incl_state->common_attributes.hsdev = hsdev;
incl_state->common_attributes.pdev = pdev;
&incl_state->common_attributes,
atomic_set(&incl_state->common_attributes.data_ready, 0);
&incl_state->common_attributes);
hid_sensor_remove_trigger(indio_dev, &incl_state->common_attributes);
hid_sensor_remove_trigger(indio_dev, &incl_state->common_attributes);
&rot_state->common_attributes, &vals[0], &vals[1]);
&rot_state->common_attributes, &vals[0], &vals[1]);
&rot_state->common_attributes, val, val2);
&rot_state->common_attributes, val, val2);
if (atomic_read(&rot_state->common_attributes.data_ready)) {
struct hid_sensor_common common_attributes;
rot_state->timestamp = hid_sensor_convert_timestamp(&rot_state->common_attributes,
rot_state->common_attributes.hsdev = hsdev;
rot_state->common_attributes.pdev = pdev;
&rot_state->common_attributes,
atomic_set(&rot_state->common_attributes.data_ready, 0);
&rot_state->common_attributes);
hid_sensor_remove_trigger(indio_dev, &rot_state->common_attributes);
hid_sensor_remove_trigger(indio_dev, &rot_state->common_attributes);
hsdev = st->common_attributes.hsdev;
hid_sensor_power_state(&st->common_attributes, true);
hid_sensor_power_state(&st->common_attributes, false);
*val = sensor_hub_input_attr_get_raw_value(st->common_attributes.hsdev,
hid_sensor_power_state(&st->common_attributes, false);
return hid_sensor_read_samp_freq_value(&st->common_attributes,
return hid_sensor_read_raw_hyst_value(&st->common_attributes,
return hid_sensor_write_samp_freq_value(&st->common_attributes,
return hid_sensor_write_raw_hyst_value(&st->common_attributes,
if (atomic_read(&st->common_attributes.data_ready)) {
st->timestamp = hid_sensor_convert_timestamp(&st->common_attributes,
st->common_attributes.hsdev = hsdev;
st->common_attributes.pdev = pdev;
&st->common_attributes,
atomic_set(&st->common_attributes.data_ready, 0);
&st->common_attributes);
hid_sensor_remove_trigger(indio_dev, &st->common_attributes);
hid_sensor_remove_trigger(indio_dev, &st->common_attributes);
struct hid_sensor_common common_attributes;
hid_sensor_power_state(&press_state->common_attributes,
&press_state->common_attributes, val, val2);
&press_state->common_attributes, val, val2);
&press_state->common_attributes, val, val2);
&press_state->common_attributes, val, val2);
if (atomic_read(&press_state->common_attributes.data_ready)) {
&press_state->common_attributes, *(s64 *)raw_data);
struct hid_sensor_common common_attributes;
press_state->common_attributes.hsdev = hsdev;
press_state->common_attributes.pdev = pdev;
&press_state->common_attributes,
atomic_set(&press_state->common_attributes.data_ready, 0);
&press_state->common_attributes);
hid_sensor_remove_trigger(indio_dev, &press_state->common_attributes);
hid_sensor_remove_trigger(indio_dev, &press_state->common_attributes);
hid_sensor_power_state(&press_state->common_attributes,
press_state->common_attributes.hsdev,
&temp_st->common_attributes, val, val2);
&temp_st->common_attributes, val, val2);
if (atomic_read(&temp_st->common_attributes.data_ready))
struct hid_sensor_common common_attributes;
temp_st->common_attributes.hsdev = hsdev;
temp_st->common_attributes.pdev = pdev;
&temp_st->common_attributes,
atomic_set(&temp_st->common_attributes.data_ready, 0);
&temp_st->common_attributes);
hid_sensor_remove_trigger(indio_dev, &temp_st->common_attributes);
hid_sensor_remove_trigger(indio_dev, &temp_st->common_attributes);
&temp_st->common_attributes, true);
temp_st->common_attributes.hsdev,
&temp_st->common_attributes,
&temp_st->common_attributes, val, val2);
&temp_st->common_attributes, val, val2);
sensor_hub_input_attr_get_raw_value(time_state->common_attributes.hsdev,
time_state->common_attributes.hsdev = hsdev;
time_state->common_attributes.pdev = pdev;
&time_state->common_attributes,
struct hid_sensor_common common_attributes;
memcpy(&buf->common_attributes,
&rsp->common_attributes,
sizeof(buf->common_attributes));
struct_group_attr(common_attributes, __packed,
struct_group_attr(common_attributes, __packed,