Searched refs:attrb (Results 1 – 4 of 4) sorted by relevance
/drivers/iio/common/hid-sensors/ |
D | hid-sensor-trigger.c | 133 void hid_sensor_remove_trigger(struct hid_sensor_common *attrb) in hid_sensor_remove_trigger() argument 135 iio_trigger_unregister(attrb->trigger); in hid_sensor_remove_trigger() 136 iio_trigger_free(attrb->trigger); in hid_sensor_remove_trigger() 146 struct hid_sensor_common *attrb) in hid_sensor_setup_trigger() argument 159 iio_trigger_set_drvdata(trig, attrb); in hid_sensor_setup_trigger() 167 attrb->trigger = trig; in hid_sensor_setup_trigger() 174 iio_device_set_drvdata(indio_dev, attrb); in hid_sensor_setup_trigger() 175 pm_suspend_ignore_children(&attrb->pdev->dev, true); in hid_sensor_setup_trigger() 176 pm_runtime_enable(&attrb->pdev->dev); in hid_sensor_setup_trigger() 178 pm_runtime_set_autosuspend_delay(&attrb->pdev->dev, in hid_sensor_setup_trigger() [all …]
|
D | hid-sensor-trigger.h | 28 struct hid_sensor_common *attrb); 29 void hid_sensor_remove_trigger(struct hid_sensor_common *attrb);
|
/drivers/ata/ |
D | libata-transport.c | 686 #define SETUP_TEMPLATE(attrb, field, perm, test) \ argument 687 i->private_##attrb[count] = dev_attr_##field; \ 688 i->private_##attrb[count].attr.mode = perm; \ 689 i->attrb[count] = &i->private_##attrb[count]; \
|
/drivers/scsi/ |
D | scsi_transport_sas.c | 1725 #define SETUP_TEMPLATE(attrb, field, perm, test) \ argument 1726 i->private_##attrb[count] = dev_attr_##field; \ 1727 i->private_##attrb[count].attr.mode = perm; \ 1728 i->attrb[count] = &i->private_##attrb[count]; \ 1732 #define SETUP_TEMPLATE_RW(attrb, field, perm, test, ro_test, ro_perm) \ argument 1733 i->private_##attrb[count] = dev_attr_##field; \ 1734 i->private_##attrb[count].attr.mode = perm; \ 1736 i->private_##attrb[count].attr.mode = ro_perm; \ 1737 i->private_##attrb[count].store = NULL; \ 1739 i->attrb[count] = &i->private_##attrb[count]; \
|