Lines Matching refs:and
16 A USB Linux Gadget is a device which has a UDC (USB Device Controller) and can
27 and which functions each configuration will provide.
76 Each gadget needs to have its vendor id <VID> and product id <PID> specified:
81 A gadget also needs its serial number, manufacturer and product strings.
101 where <name> can be any string which is legal in a filesystem and the
131 where <name> corresponds to one of allowed function names and instance name
149 configurations specified and a number of functions available. What remains
168 configurations and functions.
226 where <config name>.<number> specify the configuration and <function> is
247 and remove the configurations
279 and finally remove the gadget:
295 In configfs there are items and groups, both represented as directories.
296 The difference between an item and a group is that a group can contain
298 Both items and groups can have attributes, which are represented as files.
299 The user can create and remove directories, but cannot remove files,
302 The filesystem part of configfs operates on config_items/groups and
303 configfs_attributes which are generic and of the same type for all
306 a config_item and an "sa" which contains a configfs_attribute.
320 which accepts a struct config_item and a struct configfs_attribute.
321 In the said function the "cs" and "sa" are retrieved using the well
322 known container_of technique and an appropriate sa's function (show or
323 store) is called and passed the "cs" and a character buffer. The "show"
356 idProduct etc) and default sub-groups (configs, functions, strings).
358 appropriate locations. In the configs, functions and strings sub-groups
360 and groups of strings in a given language.
362 2. The user creates configurations and functions, in the configurations
366 all configurations, and in each configuration it iterates over all
367 functions and binds them. This way the whole gadget is bound.
384 after a gadget is disabled and torn down, the modules remain loaded.