Home
last modified time | relevance | path

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

/net/nfc/nci/
Dspi.c181 unsigned short rx_len = 0; in __nci_spi_read() local
207 rx_len = ((resp_hdr[0] & NCI_SPI_MSB_PAYLOAD_MASK) << 8) + in __nci_spi_read()
210 rx_len = (resp_hdr[0] << 8) | resp_hdr[1]; in __nci_spi_read()
212 skb = nci_skb_alloc(nspi->ndev, rx_len, GFP_KERNEL); in __nci_spi_read()
219 rx.rx_buf = skb_put(skb, rx_len); in __nci_spi_read()
220 rx.len = rx_len; in __nci_spi_read()
/net/mctp/test/
Droute-test.c398 int rx_len; member
428 if (params->rx_len) { in mctp_test_route_input_sk_reasm()
430 KUNIT_EXPECT_EQ(test, skb2->len, params->rx_len); in mctp_test_route_input_sk_reasm()
449 .rx_len = 1,
457 .rx_len = 1,
466 .rx_len = 2,
475 .rx_len = 2,
484 .rx_len = 0,
494 .rx_len = 3,
503 .rx_len = 0,
[all …]
/net/bluetooth/
Diso.c34 __u32 rx_len; member
1649 if (conn->rx_len) { in iso_recv()
1653 conn->rx_len = 0; in iso_recv()
1710 conn->rx_len = len - skb->len; in iso_recv()
1715 conn->rx_len); in iso_recv()
1717 if (!conn->rx_len) { in iso_recv()
1723 if (skb->len > conn->rx_len) { in iso_recv()
1725 skb->len, conn->rx_len); in iso_recv()
1728 conn->rx_len = 0; in iso_recv()
1734 conn->rx_len -= skb->len; in iso_recv()
[all …]
Dl2cap_core.c8437 conn->rx_len = len; in l2cap_recv_frag()
8444 conn->rx_len -= len; in l2cap_recv_frag()
8467 conn->rx_len = len + (L2CAP_HDR_SIZE - L2CAP_LEN_SIZE); in l2cap_recv_len()
8488 conn->rx_len = 0; in l2cap_recv_reset()
8551 BT_DBG("Cont: frag len %u (expecting %u)", skb->len, conn->rx_len); in l2cap_recv_acldata()
8571 if (skb->len > conn->rx_len) { in l2cap_recv_acldata()
8573 skb->len, conn->rx_len); in l2cap_recv_acldata()
8582 if (!conn->rx_len) { in l2cap_recv_acldata()
Dhci_event.c2135 hdev->le_max_rx_len = le16_to_cpu(rp->rx_len); in hci_cc_le_read_max_data_len()
/net/can/
Dgw.c312 static inline int calc_idx(int idx, int rx_len) in calc_idx() argument
315 return rx_len + idx; in calc_idx()