Home
last modified time | relevance | path

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

/freebsd/sys/dev/mgb/
H A Dif_mgb.h96 #define MGB_DMAC_CMD 0xC0C macro
112 CSR_READ_REG(sc, MGB_DMAC_CMD) & MGB_DMAC_CMD_START(_s, _ch), \
113 CSR_READ_REG(sc, MGB_DMAC_CMD) & MGB_DMAC_CMD_STOP(_s, _ch)))
H A Dif_mgb.c1384 CSR_WRITE_REG(sc, MGB_DMAC_CMD, in mgb_dmac_control()
1386 error = mgb_wait_for_bits(sc, MGB_DMAC_CMD, 0, in mgb_dmac_control()
1398 CSR_WRITE_REG(sc, MGB_DMAC_CMD, in mgb_dmac_control()
1403 CSR_WRITE_REG(sc, MGB_DMAC_CMD, in mgb_dmac_control()
1405 error = mgb_wait_for_bits(sc, MGB_DMAC_CMD, in mgb_dmac_control()
1507 CSR_WRITE_REG(sc, MGB_DMAC_CMD, MGB_DMAC_RESET); in mgb_dmac_reset()
1508 return (mgb_wait_for_bits(sc, MGB_DMAC_CMD, 0, MGB_DMAC_RESET)); in mgb_dmac_reset()