Searched refs:dmacfg (Results 1 – 2 of 2) sorted by relevance
/drivers/net/ethernet/cadence/ |
D | macb_main.c | 2615 u32 dmacfg; in macb_configure_dma() local 2619 dmacfg = gem_readl(bp, DMACFG) & ~GEM_BF(RXBS, -1L); in macb_configure_dma() 2624 dmacfg |= GEM_BF(RXBS, buffer_size); in macb_configure_dma() 2627 dmacfg = GEM_BFINS(FBLDO, bp->dma_burst_length, dmacfg); in macb_configure_dma() 2628 dmacfg |= GEM_BIT(TXPBMS) | GEM_BF(RXBMS, -1L); in macb_configure_dma() 2629 dmacfg &= ~GEM_BIT(ENDIA_PKT); in macb_configure_dma() 2632 dmacfg &= ~GEM_BIT(ENDIA_DESC); in macb_configure_dma() 2634 dmacfg |= GEM_BIT(ENDIA_DESC); /* CPU in big endian */ in macb_configure_dma() 2637 dmacfg |= GEM_BIT(TXCOEN); in macb_configure_dma() 2639 dmacfg &= ~GEM_BIT(TXCOEN); in macb_configure_dma() [all …]
|
/drivers/crypto/ |
D | hifn_795x.c | 839 u32 dmacfg, addr; in hifn_enable_crypto() local 856 dmacfg = hifn_read_1(dev, HIFN_1_DMA_CNFG); in hifn_enable_crypto() 873 hifn_write_1(dev, HIFN_1_DMA_CNFG, dmacfg); in hifn_enable_crypto()
|