Searched refs:SETUP_TEMPLATE (Results 1 - 2 of 2) sorted by relevance

/linux-4.4.14/drivers/scsi/
H A Dscsi_transport_sas.c1725 #define SETUP_TEMPLATE(attrb, field, perm, test) \ macro
1744 SETUP_TEMPLATE(rphy_attrs, field, S_IRUGO, 1)
1747 SETUP_TEMPLATE(rphy_attrs, field, S_IRUGO, i->f->func)
1750 SETUP_TEMPLATE(phy_attrs, field, S_IRUGO, 1)
1761 SETUP_TEMPLATE(port_attrs, field, S_IRUGO, 1)
1764 SETUP_TEMPLATE(phy_attrs, field, S_IRUGO, i->f->func)
1767 SETUP_TEMPLATE(phy_attrs, field, S_IWUSR, 1)
1770 SETUP_TEMPLATE(phy_attrs, field, S_IWUSR, i->f->func)
1773 SETUP_TEMPLATE(end_dev_attrs, field, S_IRUGO, 1)
1776 SETUP_TEMPLATE(expander_attrs, expander_##field, S_IRUGO, 1)
/linux-4.4.14/drivers/ata/
H A Dlibata-transport.c689 #define SETUP_TEMPLATE(attrb, field, perm, test) \ macro
697 SETUP_TEMPLATE(link_attrs, field, S_IRUGO, 1)
700 SETUP_TEMPLATE(port_attrs, field, S_IRUGO, 1)
703 SETUP_TEMPLATE(dev_attrs, field, S_IRUGO, 1)

Completed in 234 milliseconds