Home
last modified time | relevance | path

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

/openbmc/linux/drivers/nfc/st-nci/
H A Dspi.c79 struct sk_buff *skb_rx; in st_nci_spi_write() local
97 skb_rx = alloc_skb(skb->len, GFP_KERNEL); in st_nci_spi_write()
98 if (!skb_rx) in st_nci_spi_write()
101 skb_put(skb_rx, skb->len); in st_nci_spi_write()
102 memcpy(skb_rx->data, buf, skb->len); in st_nci_spi_write()
103 ndlc_recv(phy->ndlc, skb_rx); in st_nci_spi_write()
/openbmc/linux/drivers/net/wireless/st/cw1200/
H A Dbh.c237 struct sk_buff *skb_rx = NULL; in cw1200_bh_rx_helper() local
272 skb_rx = dev_alloc_skb(alloc_len); in cw1200_bh_rx_helper()
273 if (WARN_ON(!skb_rx)) in cw1200_bh_rx_helper()
276 skb_trim(skb_rx, 0); in cw1200_bh_rx_helper()
277 skb_put(skb_rx, read_len); in cw1200_bh_rx_helper()
278 data = skb_rx->data; in cw1200_bh_rx_helper()
304 skb_trim(skb_rx, wsm_len); in cw1200_bh_rx_helper()
327 if (WARN_ON(wsm_handle_rx(priv, wsm_id, wsm, &skb_rx))) in cw1200_bh_rx_helper()
330 dev_kfree_skb(skb_rx); in cw1200_bh_rx_helper()
335 dev_kfree_skb(skb_rx); in cw1200_bh_rx_helper()