num_bd 86 drivers/dma/bestcomm/ata.c var->bd_last = tsk->bd_pa + ((tsk->num_bd-1) * tsk->bd_size); num_bd 136 drivers/dma/bestcomm/ata.c memset(tsk->bd, 0x00, tsk->num_bd * tsk->bd_size); num_bd 100 drivers/dma/bestcomm/bestcomm.c tsk->num_bd = bd_count; num_bd 131 drivers/dma/bestcomm/fec.c var->bd_last = tsk->bd_pa + ((tsk->num_bd-1) * tsk->bd_size); num_bd 143 drivers/dma/bestcomm/fec.c memset(tsk->bd, 0x00, tsk->num_bd * tsk->bd_size); num_bd 233 drivers/dma/bestcomm/fec.c var->bd_last = tsk->bd_pa + ((tsk->num_bd-1) * tsk->bd_size); num_bd 244 drivers/dma/bestcomm/fec.c memset(tsk->bd, 0x00, tsk->num_bd * tsk->bd_size); num_bd 134 drivers/dma/bestcomm/gen_bd.c var->bd_last = tsk->bd_pa + ((tsk->num_bd-1) * tsk->bd_size); num_bd 145 drivers/dma/bestcomm/gen_bd.c memset(tsk->bd, 0x00, tsk->num_bd * tsk->bd_size); num_bd 218 drivers/dma/bestcomm/gen_bd.c var->bd_last = tsk->bd_pa + ((tsk->num_bd-1) * tsk->bd_size); num_bd 229 drivers/dma/bestcomm/gen_bd.c memset(tsk->bd, 0x00, tsk->num_bd * tsk->bd_size); num_bd 319 drivers/dma/imx-sdma.c unsigned int num_bd; num_bd 808 drivers/dma/imx-sdma.c desc->buf_tail = (desc->buf_tail + 1) % desc->num_bd; num_bd 836 drivers/dma/imx-sdma.c for (i = 0; i < sdmac->desc->num_bd; i++) { num_bd 1229 drivers/dma/imx-sdma.c u32 bd_size = desc->num_bd * sizeof(struct sdma_buffer_descriptor); num_bd 1244 drivers/dma/imx-sdma.c u32 bd_size = desc->num_bd * sizeof(struct sdma_buffer_descriptor); num_bd 1364 drivers/dma/imx-sdma.c desc->num_bd = bds; num_bd 1667 drivers/dma/imx-sdma.c residue = (desc->num_bd - desc->buf_ptail) * num_bd 199 drivers/net/ethernet/ethoc.c unsigned int num_bd; num_bd 952 drivers/net/ethernet/ethoc.c ring->rx_max_pending = priv->num_bd - 1; num_bd 955 drivers/net/ethernet/ethoc.c ring->tx_max_pending = priv->num_bd - 1; num_bd 969 drivers/net/ethernet/ethoc.c ring->tx_pending + ring->rx_pending > priv->num_bd) num_bd 1027 drivers/net/ethernet/ethoc.c int num_bd; num_bd 1124 drivers/net/ethernet/ethoc.c num_bd = min_t(unsigned int, num_bd 1126 drivers/net/ethernet/ethoc.c if (num_bd < 4) { num_bd 1130 drivers/net/ethernet/ethoc.c priv->num_bd = num_bd; num_bd 1132 drivers/net/ethernet/ethoc.c priv->num_tx = rounddown_pow_of_two(num_bd >> 1); num_bd 1133 drivers/net/ethernet/ethoc.c priv->num_rx = num_bd - priv->num_tx; num_bd 1138 drivers/net/ethernet/ethoc.c priv->vma = devm_kcalloc(&pdev->dev, num_bd, sizeof(void *), num_bd 843 drivers/soundwire/cadence_master.c cdns->pcm.num_bd = config.pcm_bd; num_bd 846 drivers/soundwire/cadence_master.c cdns->pdm.num_bd = config.pdm_bd; num_bd 854 drivers/soundwire/cadence_master.c if (stream->num_bd < CDNS_PCM_PDI_OFFSET) num_bd 856 drivers/soundwire/cadence_master.c stream->num_bd -= CDNS_PCM_PDI_OFFSET; num_bd 860 drivers/soundwire/cadence_master.c stream->num_bd, offset); num_bd 864 drivers/soundwire/cadence_master.c offset += stream->num_bd; num_bd 879 drivers/soundwire/cadence_master.c stream->num_pdi = stream->num_bd + stream->num_in + stream->num_out; num_bd 886 drivers/soundwire/cadence_master.c stream->num_bd, offset); num_bd 890 drivers/soundwire/cadence_master.c offset += stream->num_bd; num_bd 905 drivers/soundwire/cadence_master.c stream->num_pdi = stream->num_bd + stream->num_in + stream->num_out; num_bd 1289 drivers/soundwire/cadence_master.c pdis = cdns_get_num_pdi(cdns, stream->bd, stream->num_bd, ch); num_bd 1317 drivers/soundwire/cadence_master.c pdi = cdns_find_pdi(cdns, stream->num_bd, stream->bd); num_bd 63 drivers/soundwire/cadence_master.h unsigned int num_bd; num_bd 454 drivers/soundwire/intel.c intel_pdi_get_ch_update(sdw, stream->bd, stream->num_bd, num_bd 921 drivers/soundwire/intel.c ret = intel_create_dai(cdns, dais, INTEL_PDI_BD, cdns->pcm.num_bd, num_bd 928 drivers/soundwire/intel.c off += cdns->pcm.num_bd; num_bd 941 drivers/soundwire/intel.c ret = intel_create_dai(cdns, dais, INTEL_PDI_BD, cdns->pdm.num_bd, num_bd 57 include/linux/fsl/bestcomm/bestcomm.h unsigned int num_bd; num_bd 108 include/linux/fsl/bestcomm/bestcomm.h return ((tsk->index + 1) == tsk->num_bd) ? 0 : tsk->index + 1; num_bd 119 include/linux/fsl/bestcomm/bestcomm.h return ((tsk->outdex + 1) == tsk->num_bd) ? 0 : tsk->outdex + 1;