Home
last modified time | relevance | path

Searched refs:TXDMA (Results 1 – 3 of 3) sorted by relevance

/kernel/linux/linux-5.10/drivers/spi/
Dspi-rockchip.c148 #define TXDMA (1 << 1) macro
265 if (atomic_read(&rs->state) & TXDMA) in rockchip_spi_handle_err()
367 if (state & TXDMA && !rs->slave_abort) in rockchip_spi_dma_rxcb()
378 int state = atomic_fetch_andnot(TXDMA, &rs->state); in rockchip_spi_dma_txcb()
468 atomic_or(TXDMA, &rs->state); in rockchip_spi_prepare_dma()
572 if (atomic_read(&rs->state) & TXDMA) in rockchip_spi_slave_abort()
/kernel/linux/linux-5.10/drivers/tty/
Dsynclinkmp.c386 #define TXDMA 0x20 macro
2205 write_reg(info, TXDMA + DIR, 0x00); /* disable Tx DMA IRQs */ in isr_txeom()
2206 write_reg(info, TXDMA + DSR, 0xc0); /* clear IRQs and disable DMA */ in isr_txeom()
2207 write_reg(info, TXDMA + DCMD, SWABORT); /* reset/init DMA channel */ in isr_txeom()
2357 write_reg(info, TXDMA + DIR, 0x00); /* disable Tx DMA IRQs */ in isr_txdmaok()
2358 write_reg(info, TXDMA + DSR, 0xc0); /* clear IRQs and disable DMA */ in isr_txdmaok()
2359 write_reg(info, TXDMA + DCMD, SWABORT); /* reset/init DMA channel */ in isr_txdmaok()
2376 unsigned char status = read_reg(info,TXDMA + DSR) & 0x30; in isr_txdmaerror()
2379 write_reg(info, TXDMA + DSR, (unsigned char)(status | 1)); in isr_txdmaerror()
2963 write_reg(info, TXDMA + DSR, 0); /* disable DMA channel */ in tx_abort()
[all …]
/kernel/linux/patches/linux-5.10/yangfan_patch/
Ddrivers.patch60151 if (state & TXDMA && !rs->slave_abort)
60263 - if (atomic_read(&rs->state) & TXDMA)