Home
last modified time | relevance | path

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

12345678910>>...96

/linux/include/linux/device/
H A Dclass.h3 * 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
50 struct class { global() struct
53 class_groupsclass global() argument
59 class_releaseclass global() argument
78 pmclass global() argument
106 class_find_device_by_name(const struct class * class,const char * name) class_find_device_by_name() argument
118 class_find_device_by_of_node(const struct class * class,const struct device_node * np) class_find_device_by_of_node() argument
130 class_find_device_by_fwnode(const struct class * class,const struct fwnode_handle * fwnode) class_find_device_by_fwnode() argument
142 class_find_device_by_devt(const struct class * class,dev_t devt) class_find_device_by_devt() argument
156 class_find_device_by_acpi_dev(const struct class * class,const struct acpi_device * adev) class_find_device_by_acpi_dev() argument
162 class_find_device_by_acpi_dev(const struct class * class,const void * adev) class_find_device_by_acpi_dev() argument
189 class_create_file(const struct class * class,const struct class_attribute * attr) class_create_file() argument
195 class_remove_file(const struct class * class,const struct class_attribute * attr) class_remove_file() argument
219 const struct class *class; global() member
[all...]
/linux/Documentation/ABI/testing/
H A Dsysfs-class-hwmon1 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 …]
H A 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 …]
H A 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 …]
H A 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 …]
H A Dsysfs-class-usb_power_delivery1 What: /sys/class/usb_power_delivery
7 What: /sys/class/usb_power_delivery/.../revision
14 What: /sys/class/usb_power_delivery/.../version
23 What: /sys/class/usb_power_delivery/.../source-capabilities
35 /sys/class/usb_power_delivery/.../source_capabilities/<position>:<type>
37 What: /sys/class/usb_power_delivery/.../sink-capabilities
51 What: /sys/class/usb_power_delivery/.../<capability>/<position>:fixed_supply
65 What: /sys/class/usb_power_delivery/.../<capability>/1:fixed_supply/dual_role_power
72 What: /sys/class/usb_power_delivery/.../source-capabilities/1:fixed_supply/usb_suspend_supported
81 What: /sys/class/usb_power_delivery/.../sink-capabilities/1:fixed_supply/higher_capability
[all …]
H A Dsysfs-driver-habanalabs1 What: /sys/class/accel/accel<n>/device/armcp_kernel_ver
9 What: /sys/class/accel/accel<n>/device/armcp_ver
17 What: /sys/class/accel/accel<n>/device/clk_max_freq_mhz
27 What: /sys/class/accel/accel<n>/device/clk_cur_freq_mhz
34 What: /sys/class/accel/accel<n>/device/cpld_ver
40 What: /sys/class/accel/accel<n>/device/cpucp_kernel_ver
46 What: /sys/class/accel/accel<n>/device/cpucp_ver
52 What: /sys/class/accel/accel<n>/device/device_type
59 What: /sys/class/accel/accel<n>/device/eeprom
66 What: /sys/class/accel/accel<n>/device/fuse_ver
[all …]
/linux/drivers/remoteproc/
H A Dremoteproc_coredump.c107 * @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 …]
/linux/Documentation/userspace-api/media/v4l/
H A 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 …]
H A 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 …]
H A 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 …]
H A Dmt2110t.svg5 <defs class="ClipPathGroup">
40 <defs class="TextShapeIndex">
43 <defs class="EmbeddedBulletChars">
76 <g id="id2" class="Master_Slide">
77 <g id="bg-id2" class="Background"/>
78 <g id="bo-id2" class="BackgroundObjects"/>
81 <g class="SlideGroup">
84 <g id="id1" class="Slide" clip-path="url(#presentation_clip_path)">
85 <g class="Page">
86 <g class="com.sun.star.drawing.MeasureShape">
[all …]
/linux/tools/testing/selftests/tc-testing/tc-tests/qdiscs/
H A Dqfq.json25 "name": "Create QFQ with class weight setting",
36 "cmdUnderTest": "$TC class add dev $DUMMY parent 1: classid 1:1 qfq weight 100",
38 "verifyCmd": "$TC class show dev $DUMMY",
39 "matchPattern": "class qfq 1:1 root weight 100 maxpkt",
47 "name": "Test QFQ with max class weight setting",
58 "cmdUnderTest": "$TC class add dev $DUMMY parent 1: classid 1:1 qfq weight 9999",
60 "verifyCmd": "$TC class show dev $DUMMY",
61 "matchPattern": "class qfq 1:1 root weight 9999 maxpkt",
69 "name": "Create QFQ with class maxpkt setting",
80 "cmdUnderTest": "$TC class add dev $DUMMY parent 1: classid 1:1 qfq maxpkt 2000",
[all …]
H A Dhfsc.json24 "name": "Create HFSC with class sc and ul rate setting",
35 … "cmdUnderTest": "$TC class add dev $DUMMY parent 1: classid 1:1 hfsc sc rate 20000 ul rate 10000",
37 "verifyCmd": "$TC class show dev $DUMMY",
38 … "matchPattern": "class hfsc 1:1 parent 1: sc m1 0bit d 0us m2 20Kbit ul m1 0bit d 0us m2 10Kbit",
46 "name": "Create HFSC with class sc umax and dmax setting",
57 …"cmdUnderTest": "$TC class add dev $DUMMY parent 1: classid 1:1 hfsc sc umax 1540 dmax 5ms rate 10…
59 "verifyCmd": "$TC class show dev $DUMMY",
60 …"matchPattern": "class hfsc 1:1 parent 1: sc m1 2464Kbit d 5ms m2 10Kbit ul m1 0bit d 0us m2 10Kbi…
68 "name": "Create HFSC with class rt and ls rate setting",
79 … "cmdUnderTest": "$TC class add dev $DUMMY parent 1: classid 1:1 hfsc rt rate 20000 ls rate 10000",
[all …]
H A Dhtb.json88 "name": "Create HTB with class rate and burst setting",
99 "cmdUnderTest": "$TC class add dev $DUMMY parent 1: classid 1:1 htb rate 20kbit burst 1000",
101 "verifyCmd": "$TC class show dev $DUMMY",
102 … "matchPattern": "class htb 1:1 root prio 0 rate 20Kbit ceil 20Kbit burst 1000b cburst 1600b",
110 "name": "Create HTB with class mpu setting",
121 "cmdUnderTest": "$TC class add dev $DUMMY parent 1: classid 1:1 htb rate 20Kbit mpu 64",
123 "verifyCmd": "$TC class show dev $DUMMY",
124 … "matchPattern": "class htb 1:1 root prio 0 rate 20Kbit ceil 20Kbit burst 1600b cburst 1600b",
132 "name": "Create HTB with class prio setting",
143 "cmdUnderTest": "$TC class add dev $DUMMY parent 1: classid 1:1 htb rate 20Kbit prio 1",
[all …]
/linux/drivers/staging/greybus/
H A 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/kernel/locking/
H A Dlockdep_proc.c34 #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 …]
/linux/Documentation/userspace-api/media/dvb/
H A 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/Documentation/driver-api/usb/
H A 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/drivers/base/
H A 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/drivers/gpu/drm/i915/gt/
H A 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()
52 [OTHER_CLASS] = I915_NO_UABI_CLASS, /* Not exposed to users, no uabi class. */
63 if (uabi_classes[a->class] < uabi_classes[b->class]) in engine_cmp()
65 if (uabi_classes[a->class] > uabi_classes[b->class]) in engine_cmp()
137 const char *intel_engine_class_repr(u8 class) in intel_engine_class_repr() argument
148 if (class >= ARRAY_SIZE(uabi_names) || !uabi_names[class]) in intel_engine_class_repr()
151 return uabi_names[class]; in intel_engine_class_repr()
156 u8 class; member
[all …]
/linux/Documentation/ABI/stable/
H A 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/drivers/staging/most/Documentation/ABI/
H A 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/drivers/gpu/drm/tegra/
H A Dfirewall.c14 u32 class; member
54 is_addr = fw->client->ops->is_addr_reg(fw->client->base.dev, fw->class, in fw_check_reg()
103 is_addr = fw->client->ops->is_addr_reg(fw->client->base.dev, fw->class, in fw_check_regs_imm()
111 static int fw_check_class(struct tegra_drm_firewall *fw, u32 class) in fw_check_class() argument
114 if (class == fw->client->base.class) in fw_check_class()
120 if (!fw->client->ops->is_valid_class(class)) in fw_check_class()
154 .class = *job_class, in tegra_drm_fw_validate()
161 u32 word, opcode, offset, count, mask, class; in tegra_drm_fw_validate() local
173 class = (word >> 6) & 0x3ff; in tegra_drm_fw_validate()
174 err = fw_check_class(&fw, class); in tegra_drm_fw_validate()
[all …]
/linux/samples/bpf/
H A 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 …]

12345678910>>...96