| 106 | } |
| 107 | |
| 108 | static inline uint32_t |
| 109 | ccp_read_queue_4(struct ccp_softc *sc, unsigned queue, uint32_t offset) |
| 110 | { |
| 111 | /* |
| 112 | * Each queue gets its own 4kB register space. Queue 0 is at 0x1000. |
| 113 | */ |
| 114 | return (ccp_read_4(sc, (CMD_Q_STATUS_INCR * (1 + queue)) + offset)); |
| 115 | } |
| 116 | |
| 117 | static inline void |
| 118 | ccp_write_queue_4(struct ccp_softc *sc, unsigned queue, uint32_t offset, |
no test coverage detected