Searched refs:num_names (Results 1 – 25 of 31) sorted by relevance
12
/Linux-v5.4/drivers/i2c/muxes/ |
D | i2c-mux-pinctrl.c | 81 int num_names, i, ret; in i2c_mux_pinctrl_probe() local 84 num_names = of_property_count_strings(np, "pinctrl-names"); in i2c_mux_pinctrl_probe() 85 if (num_names < 0) { in i2c_mux_pinctrl_probe() 87 num_names); in i2c_mux_pinctrl_probe() 88 return num_names; in i2c_mux_pinctrl_probe() 95 muxc = i2c_mux_alloc(parent, dev, num_names, in i2c_mux_pinctrl_probe() 96 struct_size(mux, states, num_names), in i2c_mux_pinctrl_probe() 113 for (i = 0; i < num_names; i++) { in i2c_mux_pinctrl_probe() 132 if (i != num_names - 1) { in i2c_mux_pinctrl_probe() 143 for (i = 0; i < num_names; i++) { in i2c_mux_pinctrl_probe() [all …]
|
/Linux-v5.4/sound/i2c/other/ |
D | ak4xxx-adda.c | 537 int num_names; in ak4xxx_capture_num_inputs() local 541 num_names = 0; in ak4xxx_capture_num_inputs() 542 while (num_names < AK5365_NUM_INPUTS && input_names[num_names]) in ak4xxx_capture_num_inputs() 543 ++num_names; in ak4xxx_capture_num_inputs() 544 return num_names; in ak4xxx_capture_num_inputs() 552 unsigned int num_names; in ak4xxx_capture_source_info() local 554 num_names = ak4xxx_capture_num_inputs(ak, mixer_ch); in ak4xxx_capture_source_info() 555 if (!num_names) in ak4xxx_capture_source_info() 557 return snd_ctl_enum_info(uinfo, 1, num_names, in ak4xxx_capture_source_info() 584 int num_names = ak4xxx_capture_num_inputs(ak, mixer_ch); in ak4xxx_capture_source_put() local [all …]
|
/Linux-v5.4/drivers/staging/comedi/ |
D | proc.c | 52 for (i = 0; i < driv->num_names; i++) in comedi_read() 57 if (!driv->num_names) in comedi_read()
|
D | drivers.c | 796 for (i = 0; i < driv->num_names; i++) { in comedi_recognize() 814 for (i = 0; i < driv->num_names; i++) { in comedi_report_boards() 819 if (driv->num_names == 0) in comedi_report_boards() 963 if (driv->num_names) { in comedi_device_attach()
|
D | comedidev.h | 446 unsigned int num_names; member
|
/Linux-v5.4/drivers/staging/comedi/drivers/ |
D | amplc_pc236.c | 69 .num_names = ARRAY_SIZE(pc236_boards),
|
D | ni_labpc.c | 108 .num_names = ARRAY_SIZE(labpc_boards),
|
D | amplc_dio200.c | 259 .num_names = ARRAY_SIZE(dio200_isa_boards),
|
D | amplc_pc263.c | 95 .num_names = ARRAY_SIZE(pc263_boards),
|
D | pcl724.c | 146 .num_names = ARRAY_SIZE(boardtypes),
|
D | pcmad.c | 142 .num_names = ARRAY_SIZE(pcmad_boards),
|
D | das08_isa.c | 183 .num_names = ARRAY_SIZE(das08_isa_boards),
|
D | pcl730.c | 343 .num_names = ARRAY_SIZE(pcl730_boards),
|
D | aio_aio12_8.c | 270 .num_names = ARRAY_SIZE(board_types),
|
D | rti800.c | 349 .num_names = ARRAY_SIZE(rti800_boardtypes),
|
D | ni_at_ao.c | 368 .num_names = ARRAY_SIZE(atao_boards),
|
D | pcl726.c | 416 .num_names = ARRAY_SIZE(pcl726_boards),
|
D | pcl711.c | 506 .num_names = ARRAY_SIZE(boardtypes),
|
D | dt2811.c | 638 .num_names = ARRAY_SIZE(dt2811_boards),
|
D | pcmuio.c | 618 .num_names = ARRAY_SIZE(pcmuio_boards),
|
D | das6402.c | 662 .num_names = ARRAY_SIZE(das6402_boards),
|
D | das800.c | 736 .num_names = ARRAY_SIZE(das800_boards),
|
D | pcl816.c | 689 .num_names = ARRAY_SIZE(boardtypes),
|
D | ni_atmio16d.c | 732 .num_names = ARRAY_SIZE(atmio16_boards),
|
D | amplc_pci224.c | 1116 .num_names = ARRAY_SIZE(pci224_boards),
|
12