Lines Matching +full:sw +full:- +full:exception
3 * Software-specific definitions shared between device and host side
7 * Copyright (C) 1999-2017, Broadcom Corporation
15 * As a special exception, the copyright holders of this software give you
20 * derived from this software. The special exception does not apply to any
28 * <<Broadcom-WL-IPTag/Open:>>
111 * Software-defined protocol header
117 /* SW frame header */
119 #define SDPCM_PACKET_SEQUENCE(p) (((uint8 *)p)[0] & 0xff) /* p starts w/SW Header */
123 #define SDPCM_PACKET_CHANNEL(p) (((uint8 *)p)[1] & 0x0f) /* p starts w/SW Header */
127 #define SDPCM_PACKET_FLAGS(p) ((((uint8 *)p)[1] & 0xf0) >> 4) /* p starts w/SW Header */
129 /* Next Read Len: lookahead length of next frame, in 16-byte units (rounded up) */
132 #define SDPCM_NEXTLEN_VALUE(p) ((((uint8 *)p)[2] & 0xff) << 4) /* p starts w/SW Header */
135 /* Data Offset from SOF (HW Tag, SW Tag, Pad) */
150 #define SDPCM_SWHEADER_LEN 8 /* SW header is 64 bits */
160 #define SDPCM_SEQUENCE_WRAP 256 /* wrap-around val for eight-bit frame seq number */
172 /* For TEST_CHANNEL packets, define another 4-byte header */
176 * including test header; sent little-endian.
240 (void *)(uintptr)&((h)->regs->dma.sdiod32.dma32regs[chnl].xmt) : \
241 (void *)(uintptr)&((h)->regs->dma.sdiod32.dma32regs[chnl].rcv))
245 (void *)(uintptr)&((h)->regs->dma.sdiod64.dma64regs[chnl].xmt) : \
246 (void *)(uintptr)&((h)->regs->dma.sdiod64.dma64regs[chnl].rcv))
249 (SDIODREV_LT((h)->corerev, 1) ? \
255 (void *)(uintptr)&((h)->regs->dma.pcm32.dmaregs.xmt) : \
256 (void *)(uintptr)&((h)->regs->dma.pcm32.dmaregs.rcv))
265 ((dma32diag_t *)(uintptr)&((h)->regs->dma.sdiod32.dmafifo)) : \
266 ((dma32diag_t *)(uintptr)&((h)->regs->dma.sdiod64.dmafifo)))
269 ((dma32diag_t *)(uintptr)&((h)->regs->dma.pcm32.dmafifo))