/linux-6.1.9/include/linux/device/ |
D | class.h | 54 struct class { struct 65 void (*class_release)(struct class *class); argument 87 extern int __must_check __class_register(struct class *class, argument 89 extern void class_unregister(struct class *class); 93 #define class_register(class) \ argument 96 __class_register(class, &__key); \ 108 struct class *class, 114 extern int class_for_each_device(struct class *class, struct device *start, 117 extern struct device *class_find_device(struct class *class, 127 static inline struct device *class_find_device_by_name(struct class *class, in class_find_device_by_name() argument [all …]
|
/linux-6.1.9/drivers/remoteproc/ |
D | remoteproc_coredump.c | 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() 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() 278 elf_hdr_init_ident(ehdr, class); in rproc_coredump() 280 elf_hdr_set_e_type(class, ehdr, ET_CORE); in rproc_coredump() [all …]
|
D | remoteproc_elf_loader.c | 49 char class; local 69 class = ehdr->e_ident[EI_CLASS]; 70 if (class != ELFCLASS32 && class != ELFCLASS64) { 71 dev_err(dev, "Unsupported class: %d\n", class); 75 if (class == ELFCLASS64 && fw->size < sizeof(struct elf64_hdr)) { 90 phoff = elf_hdr_get_e_phoff(class, fw->data); 91 shoff = elf_hdr_get_e_shoff(class, fw->data); 92 phnum = elf_hdr_get_e_phnum(class, fw->data); 93 elf_shdr_get_size = elf_size_of_shdr(class); 111 class == ELFCLASS32 ? 32 : 64); [all …]
|
/linux-6.1.9/mm/ |
D | zsmalloc.c | 258 unsigned int class:CLASS_BITS + 1; member 502 *class_idx = zspage->class; in get_zspage_mapping() 508 return pool->size_class[zspage->class]; in zspage_class() 515 zspage->class = class_idx; in set_zspage_mapping() 538 static inline void class_stat_inc(struct size_class *class, in class_stat_inc() argument 541 class->stats.objs[type] += cnt; in class_stat_inc() 545 static inline void class_stat_dec(struct size_class *class, in class_stat_dec() argument 548 class->stats.objs[type] -= cnt; in class_stat_dec() 552 static inline unsigned long zs_stat_get(struct size_class *class, in zs_stat_get() argument 555 return class->stats.objs[type]; in zs_stat_get() [all …]
|
/linux-6.1.9/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 …]
|
D | lockdep.c | 293 struct lock_class_stats lock_stats(struct lock_class *class) in lock_stats() argument 301 &per_cpu(cpu_lock_stats, cpu)[class - lock_classes]; in lock_stats() 322 void clear_lock_stats(struct lock_class *class) in clear_lock_stats() argument 328 &per_cpu(cpu_lock_stats, cpu)[class - lock_classes]; in clear_lock_stats() 332 memset(class->contention_point, 0, sizeof(class->contention_point)); in clear_lock_stats() 333 memset(class->contending_point, 0, sizeof(class->contending_point)); in clear_lock_stats() 336 static struct lock_class_stats *get_lock_stats(struct lock_class *class) in get_lock_stats() argument 338 return &this_cpu_ptr(cpu_lock_stats)[class - lock_classes]; in get_lock_stats() 494 static int class_filter(struct lock_class *class) in class_filter() argument 498 if (class->name_version == 1 && in class_filter() [all …]
|
/linux-6.1.9/drivers/base/ |
D | class.c | 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() 60 "be careful\n", class->name); in class_release() 68 struct class *class = cp->class; in class_child_ns_type() local 70 return class->ns_type; in class_child_ns_type() 88 int class_create_file_ns(struct class *cls, const struct class_attribute *attr, in class_create_file_ns() [all …]
|
/linux-6.1.9/Documentation/ABI/testing/ |
D | sysfs-driver-hid-srws1 | 1 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 …]
|
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-class-backlight | 1 What: /sys/class/backlight/<backlight>/scale 28 What: /sys/class/backlight/<backlight>/ambient_light_level 49 What: /sys/class/backlight/<backlight>/ambient_light_zone 85 /sys/class/backlight/<backlight>/max_brightness to 86 /sys/class/backlight/<backlight>/brightness. 88 What: /sys/class/backlight/<backlight>/<ambient light zone>_max 106 daylight /sys/class/backlight/<backlight>/daylight_max 107 office /sys/class/backlight/<backlight>/office_max 108 dark /sys/class/backlight/<backlight>/dark_max 117 l1_daylight /sys/class/backlight/<backlight>/l1_daylight_max [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 …]
|
D | sysfs-class-pktcdvd | 6 What: /sys/class/pktcdvd/add 7 What: /sys/class/pktcdvd/remove 8 What: /sys/class/pktcdvd/device_map 27 What: /sys/class/pktcdvd/pktcdvd[0-7]/dev 28 What: /sys/class/pktcdvd/pktcdvd[0-7]/uevent 38 What: /sys/class/pktcdvd/pktcdvd[0-7]/stat/packets_started 39 What: /sys/class/pktcdvd/pktcdvd[0-7]/stat/packets_finished 40 What: /sys/class/pktcdvd/pktcdvd[0-7]/stat/kb_written 41 What: /sys/class/pktcdvd/pktcdvd[0-7]/stat/kb_read 42 What: /sys/class/pktcdvd/pktcdvd[0-7]/stat/kb_read_gather [all …]
|
D | sysfs-class-devfreq | 1 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 …]
|
D | sysfs-pps | 1 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 …]
|
/linux-6.1.9/drivers/gpu/drm/i915/gt/ |
D | intel_engine_user.c | 17 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() 61 if (uabi_classes[a->class] < uabi_classes[b->class]) in engine_cmp() 63 if (uabi_classes[a->class] > uabi_classes[b->class]) in engine_cmp() 136 const char *intel_engine_class_repr(u8 class) in intel_engine_class_repr() argument 146 if (class >= ARRAY_SIZE(uabi_names) || !uabi_names[class]) in intel_engine_class_repr() 149 return uabi_names[class]; in intel_engine_class_repr() 154 u8 class; member 170 if (GEM_DEBUG_WARN_ON(ring->class >= ARRAY_SIZE(map))) in legacy_ring_idx() [all …]
|
/linux-6.1.9/arch/arm/mach-omap2/ |
D | omap_hwmod_2xxx_ipblock_data.c | 167 .class = &l3_hwmod_class, 174 .class = &l4_hwmod_class, 181 .class = &l4_hwmod_class, 188 .class = &mpu_hwmod_class, 195 .class = &iva_hwmod_class, 209 .class = &omap2xxx_timer_hwmod_class, 224 .class = &omap2xxx_timer_hwmod_class, 239 .class = &omap2xxx_timer_hwmod_class, 254 .class = &omap2xxx_timer_hwmod_class, 269 .class = &omap2xxx_timer_hwmod_class, [all …]
|
/linux-6.1.9/samples/bpf/ |
D | ibumad_kern.c | 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() 107 bpf_map_update_elem(&read_count, &class, &zero, BPF_NOEXIST); in on_ib_umad_read_send() 108 val = bpf_map_lookup_elem(&read_count, &class); in on_ib_umad_read_send() [all …]
|
/linux-6.1.9/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 …]
|
/linux-6.1.9/drivers/gpu/drm/tegra/ |
D | firewall.c | 14 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 …]
|
/linux-6.1.9/arch/powerpc/include/asm/ |
D | spu_priv1.h | 20 void (*int_mask_and) (struct spu *spu, int class, u64 mask); 21 void (*int_mask_or) (struct spu *spu, int class, u64 mask); 22 void (*int_mask_set) (struct spu *spu, int class, u64 mask); 23 u64 (*int_mask_get) (struct spu *spu, int class); 24 void (*int_stat_clear) (struct spu *spu, int class, u64 stat); 25 u64 (*int_stat_get) (struct spu *spu, int class); 45 spu_int_mask_and (struct spu *spu, int class, u64 mask) in spu_int_mask_and() argument 47 spu_priv1_ops->int_mask_and(spu, class, mask); in spu_int_mask_and() 51 spu_int_mask_or (struct spu *spu, int class, u64 mask) in spu_int_mask_or() argument 53 spu_priv1_ops->int_mask_or(spu, class, mask); in spu_int_mask_or() [all …]
|
/linux-6.1.9/drivers/infiniband/hw/hfi1/ |
D | device.c | 13 static struct class *class; variable 14 static struct class *user_class; 42 device = device_create(class, NULL, dev, NULL, "%s", name); in hfi1_cdev_init() 105 class = class_create(THIS_MODULE, class_name()); in dev_init() 106 if (IS_ERR(class)) { in dev_init() 107 ret = PTR_ERR(class); in dev_init() 112 class->devnode = hfi1_devnode; in dev_init() 119 class_destroy(class); in dev_init() 120 class = NULL; in dev_init() 133 class_destroy(class); in dev_cleanup() [all …]
|
/linux-6.1.9/arch/powerpc/platforms/cell/ |
D | spu_priv1_mmio.c | 26 static void int_mask_and(struct spu *spu, int class, u64 mask) in int_mask_and() argument 30 old_mask = in_be64(&spu->priv1->int_mask_RW[class]); in int_mask_and() 31 out_be64(&spu->priv1->int_mask_RW[class], old_mask & mask); in int_mask_and() 34 static void int_mask_or(struct spu *spu, int class, u64 mask) in int_mask_or() argument 38 old_mask = in_be64(&spu->priv1->int_mask_RW[class]); in int_mask_or() 39 out_be64(&spu->priv1->int_mask_RW[class], old_mask | mask); in int_mask_or() 42 static void int_mask_set(struct spu *spu, int class, u64 mask) in int_mask_set() argument 44 out_be64(&spu->priv1->int_mask_RW[class], mask); in int_mask_set() 47 static u64 int_mask_get(struct spu *spu, int class) in int_mask_get() argument 49 return in_be64(&spu->priv1->int_mask_RW[class]); in int_mask_get() [all …]
|
/linux-6.1.9/arch/powerpc/perf/ |
D | mpc7450-pmu.c | 153 int pmc, class; in mpc7450_get_constraint() local 157 class = mpc7450_classify_event(event); in mpc7450_get_constraint() 158 if (class < 0) in mpc7450_get_constraint() 160 if (class == 4) { in mpc7450_get_constraint() 165 mask = classbits[class][0]; in mpc7450_get_constraint() 166 value = classbits[class][1]; in mpc7450_get_constraint() 266 int i, j, class, tuse; in mpc7450_compute_mmcr() local 278 class = mpc7450_classify_event(event[i]); in mpc7450_compute_mmcr() 279 if (class < 0) in mpc7450_compute_mmcr() 281 j = n_classevent[class]++; in mpc7450_compute_mmcr() [all …]
|
/linux-6.1.9/drivers/gpu/drm/i915/gt/uc/ |
D | selftest_guc_multi_lrc.c | 30 multi_lrc_create_parent(struct intel_gt *gt, u8 class, in multi_lrc_create_parent() argument 39 if (engine->class != class) in multi_lrc_create_parent() 110 static int __intel_guc_multi_lrc_basic(struct intel_gt *gt, unsigned int class) in __intel_guc_multi_lrc_basic() argument 116 parent = multi_lrc_create_parent(gt, class, 0); in __intel_guc_multi_lrc_basic() 121 drm_dbg(>->i915->drm, "Not enough engines in class: %d", class); in __intel_guc_multi_lrc_basic() 153 unsigned int class; in intel_guc_multi_lrc_basic() local 156 for (class = 0; class < MAX_ENGINE_CLASS + 1; ++class) { in intel_guc_multi_lrc_basic() 158 if (class == COMPUTE_CLASS || class == RENDER_CLASS) in intel_guc_multi_lrc_basic() 161 ret = __intel_guc_multi_lrc_basic(gt, class); in intel_guc_multi_lrc_basic()
|
/linux-6.1.9/lib/ |
D | glob.c | 72 char const *class = pat + inverted; in glob_match() local 73 unsigned char a = *class++; in glob_match() 86 if (class[0] == '-' && class[1] != ']') { in glob_match() 87 b = class[1]; in glob_match() 92 class += 2; in glob_match() 96 } while ((a = *class++) != ']'); in glob_match() 100 pat = class; in glob_match()
|