ndescs 42 drivers/clk/mvebu/clk-corediv.c unsigned int ndescs; ndescs 196 drivers/clk/mvebu/clk-corediv.c .ndescs = ARRAY_SIZE(mvebu_corediv_desc), ndescs 212 drivers/clk/mvebu/clk-corediv.c .ndescs = ARRAY_SIZE(mvebu_corediv_desc), ndescs 228 drivers/clk/mvebu/clk-corediv.c .ndescs = ARRAY_SIZE(mvebu_corediv_desc), ndescs 240 drivers/clk/mvebu/clk-corediv.c .ndescs = ARRAY_SIZE(mv98dx3236_corediv_desc), ndescs 268 drivers/clk/mvebu/clk-corediv.c clk_data.clk_num = soc_desc->ndescs; ndescs 277 drivers/dma/mv_xor_v2.c unsigned int ndescs; ndescs 282 drivers/dma/mv_xor_v2.c ndescs = ((reg >> MV_XOR_V2_DMA_DESQ_DONE_PENDING_SHIFT) & ndescs 286 drivers/dma/mv_xor_v2.c if (!ndescs) ndescs 170 drivers/gpio/gpio-max3191x.c (max3191x->fault_pins->ndescs == 1) ndescs 299 drivers/gpio/gpio-max3191x.c if (max3191x->db0_pins->ndescs == 1) ndescs 311 drivers/gpio/gpio-max3191x.c static void gpiod_set_array_single_value_cansleep(unsigned int ndescs, ndescs 318 drivers/gpio/gpio-max3191x.c values = bitmap_alloc(ndescs, GFP_KERNEL); ndescs 323 drivers/gpio/gpio-max3191x.c bitmap_fill(values, ndescs); ndescs 325 drivers/gpio/gpio-max3191x.c bitmap_zero(values, ndescs); ndescs 327 drivers/gpio/gpio-max3191x.c gpiod_set_array_value_cansleep(ndescs, desc, info, values); ndescs 399 drivers/gpio/gpio-max3191x.c max3191x->modesel_pins->ndescs, ndescs 407 drivers/gpio/gpio-max3191x.c max3191x->db0_pins->ndescs != max3191x->db1_pins->ndescs) { ndescs 4784 drivers/gpio/gpiolib.c for (descs->ndescs = 0; descs->ndescs < count; ) { ndescs 4785 drivers/gpio/gpiolib.c desc = gpiod_get_index(dev, con_id, descs->ndescs, flags); ndescs 4791 drivers/gpio/gpiolib.c descs->desc[descs->ndescs] = desc; ndescs 4798 drivers/gpio/gpiolib.c if (descs->ndescs == 0 && gpio_chip_hwgpio(desc) == 0) { ndescs 4813 drivers/gpio/gpiolib.c struct_size(descs, desc, descs->ndescs + 1)); ndescs 4826 drivers/gpio/gpiolib.c bitmap_set(array_info->get_mask, descs->ndescs, ndescs 4827 drivers/gpio/gpiolib.c count - descs->ndescs); ndescs 4828 drivers/gpio/gpiolib.c bitmap_set(array_info->set_mask, descs->ndescs, ndescs 4829 drivers/gpio/gpiolib.c count - descs->ndescs); ndescs 4834 drivers/gpio/gpiolib.c __clear_bit(descs->ndescs, array_info->get_mask); ndescs 4835 drivers/gpio/gpiolib.c __clear_bit(descs->ndescs, array_info->set_mask); ndescs 4842 drivers/gpio/gpiolib.c gpio_chip_hwgpio(desc) != descs->ndescs) { ndescs 4848 drivers/gpio/gpiolib.c if (bitmap_full(array_info->get_mask, descs->ndescs)) { ndescs 4851 drivers/gpio/gpiolib.c __clear_bit(descs->ndescs, ndescs 4853 drivers/gpio/gpiolib.c __clear_bit(descs->ndescs, ndescs 4858 drivers/gpio/gpiolib.c if (gpiochip_line_is_open_drain(chip, descs->ndescs) || ndescs 4859 drivers/gpio/gpiolib.c gpiochip_line_is_open_source(chip, descs->ndescs)) ndescs 4860 drivers/gpio/gpiolib.c __clear_bit(descs->ndescs, ndescs 4864 drivers/gpio/gpiolib.c __set_bit(descs->ndescs, ndescs 4868 drivers/gpio/gpiolib.c descs->ndescs++; ndescs 4925 drivers/gpio/gpiolib.c for (i = 0; i < descs->ndescs; i++) ndescs 1266 drivers/infiniband/hw/mlx5/devx.c devx_mr->ndescs = MLX5_GET(mkc, mkc, translations_octword_size); ndescs 593 drivers/infiniband/hw/mlx5/mlx5_ib.h int ndescs; ndescs 637 drivers/infiniband/hw/mlx5/mlx5_ib.h int ndescs; ndescs 642 drivers/infiniband/hw/mlx5/mlx5_ib.h int ndescs; ndescs 1507 drivers/infiniband/hw/mlx5/mr.c int ndescs, ndescs 1510 drivers/infiniband/hw/mlx5/mr.c int size = ndescs * desc_size; ndescs 1642 drivers/infiniband/hw/mlx5/mr.c static void mlx5_set_umr_free_mkey(struct ib_pd *pd, u32 *in, int ndescs, ndescs 1652 drivers/infiniband/hw/mlx5/mr.c MLX5_SET(mkc, mkc, translations_octword_size, ndescs); ndescs 1660 drivers/infiniband/hw/mlx5/mr.c int ndescs, int desc_size, int page_shift, ndescs 1668 drivers/infiniband/hw/mlx5/mr.c mr->max_descs = ndescs; ndescs 1670 drivers/infiniband/hw/mlx5/mr.c err = mlx5_alloc_priv_descs(pd->device, mr, ndescs, desc_size); ndescs 1674 drivers/infiniband/hw/mlx5/mr.c mlx5_set_umr_free_mkey(pd, in, ndescs, access_mode, page_shift); ndescs 1696 drivers/infiniband/hw/mlx5/mr.c int ndescs = ALIGN(max_num_sg + max_num_meta_sg, 4); ndescs 1718 drivers/infiniband/hw/mlx5/mr.c err = _mlx5_alloc_mkey_descs(pd, mr, ndescs, desc_size, page_shift, ndescs 1736 drivers/infiniband/hw/mlx5/mr.c int ndescs, u32 *in, int inlen) ndescs 1738 drivers/infiniband/hw/mlx5/mr.c return _mlx5_alloc_mkey_descs(pd, mr, ndescs, sizeof(struct mlx5_mtt), ndescs 1744 drivers/infiniband/hw/mlx5/mr.c int ndescs, u32 *in, int inlen) ndescs 1746 drivers/infiniband/hw/mlx5/mr.c return _mlx5_alloc_mkey_descs(pd, mr, ndescs, sizeof(struct mlx5_klm), ndescs 1827 drivers/infiniband/hw/mlx5/mr.c int ndescs = ALIGN(max_num_sg, 4); ndescs 1847 drivers/infiniband/hw/mlx5/mr.c err = mlx5_alloc_mem_reg_descs(pd, mr, ndescs, in, inlen); ndescs 1850 drivers/infiniband/hw/mlx5/mr.c err = mlx5_alloc_sg_gaps_descs(pd, mr, ndescs, in, inlen); ndescs 1896 drivers/infiniband/hw/mlx5/mr.c int ndescs; ndescs 1916 drivers/infiniband/hw/mlx5/mr.c ndescs = req.num_klms ? roundup(req.num_klms, 4) : roundup(1, 4); ndescs 1928 drivers/infiniband/hw/mlx5/mr.c MLX5_SET(mkc, mkc, translations_octword_size, ndescs); ndescs 1942 drivers/infiniband/hw/mlx5/mr.c mw->ndescs = ndescs; ndescs 2040 drivers/infiniband/hw/mlx5/mr.c mr->ndescs = 1; ndescs 2093 drivers/infiniband/hw/mlx5/mr.c mr->ndescs = i; ndescs 2126 drivers/infiniband/hw/mlx5/mr.c if (unlikely(mr->ndescs == mr->max_descs)) ndescs 2130 drivers/infiniband/hw/mlx5/mr.c descs[mr->ndescs++] = cpu_to_be64(addr | MLX5_EN_RD | MLX5_EN_WR); ndescs 2140 drivers/infiniband/hw/mlx5/mr.c if (unlikely(mr->ndescs + mr->meta_ndescs == mr->max_descs)) ndescs 2144 drivers/infiniband/hw/mlx5/mr.c descs[mr->ndescs + mr->meta_ndescs++] = ndescs 2160 drivers/infiniband/hw/mlx5/mr.c pi_mr->ndescs = 0; ndescs 2194 drivers/infiniband/hw/mlx5/mr.c pi_mr->ndescs * ibmr->page_size + ndescs 2225 drivers/infiniband/hw/mlx5/mr.c pi_mr->ndescs = 0; ndescs 2260 drivers/infiniband/hw/mlx5/mr.c mr->ndescs = 0; ndescs 2316 drivers/infiniband/hw/mlx5/mr.c mr->ndescs = 0; ndescs 755 drivers/infiniband/hw/mlx5/odp.c return mw->ndescs; ndescs 760 drivers/infiniband/hw/mlx5/odp.c return devx_mr->ndescs; ndescs 788 drivers/infiniband/hw/mlx5/odp.c int ndescs; ndescs 848 drivers/infiniband/hw/mlx5/odp.c ndescs = get_indirect_num_descs(mmkey); ndescs 857 drivers/infiniband/hw/mlx5/odp.c sizeof(*pklm) * (ndescs - 2); ndescs 879 drivers/infiniband/hw/mlx5/odp.c for (i = 0; bcnt && i < ndescs; i++, pklm++) { ndescs 4210 drivers/infiniband/hw/mlx5/qp.c int size = (mr->ndescs + mr->meta_ndescs) * mr->desc_size; ndescs 4345 drivers/infiniband/hw/mlx5/qp.c int ndescs = ALIGN(mr->ndescs + mr->meta_ndescs, 8) >> 1; ndescs 4353 drivers/infiniband/hw/mlx5/qp.c ndescs *= 2; ndescs 4360 drivers/infiniband/hw/mlx5/qp.c seg->xlt_oct_size = cpu_to_be32(ndescs); ndescs 4396 drivers/infiniband/hw/mlx5/qp.c int bcount = mr->desc_size * (mr->ndescs + mr->meta_ndescs); ndescs 4816 drivers/infiniband/hw/mlx5/qp.c int mr_list_size = (mr->ndescs + mr->meta_ndescs) * mr->desc_size; ndescs 5130 drivers/infiniband/hw/mlx5/qp.c pa_pi_mr.ndescs = mr->ndescs; ndescs 40 drivers/input/misc/gpio_decoder.c for (i = 0; i < gpios->ndescs; i++) { ndescs 87 drivers/input/misc/gpio_decoder.c if (decoder->input_gpios->ndescs < 2) { ndescs 93 drivers/input/misc/gpio_decoder.c max = (1U << decoder->input_gpios->ndescs) - 1; ndescs 61 drivers/input/misc/rotary_encoder.c for (i = 0; i < encoder->gpios->ndescs; ++i) { ndescs 245 drivers/input/misc/rotary_encoder.c if (encoder->gpios->ndescs < 2) { ndescs 266 drivers/input/misc/rotary_encoder.c switch (steps_per_period >> (encoder->gpios->ndescs - 2)) { ndescs 286 drivers/input/misc/rotary_encoder.c encoder->gpios->ndescs, sizeof(*encoder->irq), ndescs 291 drivers/input/misc/rotary_encoder.c for (i = 0; i < encoder->gpios->ndescs; ++i) { ndescs 326 drivers/input/misc/rotary_encoder.c for (i = 0; i < encoder->gpios->ndescs; ++i) ndescs 339 drivers/input/misc/rotary_encoder.c for (i = 0; i < encoder->gpios->ndescs; ++i) ndescs 43 drivers/mmc/core/pwrseq_simple.c int nvalues = reset_gpios->ndescs; ndescs 129 drivers/mtd/maps/physmap-core.c for (i = 0; i < info->gpios->ndescs; i++) { ndescs 511 drivers/mtd/maps/physmap-core.c info->gpios->ndescs : 0)); ndescs 81 drivers/mtd/nand/raw/ams-delta.c gpiod_set_raw_array_value(data_gpiods->ndescs, data_gpiods->desc, ndescs 93 drivers/mtd/nand/raw/ams-delta.c for (i = 0; i < data_gpiods->ndescs; i++) ndescs 111 drivers/mtd/nand/raw/ams-delta.c gpiod_get_raw_array_value(data_gpiods->ndescs, data_gpiods->desc, ndescs 125 drivers/mtd/nand/raw/ams-delta.c for (i = 0; i < data_gpiods->ndescs; i++) ndescs 29 drivers/mux/gpio.c gpiod_set_array_value_cansleep(mux_gpio->gpios->ndescs, ndescs 73 drivers/mux/gpio.c WARN_ON(pins != mux_gpio->gpios->ndescs); ndescs 754 drivers/net/ethernet/marvell/mvneta.c int ndescs) ndescs 759 drivers/net/ethernet/marvell/mvneta.c while (ndescs > MVNETA_RXQ_ADD_NON_OCCUPIED_MAX) { ndescs 763 drivers/net/ethernet/marvell/mvneta.c ndescs -= MVNETA_RXQ_ADD_NON_OCCUPIED_MAX; ndescs 767 drivers/net/ethernet/marvell/mvneta.c (ndescs << MVNETA_RXQ_ADD_NON_OCCUPIED_SHIFT)); ndescs 860 drivers/net/ethernet/pensando/ionic/ionic_txrx.c static int ionic_maybe_stop_tx(struct ionic_queue *q, int ndescs) ndescs 864 drivers/net/ethernet/pensando/ionic/ionic_txrx.c if (unlikely(!ionic_q_has_space(q, ndescs))) { ndescs 871 drivers/net/ethernet/pensando/ionic/ionic_txrx.c if (ionic_q_has_space(q, ndescs)) { ndescs 885 drivers/net/ethernet/pensando/ionic/ionic_txrx.c int ndescs; ndescs 897 drivers/net/ethernet/pensando/ionic/ionic_txrx.c ndescs = ionic_tx_descs_needed(q, skb); ndescs 898 drivers/net/ethernet/pensando/ionic/ionic_txrx.c if (ndescs < 0) ndescs 901 drivers/net/ethernet/pensando/ionic/ionic_txrx.c if (unlikely(ionic_maybe_stop_tx(q, ndescs))) ndescs 33 drivers/net/phy/mdio-mux-gpio.c gpiod_set_array_value_cansleep(s->gpios->ndescs, s->gpios->desc, ndescs 340 drivers/phy/motorola/phy-mapphone-mdm6600.c if (ddata->mode_gpios->ndescs != PHY_MDM6600_NR_MODE_LINES) ndescs 349 drivers/phy/motorola/phy-mapphone-mdm6600.c if (ddata->status_gpios->ndescs != PHY_MDM6600_NR_STATUS_LINES) ndescs 358 drivers/phy/motorola/phy-mapphone-mdm6600.c if (ddata->cmd_gpios->ndescs != PHY_MDM6600_NR_CMD_LINES) ndescs 2551 drivers/pinctrl/aspeed/pinctrl-aspeed-g4.c for (i = 0; i < expr->ndescs; i++) { ndescs 2679 drivers/pinctrl/aspeed/pinctrl-aspeed-g5.c for (i = 0; i < expr->ndescs; i++) { ndescs 2719 drivers/pinctrl/aspeed/pinctrl-aspeed-g5.c for (i = 0; i < expr->ndescs; i++) { ndescs 2253 drivers/pinctrl/aspeed/pinctrl-aspeed-g6.c for (i = 0; i < expr->ndescs; i++) { ndescs 90 drivers/pinctrl/aspeed/pinmux-aspeed.c for (i = 0; i < expr->ndescs; i++) { ndescs 466 drivers/pinctrl/aspeed/pinmux-aspeed.h int ndescs; ndescs 524 drivers/pinctrl/aspeed/pinmux-aspeed.h .ndescs = ARRAY_SIZE(SIG_DESC_LIST_SYM(sig, group)), \ ndescs 34 include/linux/gpio/consumer.h unsigned int ndescs; ndescs 492 samples/bpf/xdpsock_user.c size_t ndescs; ndescs 500 samples/bpf/xdpsock_user.c ndescs = (xsk->outstanding_tx > BATCH_SIZE) ? BATCH_SIZE : ndescs 504 samples/bpf/xdpsock_user.c rcvd = xsk_ring_cons__peek(&umem->cq, ndescs, &idx_cq); ndescs 177 sound/soc/codecs/max9759.c if (priv->gpiod_gain->ndescs != 2) { ndescs 179 sound/soc/codecs/max9759.c priv->gpiod_gain->ndescs);