Home
last modified time | relevance | path

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

/Linux-v6.6/drivers/usb/gadget/
Dconfigfs.c64 static inline struct gadget_info *to_gadget_info(struct config_item *item) in to_gadget_info() function
141 to_gadget_info(item)->cdev.desc.__name); \
149 le16_to_cpup(&to_gadget_info(item)->cdev.desc.__name)); \
162 to_gadget_info(item)->cdev.desc._name = val; \
175 to_gadget_info(item)->cdev.desc._name = cpu_to_le16p(&val); \
218 to_gadget_info(item)->cdev.desc.bcdDevice = cpu_to_le16(bcdDevice); in gadget_dev_desc_bcdDevice_store()
235 to_gadget_info(item)->cdev.desc.bcdUSB = cpu_to_le16(bcdUSB); in gadget_dev_desc_bcdUSB_store()
241 struct gadget_info *gi = to_gadget_info(item); in gadget_dev_desc_UDC_show()
271 struct gadget_info *gi = to_gadget_info(item); in gadget_dev_desc_UDC_store()
314 enum usb_device_speed speed = to_gadget_info(item)->composite.max_speed; in gadget_dev_desc_max_speed_show()
[all …]