Lines Matching defs:p
166 #define READ_PORT_ULONG(p) inl((unsigned long)&(p)) argument
167 #define WRITE_PORT_ULONG(p,x) outl(x,(unsigned long)&(p)) argument
169 #define READ_AUDIO_CONTROL(p) READ_PORT_ULONG(p->audio_control) argument
170 #define WRITE_AUDIO_CONTROL(p,x) WRITE_PORT_ULONG(p->audio_control,x) argument
171 #define UMASK_AUDIO_CONTROL(p,x) WRITE_PORT_ULONG(p->audio_control,READ_PORT_ULONG(p->audio_contro… argument
172 #define MASK_AUDIO_CONTROL(p,x) WRITE_PORT_ULONG(p->audio_control,READ_PORT_ULONG(p->audio_contro… argument
173 #define READ_AUDIO_STATUS(p) READ_PORT_ULONG(p->audio_status) argument
175 #define SET_GRESET(p) UMASK_AUDIO_CONTROL(p,0x0001) /* global reset switch */ argument
176 #define UNSET_GRESET(p) MASK_AUDIO_CONTROL(p,~0x0001) argument
177 #define SET_AIE(p) UMASK_AUDIO_CONTROL(p,0x0004) /* interrupt enable */ argument
178 #define UNSET_AIE(p) MASK_AUDIO_CONTROL(p,~0x0004) argument
179 #define SET_AIACK(p) UMASK_AUDIO_CONTROL(p,0x0008) /* interrupt acknowledge */ argument
180 #define UNSET_AIACKT(p) MASKAUDIO_CONTROL(p,~0x0008) argument
181 #define SET_ECMDAE(p) UMASK_AUDIO_CONTROL(p,0x0010) argument
182 #define UNSET_ECMDAE(p) MASK_AUDIO_CONTROL(p,~0x0010) argument
183 #define SET_ECMDBE(p) UMASK_AUDIO_CONTROL(p,0x0020) argument
184 #define UNSET_ECMDBE(p) MASK_AUDIO_CONTROL(p,~0x0020) argument
185 #define SET_EDATAF(p) UMASK_AUDIO_CONTROL(p,0x0040) argument
186 #define UNSET_EDATAF(p) MASK_AUDIO_CONTROL(p,~0x0040) argument
187 #define SET_EDATBF(p) UMASK_AUDIO_CONTROL(p,0x0080) argument
188 #define UNSET_EDATBF(p) MASK_AUDIO_CONTROL(p,~0x0080) argument
189 #define SET_ESBIRQON(p) UMASK_AUDIO_CONTROL(p,0x0100) argument
190 #define UNSET_ESBIRQON(p) MASK_AUDIO_CONTROL(p,~0x0100) argument
191 #define SET_EMPUIRQ(p) UMASK_AUDIO_CONTROL(p,0x0200) argument
192 #define UNSET_EMPUIRQ(p) MASK_AUDIO_CONTROL(p,~0x0200) argument
195 #define IS_READY(p) (READ_AUDIO_STATUS(p)&0x0001) argument
196 #define IS_DLREADY(p) (READ_AUDIO_STATUS(p)&0x0002) argument
197 #define IS_DLERR(p) (READ_AUDIO_STATUS(p)&0x0004) argument
198 #define IS_GERR(p) (READ_AUDIO_STATUS(p)&0x0008) /* error ! */ argument
199 #define IS_CMDAEIRQ(p) (READ_AUDIO_STATUS(p)&0x0010) argument
200 #define IS_CMDBEIRQ(p) (READ_AUDIO_STATUS(p)&0x0020) argument
201 #define IS_DATAFIRQ(p) (READ_AUDIO_STATUS(p)&0x0040) argument
202 #define IS_DATBFIRQ(p) (READ_AUDIO_STATUS(p)&0x0080) argument
203 #define IS_EOBIRQ(p) (READ_AUDIO_STATUS(p)&0x0100) /* interrupt status */ argument
204 #define IS_EOSIRQ(p) (READ_AUDIO_STATUS(p)&0x0200) argument
205 #define IS_EOCIRQ(p) (READ_AUDIO_STATUS(p)&0x0400) argument
206 #define IS_UNSLIRQ(p) (READ_AUDIO_STATUS(p)&0x0800) argument
207 #define IS_SBIRQ(p) (READ_AUDIO_STATUS(p)&0x1000) argument
208 #define IS_MPUIRQ(p) (READ_AUDIO_STATUS(p)&0x2000) argument
229 #define SEND_GETV(p,b) sendcmd(p,RESP,GETV,0,RET(b)) /* get version */ argument
230 #define SEND_GETC(p,b,c) sendcmd(p,PARM|RESP,GETC,c,RET(b)) argument
231 #define SEND_GUNS(p,b) sendcmd(p,RESP,GUNS,0,RET(b)) argument
232 #define SEND_SCID(p,b) sendcmd(p,RESP,SCID,0,RET(b)) argument
233 #define SEND_RMEM(p,b,c,d) sendcmd(p,PARM|RESP,RMEM|BYTE1(b),LONG0(c),RET(d)) /* memory acc… argument
234 #define SEND_SMEM(p,b,c) sendcmd(p,PARM,SMEM|BYTE1(b),LONG0(c),RET(0)) /* memory access f… argument
235 #define SEND_WMEM(p,b,c) sendcmd(p,PARM,WMEM|BYTE1(b),LONG0(c),RET(0)) /* memory access f… argument
236 #define SEND_SDTM(p,b,c) sendcmd(p,PARM|RESP,SDTM|TRINIB1(b),0,RET(c)) /* memory access f… argument
237 #define SEND_GOTO(p,b) sendcmd(p,PARM,GOTO,LONG0(b),RET(0)) /* memory access for firmwa… argument
238 #define SEND_SETDPLL(p) sendcmd(p,0,ARM_SETDPLL,0,RET(0)) argument
239 #define SEND_SSTR(p,b,c) sendcmd(p,PARM,SSTR|BYTE3(b),LONG0(c),RET(0)) /* start stream */ argument
240 #define SEND_PSTR(p,b) sendcmd(p,PARM,PSTR,BYTE3(b),RET(0)) /* pause stream */ argument
241 #define SEND_KSTR(p,b) sendcmd(p,PARM,KSTR,BYTE3(b),RET(0)) /* stop stream */ argument
242 #define SEND_KDMA(p) sendcmd(p,0,KDMA,0,RET(0)) /* stop all dma */ argument
243 #define SEND_GPOS(p,b,c,d) sendcmd(p,PARM|RESP,GPOS,BYTE3(c)|BYTE2(b),RET(d)) /* get positi… argument
244 #define SEND_SETF(p,b,c,d,e,f,g) sendcmd(p,PARM,SETF|WORD1(b)|BYTE3(c),d|BYTE1(e)|BYTE2(f)|BYTE3(… argument
245 #define SEND_GSTS(p,b,c,d) sendcmd(p,PARM|RESP,GSTS,BYTE3(c)|BYTE2(b),RET(d)) argument
246 #define SEND_NGPOS(p,b,c,d) sendcmd(p,PARM|RESP,NGPOS,BYTE3(c)|BYTE2(b),RET(d)) argument
247 #define SEND_PSEL(p,b,c) sendcmd(p,PARM,PSEL,BYTE2(b)|BYTE3(c),RET(0)) /* activate lbus p… argument
248 #define SEND_PCLR(p,b,c) sendcmd(p,PARM,PCLR,BYTE2(b)|BYTE3(c),RET(0)) /* deactivate lbus… argument
249 #define SEND_PLST(p,b) sendcmd(p,PARM,PLST,BYTE3(b),RET(0)) argument
250 #define SEND_RSSV(p,b,c,d) sendcmd(p,PARM|RESP,RSSV,BYTE2(b)|BYTE3(c),RET(d)) argument
251 #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)… argument
252 #define SEND_SSRC(p,b,c,d,e) sendcmd(p,PARM,SSRC|BYTE1(b)|WORD2(c),WORD0(d)|WORD2(e),RET(0)) … argument
253 #define SEND_SLST(p,b) sendcmd(p,PARM,SLST,BYTE3(b),RET(0)) argument
254 #define SEND_RSRC(p,b,c) sendcmd(p,RESP,RSRC|BYTE1(b),0,RET(c)) /* read source config */ argument
255 #define SEND_SSRB(p,b,c) sendcmd(p,PARM,SSRB|BYTE1(b),WORD2(c),RET(0)) argument
256 #define SEND_SDGV(p,b,c,d,e) sendcmd(p,PARM,SDGV|BYTE2(b)|BYTE3(c),WORD0(d)|WORD2(e),RET(0)) … argument
257 #define SEND_RDGV(p,b,c,d) sendcmd(p,PARM|RESP,RDGV|BYTE2(b)|BYTE3(c),0,RET(d)) /* read dig… argument
258 #define SEND_DLST(p,b) sendcmd(p,PARM,DLST,BYTE3(b),RET(0)) argument
259 #define SEND_SACR(p,b,c) sendcmd(p,PARM,SACR,WORD0(b)|WORD2(c),RET(0)) /* set AC97 regist… argument
260 #define SEND_RACR(p,b,c) sendcmd(p,PARM|RESP,RACR,WORD2(b),RET(c)) /* get AC97 register */ argument
261 #define SEND_ALST(p,b) sendcmd(p,PARM,ALST,BYTE3(b),RET(0)) argument
262 #define SEND_TXAC(p,b,c,d,e,f) sendcmd(p,PARM,TXAC|BYTE1(b)|WORD2(c),WORD0(d)|BYTE2(e)|BYTE3(f)… argument
263 #define SEND_RXAC(p,b,c,d) sendcmd(p,PARM|RESP,RXAC,BYTE2(b)|BYTE3(c),RET(d)) argument
264 #define SEND_SI2S(p,b) sendcmd(p,PARM,SI2S,WORD2(b),RET(0)) argument
675 const unsigned char *p; in senddata() local
976 unsigned int p[2] = { 0, 0 }; in getsamplerate() local
1477 struct sgd *c, *p = NULL; in snd_riptide_prepare() local
1897 unsigned char p[256]; in snd_riptide_proc_read() local