Lines Matching refs:remotecodec
362 l1oip_socket_recv(struct l1oip *hc, u8 remotecodec, u8 channel, u16 timebase, in l1oip_socket_recv() argument
396 nskb = mI_alloc_skb((remotecodec == 3) ? (len << 1) : len, GFP_ATOMIC); in l1oip_socket_recv()
401 p = skb_put(nskb, (remotecodec == 3) ? (len << 1) : len); in l1oip_socket_recv()
403 if (remotecodec == 1 && ulaw) in l1oip_socket_recv()
405 else if (remotecodec == 2 && !ulaw) in l1oip_socket_recv()
407 else if (remotecodec == 3) in l1oip_socket_recv()
466 u8 remotecodec; in l1oip_socket_parse() local
506 remotecodec = (*buf) & 0x0f; in l1oip_socket_parse()
507 if (remotecodec > 3) { in l1oip_socket_parse()
509 "unsupported\n", __func__, remotecodec); in l1oip_socket_parse()
613 l1oip_socket_recv(hc, remotecodec, channel, timebase, buf, mlen); in l1oip_socket_parse()