Home
last modified time | relevance | path

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

/drivers/usb/gadget/
Dconfigfs.c88 static inline struct gadget_info *to_gadget_info(struct config_item *item) in to_gadget_info() function
163 to_gadget_info(item)->cdev.desc.__name); \
171 le16_to_cpup(&to_gadget_info(item)->cdev.desc.__name)); \
184 to_gadget_info(item)->cdev.desc._name = val; \
197 to_gadget_info(item)->cdev.desc._name = cpu_to_le16p(&val); \
240 to_gadget_info(item)->cdev.desc.bcdDevice = cpu_to_le16(bcdDevice); in gadget_dev_desc_bcdDevice_store()
257 to_gadget_info(item)->cdev.desc.bcdUSB = cpu_to_le16(bcdUSB); in gadget_dev_desc_bcdUSB_store()
263 struct gadget_info *gi = to_gadget_info(item); in gadget_dev_desc_UDC_show()
293 struct gadget_info *gi = to_gadget_info(item); in gadget_dev_desc_UDC_store()
336 enum usb_device_speed speed = to_gadget_info(item)->composite.max_speed; in gadget_dev_desc_max_speed_show()
[all …]