/kernel/linux/linux-6.6/drivers/gpu/drm/nouveau/nvkm/subdev/bios/ |
H A D | shadow.c | 110 shadow_method(struct nvkm_bios *bios, struct shadow *mthd, const char *name) in shadow_method() argument 114 if (func->name) { in shadow_method() 115 nvkm_debug(subdev, "trying %s...\n", name ? name : func->name); in shadow_method() 117 mthd->data = func->init(bios, name); in shadow_method() 147 shadow_fw_init(struct nvkm_bios *bios, const char *name) in shadow_fw_init() argument 151 int ret = request_firmware(&fw, name, dev); in shadow_fw_init() 165 .name = "firmware", 197 if (mthd->func->name in nvbios_shadow() [all...] |
/kernel/linux/linux-6.6/drivers/irqchip/ |
H A D | irq-al-fic.c | 39 const char *name; member 95 fic->name, fic->state); in al_fic_irq_set_type() 153 1, fic->name, in al_fic_register() 188 * @name: name of the fic 198 const char *name, in al_fic_wire_init() 211 fic->name = name; in al_fic_wire_init() 228 fic->name, parent_irq); in al_fic_wire_init() 247 node->name); in al_fic_init_dt() 196 al_fic_wire_init(struct device_node *node, void __iomem *base, const char *name, unsigned int parent_irq) al_fic_wire_init() argument [all...] |
/kernel/linux/linux-6.6/drivers/leds/ |
H A D | leds-pwm.c | 23 const char *name; member 69 led_data->cdev.name = led->name; in led_pwm_add() 78 led->name); in led_pwm_add() 91 led->name); in led_pwm_add() 118 led->name, ret); in led_pwm_add() 126 led->name, ret); in led_pwm_add() 144 ret = fwnode_property_read_string(fwnode, "label", &led.name); in led_pwm_create_fwnode() 146 led.name = to_of_node(fwnode)->name; in led_pwm_create_fwnode() [all...] |
H A D | leds-88pm860x.c | 33 char name[MFD_NAME_SIZE]; member 129 if (of_node_name_eq(np, data->name)) { in pm860x_led_dt_init() 167 memset(data->name, 0, MFD_NAME_SIZE); in pm860x_led_probe() 171 sprintf(data->name, "led0-red"); in pm860x_led_probe() 175 sprintf(data->name, "led0-green"); in pm860x_led_probe() 179 sprintf(data->name, "led0-blue"); in pm860x_led_probe() 183 sprintf(data->name, "led1-red"); in pm860x_led_probe() 187 sprintf(data->name, "led1-green"); in pm860x_led_probe() 191 sprintf(data->name, "led1-blue"); in pm860x_led_probe() 202 data->cdev.name in pm860x_led_probe() [all...] |
H A D | leds-sunfire.c | 116 const char *name; member 146 lp->name = types[i].name; in sunfire_led_generic_probe() 154 lp->name); in sunfire_led_generic_probe() 179 .name = "clockboard-left", 183 .name = "clockboard-middle", 187 .name = "clockboard-right", 200 .name = "fhc-left", 204 .name = "fhc-middle", 208 .name [all...] |
/kernel/linux/linux-6.6/drivers/input/ |
H A D | input-leds.c | 22 const char *name; member 77 if (input_led_info[led_code].name) in input_leds_get_count() 106 leds->handle.name = "leds"; in input_leds_connect() 119 if (!input_led_info[led_code].name) in input_leds_connect() 126 led->cdev.name = kasprintf(GFP_KERNEL, "%s::%s", in input_leds_connect() 128 input_led_info[led_code].name); in input_leds_connect() 129 if (!led->cdev.name) { in input_leds_connect() 142 led->cdev.name, error); in input_leds_connect() 143 kfree(led->cdev.name); in input_leds_connect() 157 kfree(led->cdev.name); in input_leds_connect() [all...] |
/kernel/linux/linux-6.6/tools/perf/scripts/python/ |
H A D | flamegraph.py | 53 def __init__(self, name, libtype): 54 self.name = name 63 "n": self.name, 87 def find_or_create_node(node, name, libtype): 89 if child.name == name: 92 child = Node(name, libtype) 110 name = entry.get("sym", {}).get("name", "[unknow [all...] |
/kernel/linux/linux-6.6/tools/perf/tests/ |
H A D | parse-metric.c | 21 static u64 find_value(const char *name, struct value *values) in find_value() argument 26 if (!strcmp(name, v->event)) in find_value() 40 count = find_value(evsel->name, vals); in load_runtime_stat() 49 const char *name) in compute_single() 59 if (strcmp(mexp->metric_name, name)) in compute_single() 68 static int __compute_metric(const char *name, struct value *vals, in __compute_metric() argument 98 err = metricgroup__parse_groups_test(evlist, pme_test, name, in __compute_metric() 125 static int compute_metric(const char *name, struct value *vals, double *ratio) in compute_metric() argument 127 return __compute_metric(name, vals, name, rati in compute_metric() 48 compute_single(struct rblist *metric_events, struct evlist *evlist, const char *name) compute_single() argument 130 compute_metric_group(const char *name, struct value *vals, const char *name1, double *ratio1, const char *name2, double *ratio2) compute_metric_group() argument [all...] |
/kernel/linux/linux-6.6/tools/testing/selftests/bpf/benchs/ |
H A D | bench_trigger.c | 200 .name = "trig-base", 209 .name = "trig-tp", 219 .name = "trig-rawtp", 229 .name = "trig-kprobe", 239 .name = "trig-fentry", 249 .name = "trig-fentry-sleep", 259 .name = "trig-fmodret", 269 .name = "trig-uprobe-base", 278 .name = "trig-uprobe-with-nop", 287 .name [all...] |
/kernel/linux/linux-6.6/sound/drivers/opl3/ |
H A D | opl3_oss.c | 50 char name[32]; in snd_opl3_oss_create_port() local 67 sprintf(name, "OPL%i OSS Port", opl_ver); in snd_opl3_oss_create_port() 77 name); in snd_opl3_oss_create_port() 90 void snd_opl3_init_seq_oss(struct snd_opl3 *opl3, char *name) in snd_opl3_init_seq_oss() argument 100 strscpy(dev->name, name, sizeof(dev->name)); in snd_opl3_init_seq_oss() 181 char name[32]; in snd_opl3_load_patch_seq_oss() local 208 memset(name, 0, sizeof(name)); in snd_opl3_load_patch_seq_oss() [all...] |
/kernel/liteos_a/kernel/extended/container/ |
H A D | los_uts_container.c | 14 * 3. Neither the name of the copyright holder nor the names of its contributors may be used 38 STATIC UINT32 InitUtsContainer(struct utsname *name) in InitUtsContainer() argument 40 INT32 ret = sprintf_s(name->sysname, sizeof(name->sysname), "%s", KERNEL_NAME); in InitUtsContainer() 44 ret = sprintf_s(name->nodename, sizeof(name->nodename), "%s", KERNEL_NODE_NAME); in InitUtsContainer() 48 ret = sprintf_s(name->version, sizeof(name->version), "%s %u.%u.%u.%u %s %s", in InitUtsContainer() 54 ret = sprintf_s(name->machine, sizeof(name in InitUtsContainer() [all...] |
/kernel/linux/linux-6.6/kernel/power/ |
H A D | wakelock.c | 28 char *name; member 49 len += sysfs_emit_at(buf, len, "%s ", wl->name); in pm_show_wakelocks() 124 kfree(wl->name); in __wakelocks_gc() 147 static struct wakelock *wakelock_lookup_add(const char *name, size_t len, in wakelock_lookup_add() argument 159 diff = strncmp(name, wl->name, len); in wakelock_lookup_add() 161 if (wl->name[len]) in wakelock_lookup_add() 182 wl->name = kstrndup(name, len, GFP_KERNEL); in wakelock_lookup_add() 183 if (!wl->name) { in wakelock_lookup_add() [all...] |
/kernel/linux/linux-6.6/sound/soc/intel/avs/boards/ |
H A D | max98927.c | 75 if (!strcmp(codec_dai->component->name, MAX98927_DEV0_NAME)) in avs_max98927_hw_params() 77 else if (!strcmp(codec_dai->component->name, MAX98927_DEV1_NAME)) in avs_max98927_hw_params() 82 codec_dai->component->name, ret); in avs_max98927_hw_params() 105 platform->name = platform_name; in avs_create_dai_link() 107 dl->name = devm_kasprintf(dev, GFP_KERNEL, "SSP%d-Codec", ssp_port); in avs_create_dai_link() 110 if (!dl->name || !dl->cpus || !dl->codecs) in avs_create_dai_link() 114 dl->codecs[0].name = devm_kasprintf(dev, GFP_KERNEL, MAX98927_DEV0_NAME); in avs_create_dai_link() 116 dl->codecs[1].name = devm_kasprintf(dev, GFP_KERNEL, MAX98927_DEV1_NAME); in avs_create_dai_link() 118 if (!dl->cpus->dai_name || !dl->codecs[0].name || !dl->codecs[0].dai_name || in avs_create_dai_link() 119 !dl->codecs[1].name || !d in avs_create_dai_link() [all...] |
/third_party/fsverity-utils/programs/ |
H A D | fsverity.c | 18 const char *name; member 24 .name = "digest", 35 .name = "dump_metadata", 41 .name = "enable", 49 .name = "measure", 57 .name = "sign", 72 const char *name; in show_all_hash_algs() local 75 while ((name = libfsverity_get_hash_name(alg_num++)) != NULL) in show_all_hash_algs() 76 fprintf(fp, " %s", name); in show_all_hash_algs() 138 static const struct fsverity_command *find_command(const char *name) in find_command() argument [all...] |
/third_party/lzma/CPP/7zip/Compress/ |
H A D | XzEncoder.cpp | 62 static int FilterIdFromName(const wchar_t *name)
in FilterIdFromName() argument 67 if (StringsAreEqualNoCase_Ascii(name, pair.Name))
in FilterIdFromName() 141 const wchar_t *name = prop.bstrVal;
in SetCoderProp() local 144 UInt32 id32 = ConvertStringToUInt32(name, &end);
in SetCoderProp() 146 if (end != name)
in SetCoderProp() 147 name = end;
in SetCoderProp() 150 if (IsString1PrefixedByString2_NoCase_Ascii(name, "Delta"))
in SetCoderProp() 152 name += 5; // strlen("Delta");
in SetCoderProp() 166 const wchar_t c = *name;
in SetCoderProp() 169 name in SetCoderProp() [all...] |
/third_party/jerryscript/jerry-ext/module/ |
H A D | module.c | 26 static const jerry_char_t *module_name_not_string = (jerry_char_t *) "Module name is not a string"; 32 * string containing the name of the module that was requested when the error occurred. 39 const jerry_value_t module_name) /**< the module name */ in jerryx_module_create_error() 114 * Attempt to retrieve a module by name from a cache, and return false if not found. 117 jerryx_module_check_cache (jerry_value_t cache, /**< cache from which to attempt to retrieve the module by name */ in jerryx_module_check_cache() 118 jerry_value_t module_name, /**< JerryScript string value holding the module name */ in jerryx_module_check_cache() 177 * section and loads one that matches the requested name, caching the result for subsequent requests using the context 181 jerryx_resolve_native_module (const jerry_value_t canonical_name, /**< canonical name of the module */ in jerryx_resolve_native_module() 202 /* Look for the module by its name in the list of module definitions. */ in jerryx_resolve_native_module() 209 /* If we find the module by its name w in jerryx_resolve_native_module() 234 jerryx_module_resolve_local(const jerry_value_t name, const jerryx_module_resolver_t **resolvers_p, size_t resolver_count, jerry_value_t *result) jerryx_module_resolve_local() argument 339 jerryx_module_resolve(const jerry_value_t name, const jerryx_module_resolver_t **resolvers_p, size_t resolver_count) jerryx_module_resolve() argument 350 jerryx_module_clear_cache(const jerry_value_t name, const jerryx_module_resolver_t **resolvers_p, size_t resolver_count) jerryx_module_clear_cache() argument [all...] |
/third_party/mesa3d/src/broadcom/vulkan/ |
H A D | v3dv_cl.h | 172 #define cl_emit(cl, packet, name) \ 173 for (struct cl_packet_struct(packet) name = { \ 176 *_loop_terminate = &name; \ 180 cl_packet_pack(packet)(cl, (uint8_t *)cl_out, &name); \ 186 #define cl_emit_with_prepacked(cl, packet, prepacked, name) \ 187 for (struct cl_packet_struct(packet) name = { \ 190 *_loop_terminate = &name; \ 195 cl_packet_pack(packet)(cl, packed, &name); \ 226 #define v3dvx_pack(packed, packet, name) \ 227 for (struct cl_packet_struct(packet) name [all...] |
/third_party/mesa3d/src/gallium/drivers/v3d/ |
H A D | v3d_cl.h | 225 #define cl_emit(cl, packet, name) \ 226 for (struct cl_packet_struct(packet) name = { \ 229 *_loop_terminate = &name; \ 233 cl_packet_pack(packet)(cl, (uint8_t *)cl_out, &name); \ 239 #define cl_emit_with_prepacked(cl, packet, prepacked, name) \ 240 for (struct cl_packet_struct(packet) name = { \ 243 *_loop_terminate = &name; \ 248 cl_packet_pack(packet)(cl, packed, &name); \ 264 #define v3dx_pack(packed, packet, name) \ 265 for (struct cl_packet_struct(packet) name [all...] |
/third_party/node/lib/internal/webstreams/ |
H A D | transfer.js | 46 // a bit with the message, name, and code properties and the 50 constructor(message, name) { 51 super(message, name); 54 name: this.name, 65 name: this.name, 73 [kDeserialize]({ message, name, code }) { 81 name: { 85 get() { return name; }, [all...] |
/third_party/node/deps/v8/src/wasm/ |
H A D | wasm-value.h | 30 #define DEFINE_SIMD_TYPE(cType, sType, name, kSize) \ 41 #define DEFINE_SIMD_TYPE_SPECIFIC_METHODS(cType, sType, name, size) \ 45 sType to_##name() const { \ 65 #define DECLARE_CAST(cType, sType, name, size) \ 68 return to_##name(); \ 75 // - name (for to_<name>() method) 98 #define DEFINE_TYPE_SPECIFIC_METHODS(name, localtype, ctype) \ 105 ctype to_##name() const { \ 107 return to_##name##_unchecke [all...] |
/third_party/musl/src/conf/ |
H A D | sysconf.c | 28 long sysconf(int name) in sysconf() argument 31 return syscall(SYS_sysconf, name); in sysconf() 179 if (name >= sizeof(values)/sizeof(values[0]) || !values[name]) { in sysconf() 182 } else if (values[name] >= -1) { in sysconf() 183 return values[name]; in sysconf() 184 } else if (values[name] < -256) { in sysconf() 186 getrlimit(values[name]&16383, &lim); in sysconf() 192 switch ((unsigned char)values[name]) { in sysconf() 215 if (name in sysconf() [all...] |
/third_party/ltp/testcases/kernel/syscalls/fanotify/ |
H A D | fanotify22.c | 106 char *name; member 113 .name = "Trigger abort", 120 .name = "Lookup of inode with invalid mode", 127 .name = "Multiple error submission", 134 .name = "Multiple error submission 2", 149 ex->name, FSID_VAL_MEMBER(fid->fsid, 0), in check_error_event_info_fid() 156 ex->name, fh->handle_type, ex->fid->handle.handle_type); in check_error_event_info_fid() 162 ex->name, fh->handle_bytes, ex->fid->handle.handle_bytes); in check_error_event_info_fid() 168 "Expected (%x...) got (%x...) ", ex->name, in check_error_event_info_fid() 182 ex->name, info_erro in check_error_event_info_error() [all...] |
/third_party/musl/libc-test/src/functionalext/supplement/network/ |
H A D | ns_parse.c | 55 * @tc.name : ns_get16_0100 68 * @tc.name : ns_get32_0100 81 * @tc.name : ns_put16_0100 98 * @tc.name : ns_put32_0100 115 * @tc.name : ns_name_uncompress_0100 116 * @tc.desc : Get the domain name from the array and store the data in the array (success) 122 char name[] = "XXXX"; in ns_name_uncompress_0100() local 124 int ret = ns_name_uncompress(domain, domain + 6, domain, name, TEST_MSG_SIZE); in ns_name_uncompress_0100() 126 EXPECT_STREQ("ns_name_uncompress_0100", name, "pq"); in ns_name_uncompress_0100() 129 memcpy(name, "XXX in ns_name_uncompress_0100() 145 char name[] = "XXXX"; ns_name_uncompress_0200() local 160 char name[] = "XXXX"; ns_name_uncompress_0300() local [all...] |
/third_party/python/Lib/idlelib/ |
H A D | browser.py | 51 if hasattr(obj, 'super') and obj.super and obj.name == key: 52 # If obj.name != key, it has already been suffixed. 58 sname = sup.name 62 obj.name += '({})'.format(', '.join(supers)) 87 name: Module name. 155 file: Full path and module name. 160 "Return the module name as the text string to display." 164 "Return the name of the icon to display." 188 name, [all...] |
/third_party/pulseaudio/src/pulsecore/ |
H A D | rtkit.c | 52 static int translate_error(const char *name) { in translate_error() argument 53 if (pa_streq(name, DBUS_ERROR_NO_MEMORY)) in translate_error() 55 if (pa_streq(name, DBUS_ERROR_SERVICE_UNKNOWN) || in translate_error() 56 pa_streq(name, DBUS_ERROR_NAME_HAS_NO_OWNER)) in translate_error() 58 if (pa_streq(name, DBUS_ERROR_ACCESS_DENIED) || in translate_error() 59 pa_streq(name, DBUS_ERROR_AUTH_FAILED)) in translate_error() 96 ret = translate_error(error.name); in rtkit_get_int_property() 101 ret = translate_error(error.name); in rtkit_get_int_property() 205 ret = translate_error(error.name); in rtkit_make_realtime() 211 ret = translate_error(error.name); in rtkit_make_realtime() [all...] |