Searched refs:to_gadget_info (Results 1 – 1 of 1) sorted by relevance
64 static inline struct gadget_info *to_gadget_info(struct config_item *item) in to_gadget_info() function144 to_gadget_info(item)->cdev.desc.__name); \152 le16_to_cpup(&to_gadget_info(item)->cdev.desc.__name)); \165 to_gadget_info(item)->cdev.desc._name = val; \178 to_gadget_info(item)->cdev.desc._name = cpu_to_le16p(&val); \221 to_gadget_info(item)->cdev.desc.bcdDevice = cpu_to_le16(bcdDevice); in gadget_dev_desc_bcdDevice_store()238 to_gadget_info(item)->cdev.desc.bcdUSB = cpu_to_le16(bcdUSB); in gadget_dev_desc_bcdUSB_store()244 struct gadget_info *gi = to_gadget_info(item); in gadget_dev_desc_UDC_show()274 struct gadget_info *gi = to_gadget_info(item); in gadget_dev_desc_UDC_store()317 enum usb_device_speed speed = to_gadget_info(item)->composite.max_speed; in gadget_dev_desc_max_speed_show()[all …]