| /kernel/linux/linux-6.6/include/linux/device/ |
| D | class.h | 3 * The class-specific portions of the driver model 26 * struct class - device classes 27 * @name: Name of the class. 28 * @class_groups: Default attributes of this class. 29 * @dev_groups: Default attributes of the devices that belong to the class. 30 * @dev_uevent: Called when a device is added, removed from this class, or a 34 * @class_release: Called to release this class. 38 * @namespace: Namespace of the device belongs to this class. 39 * @get_ownership: Allows class to specify uid/gid of the sysfs directories 40 * for the devices belonging to the class. Usually tied to [all …]
|
| /kernel/linux/linux-5.10/include/linux/device/ |
| D | class.h | 3 * 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-6.6/Documentation/ABI/testing/ |
| D | sysfs-class-hwmon | 1 What: /sys/class/hwmon/hwmonX/name 12 What: /sys/class/hwmon/hwmonX/label 20 What: /sys/class/hwmon/hwmonX/update_interval 30 What: /sys/class/hwmon/hwmonX/inY_min 38 What: /sys/class/hwmon/hwmonX/inY_lcrit 50 What: /sys/class/hwmon/hwmonX/inY_max 58 What: /sys/class/hwmon/hwmonX/inY_crit 70 What: /sys/class/hwmon/hwmonX/inY_input 92 What: /sys/class/hwmon/hwmonX/inY_average 100 What: /sys/class/hwmon/hwmonX/inY_lowest [all …]
|
| D | sysfs-c2port | 1 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/drivers/base/ |
| D | class.c | 3 * 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 …]
|
| /kernel/linux/linux-6.6/drivers/remoteproc/ |
| D | remoteproc_coredump.c | 107 * @class: elf class for coredump elf file 114 int rproc_coredump_set_elf_info(struct rproc *rproc, u8 class, u16 machine) in rproc_coredump_set_elf_info() argument 116 if (class != ELFCLASS64 && class != ELFCLASS32) in rproc_coredump_set_elf_info() 119 rproc->elf_class = class; in rproc_coredump_set_elf_info() 243 u8 class = rproc->elf_class; in rproc_coredump() local 252 if (class == ELFCLASSNONE) { in rproc_coredump() 253 dev_err(&rproc->dev, "ELF class is not set\n"); in rproc_coredump() 257 data_size = elf_size_of_hdr(class); in rproc_coredump() 264 data_size += elf_size_of_phdr(class); in rproc_coredump() 277 memset(ehdr, 0, elf_size_of_hdr(class)); in rproc_coredump() [all …]
|
| /kernel/linux/linux-6.6/drivers/base/ |
| D | class.c | 3 * class.c - basic device class management 11 #include <linux/device/class.h> 23 /* /sys/class */ 29 * class_to_subsys - Turn a struct class into a struct subsys_private 31 * @class: pointer to the struct bus_type to look up 34 * the external struct class pointer. This function walks the list of 36 * internal struct subsys_private that relates to that class. 42 struct subsys_private *class_to_subsys(const struct class *class) in class_to_subsys() argument 47 if (!class || !class_kset) in class_to_subsys() 59 if (sp->class == class) in class_to_subsys() [all …]
|
| /kernel/linux/linux-6.6/Documentation/userspace-api/media/v4l/ |
| D | bayer.svg | 3 …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=… 5 …class="com.sun.star.drawing.CustomShape" transform="translate(-3285.9 -3185.9)"><g id="id7"><rect … 6 …class="com.sun.star.drawing.CustomShape" transform="translate(-3285.9 -3185.9)"><g id="id8"><rect … 7 …class="com.sun.star.drawing.CustomShape" transform="translate(-3285.9 -3185.9)"><g id="id9"><rect … 8 …class="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" … 10 …class="com.sun.star.drawing.CustomShape" transform="translate(-3285.9 -3185.9)"><g id="id13"><rect… 11 …class="com.sun.star.drawing.CustomShape" transform="translate(-3285.9 -3185.9)"><g id="id14"><rect… 12 …class="com.sun.star.drawing.CustomShape" transform="translate(-3285.9 -3185.9)"><g id="id15"><rect… [all …]
|
| D | nv12mt_example.svg | 47 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 …]
|
| D | nv12mt.svg | 47 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-5.10/Documentation/userspace-api/media/v4l/ |
| D | bayer.svg | 3 …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=… 5 …class="com.sun.star.drawing.CustomShape" transform="translate(-3285.9 -3185.9)"><g id="id7"><rect … 6 …class="com.sun.star.drawing.CustomShape" transform="translate(-3285.9 -3185.9)"><g id="id8"><rect … 7 …class="com.sun.star.drawing.CustomShape" transform="translate(-3285.9 -3185.9)"><g id="id9"><rect … 8 …class="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" … 10 …class="com.sun.star.drawing.CustomShape" transform="translate(-3285.9 -3185.9)"><g id="id13"><rect… 11 …class="com.sun.star.drawing.CustomShape" transform="translate(-3285.9 -3185.9)"><g id="id14"><rect… 12 …class="com.sun.star.drawing.CustomShape" transform="translate(-3285.9 -3185.9)"><g id="id15"><rect… [all …]
|
| D | nv12mt_example.svg | 47 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 …]
|
| D | nv12mt.svg | 47 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-5.10/Documentation/driver-api/driver-model/ |
| D | class.rst | 7 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/ |
| D | zsmalloc.c | 143 * 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-6.6/drivers/staging/greybus/ |
| D | Kconfig | 5 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-5.10/drivers/staging/greybus/ |
| D | Kconfig | 5 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-6.6/kernel/locking/ |
| D | lockdep_proc.c | 34 #define iterate_lock_classes(idx, class) \ argument 35 for (idx = 0, class = lock_classes; idx <= max_lock_class_idx; \ 36 idx++, class++) 40 struct lock_class *class = v; in l_next() local 42 ++class; in l_next() 43 *pos = class - lock_classes; in l_next() 44 return (*pos > max_lock_class_idx) ? NULL : class; in l_next() 60 static void print_name(struct seq_file *m, struct lock_class *class) in print_name() argument 63 const char *name = class->name; in print_name() 66 name = __get_key_name(class->key, str); in print_name() [all …]
|
| /kernel/linux/linux-5.10/kernel/locking/ |
| D | lockdep_proc.c | 34 #define iterate_lock_classes(idx, class) \ argument 35 for (idx = 0, class = lock_classes; idx <= max_lock_class_idx; \ 36 idx++, class++) 40 struct lock_class *class = v; in l_next() local 42 ++class; in l_next() 43 *pos = class - lock_classes; in l_next() 44 return (*pos > max_lock_class_idx) ? NULL : class; in l_next() 60 static void print_name(struct seq_file *m, struct lock_class *class) in print_name() argument 63 const char *name = class->name; in print_name() 66 name = __get_key_name(class->key, str); in print_name() [all …]
|
| /kernel/linux/linux-5.10/Documentation/ABI/testing/ |
| D | sysfs-c2port | 1 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-6.6/mm/ |
| D | zsmalloc.c | 139 * determined). NOTE: all those class sizes must be set as multiple of 188 * Size of objects stored in this class. Must be multiple 248 unsigned int class:CLASS_BITS + 1; member 486 *class_idx = zspage->class; in get_zspage_mapping() 492 return pool->size_class[zspage->class]; in zspage_class() 499 zspage->class = class_idx; in set_zspage_mapping() 505 * class maintains a list of zspages where each zspage is divided 508 * size class which has chunk size big enough to hold the given size. 521 static inline void class_stat_inc(struct size_class *class, in class_stat_inc() argument 524 class->stats.objs[type] += cnt; in class_stat_inc() [all …]
|
| /kernel/linux/linux-5.10/Documentation/userspace-api/media/dvb/ |
| D | dvbstb.svg | 4 …class="BoundingBox" x="5355.1" y="13.122" width="18403" height="9603" fill="none"/><path id="path1… 6 …class="BoundingBox" x="6213.1" y="1813.1" width="4544" height="2403" fill="none"/><path id="path22… 7 …class="BoundingBox" x="12113" y="1813.1" width="4544" height="2403" fill="none"/><path id="path242… 8 …class="BoundingBox" x="18113" y="1813.1" width="4544" height="2403" fill="none"/><path id="path259… 9 …class="BoundingBox" x="6113.1" y="5813.1" width="4544" height="2403" fill="none"/><path id="path27… 10 …class="BoundingBox" x="12213" y="5813.1" width="4544" height="2403" fill="none"/><path id="path293… 11 …class="BoundingBox" x="18113" y="5813.1" width="4544" height="2403" fill="none"/><path id="path310… 12 …class="BoundingBox" x="15213" y="10213" width="4544" height="2403" fill="none"/><path id="path327"… 13 …class="BoundingBox" x="4555.1" y="3014.1" width="1661" height="2202" fill="none"/><path id="path34… 14 …class="BoundingBox" x="20235" y="4213.1" width="301" height="1602" fill="none"/><rect id="rect387"… [all …]
|
| /kernel/linux/linux-6.6/Documentation/userspace-api/media/dvb/ |
| D | dvbstb.svg | 4 …class="BoundingBox" x="5355.1" y="13.122" width="18403" height="9603" fill="none"/><path id="path1… 6 …class="BoundingBox" x="6213.1" y="1813.1" width="4544" height="2403" fill="none"/><path id="path22… 7 …class="BoundingBox" x="12113" y="1813.1" width="4544" height="2403" fill="none"/><path id="path242… 8 …class="BoundingBox" x="18113" y="1813.1" width="4544" height="2403" fill="none"/><path id="path259… 9 …class="BoundingBox" x="6113.1" y="5813.1" width="4544" height="2403" fill="none"/><path id="path27… 10 …class="BoundingBox" x="12213" y="5813.1" width="4544" height="2403" fill="none"/><path id="path293… 11 …class="BoundingBox" x="18113" y="5813.1" width="4544" height="2403" fill="none"/><path id="path310… 12 …class="BoundingBox" x="15213" y="10213" width="4544" height="2403" fill="none"/><path id="path327"… 13 …class="BoundingBox" x="4555.1" y="3014.1" width="1661" height="2202" fill="none"/><path id="path34… 14 …class="BoundingBox" x="20235" y="4213.1" width="301" height="1602" fill="none"/><rect id="rect387"… [all …]
|
| /kernel/linux/linux-5.10/Documentation/ABI/stable/ |
| D | sysfs-class-infiniband | 4 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/ |
| D | remoteproc_coredump.c | 106 * @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 …]
|