Searched refs:ST_NCI_SPI_MIN_SIZE (Results 1 – 1 of 1) sorted by relevance
27 #define ST_NCI_SPI_MIN_SIZE 4 /* PCB(1) + NCI Packet header(3) */ macro126 .len = ST_NCI_SPI_MIN_SIZE, in st_nci_spi_read()140 *skb = alloc_skb(ST_NCI_SPI_MIN_SIZE + len, GFP_KERNEL); in st_nci_spi_read()144 skb_reserve(*skb, ST_NCI_SPI_MIN_SIZE); in st_nci_spi_read()145 skb_put(*skb, ST_NCI_SPI_MIN_SIZE); in st_nci_spi_read()146 memcpy((*skb)->data, buf, ST_NCI_SPI_MIN_SIZE); in st_nci_spi_read()159 memcpy((*skb)->data + ST_NCI_SPI_MIN_SIZE, buf, len); in st_nci_spi_read()