Home
last modified time | relevance | path

Searched full:class (Results 1 – 25 of 4660) sorted by relevance

12345678910>>...187

/kernel/linux/linux-5.10/include/linux/device/
Dclass.h3 * The class-specific portions of the driver model
26 * struct class - device classes
27 * @name: Name of the class.
29 * @class_groups: Default attributes of this class.
30 * @dev_groups: Default attributes of the devices that belong to the class.
31 * @dev_kobj: The kobject that represents this class and links it into the hierarchy.
32 * @dev_uevent: Called when a device is added, removed from this class, or a
36 * @class_release: Called to release this class.
40 * @namespace: Namespace of the device belongs to this class.
41 * @get_ownership: Allows class to specify uid/gid of the sysfs directories
[all …]
/kernel/linux/linux-5.10/drivers/base/
Dclass.c3 * class.c - basic device class management
11 #include <linux/device/class.h>
33 ret = class_attr->show(cp->class, class_attr, buf); in class_attr_show()
45 ret = class_attr->store(cp->class, class_attr, buf, count); in class_attr_store()
52 struct class *class = cp->class; in class_release() local
54 pr_debug("class '%s': release.\n", class->name); in class_release()
56 if (class->class_release) in class_release()
57 class->class_release(class); in class_release()
59 pr_debug("class '%s' does not have a release() function, " in class_release()
60 "be careful\n", class->name); in class_release()
[all …]
Dtransport_class.c21 * transport class<-----attribute container<----class device
26 * transport class is framed entirely in terms of generic devices to
38 * transport_class_register - register an initial transport class
40 * @tclass: a pointer to the transport class structure to be initialised
42 * The transport class contains an embedded class which is used to
44 * zeros and then generic class must have been initialised with the
45 * actual transport class unique name. There's a macro
53 return class_register(&tclass->class); in transport_class_register()
58 * transport_class_unregister - unregister a previously registered class
60 * @tclass: The transport class to unregister
[all …]
/kernel/linux/linux-4.19/drivers/base/
Dclass.c3 * class.c - basic device class management
32 ret = class_attr->show(cp->class, class_attr, buf); in class_attr_show()
44 ret = class_attr->store(cp->class, class_attr, buf, count); in class_attr_store()
51 struct class *class = cp->class; in class_release() local
53 pr_debug("class '%s': release.\n", class->name); in class_release()
55 if (class->class_release) in class_release()
56 class->class_release(class); in class_release()
58 pr_debug("class '%s' does not have a release() function, " in class_release()
59 "be careful\n", class->name); in class_release()
67 struct class *class = cp->class; in class_child_ns_type() local
[all …]
Dtransport_class.c21 * transport class<-----attribute container<----class device
26 * transport class is framed entirely in terms of generic devices to
34 * transport_class_register - register an initial transport class
36 * @tclass: a pointer to the transport class structure to be initialised
38 * The transport class contains an embedded class which is used to
40 * zeros and then generic class must have been initialised with the
41 * actual transport class unique name. There's a macro
49 return class_register(&tclass->class); in transport_class_register()
54 * transport_class_unregister - unregister a previously registered class
56 * @tclass: The transport class to unregister
[all …]
/kernel/linux/linux-4.19/Documentation/media/uapi/v4l/
Dbayer.svg2 …data><g id="g186" class="com.sun.star.drawing.CustomShape" transform="translate(-3285.9 -3185.9)">…
3 …" class="TextShape"><tspan id="tspan197" class="TextParagraph" font-family="sans-serif" font-size=…
4class="com.sun.star.drawing.CustomShape" transform="translate(-3285.9 -3185.9)"><g id="id7"><rect …
5class="com.sun.star.drawing.CustomShape" transform="translate(-3285.9 -3185.9)"><g id="id8"><rect …
6class="com.sun.star.drawing.CustomShape" transform="translate(-3285.9 -3185.9)"><g id="id9"><rect …
7class="com.sun.star.drawing.CustomShape" transform="translate(-3285.9 -3185.9)"><g id="id10" fill=…
8 font-weight="400"><tspan id="tspan277" class="TextPosition" x="4250" y="7601"><tspan id="tspan279" …
9class="com.sun.star.drawing.CustomShape" transform="translate(-3285.9 -3185.9)"><g id="id13"><rect…
10class="com.sun.star.drawing.CustomShape" transform="translate(-3285.9 -3185.9)"><g id="id14"><rect…
11class="com.sun.star.drawing.CustomShape" transform="translate(-3285.9 -3185.9)"><g id="id15"><rect…
[all …]
Dnv12mt_example.svg46 class="ClipPathGroup"
51 class="TextShapeIndex"
53 class="EmbeddedBulletChars"
55 class="TextEmbeddedBitmaps"
57 class="com.sun.star.drawing.CustomShape"
61 class="BoundingBox"
72 class="TextShape"
74 class="TextParagraph"
79 class="TextPosition"
86 class="com.sun.star.drawing.CustomShape"
[all …]
Dnv12mt.svg46 class="ClipPathGroup"
58 class="TextShapeIndex"
60 class="EmbeddedBulletChars"
62 class="TextEmbeddedBitmaps"
64 class="SlideGroup"
69 class="Slide"
71 class="Page"
73 class="com.sun.star.drawing.CustomShape"
76 class="BoundingBox"
87 class="TextShape"
[all …]
/kernel/linux/linux-5.10/Documentation/userspace-api/media/v4l/
Dbayer.svg3 …data><g id="g186" class="com.sun.star.drawing.CustomShape" transform="translate(-3285.9 -3185.9)">…
4 …" class="TextShape"><tspan id="tspan197" class="TextParagraph" font-family="sans-serif" font-size=…
5class="com.sun.star.drawing.CustomShape" transform="translate(-3285.9 -3185.9)"><g id="id7"><rect …
6class="com.sun.star.drawing.CustomShape" transform="translate(-3285.9 -3185.9)"><g id="id8"><rect …
7class="com.sun.star.drawing.CustomShape" transform="translate(-3285.9 -3185.9)"><g id="id9"><rect …
8class="com.sun.star.drawing.CustomShape" transform="translate(-3285.9 -3185.9)"><g id="id10" fill=…
9 font-weight="400"><tspan id="tspan277" class="TextPosition" x="4250" y="7601"><tspan id="tspan279" …
10class="com.sun.star.drawing.CustomShape" transform="translate(-3285.9 -3185.9)"><g id="id13"><rect…
11class="com.sun.star.drawing.CustomShape" transform="translate(-3285.9 -3185.9)"><g id="id14"><rect…
12class="com.sun.star.drawing.CustomShape" transform="translate(-3285.9 -3185.9)"><g id="id15"><rect…
[all …]
Dnv12mt_example.svg47 class="ClipPathGroup"
52 class="TextShapeIndex"
54 class="EmbeddedBulletChars"
56 class="TextEmbeddedBitmaps"
58 class="com.sun.star.drawing.CustomShape"
62 class="BoundingBox"
73 class="TextShape"
75 class="TextParagraph"
80 class="TextPosition"
87 class="com.sun.star.drawing.CustomShape"
[all …]
Dnv12mt.svg47 class="ClipPathGroup"
59 class="TextShapeIndex"
61 class="EmbeddedBulletChars"
63 class="TextEmbeddedBitmaps"
65 class="SlideGroup"
70 class="Slide"
72 class="Page"
74 class="com.sun.star.drawing.CustomShape"
77 class="BoundingBox"
88 class="TextShape"
[all …]
/kernel/linux/linux-4.19/Documentation/ABI/stable/
Dsysfs-class-infiniband4 What: /sys/class/infiniband/<device>/node_type
5 What: /sys/class/infiniband/<device>/node_guid
6 What: /sys/class/infiniband/<device>/sys_image_guid
19 What: /sys/class/infiniband/<device>/node_desc
29 What: /sys/class/infiniband/<device>/fw_ver
37 What: /sys/class/infiniband/<device>/ports/<port-num>/lid
38 What: /sys/class/infiniband/<device>/ports/<port-num>/rate
39 What: /sys/class/infiniband/<device>/ports/<port-num>/lid_mask_count
40 What: /sys/class/infiniband/<device>/ports/<port-num>/sm_sl
41 What: /sys/class/infiniband/<device>/ports/<port-num>/sm_lid
[all …]
/kernel/linux/linux-4.19/Documentation/driver-model/
Dclass.txt7 A device class describes a type of device, like an audio or network
13 Each device class defines a set of semantics and a programming interface
14 that devices of that class adhere to. Device drivers are the
24 The device class structure looks like:
30 See the kerneldoc for the struct class.
32 A typical device class definition would look like:
40 Each device class structure should be exported in a header file so it
51 As devices are bound to drivers, they are added to the device class
57 The device is enumerated in the class. Each time a device is added to
58 the class, the class's devnum field is incremented and assigned to the
[all …]
/kernel/linux/linux-5.10/Documentation/driver-api/driver-model/
Dclass.rst7 A device class describes a type of device, like an audio or network
13 Each device class defines a set of semantics and a programming interface
14 that devices of that class adhere to. Device drivers are the
24 The device class structure looks like::
30 See the kerneldoc for the struct class.
32 A typical device class definition would look like::
40 Each device class structure should be exported in a header file so it
51 As devices are bound to drivers, they are added to the device class
57 The device is enumerated in the class. Each time a device is added to
58 the class, the class's devnum field is incremented and assigned to the
[all …]
/kernel/linux/linux-5.10/mm/
Dzsmalloc.c143 * determined). NOTE: all those class sizes must be set as multiple of
204 * Size of objects stored in this class. Must be multiple
282 unsigned int class:CLASS_BITS + 1; member
470 /* Protected by class->lock */
517 *class_idx = zspage->class; in get_zspage_mapping()
524 zspage->class = class_idx; in set_zspage_mapping()
530 * class maintains a list of zspages where each zspage is divided
533 * size class which has chunk size big enough to hold the give size.
547 static inline void zs_stat_inc(struct size_class *class, in zs_stat_inc() argument
550 class->stats.objs[type] += cnt; in zs_stat_inc()
[all …]
/kernel/linux/linux-4.19/mm/
Dzsmalloc.c142 * determined). NOTE: all those class sizes must be set as multiple of
203 * Size of objects stored in this class. Must be multiple
281 unsigned int class:CLASS_BITS + 1; member
472 /* Protected by class->lock */
523 *class_idx = zspage->class; in get_zspage_mapping()
530 zspage->class = class_idx; in set_zspage_mapping()
536 * class maintains a list of zspages where each zspage is divided
539 * size class which has chunk size big enough to hold the give size.
553 static inline void zs_stat_inc(struct size_class *class, in zs_stat_inc() argument
556 class->stats.objs[type] += cnt; in zs_stat_inc()
[all …]
/kernel/linux/linux-5.10/drivers/staging/greybus/
DKconfig5 tristate "Greybus Audio Class driver"
9 Greybus Audio Class specification.
27 tristate "Greybus Bootrom Class driver"
30 Greybus Bootrom Class specification.
36 tristate "Greybus Camera Class driver"
40 Greybus Camera Class specification.
46 tristate "Greybus Firmware Download Class driver"
50 Greybus Firmware Download Class specification.
56 tristate "Greybus HID Class driver"
60 Greybus HID Class specification.
[all …]
/kernel/linux/linux-4.19/Documentation/ABI/testing/
Dsysfs-c2port1 What: /sys/class/c2port/
5 The /sys/class/c2port/ directory will contain files and
9 What: /sys/class/c2port/c2portX
13 The /sys/class/c2port/c2portX/ directory is related to X-th
17 What: /sys/class/c2port/c2portX/access
21 The /sys/class/c2port/c2portX/access file enable the access
25 What: /sys/class/c2port/c2portX/dev_id
29 The /sys/class/c2port/c2portX/dev_id file show the device ID
32 What: /sys/class/c2port/c2portX/flash_access
36 The /sys/class/c2port/c2portX/flash_access file enable the
[all …]
/kernel/linux/linux-5.10/Documentation/ABI/testing/
Dsysfs-c2port1 What: /sys/class/c2port/
5 The /sys/class/c2port/ directory will contain files and
9 What: /sys/class/c2port/c2portX
13 The /sys/class/c2port/c2portX/ directory is related to X-th
17 What: /sys/class/c2port/c2portX/access
21 The /sys/class/c2port/c2portX/access file enable the access
25 What: /sys/class/c2port/c2portX/dev_id
29 The /sys/class/c2port/c2portX/dev_id file show the device ID
32 What: /sys/class/c2port/c2portX/flash_access
36 The /sys/class/c2port/c2portX/flash_access file enable the
[all …]
Dsysfs-class-devfreq1 What: /sys/class/devfreq/.../
10 What: /sys/class/devfreq/.../name
14 The /sys/class/devfreq/.../name shows the name of device
17 What: /sys/class/devfreq/.../governor
21 The /sys/class/devfreq/.../governor show or set the name of the
24 What: /sys/class/devfreq/.../cur_freq
28 The /sys/class/devfreq/.../cur_freq shows the current
33 What: /sys/class/devfreq/.../target_freq
37 The /sys/class/devfreq/.../target_freq shows the next governor
40 What: /sys/class/devfreq/.../polling_interval
[all …]
/kernel/linux/linux-5.10/Documentation/userspace-api/media/dvb/
Ddvbstb.svg4class="BoundingBox" x="5355.1" y="13.122" width="18403" height="9603" fill="none"/><path id="path1…
6class="BoundingBox" x="6213.1" y="1813.1" width="4544" height="2403" fill="none"/><path id="path22…
7class="BoundingBox" x="12113" y="1813.1" width="4544" height="2403" fill="none"/><path id="path242…
8class="BoundingBox" x="18113" y="1813.1" width="4544" height="2403" fill="none"/><path id="path259…
9class="BoundingBox" x="6113.1" y="5813.1" width="4544" height="2403" fill="none"/><path id="path27…
10class="BoundingBox" x="12213" y="5813.1" width="4544" height="2403" fill="none"/><path id="path293…
11class="BoundingBox" x="18113" y="5813.1" width="4544" height="2403" fill="none"/><path id="path310…
12class="BoundingBox" x="15213" y="10213" width="4544" height="2403" fill="none"/><path id="path327"…
13class="BoundingBox" x="4555.1" y="3014.1" width="1661" height="2202" fill="none"/><path id="path34…
14class="BoundingBox" x="20235" y="4213.1" width="301" height="1602" fill="none"/><rect id="rect387"…
[all …]
/kernel/linux/linux-4.19/Documentation/media/uapi/dvb/
Ddvbstb.svg3class="BoundingBox" x="5355.1" y="13.122" width="18403" height="9603" fill="none"/><path id="path1…
5class="BoundingBox" x="6213.1" y="1813.1" width="4544" height="2403" fill="none"/><path id="path22…
6class="BoundingBox" x="12113" y="1813.1" width="4544" height="2403" fill="none"/><path id="path242…
7class="BoundingBox" x="18113" y="1813.1" width="4544" height="2403" fill="none"/><path id="path259…
8class="BoundingBox" x="6113.1" y="5813.1" width="4544" height="2403" fill="none"/><path id="path27…
9class="BoundingBox" x="12213" y="5813.1" width="4544" height="2403" fill="none"/><path id="path293…
10class="BoundingBox" x="18113" y="5813.1" width="4544" height="2403" fill="none"/><path id="path310…
11class="BoundingBox" x="15213" y="10213" width="4544" height="2403" fill="none"/><path id="path327"…
12class="BoundingBox" x="4555.1" y="3014.1" width="1661" height="2202" fill="none"/><path id="path34…
13class="BoundingBox" x="20235" y="4213.1" width="301" height="1602" fill="none"/><rect id="rect387"…
[all …]
/kernel/linux/linux-5.10/Documentation/ABI/stable/
Dsysfs-class-infiniband4 What: /sys/class/infiniband/<device>/node_type
5 What: /sys/class/infiniband/<device>/node_guid
6 What: /sys/class/infiniband/<device>/sys_image_guid
21 What: /sys/class/infiniband/<device>/node_desc
31 What: /sys/class/infiniband/<device>/fw_ver
39 What: /sys/class/infiniband/<device>/ports/<port-num>/lid
40 What: /sys/class/infiniband/<device>/ports/<port-num>/rate
41 What: /sys/class/infiniband/<device>/ports/<port-num>/lid_mask_count
42 What: /sys/class/infiniband/<device>/ports/<port-num>/sm_sl
43 What: /sys/class/infiniband/<device>/ports/<port-num>/sm_lid
[all …]
/kernel/linux/linux-5.10/drivers/remoteproc/
Dremoteproc_coredump.c106 * @class: elf class for coredump elf file
113 int rproc_coredump_set_elf_info(struct rproc *rproc, u8 class, u16 machine) in rproc_coredump_set_elf_info() argument
115 if (class != ELFCLASS64 && class != ELFCLASS32) in rproc_coredump_set_elf_info()
118 rproc->elf_class = class; in rproc_coredump_set_elf_info()
238 u8 class = rproc->elf_class; in rproc_coredump() local
247 if (class == ELFCLASSNONE) { in rproc_coredump()
248 dev_err(&rproc->dev, "Elf class is not set\n"); in rproc_coredump()
252 data_size = elf_size_of_hdr(class); in rproc_coredump()
259 data_size += elf_size_of_phdr(class); in rproc_coredump()
272 memset(ehdr, 0, elf_size_of_hdr(class)); in rproc_coredump()
[all …]
/kernel/linux/linux-4.19/drivers/staging/greybus/
DKconfig31 tristate "Greybus Audio Class driver"
35 Greybus Audio Class specification.
41 tristate "Greybus Bootrom Class driver"
44 Greybus Bootrom Class specification.
50 tristate "Greybus Camera Class driver"
54 Greybus Camera Class specification.
60 tristate "Greybus Firmware Download Class driver"
64 Greybus Firmware Download Class specification.
70 tristate "Greybus HID Class driver"
74 Greybus HID Class specification.
[all …]

12345678910>>...187