Searched refs:gadget_info (Results 1 – 1 of 1) sorted by relevance
37 struct gadget_info { struct64 static inline struct gadget_info *to_gadget_info(struct config_item *item) in to_gadget_info() argument66 return container_of(to_config_group(item), struct gadget_info, group); in to_gadget_info()84 static inline struct gadget_info *cfg_to_gadget_info(struct config_usb_cfg *cfg) in cfg_to_gadget_info()86 return container_of(cfg->c.cdev, struct gadget_info, cdev); in cfg_to_gadget_info()241 struct gadget_info *gi = to_gadget_info(item); in gadget_dev_desc_UDC_show()253 static int unregister_gadget(struct gadget_info *gi) in unregister_gadget()271 struct gadget_info *gi = to_gadget_info(item); in gadget_dev_desc_UDC_store()322 struct gadget_info *gi = to_gadget_info(item); in gadget_dev_desc_max_speed_store()399 struct gadget_info *gi = to_gadget_info(item); in gadget_info_attr_release()[all …]