Home
last modified time | relevance | path

Searched refs:num_names (Results 1 – 25 of 31) sorted by relevance

12

/Linux-v5.4/drivers/i2c/muxes/
Di2c-mux-pinctrl.c81 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/
Dak4xxx-adda.c537 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/
Dproc.c52 for (i = 0; i < driv->num_names; i++) in comedi_read()
57 if (!driv->num_names) in comedi_read()
Ddrivers.c796 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()
Dcomedidev.h446 unsigned int num_names; member
/Linux-v5.4/drivers/staging/comedi/drivers/
Damplc_pc236.c69 .num_names = ARRAY_SIZE(pc236_boards),
Dni_labpc.c108 .num_names = ARRAY_SIZE(labpc_boards),
Damplc_dio200.c259 .num_names = ARRAY_SIZE(dio200_isa_boards),
Damplc_pc263.c95 .num_names = ARRAY_SIZE(pc263_boards),
Dpcl724.c146 .num_names = ARRAY_SIZE(boardtypes),
Dpcmad.c142 .num_names = ARRAY_SIZE(pcmad_boards),
Ddas08_isa.c183 .num_names = ARRAY_SIZE(das08_isa_boards),
Dpcl730.c343 .num_names = ARRAY_SIZE(pcl730_boards),
Daio_aio12_8.c270 .num_names = ARRAY_SIZE(board_types),
Drti800.c349 .num_names = ARRAY_SIZE(rti800_boardtypes),
Dni_at_ao.c368 .num_names = ARRAY_SIZE(atao_boards),
Dpcl726.c416 .num_names = ARRAY_SIZE(pcl726_boards),
Dpcl711.c506 .num_names = ARRAY_SIZE(boardtypes),
Ddt2811.c638 .num_names = ARRAY_SIZE(dt2811_boards),
Dpcmuio.c618 .num_names = ARRAY_SIZE(pcmuio_boards),
Ddas6402.c662 .num_names = ARRAY_SIZE(das6402_boards),
Ddas800.c736 .num_names = ARRAY_SIZE(das800_boards),
Dpcl816.c689 .num_names = ARRAY_SIZE(boardtypes),
Dni_atmio16d.c732 .num_names = ARRAY_SIZE(atmio16_boards),
Damplc_pci224.c1116 .num_names = ARRAY_SIZE(pci224_boards),

12