Home
last modified time | relevance | path

Searched refs:_f_ (Results 1 – 2 of 2) sorted by relevance

/drivers/usb/gadget/function/
Du_ether_configfs.h16 #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); \
[all …]
/drivers/usb/typec/ucsi/
Ducsi.h235 #define UCSI_CABLE_PROP_FLAG_PLUG_TYPE(_f_) (((_f_) & GENMASK(4, 3)) >> 3) argument
259 #define UCSI_CONSTAT_PWR_OPMODE(_f_) ((_f_) & GENMASK(2, 0)) argument
268 #define UCSI_CONSTAT_PARTNER_FLAGS(_f_) (((_f_) & GENMASK(12, 5)) >> 5) argument
271 #define UCSI_CONSTAT_PARTNER_TYPE(_f_) (((_f_) & GENMASK(15, 13)) >> 13) argument