Lines Matching refs:group

38 	struct config_group group;  member
66 return container_of(to_config_group(item), struct gadget_info, group); in to_gadget_info()
70 struct config_group group; member
81 group); in to_config_usb_cfg()
96 struct config_group group; member
107 struct config_group group; member
383 group); in to_gadget_language()
390 group); in to_gadget_config_name()
397 struct usb_function_instance, group); in to_usb_function_instance()
602 struct config_group *group, in function_make() argument
629 ret = config_item_set_name(&fi->group.cg_item, "%s", name); in function_make()
642 gi = container_of(group, struct gadget_info, functions_group); in function_make()
647 return &fi->group; in function_make()
651 struct config_group *group, in function_drop() argument
657 gi = container_of(group, struct gadget_info, functions_group); in function_drop()
696 struct config_group *group, in config_desc_make() argument
706 gi = container_of(group, struct gadget_info, configs_group); in config_desc_make()
741 config_group_init_type_name(&cfg->group, name, in config_desc_make()
746 configfs_add_default_group(&cfg->strings_group, &cfg->group); in config_desc_make()
752 return &cfg->group; in config_desc_make()
760 struct config_group *group, in config_desc_drop() argument
858 static struct config_item *gadget_language_string_make(struct config_group *group, in gadget_language_string_make() argument
864 language = to_gadget_language(&group->cg_item); in gadget_language_string_make()
879 static void gadget_language_string_drop(struct config_group *group, in gadget_language_string_drop() argument
886 language = to_gadget_language(&group->cg_item); in gadget_language_string_drop()
909 static struct config_group *gadget_language_make(struct config_group *group, in gadget_language_make() argument
925 config_group_init_type_name(&new->group, name, in gadget_language_make()
928 gi = container_of(group, struct gadget_info, strings_group); in gadget_language_make()
944 return &new->group; in gadget_language_make()
950 static void gadget_language_drop(struct config_group *group, in gadget_language_drop() argument
1388 struct config_group *group, in ext_prop_make() argument
1407 desc = container_of(group, struct usb_os_desc, group); in ext_prop_make()
1432 static void ext_prop_drop(struct config_group *group, struct config_item *item) in ext_prop_drop() argument
1435 struct usb_os_desc *desc = to_usb_os_desc(&group->cg_item); in ext_prop_drop()
1550 config_group_init_type_name(&d->group, "", interface_type); in usb_os_desc_prepare_interf_dir()
1551 config_item_set_name(&d->group.cg_item, "interface.%s", in usb_os_desc_prepare_interf_dir()
1553 configfs_add_default_group(&d->group, os_desc_group); in usb_os_desc_prepare_interf_dir()
1977 struct config_group *group, in gadgets_make() argument
1986 config_group_init_type_name(&gi->group, name, &gadget_root_type); in gadgets_make()
1990 configfs_add_default_group(&gi->functions_group, &gi->group); in gadgets_make()
1994 configfs_add_default_group(&gi->configs_group, &gi->group); in gadgets_make()
1998 configfs_add_default_group(&gi->strings_group, &gi->group); in gadgets_make()
2002 configfs_add_default_group(&gi->os_desc_group, &gi->group); in gadgets_make()
2006 configfs_add_default_group(&gi->webusb_group, &gi->group); in gadgets_make()
2037 return &gi->group; in gadgets_make()
2046 static void gadgets_drop(struct config_group *group, struct config_item *item) in gadgets_drop() argument