Home
last modified time | relevance | path

Searched refs:attrb (Results 1 – 4 of 4) sorted by relevance

/kernel/linux/linux-5.10/drivers/iio/common/hid-sensors/
Dhid-sensor-trigger.c27 struct hid_sensor_common *attrb = iio_device_get_drvdata(indio_dev); in _hid_sensor_set_report_latency() local
36 ret = hid_sensor_set_report_latency(attrb, latency); in _hid_sensor_set_report_latency()
40 attrb->latency_ms = hid_sensor_get_report_latency(attrb); in _hid_sensor_set_report_latency()
50 struct hid_sensor_common *attrb = iio_device_get_drvdata(indio_dev); in _hid_sensor_get_report_latency() local
53 latency = hid_sensor_get_report_latency(attrb); in _hid_sensor_get_report_latency()
65 struct hid_sensor_common *attrb = iio_device_get_drvdata(indio_dev); in _hid_sensor_get_fifo_state() local
68 latency = hid_sensor_get_report_latency(attrb); in _hid_sensor_get_fifo_state()
197 struct hid_sensor_common *attrb = container_of(work, in hid_sensor_set_power_work() local
201 if (attrb->poll_interval >= 0) in hid_sensor_set_power_work()
202 sensor_hub_set_feature(attrb->hsdev, attrb->poll.report_id, in hid_sensor_set_power_work()
[all …]
Dhid-sensor-trigger.h15 struct hid_sensor_common *attrb);
17 struct hid_sensor_common *attrb);
/kernel/linux/linux-5.10/drivers/scsi/
Dscsi_transport_sas.c1688 #define SETUP_TEMPLATE(attrb, field, perm, test) \ argument
1689 i->private_##attrb[count] = dev_attr_##field; \
1690 i->private_##attrb[count].attr.mode = perm; \
1691 i->attrb[count] = &i->private_##attrb[count]; \
1695 #define SETUP_TEMPLATE_RW(attrb, field, perm, test, ro_test, ro_perm) \ argument
1696 i->private_##attrb[count] = dev_attr_##field; \
1697 i->private_##attrb[count].attr.mode = perm; \
1699 i->private_##attrb[count].attr.mode = ro_perm; \
1700 i->private_##attrb[count].store = NULL; \
1702 i->attrb[count] = &i->private_##attrb[count]; \
/kernel/linux/linux-5.10/drivers/ata/
Dlibata-transport.c702 #define SETUP_TEMPLATE(attrb, field, perm, test) \ argument
703 i->private_##attrb[count] = dev_attr_##field; \
704 i->private_##attrb[count].attr.mode = perm; \
705 i->attrb[count] = &i->private_##attrb[count]; \