Home
last modified time | relevance | path

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

/linux-6.12.1/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 …]
/linux-6.12.1/drivers/usb/typec/ucsi/
Ducsi.h271 #define UCSI_CONCAP_FLAG_EX_OP_MODE(_f_) \ argument
272 (((_f_) & GENMASK(13, 6)) >> 6)
278 #define UCSI_CONCAP_FLAG_MISC_CAPS(_f_) \ argument
279 (((_f_) & GENMASK(17, 14)) >> 14)
283 #define UCSI_CONCAP_FLAG_PARTNER_PD_MAJOR_REV(_f_) \ argument
284 (((_f_) & GENMASK(20, 19)) >> 19)
285 #define UCSI_CONCAP_FLAG_PARTNER_PD_MAJOR_REV_AS_BCD(_f_) \ argument
286 UCSI_SPEC_REVISION_TO_BCD(UCSI_CONCAP_FLAG_PARTNER_PD_MAJOR_REV(_f_))
302 #define UCSI_CABLE_PROP_FLAG_PLUG_TYPE(_f_) (((_f_) & GENMASK(4, 3)) >> 3) argument
308 #define UCSI_CABLE_PROP_FLAG_PD_MAJOR_REV(_f_) (((_f_) & GENMASK(7, 6)) >> 6) argument
[all …]