Home
last modified time | relevance | path

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

/linux-5.19.10/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-5.19.10/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_io(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_io(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_io(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_io(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_io(tsk->bd, 0x00, tsk->num_bd * tsk->bd_size); in bcom_ata_reset_bd()
Dbestcomm.c102 tsk->num_bd = bd_count; in bcom_task_alloc()
/linux-5.19.10/drivers/net/ethernet/
Dethoc.c203 unsigned int num_bd; member
954 ring->rx_max_pending = priv->num_bd - 1; in ethoc_get_ringparam()
957 ring->tx_max_pending = priv->num_bd - 1; in ethoc_get_ringparam()
973 ring->tx_pending + ring->rx_pending > priv->num_bd) in ethoc_set_ringparam()
1031 int num_bd; in ethoc_probe() local
1125 num_bd = min_t(unsigned int, in ethoc_probe()
1127 if (num_bd < 4) { in ethoc_probe()
1131 priv->num_bd = num_bd; in ethoc_probe()
1133 priv->num_tx = rounddown_pow_of_two(num_bd >> 1); in ethoc_probe()
1134 priv->num_rx = num_bd - priv->num_tx; in ethoc_probe()
[all …]
/linux-5.19.10/drivers/soundwire/
Dcadence_master.c455 unsigned int pdi_out_num = cdns->pcm.num_bd + cdns->pcm.num_out; in cdns_set_pdi_loopback_source()
472 unsigned int pdi_in_num = cdns->pcm.num_bd + cdns->pcm.num_in; in cdns_set_pdi_loopback_target()
1214 cdns->pcm.num_bd = config.pcm_bd; in sdw_cdns_pdi_init()
1225 stream->num_bd, offset); in sdw_cdns_pdi_init()
1229 offset += stream->num_bd; in sdw_cdns_pdi_init()
1244 stream->num_pdi = stream->num_bd + stream->num_in + stream->num_out; in sdw_cdns_pdi_init()
1822 pdi = cdns_find_pdi(cdns, 2, stream->num_bd, stream->bd, in sdw_cdns_alloc_pdi()
Dcadence_master.h47 unsigned int num_bd; member
Dintel.c624 intel_pdi_get_ch_update(sdw, stream->bd, stream->num_bd, in intel_pdi_stream_ch_update()
1171 ret = intel_create_dai(cdns, dais, INTEL_PDI_BD, cdns->pcm.num_bd, in intel_register_dai()
/linux-5.19.10/drivers/dma/
Dimx-sdma.c385 unsigned int num_bd; member
871 desc->buf_tail = (desc->buf_tail + 1) % desc->num_bd; in sdma_update_channel_loop()
911 for (i = 0; i < sdmac->desc->num_bd; i++) { in mxc_sdma_handle_channel_normal()
1349 u32 bd_size = desc->num_bd * sizeof(struct sdma_buffer_descriptor); in sdma_alloc_bd()
1364 u32 bd_size = desc->num_bd * sizeof(struct sdma_buffer_descriptor); in sdma_free_bd()
1489 desc->num_bd = bds; in sdma_transfer_init()
1809 residue = (desc->num_bd - desc->buf_ptail) * in sdma_tx_status()