Lines Matching refs:_f_
16 #define USB_ETHERNET_CONFIGFS_ITEM(_f_) \ argument
17 static void _f_##_attr_release(struct config_item *item) \
19 struct f_##_f_##_opts *opts = to_f_##_f_##_opts(item); \
24 static struct configfs_item_operations _f_##_item_ops = { \
25 .release = _f_##_attr_release, \
28 #define USB_ETHERNET_CONFIGFS_ITEM_ATTR_DEV_ADDR(_f_) \ argument
29 static ssize_t _f_##_opts_dev_addr_show(struct config_item *item, \
32 struct f_##_f_##_opts *opts = to_f_##_f_##_opts(item); \
42 static ssize_t _f_##_opts_dev_addr_store(struct config_item *item, \
45 struct f_##_f_##_opts *opts = to_f_##_f_##_opts(item); \
61 CONFIGFS_ATTR(_f_##_opts_, dev_addr)
63 #define USB_ETHERNET_CONFIGFS_ITEM_ATTR_HOST_ADDR(_f_) \ argument
64 static ssize_t _f_##_opts_host_addr_show(struct config_item *item, \
67 struct f_##_f_##_opts *opts = to_f_##_f_##_opts(item); \
77 static ssize_t _f_##_opts_host_addr_store(struct config_item *item, \
80 struct f_##_f_##_opts *opts = to_f_##_f_##_opts(item); \
96 CONFIGFS_ATTR(_f_##_opts_, host_addr)
98 #define USB_ETHERNET_CONFIGFS_ITEM_ATTR_QMULT(_f_) \ argument
99 static ssize_t _f_##_opts_qmult_show(struct config_item *item, \
102 struct f_##_f_##_opts *opts = to_f_##_f_##_opts(item); \
111 static ssize_t _f_##_opts_qmult_store(struct config_item *item, \
114 struct f_##_f_##_opts *opts = to_f_##_f_##_opts(item); \
135 CONFIGFS_ATTR(_f_##_opts_, qmult)
137 #define USB_ETHERNET_CONFIGFS_ITEM_ATTR_IFNAME(_f_) \ argument
138 static ssize_t _f_##_opts_ifname_show(struct config_item *item, \
141 struct f_##_f_##_opts *opts = to_f_##_f_##_opts(item); \
151 static ssize_t _f_##_opts_ifname_store(struct config_item *item, \
154 struct f_##_f_##_opts *opts = to_f_##_f_##_opts(item); \
164 CONFIGFS_ATTR(_f_##_opts_, ifname)
166 #define USB_ETHER_CONFIGFS_ITEM_ATTR_U8_RW(_f_, _n_) \ argument
167 static ssize_t _f_##_opts_##_n_##_show(struct config_item *item,\
170 struct f_##_f_##_opts *opts = to_f_##_f_##_opts(item); \
180 static ssize_t _f_##_opts_##_n_##_store(struct config_item *item,\
184 struct f_##_f_##_opts *opts = to_f_##_f_##_opts(item); \
198 CONFIGFS_ATTR(_f_##_opts_, _n_)