Searched refs:ndescs (Results 1 – 7 of 7) sorted by relevance
/linux-4.1.27/drivers/net/phy/ |
D | mdio-mux-gpio.c | 29 int values[s->gpios->ndescs]; in mdio_mux_gpio_switch_fn() 35 for (n = 0; n < s->gpios->ndescs; n++) in mdio_mux_gpio_switch_fn() 38 gpiod_set_array_cansleep(s->gpios->ndescs, s->gpios->desc, values); in mdio_mux_gpio_switch_fn()
|
/linux-4.1.27/drivers/clk/mvebu/ |
D | clk-corediv.c | 43 unsigned int ndescs; member 193 .ndescs = ARRAY_SIZE(mvebu_corediv_desc), 209 .ndescs = ARRAY_SIZE(mvebu_corediv_desc), 225 .ndescs = ARRAY_SIZE(mvebu_corediv_desc), 253 clk_data.clk_num = soc_desc->ndescs; in mvebu_corediv_clk_init()
|
/linux-4.1.27/drivers/gpio/ |
D | gpiolib.c | 2189 for (descs->ndescs = 0; descs->ndescs < count; ) { in gpiod_get_array() 2190 desc = gpiod_get_index(dev, con_id, descs->ndescs, flags); in gpiod_get_array() 2195 descs->desc[descs->ndescs] = desc; in gpiod_get_array() 2196 descs->ndescs++; in gpiod_get_array() 2246 for (i = 0; i < descs->ndescs; i++) in gpiod_put_array()
|
/linux-4.1.27/include/linux/gpio/ |
D | consumer.h | 24 unsigned int ndescs; member
|
/linux-4.1.27/Documentation/gpio/ |
D | consumer.txt | 80 unsigned int ndescs; 274 gpiod_set_array(my_gpio_descs->ndescs, my_gpio_descs->desc,
|
/linux-4.1.27/drivers/net/ethernet/marvell/ |
D | mvneta.c | 577 int ndescs) in mvneta_rxq_non_occup_desc_add() argument 582 while (ndescs > MVNETA_RXQ_ADD_NON_OCCUPIED_MAX) { in mvneta_rxq_non_occup_desc_add() 586 ndescs -= MVNETA_RXQ_ADD_NON_OCCUPIED_MAX; in mvneta_rxq_non_occup_desc_add() 590 (ndescs << MVNETA_RXQ_ADD_NON_OCCUPIED_SHIFT)); in mvneta_rxq_non_occup_desc_add()
|
/linux-4.1.27/drivers/infiniband/hw/mlx5/ |
D | mr.c | 1233 int ndescs = roundup(mr_init_attr->max_reg_descriptors, 4); in mlx5_ib_create_mr() local 1246 in->seg.xlt_oct_size = cpu_to_be32(ndescs); in mlx5_ib_create_mr()
|