Searched refs:attrb (Results 1 – 4 of 4) sorted by relevance
/drivers/iio/common/hid-sensors/ |
D | hid-sensor-trigger.c | 24 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 …]
|
D | hid-sensor-trigger.h | 18 struct hid_sensor_common *attrb); 20 struct hid_sensor_common *attrb);
|
/drivers/scsi/ |
D | scsi_transport_sas.c | 1688 #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]; \
|
/drivers/ata/ |
D | libata-transport.c | 709 #define SETUP_TEMPLATE(attrb, field, perm, test) \ argument 710 i->private_##attrb[count] = dev_attr_##field; \ 711 i->private_##attrb[count].attr.mode = perm; \ 712 i->attrb[count] = &i->private_##attrb[count]; \
|