Searched refs:attrb (Results 1 – 3 of 3) sorted by relevance
24 struct hid_sensor_common *attrb = iio_device_get_drvdata(indio_dev); in _hid_sensor_set_report_latency() local33 ret = hid_sensor_set_report_latency(attrb, latency); in _hid_sensor_set_report_latency()37 attrb->latency_ms = hid_sensor_get_report_latency(attrb); in _hid_sensor_set_report_latency()47 struct hid_sensor_common *attrb = iio_device_get_drvdata(indio_dev); in _hid_sensor_get_report_latency() local50 latency = hid_sensor_get_report_latency(attrb); in _hid_sensor_get_report_latency()62 struct hid_sensor_common *attrb = iio_device_get_drvdata(indio_dev); in _hid_sensor_get_fifo_state() local65 latency = hid_sensor_get_report_latency(attrb); in _hid_sensor_get_fifo_state()182 struct hid_sensor_common *attrb = container_of(work, in hid_sensor_set_power_work() local186 if (attrb->poll_interval >= 0) in hid_sensor_set_power_work()187 sensor_hub_set_feature(attrb->hsdev, attrb->poll.report_id, in hid_sensor_set_power_work()[all …]
18 struct hid_sensor_common *attrb);20 struct hid_sensor_common *attrb);
737 #define SETUP_TEMPLATE(attrb, field, perm, test) \ argument738 i->private_##attrb[count] = dev_attr_##field; \739 i->private_##attrb[count].attr.mode = perm; \740 i->attrb[count] = &i->private_##attrb[count]; \