Home
last modified time | relevance | path

Searched refs:num_bd (Results 1 – 10 of 10) sorted by relevance

/Linux-v5.4/include/linux/fsl/bestcomm/
Dbestcomm.h57 unsigned int num_bd; member
108 return ((tsk->index + 1) == tsk->num_bd) ? 0 : tsk->index + 1; in _bcom_next_index()
119 return ((tsk->outdex + 1) == tsk->num_bd) ? 0 : tsk->outdex + 1; in _bcom_next_outdex()
/Linux-v5.4/drivers/dma/bestcomm/
Dfec.c131 var->bd_last = tsk->bd_pa + ((tsk->num_bd-1) * tsk->bd_size); in bcom_fec_rx_reset()
143 memset(tsk->bd, 0x00, tsk->num_bd * tsk->bd_size); in bcom_fec_rx_reset()
233 var->bd_last = tsk->bd_pa + ((tsk->num_bd-1) * tsk->bd_size); in bcom_fec_tx_reset()
244 memset(tsk->bd, 0x00, tsk->num_bd * tsk->bd_size); in bcom_fec_tx_reset()
Dgen_bd.c134 var->bd_last = tsk->bd_pa + ((tsk->num_bd-1) * tsk->bd_size); in bcom_gen_bd_rx_reset()
145 memset(tsk->bd, 0x00, tsk->num_bd * tsk->bd_size); in bcom_gen_bd_rx_reset()
218 var->bd_last = tsk->bd_pa + ((tsk->num_bd-1) * tsk->bd_size); in bcom_gen_bd_tx_reset()
229 memset(tsk->bd, 0x00, tsk->num_bd * tsk->bd_size); in bcom_gen_bd_tx_reset()
Data.c86 var->bd_last = tsk->bd_pa + ((tsk->num_bd-1) * tsk->bd_size); in bcom_ata_init()
136 memset(tsk->bd, 0x00, tsk->num_bd * tsk->bd_size); in bcom_ata_reset_bd()
Dbestcomm.c100 tsk->num_bd = bd_count; in bcom_task_alloc()
/Linux-v5.4/drivers/soundwire/
Dcadence_master.c843 cdns->pcm.num_bd = config.pcm_bd; in sdw_cdns_pdi_init()
846 cdns->pdm.num_bd = config.pdm_bd; in sdw_cdns_pdi_init()
854 if (stream->num_bd < CDNS_PCM_PDI_OFFSET) in sdw_cdns_pdi_init()
856 stream->num_bd -= CDNS_PCM_PDI_OFFSET; in sdw_cdns_pdi_init()
860 stream->num_bd, offset); in sdw_cdns_pdi_init()
864 offset += stream->num_bd; in sdw_cdns_pdi_init()
879 stream->num_pdi = stream->num_bd + stream->num_in + stream->num_out; in sdw_cdns_pdi_init()
886 stream->num_bd, offset); in sdw_cdns_pdi_init()
890 offset += stream->num_bd; in sdw_cdns_pdi_init()
905 stream->num_pdi = stream->num_bd + stream->num_in + stream->num_out; in sdw_cdns_pdi_init()
[all …]
Dcadence_master.h63 unsigned int num_bd; member
Dintel.c454 intel_pdi_get_ch_update(sdw, stream->bd, stream->num_bd, in intel_pdi_stream_ch_update()
915 ret = intel_create_dai(cdns, dais, INTEL_PDI_BD, cdns->pcm.num_bd, in intel_register_dai()
922 off += cdns->pcm.num_bd; in intel_register_dai()
935 ret = intel_create_dai(cdns, dais, INTEL_PDI_BD, cdns->pdm.num_bd, in intel_register_dai()
/Linux-v5.4/drivers/net/ethernet/
Dethoc.c199 unsigned int num_bd; member
952 ring->rx_max_pending = priv->num_bd - 1; in ethoc_get_ringparam()
955 ring->tx_max_pending = priv->num_bd - 1; in ethoc_get_ringparam()
969 ring->tx_pending + ring->rx_pending > priv->num_bd) in ethoc_set_ringparam()
1027 int num_bd; in ethoc_probe() local
1124 num_bd = min_t(unsigned int, in ethoc_probe()
1126 if (num_bd < 4) { in ethoc_probe()
1130 priv->num_bd = num_bd; in ethoc_probe()
1132 priv->num_tx = rounddown_pow_of_two(num_bd >> 1); in ethoc_probe()
1133 priv->num_rx = num_bd - priv->num_tx; in ethoc_probe()
[all …]
/Linux-v5.4/drivers/dma/
Dimx-sdma.c319 unsigned int num_bd; member
808 desc->buf_tail = (desc->buf_tail + 1) % desc->num_bd; in sdma_update_channel_loop()
836 for (i = 0; i < sdmac->desc->num_bd; i++) { in mxc_sdma_handle_channel_normal()
1229 u32 bd_size = desc->num_bd * sizeof(struct sdma_buffer_descriptor); in sdma_alloc_bd()
1244 u32 bd_size = desc->num_bd * sizeof(struct sdma_buffer_descriptor); in sdma_free_bd()
1363 desc->num_bd = bds; in sdma_transfer_init()
1666 residue = (desc->num_bd - desc->buf_ptail) * in sdma_tx_status()