Home
last modified time | relevance | path

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

1234567

/drivers/media/usb/pvrusb2/
A Dpvrusb2-ctrl.c192 const char * const *names; in pvr2_ctrl_get_valname() local
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
213 names[idx]); in pvr2_ctrl_get_valname()
307 idStr = names[idx]; in gen_bitmask_string()
361 if (!names) namecnt = 0; in parse_token()
363 if (!names[idx]) continue; in parse_token()
364 slen = strlen(names[idx]); in parse_token()
531 if (names[val]) { in pvr2_ctrl_value_to_sym_internal()
[all …]
/drivers/gpio/
A Dgpio-cros-ec.c29 const char *name = gc->names[gpio] + strlen(cros_ec_gpio_prefix); in cros_ec_gpio_set()
46 const char *name = gc->names[gpio] + strlen(cros_ec_gpio_prefix); in cros_ec_gpio_get()
72 const char *name = gc->names[gpio] + strlen(cros_ec_gpio_prefix); in cros_ec_gpio_get_direction()
108 const char **names; in cros_ec_gpio_init_names() local
111 names = devm_kcalloc(gc->parent, gc->ngpio, sizeof(*names), GFP_KERNEL); in cros_ec_gpio_init_names()
112 if (!names) in cros_ec_gpio_init_names()
114 gc->names = names; in cros_ec_gpio_init_names()
130 names[i] = str; in cros_ec_gpio_init_names()
A Dgpio-lpc32xx.c415 .names = gpio_p0_names,
431 .names = gpio_p1_names,
446 .names = gpio_p2_names,
462 .names = gpio_p3_names,
476 .names = gpi_p3_names,
490 .names = gpo_p3_names,
/drivers/gpu/drm/i915/
A Di915_mitigations.c21 static const char * const names[] = { variable
37 BUILD_BUG_ON(ARRAY_SIZE(names) >= BITS_PER_TYPE(mitigations)); in mitigations_set()
74 for (i = 0; i < ARRAY_SIZE(names); i++) { in mitigations_set()
75 if (!strcmp(tok, names[i])) { in mitigations_set()
83 if (i == ARRAY_SIZE(names)) { in mitigations_set()
115 for (i = 0; i < ARRAY_SIZE(names); i++) { in mitigations_get()
120 "%s%s,", enable ? "" : "!", names[i]); in mitigations_get()
/drivers/net/wireless/mediatek/mt76/
A Dmt792x_acpi_sar.h26 u8 names[4]; member
38 u8 names[4]; member
57 u8 names[4]; member
70 u8 names[4]; member
78 u8 names[4]; member
89 u8 names[4]; member
98 u8 names[4]; member
/drivers/pci/hotplug/
A Drpaphp_core.c163 const __be32 *indexes, *names, *types, *domains; in get_children_props() local
166 names = of_get_property(dn, "ibm,drc-names", NULL); in get_children_props()
170 if (!indexes || !names || !types || !domains) { in get_children_props()
178 *drc_names = names; in get_children_props()
199 const __be32 *indexes, *names; in rpaphp_check_drc_props_v1() local
203 rc = get_children_props(dn->parent, &indexes, &names, &types, &domains); in rpaphp_check_drc_props_v1()
208 name_tmp = (char *) &names[1]; in rpaphp_check_drc_props_v1()
317 const __be32 **names, const __be32 **types, in is_php_dn() argument
380 const __be32 *indexes, *names, *types, *power_domains; in rpaphp_drc_add_slot() local
384 if (!is_php_dn(dn, &indexes, &names, &types, &power_domains)) in rpaphp_drc_add_slot()
[all …]
/drivers/mtd/parsers/
A 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()
A Dofpart_core.c217 const char *names; in parse_ofoldpart_partitions() local
236 names = of_get_property(dp, "partition-names", &plen); in parse_ofoldpart_partitions()
245 if (names && (plen > 0)) { in parse_ofoldpart_partitions()
246 int len = strlen(names) + 1; in parse_ofoldpart_partitions()
248 parts[i].name = names; in parse_ofoldpart_partitions()
250 names += len; in parse_ofoldpart_partitions()
/drivers/pinctrl/qcom/
A 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].grp.name = names[i]; in qdf2xxx_pinctrl_probe()
/drivers/misc/
A Dlan966x_pci.dtso78 reg-names = "gcb","cpu";
88 reset-names = "switch";
125 reset-names = "switch";
140 reg-names = "cpu", "gcb";
145 interrupt-names = "xtr", "ana";
148 reset-names = "switch";
150 pinctrl-names = "default";
/drivers/leds/
A 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/usb/common/
A Dcommon.c52 static const char *const names[] = { in usb_otg_state_string() local
68 if (state < 0 || state >= ARRAY_SIZE(names)) in usb_otg_state_string()
71 return names[state]; in usb_otg_state_string()
162 static const char *const names[] = { in usb_state_string() local
174 if (state < 0 || state >= ARRAY_SIZE(names)) in usb_state_string()
177 return names[state]; in usb_state_string()
/drivers/clk/
A Dkunit_clk_parent_data_test.dtso12 clock-output-names = CLK_PARENT_DATA_50MHZ_NAME;
19 clock-output-names = CLK_PARENT_DATA_1MHZ_NAME;
25 clock-names = CLK_PARENT_DATA_PARENT1, CLK_PARENT_DATA_PARENT2;
/drivers/media/pci/intel/
A Dipu-bridge.c347 PROPERTY_ENTRY_U32(names->bus_type, in ipu_bridge_create_fwnode_properties()
350 PROPERTY_ENTRY_U32_ARRAY_LEN(names->data_lanes, in ipu_bridge_create_fwnode_properties()
354 PROPERTY_ENTRY_REF_ARRAY(names->remote_endpoint, in ipu_bridge_create_fwnode_properties()
358 PROPERTY_ENTRY_U32(names->bus_type, in ipu_bridge_create_fwnode_properties()
361 PROPERTY_ENTRY_U32_ARRAY_LEN(names->data_lanes, in ipu_bridge_create_fwnode_properties()
365 PROPERTY_ENTRY_REF_ARRAY(names->remote_endpoint, in ipu_bridge_create_fwnode_properties()
476 struct ipu_node_names *names = &sensor->node_names; in ipu_bridge_create_connection_swnodes() local
507 NODE_PORT(names->ivsc_sensor_port, in ipu_bridge_create_connection_swnodes()
510 NODE_ENDPOINT(names->endpoint, in ipu_bridge_create_connection_swnodes()
514 NODE_PORT(names->ivsc_ipu_port, in ipu_bridge_create_connection_swnodes()
[all …]
/drivers/pmdomain/sunxi/
A Dsun20i-ppu.c39 const char *const *names; member
152 pd->genpd.name = desc->names[i]; in sun20i_ppu_probe()
181 .names = sun20i_d1_ppu_pd_names,
192 .names = sun8i_v853_ppu_pd_names,
205 .names = sun55i_a523_ppu_pd_names,
/drivers/i2c/busses/
A 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/clk/sunxi/
A Dclk-sun8i-bus-gates.c22 static const char * const names[] = { "ahb1", "ahb2", "apb1", "apb2" }; in sun8i_h3_bus_gates_init() local
38 for (i = 0; i < ARRAY_SIZE(names); i++) { in sun8i_h3_bus_gates_init()
40 names[i]); in sun8i_h3_bus_gates_init()
/drivers/edac/
A Dskx_common.c55 const char * const *names; in skx_adxl_get() local
58 names = adxl_get_component_names(); in skx_adxl_get()
59 if (!names) { in skx_adxl_get()
65 for (j = 0; names[j]; j++) { in skx_adxl_get()
66 if (!strcmp(component_names[i], names[j])) { in skx_adxl_get()
76 if (!names[j] && i < INDEX_NM_FIRST) in skx_adxl_get()
87 adxl_component_names = names; in skx_adxl_get()
88 while (*names++) in skx_adxl_get()
109 for (j = 0; names[j]; j++) in skx_adxl_get()
110 skx_printk(KERN_CONT, "%s ", names[j]); in skx_adxl_get()
/drivers/infiniband/hw/mlx5/
A Dcounters.c701 const struct mlx5_ib_counter *names; in mlx5_ib_fill_counters() local
708 descs[j].name = names[i].name; in mlx5_ib_fill_counters()
709 offsets[j] = names[i].offset; in mlx5_ib_fill_counters()
717 descs[j].name = names[i].name; in mlx5_ib_fill_counters()
718 offsets[j] = names[i].offset; in mlx5_ib_fill_counters()
727 descs[j].name = names[i].name; in mlx5_ib_fill_counters()
728 offsets[j] = names[i].offset; in mlx5_ib_fill_counters()
737 descs[j].name = names[i].name; in mlx5_ib_fill_counters()
738 offsets[j] = names[i].offset; in mlx5_ib_fill_counters()
747 descs[j].name = names[i].name; in mlx5_ib_fill_counters()
[all …]
/drivers/gpu/drm/renesas/rz-du/
A Drzg2l_du_drv.c74 static const char * const names[] = { in rzg2l_du_output_name() local
79 if (output >= ARRAY_SIZE(names)) in rzg2l_du_output_name()
82 return names[output]; in rzg2l_du_output_name()
/drivers/comedi/drivers/ni_routing/
A 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/gpu/drm/msm/disp/mdp5/
A Dmdp5_kms.h185 static const char *names[] = { in stage2name() local
192 return names[stage]; in stage2name()
197 static const char *names[] = { in pipe2name() local
206 return names[pipe]; in pipe2name()
/drivers/dio/
A Ddio.c69 static struct dioname names[] = { variable
98 for (i = 0; i < ARRAY_SIZE(names); i++) in dio_getname()
99 if (names[i].id == id) in dio_getname()
100 return names[i].name; in dio_getname()
/drivers/zorro/
A DMakefile8 obj-$(CONFIG_ZORRO_NAMES) += names.o
16 $(obj)/names.o: $(obj)/devlist.h
/drivers/bcma/
A Dscan.c115 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()

Completed in 68 milliseconds

1234567