Home
last modified time | relevance | path

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

/linux-6.6.21/drivers/iio/common/hid-sensors/
Dhid-sensor-trigger.c24 struct hid_sensor_common *attrb = iio_device_get_drvdata(indio_dev); in _hid_sensor_set_report_latency() local
33 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() local
50 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() local
65 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() local
186 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 …]
Dhid-sensor-trigger.h18 struct hid_sensor_common *attrb);
20 struct hid_sensor_common *attrb);
/linux-6.6.21/drivers/scsi/
Dscsi_transport_sas.c1694 #define SETUP_TEMPLATE(attrb, field, perm, test) \ argument
1695 i->private_##attrb[count] = dev_attr_##field; \
1696 i->private_##attrb[count].attr.mode = perm; \
1697 i->attrb[count] = &i->private_##attrb[count]; \
1701 #define SETUP_TEMPLATE_RW(attrb, field, perm, test, ro_test, ro_perm) \ argument
1702 i->private_##attrb[count] = dev_attr_##field; \
1703 i->private_##attrb[count].attr.mode = perm; \
1705 i->private_##attrb[count].attr.mode = ro_perm; \
1706 i->private_##attrb[count].store = NULL; \
1708 i->attrb[count] = &i->private_##attrb[count]; \
/linux-6.6.21/drivers/ata/
Dlibata-transport.c739 #define SETUP_TEMPLATE(attrb, field, perm, test) \ argument
740 i->private_##attrb[count] = dev_attr_##field; \
741 i->private_##attrb[count].attr.mode = perm; \
742 i->attrb[count] = &i->private_##attrb[count]; \