accel_state 135 drivers/iio/accel/hid-sensor-accel-3d.c struct accel_3d_state *accel_state = iio_priv(indio_dev); accel_state 141 drivers/iio/accel/hid-sensor-accel-3d.c accel_state->common_attributes.hsdev; accel_state 147 drivers/iio/accel/hid-sensor-accel-3d.c hid_sensor_power_state(&accel_state->common_attributes, true); accel_state 148 drivers/iio/accel/hid-sensor-accel-3d.c report_id = accel_state->accel[chan->scan_index].report_id; accel_state 149 drivers/iio/accel/hid-sensor-accel-3d.c min = accel_state->accel[chan->scan_index].logical_minimum; accel_state 153 drivers/iio/accel/hid-sensor-accel-3d.c accel_state->common_attributes.hsdev, accel_state 159 drivers/iio/accel/hid-sensor-accel-3d.c hid_sensor_power_state(&accel_state->common_attributes, accel_state 163 drivers/iio/accel/hid-sensor-accel-3d.c hid_sensor_power_state(&accel_state->common_attributes, false); accel_state 167 drivers/iio/accel/hid-sensor-accel-3d.c *val = accel_state->scale_pre_decml; accel_state 168 drivers/iio/accel/hid-sensor-accel-3d.c *val2 = accel_state->scale_post_decml; accel_state 169 drivers/iio/accel/hid-sensor-accel-3d.c ret_type = accel_state->scale_precision; accel_state 172 drivers/iio/accel/hid-sensor-accel-3d.c *val = accel_state->value_offset; accel_state 177 drivers/iio/accel/hid-sensor-accel-3d.c &accel_state->common_attributes, val, val2); accel_state 181 drivers/iio/accel/hid-sensor-accel-3d.c &accel_state->common_attributes, val, val2); accel_state 198 drivers/iio/accel/hid-sensor-accel-3d.c struct accel_3d_state *accel_state = iio_priv(indio_dev); accel_state 204 drivers/iio/accel/hid-sensor-accel-3d.c &accel_state->common_attributes, val, val2); accel_state 208 drivers/iio/accel/hid-sensor-accel-3d.c &accel_state->common_attributes, val, val2); accel_state 236 drivers/iio/accel/hid-sensor-accel-3d.c struct accel_3d_state *accel_state = iio_priv(indio_dev); accel_state 239 drivers/iio/accel/hid-sensor-accel-3d.c if (atomic_read(&accel_state->common_attributes.data_ready)) { accel_state 240 drivers/iio/accel/hid-sensor-accel-3d.c if (!accel_state->timestamp) accel_state 241 drivers/iio/accel/hid-sensor-accel-3d.c accel_state->timestamp = iio_get_time_ns(indio_dev); accel_state 244 drivers/iio/accel/hid-sensor-accel-3d.c accel_state->accel_val, accel_state 245 drivers/iio/accel/hid-sensor-accel-3d.c sizeof(accel_state->accel_val), accel_state 246 drivers/iio/accel/hid-sensor-accel-3d.c accel_state->timestamp); accel_state 248 drivers/iio/accel/hid-sensor-accel-3d.c accel_state->timestamp = 0; accel_state 261 drivers/iio/accel/hid-sensor-accel-3d.c struct accel_3d_state *accel_state = iio_priv(indio_dev); accel_state 270 drivers/iio/accel/hid-sensor-accel-3d.c accel_state->accel_val[CHANNEL_SCAN_INDEX_X + offset] = accel_state 275 drivers/iio/accel/hid-sensor-accel-3d.c accel_state->timestamp = accel_state 277 drivers/iio/accel/hid-sensor-accel-3d.c &accel_state->common_attributes, accel_state 341 drivers/iio/accel/hid-sensor-accel-3d.c struct accel_3d_state *accel_state; accel_state 354 drivers/iio/accel/hid-sensor-accel-3d.c accel_state = iio_priv(indio_dev); accel_state 355 drivers/iio/accel/hid-sensor-accel-3d.c accel_state->common_attributes.hsdev = hsdev; accel_state 356 drivers/iio/accel/hid-sensor-accel-3d.c accel_state->common_attributes.pdev = pdev; accel_state 370 drivers/iio/accel/hid-sensor-accel-3d.c &accel_state->common_attributes); accel_state 383 drivers/iio/accel/hid-sensor-accel-3d.c hsdev->usage, accel_state); accel_state 400 drivers/iio/accel/hid-sensor-accel-3d.c atomic_set(&accel_state->common_attributes.data_ready, 0); accel_state 402 drivers/iio/accel/hid-sensor-accel-3d.c &accel_state->common_attributes); accel_state 414 drivers/iio/accel/hid-sensor-accel-3d.c accel_state->callbacks.send_event = accel_3d_proc_event; accel_state 415 drivers/iio/accel/hid-sensor-accel-3d.c accel_state->callbacks.capture_sample = accel_3d_capture_sample; accel_state 416 drivers/iio/accel/hid-sensor-accel-3d.c accel_state->callbacks.pdev = pdev; accel_state 418 drivers/iio/accel/hid-sensor-accel-3d.c &accel_state->callbacks); accel_state 429 drivers/iio/accel/hid-sensor-accel-3d.c hid_sensor_remove_trigger(&accel_state->common_attributes); accel_state 442 drivers/iio/accel/hid-sensor-accel-3d.c struct accel_3d_state *accel_state = iio_priv(indio_dev); accel_state 446 drivers/iio/accel/hid-sensor-accel-3d.c hid_sensor_remove_trigger(&accel_state->common_attributes);