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.c1385 CSR_WRITE_REG(sc, MGB_DMAC_CMD, in mgb_dmac_control()
1387 error = mgb_wait_for_bits(sc, MGB_DMAC_CMD, 0, in mgb_dmac_control()
1399 CSR_WRITE_REG(sc, MGB_DMAC_CMD, in mgb_dmac_control()
1404 CSR_WRITE_REG(sc, MGB_DMAC_CMD, in mgb_dmac_control()
1406 error = mgb_wait_for_bits(sc, MGB_DMAC_CMD, in mgb_dmac_control()
1508 CSR_WRITE_REG(sc, MGB_DMAC_CMD, MGB_DMAC_RESET); in mgb_dmac_reset()
1509 return (mgb_wait_for_bits(sc, MGB_DMAC_CMD, 0, MGB_DMAC_RESET)); in mgb_dmac_reset()