/drivers/gpio/ |
D | gpiolib-devprop.c | 31 const char **names; in devprop_gpiochip_set_names() local 43 names = kcalloc(count, sizeof(*names), GFP_KERNEL); in devprop_gpiochip_set_names() 44 if (!names) in devprop_gpiochip_set_names() 48 names, count); in devprop_gpiochip_set_names() 51 kfree(names); in devprop_gpiochip_set_names() 56 gdev->descs[i].name = names[i]; in devprop_gpiochip_set_names() 58 kfree(names); in devprop_gpiochip_set_names()
|
D | gpio-mockup.c | 353 char **names; in gpio_mockup_name_lines() local 356 names = devm_kcalloc(dev, gc->ngpio, sizeof(char *), GFP_KERNEL); in gpio_mockup_name_lines() 357 if (!names) in gpio_mockup_name_lines() 361 names[i] = devm_kasprintf(dev, GFP_KERNEL, in gpio_mockup_name_lines() 363 if (!names[i]) in gpio_mockup_name_lines() 367 gc->names = (const char *const *)names; in gpio_mockup_name_lines()
|
D | gpio-lpc32xx.c | 409 .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,
|
/drivers/crypto/qat/qat_common/ |
D | adf_isr.c | 178 name = *(pci_dev_info->msix_entries.names + i); in adf_request_irqs() 198 name = *(pci_dev_info->msix_entries.names + i); in adf_request_irqs() 232 char **names; in adf_isr_alloc_msix_entry_table() local 246 names = kcalloc(msix_num_entries, sizeof(char *), GFP_KERNEL); in adf_isr_alloc_msix_entry_table() 247 if (!names) { in adf_isr_alloc_msix_entry_table() 252 *(names + i) = kzalloc(ADF_MAX_MSIX_VECTOR_NAME, GFP_KERNEL); in adf_isr_alloc_msix_entry_table() 253 if (!(*(names + i))) in adf_isr_alloc_msix_entry_table() 258 accel_dev->accel_pci_dev.msix_entries.names = names; in adf_isr_alloc_msix_entry_table() 262 kfree(*(names + i)); in adf_isr_alloc_msix_entry_table() 264 kfree(names); in adf_isr_alloc_msix_entry_table() [all …]
|
/drivers/media/usb/pvrusb2/ |
D | pvrusb2-ctrl.c | 192 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/staging/mt7621-dts/ |
D | mt7621.dtsi | 106 reset-names = "i2c"; 113 pinctrl-names = "default"; 124 reset-names = "i2s"; 134 dma-names = "tx", "rx"; 178 reset-names = "spi"; 183 pinctrl-names = "default"; 192 reset-names = "dma"; 209 reset-names = "hsdma"; 224 pinctrl-names = "default"; 337 pinctrl-names = "default", "state_uhs"; [all …]
|
/drivers/pci/hotplug/ |
D | rpaphp_core.c | 161 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() 316 const __be32 **names, const __be32 **types, in is_php_dn() argument 322 rc = get_children_props(dn, indexes, names, &drc_types, power_domains); in is_php_dn() 354 const __be32 *indexes, *names, *types, *power_domains; in rpaphp_add_slot() local [all …]
|
/drivers/staging/mt7621-pci/ |
D | mediatek,mt7621-pci.txt | 10 - pinctrl-names : The pin control state names. 19 - resets: Must contain an entry for each entry in reset-names. 21 - reset-names: Must be "pcie0", "pcie1", "pcieN"... based on the number of 23 - clocks: Must contain an entry for each entry in clock-names. 25 - clock-names: Must be "pcie0", "pcie1", "pcieN"... based on the number of 53 pinctrl-names = "default"; 73 reset-names = "pcie0", "pcie1", "pcie2"; 75 clock-names = "pcie0", "pcie1", "pcie2";
|
/drivers/mtd/parsers/ |
D | redboot.c | 76 char *names; in parse_redboot_partitions() local 250 names = nullname + nulllen; in parse_redboot_partitions() 265 parts[i].name = names; in parse_redboot_partitions() 267 strcpy(names, fl->img->name); in parse_redboot_partitions() 269 if (!memcmp(names, "RedBoot", 8) || in parse_redboot_partitions() 270 !memcmp(names, "RedBoot config", 15) || in parse_redboot_partitions() 271 !memcmp(names, "FIS directory", 14)) { in parse_redboot_partitions() 275 names += strlen(names)+1; in parse_redboot_partitions()
|
D | ofpart.c | 161 const char *names; in parse_ofoldpart_partitions() local 180 names = of_get_property(dp, "partition-names", &plen); in parse_ofoldpart_partitions() 189 if (names && (plen > 0)) { in parse_ofoldpart_partitions() 190 int len = strlen(names) + 1; in parse_ofoldpart_partitions() 192 parts[i].name = names; in parse_ofoldpart_partitions() 194 names += len; in parse_ofoldpart_partitions()
|
/drivers/pinctrl/qcom/ |
D | pinctrl-qdf2xxx.c | 36 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/usb/common/ |
D | common.c | 39 static const char *const names[] = { in usb_otg_state_string() local 55 if (state < 0 || state >= ARRAY_SIZE(names)) in usb_otg_state_string() 58 return names[state]; in usb_otg_state_string() 97 static const char *const names[] = { in usb_state_string() local 109 if (state < 0 || state >= ARRAY_SIZE(names)) in usb_state_string() 112 return names[state]; in usb_state_string()
|
/drivers/staging/clocking-wizard/ |
D | dt-binding.txt | 14 - 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/crypto/virtio/ |
D | virtio_crypto_core.c | 54 const char **names; in virtcrypto_find_vqs() local 71 names = kcalloc(total_vqs, sizeof(*names), GFP_KERNEL); in virtcrypto_find_vqs() 72 if (!names) in virtcrypto_find_vqs() 77 names[total_vqs - 1] = "controlq"; in virtcrypto_find_vqs() 84 names[i] = vi->data_vq[i].name; in virtcrypto_find_vqs() 87 ret = virtio_find_vqs(vi->vdev, total_vqs, vqs, callbacks, names, NULL); in virtcrypto_find_vqs() 104 kfree(names); in virtcrypto_find_vqs() 112 kfree(names); in virtcrypto_find_vqs()
|
/drivers/virtio/ |
D | virtio_pci_common.c | 281 const char * const names[], bool per_vq_vectors, in vp_find_vqs_msix() argument 312 if (!names[i]) { in vp_find_vqs_msix() 323 vqs[i] = vp_setup_vq(vdev, queue_idx++, callbacks[i], names[i], in vp_find_vqs_msix() 338 dev_name(&vp_dev->vdev.dev), names[i]); in vp_find_vqs_msix() 355 const char * const names[], const bool *ctx) in vp_find_vqs_intx() argument 372 if (!names[i]) { in vp_find_vqs_intx() 376 vqs[i] = vp_setup_vq(vdev, queue_idx++, callbacks[i], names[i], in vp_find_vqs_intx() 394 const char * const names[], const bool *ctx, in vp_find_vqs() argument 400 err = vp_find_vqs_msix(vdev, nvqs, vqs, callbacks, names, true, ctx, desc); in vp_find_vqs() 404 err = vp_find_vqs_msix(vdev, nvqs, vqs, callbacks, names, false, ctx, desc); in vp_find_vqs() [all …]
|
/drivers/i2c/busses/ |
D | i2c-pca-isa.c | 40 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/ |
D | skx_common.c | 45 const char * const *names; in skx_adxl_get() local 48 names = adxl_get_component_names(); in skx_adxl_get() 49 if (!names) { in skx_adxl_get() 55 for (j = 0; names[j]; j++) { in skx_adxl_get() 56 if (!strcmp(component_names[i], names[j])) { in skx_adxl_get() 62 if (!names[j]) in skx_adxl_get() 66 adxl_component_names = names; in skx_adxl_get() 67 while (*names++) in skx_adxl_get() 88 for (j = 0; names[j]; j++) in skx_adxl_get() 89 skx_printk(KERN_CONT, "%s ", names[j]); in skx_adxl_get()
|
/drivers/clk/sunxi/ |
D | clk-sun8i-bus-gates.c | 22 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/ |
D | dio.c | 70 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/ |
D | Makefile | 8 obj-$(CONFIG_ZORRO_NAMES) += names.o 16 $(obj)/names.o: $(obj)/devlist.h
|
D | Kconfig | 10 names to make the information in /proc/iomem comprehensible to the 16 ID numbers instead of names.
|
/drivers/staging/comedi/drivers/ni_routing/ |
D | README | 1 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/bcma/ |
D | scan.c | 115 const struct bcma_device_id_name *names; in bcma_device_name() local 121 names = bcma_arm_device_names; in bcma_device_name() 125 names = bcma_bcm_device_names; in bcma_device_name() 129 names = bcma_mips_device_names; in bcma_device_name() 137 if (names[i].id == id->id) in bcma_device_name() 138 return names[i].name; in bcma_device_name()
|
/drivers/gpu/drm/msm/disp/mdp5/ |
D | mdp5_kms.h | 184 static const char *names[] = { in stage2name() local 191 return names[stage]; in stage2name() 196 static const char *names[] = { in pipe2name() local 205 return names[pipe]; in pipe2name()
|
/drivers/gpu/drm/msm/ |
D | msm_mmu.h | 13 int (*attach)(struct msm_mmu *mmu, const char * const *names, int cnt); 14 void (*detach)(struct msm_mmu *mmu, const char * const *names, int cnt);
|