Lines Matching defs:source
252 #define SEND_SSRC(p,b,c,d,e) sendcmd(p,PARM,SSRC|BYTE1(b)|WORD2(c),WORD0(d)|WORD2(e),RET(0)) /* configure source */
254 #define SEND_RSRC(p,b,c) sendcmd(p,RESP,RSRC|BYTE1(b),0,RET(c)) /* read source config */
467 unsigned char source;
487 static int getsourcesink(struct cmdif *cif, unsigned char source,
738 alloclbuspath(struct cmdif *cif, unsigned char source,
746 snd_printdd("alloc path 0x%x->0x%x\n", source, sink);
747 SEND_PSEL(cif, source, sink);
748 source = lbusin2out[sink][0];
771 alloclbuspath(cif, source + 1, ++npath, mixer, s);
777 freelbuspath(struct cmdif *cif, unsigned char source, const unsigned char *path)
784 snd_printdd("free path 0x%x->0x%x\n", source, sink);
785 SEND_PCLR(cif, source, sink);
786 source = lbusin2out[sink][0];
793 freelbuspath(cif, source + 1, ++npath);
957 getsourcesink(struct cmdif *cif, unsigned char source, unsigned char sink,
962 if (SEND_RSSV(cif, source, sink, &rptr) &&
963 SEND_RSSV(cif, source, sink, &rptr))
1519 freelbuspath(cif, data->source, data->lbuspath);
1520 alloclbuspath(cif, data->source, lbuspath,
1573 freelbuspath(cif, data->source, data->lbuspath);
1575 data->source = 0xff;
1602 data->source = play_sources[sub_num];
1625 data->source = ACLNK2PADC;
1931 "stream: %d mixer: %d source: %d (%d,%d)\n",
1932 data->id, data->mixer, data->source,
1942 "stream: %d mixer: %d source: %d (%d,%d)\n",
1944 data->source, data->intdec[0], data->intdec[1]);