Home
last modified time | relevance | path

Searched refs:remotecodec (Results 1 – 1 of 1) sorted by relevance

/linux/drivers/isdn/mISDN/
H A Dl1oip_core.c351 l1oip_socket_recv(struct l1oip *hc, u8 remotecodec, u8 channel, u16 timebase, in l1oip_socket_recv() argument
385 nskb = mI_alloc_skb((remotecodec == 3) ? (len << 1) : len, GFP_ATOMIC); in l1oip_socket_recv()
390 p = skb_put(nskb, (remotecodec == 3) ? (len << 1) : len); in l1oip_socket_recv()
392 if (remotecodec == 1 && ulaw) in l1oip_socket_recv()
394 else if (remotecodec == 2 && !ulaw) in l1oip_socket_recv()
396 else if (remotecodec == 3) in l1oip_socket_recv()
449 u8 remotecodec; in l1oip_socket_parse() local
489 remotecodec = (*buf) & 0x0f; in l1oip_socket_parse()
490 if (remotecodec > 3) { in l1oip_socket_parse()
492 "unsupported\n", __func__, remotecodec); in l1oip_socket_parse()
[all …]