Home
last modified time | relevance | path

Searched refs:pktdma (Results 1 – 2 of 2) sorted by relevance

/external/u-boot/drivers/dma/
Dkeystone_nav.c147 static int ksnav_rx_disable(struct pktdma_cfg *pktdma) in ksnav_rx_disable() argument
151 for (j = 0; j < pktdma->rx_ch_num; j++) { in ksnav_rx_disable()
152 v = readl(&pktdma->rx_ch[j].cfg_a); in ksnav_rx_disable()
156 writel(v | CPDMA_CHAN_A_TDOWN, &pktdma->rx_ch[j].cfg_a); in ksnav_rx_disable()
159 v = readl(&pktdma->rx_ch[j].cfg_a); in ksnav_rx_disable()
167 for (j = 0; j < pktdma->rx_flow_num; j++) { in ksnav_rx_disable()
168 writel(0, &pktdma->rx_flows[j].control); in ksnav_rx_disable()
169 writel(0, &pktdma->rx_flows[j].tags); in ksnav_rx_disable()
170 writel(0, &pktdma->rx_flows[j].tag_sel); in ksnav_rx_disable()
171 writel(0, &pktdma->rx_flows[j].fdq_sel[0]); in ksnav_rx_disable()
[all …]
/external/u-boot/arch/arm/include/asm/ti-common/
Dkeystone_nav.h184 int ksnav_close(struct pktdma_cfg *pktdma);
185 int ksnav_init(struct pktdma_cfg *pktdma, struct rx_buff_desc *rx_buffers);
186 int ksnav_send(struct pktdma_cfg *pktdma, u32 *pkt, int num_bytes, u32 swinfo2);
187 void *ksnav_recv(struct pktdma_cfg *pktdma, u32 **pkt, int *num_bytes);
188 void ksnav_release_rxhd(struct pktdma_cfg *pktdma, void *hd);