sendcmd 241 sound/pci/riptide/riptide.c #define SEND_GETV(p,b) sendcmd(p,RESP,GETV,0,RET(b)) /* get version */ sendcmd 242 sound/pci/riptide/riptide.c #define SEND_GETC(p,b,c) sendcmd(p,PARM|RESP,GETC,c,RET(b)) sendcmd 243 sound/pci/riptide/riptide.c #define SEND_GUNS(p,b) sendcmd(p,RESP,GUNS,0,RET(b)) sendcmd 244 sound/pci/riptide/riptide.c #define SEND_SCID(p,b) sendcmd(p,RESP,SCID,0,RET(b)) sendcmd 245 sound/pci/riptide/riptide.c #define SEND_RMEM(p,b,c,d) sendcmd(p,PARM|RESP,RMEM|BYTE1(b),LONG0(c),RET(d)) /* memory access for firmware write */ sendcmd 246 sound/pci/riptide/riptide.c #define SEND_SMEM(p,b,c) sendcmd(p,PARM,SMEM|BYTE1(b),LONG0(c),RET(0)) /* memory access for firmware write */ sendcmd 247 sound/pci/riptide/riptide.c #define SEND_WMEM(p,b,c) sendcmd(p,PARM,WMEM|BYTE1(b),LONG0(c),RET(0)) /* memory access for firmware write */ sendcmd 248 sound/pci/riptide/riptide.c #define SEND_SDTM(p,b,c) sendcmd(p,PARM|RESP,SDTM|TRINIB1(b),0,RET(c)) /* memory access for firmware write */ sendcmd 249 sound/pci/riptide/riptide.c #define SEND_GOTO(p,b) sendcmd(p,PARM,GOTO,LONG0(b),RET(0)) /* memory access for firmware write */ sendcmd 250 sound/pci/riptide/riptide.c #define SEND_SETDPLL(p) sendcmd(p,0,ARM_SETDPLL,0,RET(0)) sendcmd 251 sound/pci/riptide/riptide.c #define SEND_SSTR(p,b,c) sendcmd(p,PARM,SSTR|BYTE3(b),LONG0(c),RET(0)) /* start stream */ sendcmd 252 sound/pci/riptide/riptide.c #define SEND_PSTR(p,b) sendcmd(p,PARM,PSTR,BYTE3(b),RET(0)) /* pause stream */ sendcmd 253 sound/pci/riptide/riptide.c #define SEND_KSTR(p,b) sendcmd(p,PARM,KSTR,BYTE3(b),RET(0)) /* stop stream */ sendcmd 254 sound/pci/riptide/riptide.c #define SEND_KDMA(p) sendcmd(p,0,KDMA,0,RET(0)) /* stop all dma */ sendcmd 255 sound/pci/riptide/riptide.c #define SEND_GPOS(p,b,c,d) sendcmd(p,PARM|RESP,GPOS,BYTE3(c)|BYTE2(b),RET(d)) /* get position in dma */ sendcmd 256 sound/pci/riptide/riptide.c #define SEND_SETF(p,b,c,d,e,f,g) sendcmd(p,PARM,SETF|WORD1(b)|BYTE3(c),d|BYTE1(e)|BYTE2(f)|BYTE3(g),RET(0)) /* set sample format at mixer */ sendcmd 257 sound/pci/riptide/riptide.c #define SEND_GSTS(p,b,c,d) sendcmd(p,PARM|RESP,GSTS,BYTE3(c)|BYTE2(b),RET(d)) sendcmd 258 sound/pci/riptide/riptide.c #define SEND_NGPOS(p,b,c,d) sendcmd(p,PARM|RESP,NGPOS,BYTE3(c)|BYTE2(b),RET(d)) sendcmd 259 sound/pci/riptide/riptide.c #define SEND_PSEL(p,b,c) sendcmd(p,PARM,PSEL,BYTE2(b)|BYTE3(c),RET(0)) /* activate lbus path */ sendcmd 260 sound/pci/riptide/riptide.c #define SEND_PCLR(p,b,c) sendcmd(p,PARM,PCLR,BYTE2(b)|BYTE3(c),RET(0)) /* deactivate lbus path */ sendcmd 261 sound/pci/riptide/riptide.c #define SEND_PLST(p,b) sendcmd(p,PARM,PLST,BYTE3(b),RET(0)) sendcmd 262 sound/pci/riptide/riptide.c #define SEND_RSSV(p,b,c,d) sendcmd(p,PARM|RESP,RSSV,BYTE2(b)|BYTE3(c),RET(d)) sendcmd 263 sound/pci/riptide/riptide.c #define SEND_LSEL(p,b,c,d,e,f,g,h) sendcmd(p,PARM,LSEL|BYTE1(b)|BYTE2(c)|BYTE3(d),BYTE0(e)|BYTE1(f)|BYTE2(g)|BYTE3(h),RET(0)) /* select paths for internal connections */ sendcmd 264 sound/pci/riptide/riptide.c #define SEND_SSRC(p,b,c,d,e) sendcmd(p,PARM,SSRC|BYTE1(b)|WORD2(c),WORD0(d)|WORD2(e),RET(0)) /* configure source */ sendcmd 265 sound/pci/riptide/riptide.c #define SEND_SLST(p,b) sendcmd(p,PARM,SLST,BYTE3(b),RET(0)) sendcmd 266 sound/pci/riptide/riptide.c #define SEND_RSRC(p,b,c) sendcmd(p,RESP,RSRC|BYTE1(b),0,RET(c)) /* read source config */ sendcmd 267 sound/pci/riptide/riptide.c #define SEND_SSRB(p,b,c) sendcmd(p,PARM,SSRB|BYTE1(b),WORD2(c),RET(0)) sendcmd 268 sound/pci/riptide/riptide.c #define SEND_SDGV(p,b,c,d,e) sendcmd(p,PARM,SDGV|BYTE2(b)|BYTE3(c),WORD0(d)|WORD2(e),RET(0)) /* set digital mixer */ sendcmd 269 sound/pci/riptide/riptide.c #define SEND_RDGV(p,b,c,d) sendcmd(p,PARM|RESP,RDGV|BYTE2(b)|BYTE3(c),0,RET(d)) /* read digital mixer */ sendcmd 270 sound/pci/riptide/riptide.c #define SEND_DLST(p,b) sendcmd(p,PARM,DLST,BYTE3(b),RET(0)) sendcmd 271 sound/pci/riptide/riptide.c #define SEND_SACR(p,b,c) sendcmd(p,PARM,SACR,WORD0(b)|WORD2(c),RET(0)) /* set AC97 register */ sendcmd 272 sound/pci/riptide/riptide.c #define SEND_RACR(p,b,c) sendcmd(p,PARM|RESP,RACR,WORD2(b),RET(c)) /* get AC97 register */ sendcmd 273 sound/pci/riptide/riptide.c #define SEND_ALST(p,b) sendcmd(p,PARM,ALST,BYTE3(b),RET(0)) sendcmd 274 sound/pci/riptide/riptide.c #define SEND_TXAC(p,b,c,d,e,f) sendcmd(p,PARM,TXAC|BYTE1(b)|WORD2(c),WORD0(d)|BYTE2(e)|BYTE3(f),RET(0)) sendcmd 275 sound/pci/riptide/riptide.c #define SEND_RXAC(p,b,c,d) sendcmd(p,PARM|RESP,RXAC,BYTE2(b)|BYTE3(c),RET(d)) sendcmd 276 sound/pci/riptide/riptide.c #define SEND_SI2S(p,b) sendcmd(p,PARM,SI2S,WORD2(b),RET(0)) sendcmd 498 sound/pci/riptide/riptide.c static int sendcmd(struct cmdif *cif, u32 flags, u32 cmd, u32 parm,