/linux-6.1.9/drivers/dma/bestcomm/ |
D | fec.c | 127 var->bd_last = tsk->bd_pa + ((tsk->num_bd-1) * tsk->bd_size); in bcom_fec_rx_reset() 139 memset_io(tsk->bd, 0x00, tsk->num_bd * tsk->bd_size); in bcom_fec_rx_reset() 229 var->bd_last = tsk->bd_pa + ((tsk->num_bd-1) * tsk->bd_size); in bcom_fec_tx_reset() 240 memset_io(tsk->bd, 0x00, tsk->num_bd * tsk->bd_size); in bcom_fec_tx_reset()
|
D | gen_bd.c | 134 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()
|
D | bestcomm.c | 48 bcom_task_alloc(int bd_count, int bd_size, int priv_size) in bcom_task_alloc() argument 93 tsk->bd = bcom_sram_alloc(bd_count * bd_size, 4, &tsk->bd_pa); in bcom_task_alloc() 96 memset_io(tsk->bd, 0x00, bd_count * bd_size); in bcom_task_alloc() 99 tsk->bd_size = bd_size; in bcom_task_alloc()
|
D | ata.c | 82 var->bd_last = tsk->bd_pa + ((tsk->num_bd-1) * tsk->bd_size); in bcom_ata_init() 132 memset_io(tsk->bd, 0x00, tsk->num_bd * tsk->bd_size); in bcom_ata_reset_bd()
|
/linux-6.1.9/include/linux/fsl/bestcomm/ |
D | bestcomm.h | 58 unsigned int bd_size; member 152 return ((void *)tsk->bd) + (index * tsk->bd_size); in bcom_get_bd()
|
D | bestcomm_priv.h | 236 extern struct bcom_task *bcom_task_alloc(int bd_count, int bd_size, int priv_size);
|
/linux-6.1.9/drivers/net/ethernet/ibm/emac/ |
D | mal.c | 517 int err = 0, i, bd_size; in mal_probe() local 631 bd_size = sizeof(struct mal_descriptor) * in mal_probe() 634 mal->bd_virt = dma_alloc_coherent(&ofdev->dev, bd_size, &mal->bd_dma, in mal_probe() 703 dma_free_coherent(&ofdev->dev, bd_size, mal->bd_virt, mal->bd_dma); in mal_probe()
|
/linux-6.1.9/drivers/tty/serial/ |
D | ucc_uart.c | 200 unsigned int bd_size; /* size of BD buffer space */ member 221 (addr < (qe_port->bd_virt + qe_port->bd_size))) in cpu2qe_addr() 240 (addr < (qe_port->bd_dma_addr + qe_port->bd_size)))) in qe2cpu_addr() 1008 qe_port->bd_size = rx_size + tx_size; in qe_uart_request_port() 1041 dma_free_coherent(port->dev, qe_port->bd_size, qe_port->bd_virt, in qe_uart_release_port()
|
D | imx.c | 1137 unsigned int bd_size; in imx_uart_dma_rx_callback() local 1163 bd_size = sg_dma_len(sgl) / sport->rx_periods; in imx_uart_dma_rx_callback() 1164 rx_ring->tail = ((rx_ring->head-1) / bd_size) * bd_size; in imx_uart_dma_rx_callback()
|
/linux-6.1.9/drivers/net/ethernet/hisilicon/hns3/ |
D | hns3_enet.c | 1766 static unsigned int hns3_skb_bd_num(struct sk_buff *skb, unsigned int *bd_size, in hns3_skb_bd_num() argument 1774 bd_size[bd_num++] = HNS3_MAX_BD_SIZE; in hns3_skb_bd_num() 1782 bd_size[bd_num++] = size; in hns3_skb_bd_num() 1794 bd_size[bd_num++] = HNS3_MAX_BD_SIZE; in hns3_skb_bd_num() 1801 bd_size[bd_num++] = size; in hns3_skb_bd_num() 1809 static unsigned int hns3_tx_bd_num(struct sk_buff *skb, unsigned int *bd_size, in hns3_tx_bd_num() argument 1826 bd_num = hns3_skb_bd_num(skb, bd_size, bd_num); in hns3_tx_bd_num() 1831 bd_num = hns3_tx_bd_num(frag_skb, bd_size, max_non_tso_bd_num, in hns3_tx_bd_num() 1854 static bool hns3_skb_need_linearized(struct sk_buff *skb, unsigned int *bd_size, in hns3_skb_need_linearized() argument 1861 tot_len += bd_size[i]; in hns3_skb_need_linearized() [all …]
|
/linux-6.1.9/drivers/dma/ |
D | imx-sdma.c | 1374 u32 bd_size = desc->num_bd * sizeof(struct sdma_buffer_descriptor); in sdma_alloc_bd() local 1377 desc->bd = dma_alloc_coherent(desc->sdmac->sdma->dev, bd_size, in sdma_alloc_bd() 1389 u32 bd_size = desc->num_bd * sizeof(struct sdma_buffer_descriptor); in sdma_free_bd() local 1391 dma_free_coherent(desc->sdmac->sdma->dev, bd_size, desc->bd, in sdma_free_bd()
|
/linux-6.1.9/drivers/net/ethernet/freescale/enetc/ |
D | enetc.c | 1720 static int enetc_dma_alloc_bdr(struct enetc_bdr *r, size_t bd_size) in enetc_dma_alloc_bdr() argument 1722 r->bd_base = dma_alloc_coherent(r->dev, r->bd_count * bd_size, in enetc_dma_alloc_bdr() 1729 dma_free_coherent(r->dev, r->bd_count * bd_size, r->bd_base, in enetc_dma_alloc_bdr()
|
/linux-6.1.9/drivers/net/ethernet/freescale/ |
D | fec_main.c | 3606 int bd_size; in fec_enet_init() local 3637 bd_size = (fep->total_tx_ring_size + fep->total_rx_ring_size) * dsize; in fec_enet_init() 3640 cbd_base = dmam_alloc_coherent(&fep->pdev->dev, bd_size, &bd_dma, in fec_enet_init()
|