Lines Matching defs:afep
201 #define PUTTXDESC(afep, member, val) \
202 ddi_put32(afep->afe_txdesc_acch, &member, val)
204 #define PUTRXDESC(afep, member, val) \
205 ddi_put32(afep->afe_rxdesc_acch, &member, val)
207 #define GETTXDESC(afep, member) \
208 ddi_get32(afep->afe_txdesc_acch, &member)
210 #define GETRXDESC(afep, member) \
211 ddi_get32(afep->afe_rxdesc_acch, &member)
279 #define AFE_MODEL(afep) ((afep)->afe_cardp->card_model)
289 #define GETCSR(afep, reg) \
290 ddi_get32(afep->afe_regshandle, (uint32_t *)(afep->afe_regs + reg))
292 #define GETCSR16(afep, reg) \
293 ddi_get16(afep->afe_regshandle, (uint16_t *)(afep->afe_regs + reg))
295 #define PUTCSR(afep, reg, val) \
296 ddi_put32(afep->afe_regshandle, (uint32_t *)(afep->afe_regs + reg), val)
298 #define PUTCSR16(afep, reg, val) \
299 ddi_put16(afep->afe_regshandle, (uint16_t *)(afep->afe_regs + reg), val)
301 #define SETBIT(afep, reg, val) PUTCSR(afep, reg, GETCSR(afep, reg) | (val))
303 #define CLRBIT(afep, reg, val) PUTCSR(afep, reg, GETCSR(afep, reg) & ~(val))
305 #define SYNCTXDESC(afep, index, who) \
306 (void) ddi_dma_sync(afep->afe_txdesc_dmah, \
312 #define SYNCRXDESC(afep, index, who) \
313 (void) ddi_dma_sync(afep->afe_rxdesc_dmah, \