Lines Matching defs:source
251 #define SEND_SSRC(p,b,c,d,e) sendcmd(p,PARM,SSRC|BYTE1(b)|WORD2(c),WORD0(d)|WORD2(e),RET(0)) /* configure source */
253 #define SEND_RSRC(p,b,c) sendcmd(p,RESP,RSRC|BYTE1(b),0,RET(c)) /* read source config */
466 unsigned char source;
486 static int getsourcesink(struct cmdif *cif, unsigned char source,
737 alloclbuspath(struct cmdif *cif, unsigned char source,
745 snd_printdd("alloc path 0x%x->0x%x\n", source, sink);
746 SEND_PSEL(cif, source, sink);
747 source = lbusin2out[sink][0];
770 alloclbuspath(cif, source + 1, ++npath, mixer, s);
776 freelbuspath(struct cmdif *cif, unsigned char source, const unsigned char *path)
783 snd_printdd("free path 0x%x->0x%x\n", source, sink);
784 SEND_PCLR(cif, source, sink);
785 source = lbusin2out[sink][0];
792 freelbuspath(cif, source + 1, ++npath);
956 getsourcesink(struct cmdif *cif, unsigned char source, unsigned char sink,
961 if (SEND_RSSV(cif, source, sink, &rptr) &&
962 SEND_RSSV(cif, source, sink, &rptr))
1524 freelbuspath(cif, data->source, data->lbuspath);
1525 alloclbuspath(cif, data->source, lbuspath,
1578 freelbuspath(cif, data->source, data->lbuspath);
1580 data->source = 0xff;
1607 data->source = play_sources[sub_num];
1630 data->source = ACLNK2PADC;
1910 "stream: %d mixer: %d source: %d (%d,%d)\n",
1911 data->id, data->mixer, data->source,
1921 "stream: %d mixer: %d source: %d (%d,%d)\n",
1923 data->source, data->intdec[0], data->intdec[1]);