Searched refs:num_names (Results 1 - 25 of 32) sorted by relevance

12

/linux-master/drivers/i2c/muxes/
H A Di2c-mux-pinctrl.c81 int num_names, i, ret; local
84 num_names = of_property_count_strings(np, "pinctrl-names");
85 if (num_names < 0) {
87 num_names);
88 return num_names;
95 muxc = i2c_mux_alloc(parent, dev, num_names,
96 struct_size(mux, states, num_names),
113 for (i = 0; i < num_names; i++) {
132 if (i != num_names - 1) {
143 for (i = 0; i < num_names;
[all...]
/linux-master/drivers/comedi/
H A Dproc.c52 for (i = 0; i < driv->num_names; i++)
57 if (!driv->num_names)
H A Ddrivers.c777 * structure, say 'sizeof(struct foo_board)', and 'driv->num_names' is
796 for (i = 0; i < driv->num_names; i++) {
814 for (i = 0; i < driv->num_names; i++) {
819 if (driv->num_names == 0)
963 if (driv->num_names) {
/linux-master/drivers/comedi/drivers/
H A Damplc_pc236.c68 .num_names = ARRAY_SIZE(pc236_boards),
H A Dni_labpc.c107 .num_names = ARRAY_SIZE(labpc_boards),
H A Damplc_dio200.c259 .num_names = ARRAY_SIZE(dio200_isa_boards),
H A Damplc_pc263.c95 .num_names = ARRAY_SIZE(pc263_boards),
H A Ddas08_isa.c183 .num_names = ARRAY_SIZE(das08_isa_boards),
H A Dpcmad.c142 .num_names = ARRAY_SIZE(pcmad_boards),
H A Dpcl724.c145 .num_names = ARRAY_SIZE(boardtypes),
H A Dpcl730.c343 .num_names = ARRAY_SIZE(pcl730_boards),
H A Daio_aio12_8.c269 .num_names = ARRAY_SIZE(board_types),
H A Drti800.c349 .num_names = ARRAY_SIZE(rti800_boardtypes),
H A Dpcl726.c417 .num_names = ARRAY_SIZE(pcl726_boards),
H A Dni_at_ao.c366 .num_names = ARRAY_SIZE(atao_boards),
H A Ddt2811.c637 .num_names = ARRAY_SIZE(dt2811_boards),
H A Dpcl711.c504 .num_names = ARRAY_SIZE(boardtypes),
H A Dpcmuio.c617 .num_names = ARRAY_SIZE(pcmuio_boards),
H A Ddas800.c734 .num_names = ARRAY_SIZE(das800_boards),
H A Ddas6402.c660 .num_names = ARRAY_SIZE(das6402_boards),
H A Dpcl816.c687 .num_names = ARRAY_SIZE(boardtypes),
H A Ddt282x.c1163 .num_names = ARRAY_SIZE(boardtypes),
/linux-master/sound/i2c/other/
H A Dak4xxx-adda.c537 int num_names; local
541 num_names = 0;
542 while (num_names < AK5365_NUM_INPUTS && input_names[num_names])
543 ++num_names;
544 return num_names;
552 unsigned int num_names; local
554 num_names = ak4xxx_capture_num_inputs(ak, mixer_ch);
555 if (!num_names)
557 return snd_ctl_enum_info(uinfo, 1, num_names,
584 int num_names = ak4xxx_capture_num_inputs(ak, mixer_ch); local
[all...]
/linux-master/include/linux/comedi/
H A Dcomedidev.h403 * @num_names: Optional number of "board names" supported.
414 * If @num_names is non-zero, @board_name should be non-NULL, and @offset
417 * board name. If @num_names is zero, the %COMEDI_DEVCONFIG ioctl matches a
419 * @attach handler is set. If @num_names is non-zero, the driver's @attach
445 unsigned int num_names; member in struct:comedi_driver
474 * string if the 'num_names' member of the &struct comedi_driver is
481 * the low-level driver. If the 'num_names' member of the &struct
/linux-master/drivers/gpu/drm/vmwgfx/
H A Dvmwgfx_drv.c344 uint32_t num_names)
349 for (i = 0; i < num_names; ++i) {
341 vmw_print_bitmap(struct drm_device *drm, const char *prefix, uint32_t bitmap, const struct bitmap_name *bnames, uint32_t num_names) argument

Completed in 426 milliseconds

12