Home
last modified time | relevance | path

Searched refs:chan_base (Results 1 – 5 of 5) sorted by relevance

/Linux-v5.10/drivers/dma/
Dbcm2835-dma.c78 void __iomem *chan_base; member
412 void __iomem *chan_base = c->chan_base; in bcm2835_dma_abort() local
419 if (!readl(chan_base + BCM2835_DMA_ADDR)) in bcm2835_dma_abort()
423 writel(0, chan_base + BCM2835_DMA_CS); in bcm2835_dma_abort()
426 while ((readl(chan_base + BCM2835_DMA_CS) & in bcm2835_dma_abort()
435 writel(BCM2835_DMA_RESET, chan_base + BCM2835_DMA_CS); in bcm2835_dma_abort()
452 writel(d->cb_list[0].paddr, c->chan_base + BCM2835_DMA_ADDR); in bcm2835_dma_start_desc()
453 writel(BCM2835_DMA_ACTIVE, c->chan_base + BCM2835_DMA_CS); in bcm2835_dma_start_desc()
465 flags = readl(c->chan_base + BCM2835_DMA_CS); in bcm2835_dma_callback()
481 c->chan_base + BCM2835_DMA_CS); in bcm2835_dma_callback()
[all …]
Dste_dma40.c618 static void __iomem *chan_base(struct d40_chan *chan) in chan_base() function
810 void __iomem *base = chan_base(chan); in d40_phy_lli_load()
1159 void __iomem *addr = chan_base(d40c) + reg; in __d40_config_set_event()
1256 void __iomem *chanbase = chan_base(d40c); in d40_chan_has_events()
1368 void __iomem *chanbase = chan_base(d40c); in d40_config_write()
1392 u32 val = readl(chan_base(d40c) + D40_CHAN_REG_SDELT); in d40_residue()
1407 is_link = readl(chan_base(d40c) + D40_CHAN_REG_SDLNK) in d40_tx_is_linked()
2051 void __iomem *chanbase = chan_base(d40c); in d40_is_paused()
/Linux-v5.10/drivers/net/ethernet/marvell/octeontx2/af/
Drvu_nix.c289 u16 chan_base, chan; in rvu_mbox_handler_nix_bp_disable() local
300 chan_base = pfvf->rx_chan_base + req->chan_base; in rvu_mbox_handler_nix_bp_disable()
301 for (chan = chan_base; chan < (chan_base + req->chan_cnt); chan++) { in rvu_mbox_handler_nix_bp_disable()
340 if ((req->chan_base + req->chan_cnt) > 15) in rvu_nix_get_bpid()
345 (lmac_id * lmac_chan_cnt) + req->chan_base; in rvu_nix_get_bpid()
354 if ((req->chan_base + req->chan_cnt) > 63) in rvu_nix_get_bpid()
356 bpid = cgx_bpid_cnt + req->chan_base; in rvu_nix_get_bpid()
375 u16 chan_base, chan; in rvu_mbox_handler_nix_bp_enable() local
390 chan_base = pfvf->rx_chan_base + req->chan_base; in rvu_mbox_handler_nix_bp_enable()
393 for (chan = chan_base; chan < (chan_base + req->chan_cnt); chan++) { in rvu_mbox_handler_nix_bp_enable()
[all …]
Dmbox.h703 u16 chan_base; /* Starting channel number */ member
/Linux-v5.10/drivers/net/ethernet/marvell/octeontx2/nic/
Dotx2_common.c1458 req->chan_base = 0; in otx2_nix_config_bp()