Home
last modified time | relevance | path

Searched refs:names (Results 1 – 25 of 161) sorted by relevance

1234567

/drivers/staging/mt7621-dts/
Dmt7621.dtsi63 clock-output-names = "xtal", "cpu", "bus",
90 clock-names = "i2c";
92 reset-names = "i2c";
99 pinctrl-names = "default";
108 clock-names = "i2s";
110 reset-names = "i2s";
120 dma-names = "tx", "rx";
145 clock-names = "uart1";
162 clock-names = "spi";
165 reset-names = "spi";
[all …]
/drivers/media/usb/pvrusb2/
Dpvrusb2-ctrl.c192 const char * const *names; in pvr2_ctrl_get_valname() local
193 names = cptr->info->def.type_enum.value_names; in pvr2_ctrl_get_valname()
195 if (names[val]) { in pvr2_ctrl_get_valname()
198 names[val]); in pvr2_ctrl_get_valname()
205 const char **names; in pvr2_ctrl_get_valname() local
208 names = cptr->info->def.type_bitmask.bit_names; in pvr2_ctrl_get_valname()
213 names[idx]); in pvr2_ctrl_get_valname()
292 const char **names, in gen_bitmask_string() argument
307 idStr = names[idx]; in gen_bitmask_string()
356 const char * const *names, unsigned int namecnt) in parse_token() argument
[all …]
/drivers/crypto/qat/qat_common/
Dadf_isr.c153 name = *(pci_dev_info->msix_entries.names + i); in adf_request_irqs()
173 name = *(pci_dev_info->msix_entries.names + i); in adf_request_irqs()
207 char **names; in adf_isr_alloc_msix_entry_table() local
221 names = kcalloc(msix_num_entries, sizeof(char *), GFP_KERNEL); in adf_isr_alloc_msix_entry_table()
222 if (!names) { in adf_isr_alloc_msix_entry_table()
227 *(names + i) = kzalloc(ADF_MAX_MSIX_VECTOR_NAME, GFP_KERNEL); in adf_isr_alloc_msix_entry_table()
228 if (!(*(names + i))) in adf_isr_alloc_msix_entry_table()
233 accel_dev->accel_pci_dev.msix_entries.names = names; in adf_isr_alloc_msix_entry_table()
237 kfree(*(names + i)); in adf_isr_alloc_msix_entry_table()
239 kfree(names); in adf_isr_alloc_msix_entry_table()
[all …]
/drivers/gpu/drm/i915/
Di915_mitigations.c20 static const char * const names[] = { variable
36 BUILD_BUG_ON(ARRAY_SIZE(names) >= BITS_PER_TYPE(mitigations)); in mitigations_set()
73 for (i = 0; i < ARRAY_SIZE(names); i++) { in mitigations_set()
74 if (!strcmp(tok, names[i])) { in mitigations_set()
82 if (i == ARRAY_SIZE(names)) { in mitigations_set()
114 for (i = 0; i < ARRAY_SIZE(names); i++) { in mitigations_get()
119 "%s%s,", enable ? "" : "!", names[i]); in mitigations_get()
/drivers/staging/mt7621-pci/
Dmediatek,mt7621-pci.txt9 - pinctrl-names : The pin control state names.
18 - resets: Must contain an entry for each entry in reset-names.
20 - reset-names: Must be "pcie0", "pcie1", "pcieN"... based on the number of
22 - clocks: Must contain an entry for each entry in clock-names.
24 - clock-names: Must be "pcie0", "pcie1", "pcieN"... based on the number of
52 pinctrl-names = "default";
72 reset-names = "pcie0", "pcie1", "pcie2";
74 clock-names = "pcie0", "pcie1", "pcie2";
/drivers/pci/hotplug/
Drpaphp_core.c161 const __be32 *indexes, *names, *types, *domains; in get_children_props() local
164 names = of_get_property(dn, "ibm,drc-names", NULL); in get_children_props()
168 if (!indexes || !names || !types || !domains) { in get_children_props()
176 *drc_names = names; in get_children_props()
197 const __be32 *indexes, *names; in rpaphp_check_drc_props_v1() local
201 rc = get_children_props(dn->parent, &indexes, &names, &types, &domains); in rpaphp_check_drc_props_v1()
206 name_tmp = (char *) &names[1]; in rpaphp_check_drc_props_v1()
315 const __be32 **names, const __be32 **types, in is_php_dn() argument
321 rc = get_children_props(dn, indexes, names, &drc_types, power_domains); in is_php_dn()
378 const __be32 *indexes, *names, *types, *power_domains; in rpaphp_drc_add_slot() local
[all …]
/drivers/mtd/parsers/
Dredboot.c82 char *names; in parse_redboot_partitions() local
254 names = nullname + nulllen; in parse_redboot_partitions()
269 parts[i].name = names; in parse_redboot_partitions()
271 strcpy(names, fl->img->name); in parse_redboot_partitions()
273 if (!memcmp(names, "RedBoot", 8) || in parse_redboot_partitions()
274 !memcmp(names, "RedBoot config", 15) || in parse_redboot_partitions()
275 !memcmp(names, "FIS directory", 14)) { in parse_redboot_partitions()
279 names += strlen(names) + 1; in parse_redboot_partitions()
Dofpart_core.c198 const char *names; in parse_ofoldpart_partitions() local
217 names = of_get_property(dp, "partition-names", &plen); in parse_ofoldpart_partitions()
226 if (names && (plen > 0)) { in parse_ofoldpart_partitions()
227 int len = strlen(names) + 1; in parse_ofoldpart_partitions()
229 parts[i].name = names; in parse_ofoldpart_partitions()
231 names += len; in parse_ofoldpart_partitions()
/drivers/infiniband/hw/mlx5/
Dcounters.c170 return rdma_alloc_hw_stats_struct(cnts->names, in mlx5_ib_alloc_hw_device_stats()
183 return rdma_alloc_hw_stats_struct(cnts->names, in mlx5_ib_alloc_hw_port_stats()
305 return rdma_alloc_hw_stats_struct(cnts->names, in mlx5_ib_counter_alloc_stats()
376 const char **names, in mlx5_ib_fill_counters() argument
383 names[j] = basic_q_cnts[i].name; in mlx5_ib_fill_counters()
389 names[j] = out_of_seq_q_cnts[i].name; in mlx5_ib_fill_counters()
396 names[j] = retrans_q_cnts[i].name; in mlx5_ib_fill_counters()
403 names[j] = extended_err_cnts[i].name; in mlx5_ib_fill_counters()
410 names[j] = roce_accl_cnts[i].name; in mlx5_ib_fill_counters()
417 names[j] = cong_cnts[i].name; in mlx5_ib_fill_counters()
[all …]
/drivers/pinctrl/qcom/
Dpinctrl-qdf2xxx.c36 char (*names)[NAME_SIZE]; in qdf2xxx_pinctrl_probe() local
82 names = devm_kcalloc(&pdev->dev, avail_gpios, NAME_SIZE, GFP_KERNEL); in qdf2xxx_pinctrl_probe()
84 if (!pinctrl || !pins || !groups || !names) in qdf2xxx_pinctrl_probe()
101 snprintf(names[i], NAME_SIZE, "gpio%u", gpio); in qdf2xxx_pinctrl_probe()
102 pins[gpio].name = names[i]; in qdf2xxx_pinctrl_probe()
103 groups[gpio].name = names[i]; in qdf2xxx_pinctrl_probe()
/drivers/gpio/
Dgpio-virtio.c209 const char * const names[] = { "requestq" }; in virtio_gpio_alloc_vqs() local
216 ret = virtio_find_vqs(vdev, 1, vqs, cbs, names, NULL); in virtio_gpio_alloc_vqs()
237 const char **names; in virtio_gpio_get_names() local
256 names = devm_kcalloc(dev, ngpio, sizeof(*names), GFP_KERNEL); in virtio_gpio_get_names()
257 if (!names) in virtio_gpio_get_names()
264 names[i] = str; in virtio_gpio_get_names()
273 return names; in virtio_gpio_get_names()
331 vgpio->gc.names = virtio_gpio_get_names(vgpio, gpio_names_size, ngpio); in virtio_gpio_probe()
Dgpio-lpc32xx.c409 .names = gpio_p0_names,
425 .names = gpio_p1_names,
440 .names = gpio_p2_names,
456 .names = gpio_p3_names,
470 .names = gpi_p3_names,
484 .names = gpo_p3_names,
Dgpio-mockup.c505 char **names; in gpio_mockup_make_line_names() local
507 names = kcalloc(num_lines + 1, sizeof(char *), GFP_KERNEL); in gpio_mockup_make_line_names()
508 if (!names) in gpio_mockup_make_line_names()
512 names[i] = kasprintf(GFP_KERNEL, "%s-%u", label, i); in gpio_mockup_make_line_names()
513 if (!names[i]) { in gpio_mockup_make_line_names()
514 kfree_strarray(names, i); in gpio_mockup_make_line_names()
519 return names; in gpio_mockup_make_line_names()
/drivers/leds/
DTODO16 * LED names are still a mess
18 No two LEDs have same name, so the names are probably unusable for the
19 userland. Nudge authors into creating common LED names for common
22 ? Perhaps check for known LED names during boot, and warn if there are
60 In particular, LED names are still a mess (see above) and utility
61 could help there by presenting both old and new names while we clean
64 In future, I'd like utility to accept both old and new names while we
/drivers/staging/clocking-wizard/
Ddt-binding.txt14 - clock-names: Tuple containing 'clk_in1' and 's_axi_aclk'
15 - clock-output-names: Names for the output clocks
25 clock-names = "clk_in1", "s_axi_aclk";
27 clock-output-names = "clk_out0", "clk_out1", "clk_out2",
/drivers/virtio/
Dvirtio_pci_common.c280 const char * const names[], bool per_vq_vectors, in vp_find_vqs_msix() argument
296 if (names[i] && callbacks[i]) in vp_find_vqs_msix()
311 if (!names[i]) { in vp_find_vqs_msix()
322 vqs[i] = vp_setup_vq(vdev, queue_idx++, callbacks[i], names[i], in vp_find_vqs_msix()
337 dev_name(&vp_dev->vdev.dev), names[i]); in vp_find_vqs_msix()
354 const char * const names[], const bool *ctx) in vp_find_vqs_intx() argument
371 if (!names[i]) { in vp_find_vqs_intx()
375 vqs[i] = vp_setup_vq(vdev, queue_idx++, callbacks[i], names[i], in vp_find_vqs_intx()
393 const char * const names[], const bool *ctx, in vp_find_vqs() argument
399 err = vp_find_vqs_msix(vdev, nvqs, vqs, callbacks, names, true, ctx, desc); in vp_find_vqs()
[all …]
/drivers/usb/common/
Dcommon.c45 static const char *const names[] = { in usb_otg_state_string() local
61 if (state < 0 || state >= ARRAY_SIZE(names)) in usb_otg_state_string()
64 return names[state]; in usb_otg_state_string()
156 static const char *const names[] = { in usb_state_string() local
168 if (state < 0 || state >= ARRAY_SIZE(names)) in usb_state_string()
171 return names[state]; in usb_state_string()
/drivers/crypto/virtio/
Dvirtio_crypto_core.c55 const char **names; in virtcrypto_find_vqs() local
72 names = kcalloc(total_vqs, sizeof(*names), GFP_KERNEL); in virtcrypto_find_vqs()
73 if (!names) in virtcrypto_find_vqs()
78 names[total_vqs - 1] = "controlq"; in virtcrypto_find_vqs()
85 names[i] = vi->data_vq[i].name; in virtcrypto_find_vqs()
88 ret = virtio_find_vqs(vi->vdev, total_vqs, vqs, callbacks, names, NULL); in virtcrypto_find_vqs()
107 kfree(names); in virtcrypto_find_vqs()
115 kfree(names); in virtcrypto_find_vqs()
/drivers/i2c/busses/
Di2c-pca-isa.c40 static char *names[] = { "T/O", "DAT", "ADR", "CON" }; in pca_isa_writebyte() local
41 printk(KERN_DEBUG "*** write %s at %#lx <= %#04x\n", names[reg], in pca_isa_writebyte()
52 static char *names[] = { "STA", "DAT", "ADR", "CON" }; in pca_isa_readbyte() local
53 printk(KERN_DEBUG "*** read %s => %#04x\n", names[reg], res); in pca_isa_readbyte()
/drivers/edac/
Dskx_common.c51 const char * const *names; in skx_adxl_get() local
54 names = adxl_get_component_names(); in skx_adxl_get()
55 if (!names) { in skx_adxl_get()
61 for (j = 0; names[j]; j++) { in skx_adxl_get()
62 if (!strcmp(component_names[i], names[j])) { in skx_adxl_get()
72 if (!names[j] && i < INDEX_NM_FIRST) in skx_adxl_get()
83 adxl_component_names = names; in skx_adxl_get()
84 while (*names++) in skx_adxl_get()
105 for (j = 0; names[j]; j++) in skx_adxl_get()
106 skx_printk(KERN_CONT, "%s ", names[j]); in skx_adxl_get()
/drivers/clk/sunxi/
Dclk-sun8i-bus-gates.c22 static const char * const names[] = { "ahb1", "ahb2", "apb1", "apb2" }; in sun8i_h3_bus_gates_init() local
40 for (i = 0; i < ARRAY_SIZE(names); i++) { in sun8i_h3_bus_gates_init()
42 names[i]); in sun8i_h3_bus_gates_init()
/drivers/dio/
Ddio.c70 static struct dioname names[] = variable
99 for (i = 0; i < ARRAY_SIZE(names); i++) in dio_getname()
100 if (names[i].id == id) in dio_getname()
101 return names[i].name; in dio_getname()
/drivers/zorro/
DMakefile8 obj-$(CONFIG_ZORRO_NAMES) += names.o
16 $(obj)/names.o: $(obj)/devlist.h
/drivers/comedi/drivers/ni_routing/
DREADME1 Framework for Maintaining Common National Instruments Terminal/Signal names
25 3) The names for signals and registers found in the various register level
27 close to the same names that are in the end-user documentation.
47 1) The names of the National Instruments signals/terminals that are used in this
53 The impact of this choice implies that one allows the use of CamelScript names
54 in the kernel. In short, the choice to use CamelScript and the exact names
158 abstracted the names of signals/terminals to a common and intuitive set of
159 names. In addition, this new API provided a much more common interface to use
179 shows the mapping between the names used in comedi for NI and those names
/drivers/infiniband/hw/qib/
Dqib_fs.c161 char *names; in dev_names_read() local
165 avail = dd->f_read_cntrs(dd, *ppos, &names, NULL); in dev_names_read()
166 return simple_read_from_buffer(buf, count, ppos, names, avail); in dev_names_read()
183 char *names; in portnames_read() local
187 avail = dd->f_read_portcntrs(dd, *ppos, 0, &names, NULL); in portnames_read()
188 return simple_read_from_buffer(buf, count, ppos, names, avail); in portnames_read()

1234567