Home
last modified time | relevance | path

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

12345678910>>...111

/Linux-v5.15/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 …]
/Linux-v5.15/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 …]
/Linux-v5.15/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()
242 u8 class = rproc->elf_class; in rproc_coredump() local
251 if (class == ELFCLASSNONE) { in rproc_coredump()
252 dev_err(&rproc->dev, "Elf class is not set\n"); in rproc_coredump()
256 data_size = elf_size_of_hdr(class); in rproc_coredump()
263 data_size += elf_size_of_phdr(class); in rproc_coredump()
276 memset(ehdr, 0, elf_size_of_hdr(class)); in rproc_coredump()
[all …]
/Linux-v5.15/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 …]
/Linux-v5.15/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 given 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 …]
/Linux-v5.15/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 …]
/Linux-v5.15/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/.../trans_stat
[all …]
Dsysfs-driver-hid-srws11 What: /sys/class/leds/SRWS1::<serial>::RPM1
2 What: /sys/class/leds/SRWS1::<serial>::RPM2
3 What: /sys/class/leds/SRWS1::<serial>::RPM3
4 What: /sys/class/leds/SRWS1::<serial>::RPM4
5 What: /sys/class/leds/SRWS1::<serial>::RPM5
6 What: /sys/class/leds/SRWS1::<serial>::RPM6
7 What: /sys/class/leds/SRWS1::<serial>::RPM7
8 What: /sys/class/leds/SRWS1::<serial>::RPM8
9 What: /sys/class/leds/SRWS1::<serial>::RPM9
10 What: /sys/class/leds/SRWS1::<serial>::RPM10
[all …]
Dsysfs-ata1 What: /sys/class/ata_...
7 Files under /sys/class/ata_port
14 What: /sys/class/ata_port/ataX/nr_pmp_links
15 What: /sys/class/ata_port/ataX/idle_irq
27 What: /sys/class/ata_port/ataX/port_no
37 Files under /sys/class/ata_link
48 What: /sys/class/ata_link/linkX[.Y]/hw_sata_spd_limit
49 What: /sys/class/ata_link/linkX[.Y]/sata_spd_limit
50 What: /sys/class/ata_link/linkX[.Y]/sata_spd
64 Files under /sys/class/ata_device
[all …]
Dsysfs-driver-habanalabs1 What: /sys/class/habanalabs/hl<n>/armcp_kernel_ver
9 What: /sys/class/habanalabs/hl<n>/armcp_ver
17 What: /sys/class/habanalabs/hl<n>/clk_max_freq_mhz
27 What: /sys/class/habanalabs/hl<n>/clk_cur_freq_mhz
34 What: /sys/class/habanalabs/hl<n>/cpld_ver
40 What: /sys/class/habanalabs/hl<n>/cpucp_kernel_ver
46 What: /sys/class/habanalabs/hl<n>/cpucp_ver
52 What: /sys/class/habanalabs/hl<n>/device_type
59 What: /sys/class/habanalabs/hl<n>/eeprom
66 What: /sys/class/habanalabs/hl<n>/fuse_ver
[all …]
Dsysfs-pps1 What: /sys/class/pps/
5 The /sys/class/pps/ directory will contain files and
9 What: /sys/class/pps/ppsX/
13 The /sys/class/pps/ppsX/ directory is related to X-th
17 What: /sys/class/pps/ppsX/assert
21 The /sys/class/pps/ppsX/assert file reports the assert events
29 What: /sys/class/pps/ppsX/clear
33 The /sys/class/pps/ppsX/clear file reports the clear events
41 What: /sys/class/pps/ppsX/mode
45 The /sys/class/pps/ppsX/mode file reports the functioning
[all …]
Dsysfs-class-cxl3 For example, the real path of the attribute /sys/class/cxl/afu0.0s/irqs_max is
4 /sys/class/cxl/afu0.0s/device/irqs_max, i.e. /sys/class/cxl/afu0.0/irqs_max.
7 Slave contexts (eg. /sys/class/cxl/afu0.0s):
9 What: /sys/class/cxl/<afu>/afu_err_buf
20 What: /sys/class/cxl/<afu>/irqs_max
31 What: /sys/class/cxl/<afu>/irqs_min
41 What: /sys/class/cxl/<afu>/mmio_size
49 What: /sys/class/cxl/<afu>/modes_supported
57 What: /sys/class/cxl/<afu>/mode
67 What: /sys/class/cxl/<afu>/prefault_mode
[all …]
/Linux-v5.15/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 …]
/Linux-v5.15/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 …]
Dsysfs-class-ubi1 What: /sys/class/ubi/
6 The ubi/ class sub-directory belongs to the UBI subsystem and
10 What: /sys/class/ubi/version
23 What: /sys/class/ubiX/
28 The /sys/class/ubi0, /sys/class/ubi1, etc directories describe
33 What: /sys/class/ubi/ubiX/avail_eraseblocks
42 What: /sys/class/ubi/ubiX/bad_peb_count
49 What: /sys/class/ubi/ubiX/bgt_enabled
57 What: /sys/class/ubi/ubiX/dev
65 What: /sys/class/ubi/ubiX/eraseblock_size
[all …]
/Linux-v5.15/Documentation/driver-api/usb/
Dtypec.rst3 USB Type-C connector class
9 The typec class is meant for describing the USB Type-C ports in a system to the
10 user space in unified fashion. The class is designed to provide nothing else
15 class. In a normal case the registration will be done by a USB Type-C or PD PHY
18 considers the component registering the USB Type-C ports with the class as "port
21 On top of showing the capabilities, the class also offer user space control over
25 The class provides an API for the port drivers described in this document. The
26 attributes are described in Documentation/ABI/testing/sysfs-class-typec.
30 Every port will be presented as its own device under /sys/class/typec/. The
34 /sys/class/typec/. The parent of the partner device will always be the port it
[all …]
/Linux-v5.15/kernel/locking/
Dlockdep_proc.c41 static void print_name(struct seq_file *m, struct lock_class *class) in print_name() argument
44 const char *name = class->name; in print_name()
47 name = __get_key_name(class->key, str); in print_name()
51 if (class->name_version > 1) in print_name()
52 seq_printf(m, "#%d", class->name_version); in print_name()
53 if (class->subclass) in print_name()
54 seq_printf(m, "/%d", class->subclass); in print_name()
60 struct lock_class *class = list_entry(v, struct lock_class, lock_entry); in l_show() local
69 seq_printf(m, "%p", class->key); in l_show()
71 seq_printf(m, " OPS:%8ld", debug_class_ops_read(class)); in l_show()
[all …]
/Linux-v5.15/drivers/gpu/drm/i915/gt/
Dintel_engine_user.c17 intel_engine_lookup_user(struct drm_i915_private *i915, u8 class, u8 instance) in intel_engine_lookup_user() argument
25 if (class < it->uabi_class) in intel_engine_lookup_user()
27 else if (class > it->uabi_class || in intel_engine_lookup_user()
60 if (uabi_classes[a->class] < uabi_classes[b->class]) in engine_cmp()
62 if (uabi_classes[a->class] > uabi_classes[b->class]) in engine_cmp()
135 const char *intel_engine_class_repr(u8 class) in intel_engine_class_repr() argument
144 if (class >= ARRAY_SIZE(uabi_names) || !uabi_names[class]) in intel_engine_class_repr()
147 return uabi_names[class]; in intel_engine_class_repr()
152 u8 class; member
167 if (GEM_DEBUG_WARN_ON(ring->class >= ARRAY_SIZE(map))) in legacy_ring_idx()
[all …]
/Linux-v5.15/samples/bpf/
Dibumad_kern.c21 __type(key, u32); /* class; u32 required */
28 __type(key, u32); /* class; u32 required */
81 u8 class = ctx->mgmt_class; in on_ib_umad_read_recv() local
83 bpf_printk("ib_umad read recv : class 0x%x\n", class); in on_ib_umad_read_recv()
85 val = bpf_map_lookup_elem(&read_count, &class); in on_ib_umad_read_recv()
87 bpf_map_update_elem(&read_count, &class, &zero, BPF_NOEXIST); in on_ib_umad_read_recv()
88 val = bpf_map_lookup_elem(&read_count, &class); in on_ib_umad_read_recv()
101 u8 class = ctx->mgmt_class; in on_ib_umad_read_send() local
103 bpf_printk("ib_umad read send : class 0x%x\n", class); in on_ib_umad_read_send()
105 val = bpf_map_lookup_elem(&read_count, &class); in on_ib_umad_read_send()
[all …]
/Linux-v5.15/drivers/staging/most/Documentation/ABI/
Dsysfs-class-most.txt1 What: /sys/class/most/mostcore/aims
9 What: /sys/class/most/mostcore/aims/<aim>/add_link
18 What: /sys/class/most/mostcore/aims/<aim>/remove_link
27 What: /sys/class/most/mostcore/devices
35 What: /sys/class/most/mostcore/devices/<mdev>/description
45 What: /sys/class/most/mostcore/devices/<mdev>/interface
54 What: /sys/class/most/mostcore/devices/<mdev>/dci
65 What: /sys/class/most/mostcore/devices/<mdev>/dci/arb_address
74 What: /sys/class/most/mostcore/devices/<mdev>/dci/arb_value
83 What: /sys/class/most/mostcore/devices/<mdev>/dci/mep_eui48_hi
[all …]
/Linux-v5.15/drivers/gpu/drm/tegra/
Dfirewall.c14 u32 class; member
54 is_addr = fw->client->ops->is_addr_reg(fw->client->base.dev, fw->class, in fw_check_reg()
100 is_addr = fw->client->ops->is_addr_reg(fw->client->base.dev, fw->class, in fw_check_regs_imm()
108 static int fw_check_class(struct tegra_drm_firewall *fw, u32 class) in fw_check_class() argument
111 if (class == fw->client->base.class) in fw_check_class()
117 if (!fw->client->ops->is_valid_class(class)) in fw_check_class()
151 .class = *job_class, in tegra_drm_fw_validate()
158 u32 word, opcode, offset, count, mask, class; in tegra_drm_fw_validate() local
170 class = (word >> 6) & 0x3ff; in tegra_drm_fw_validate()
171 err = fw_check_class(&fw, class); in tegra_drm_fw_validate()
[all …]

12345678910>>...111