Home
last modified time | relevance | path

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

/net/nfc/nci/
Dspi.c41 static int __nci_spi_send(struct nci_spi *nspi, struct sk_buff *skb, in __nci_spi_send() argument
58 t.delay_usecs = nspi->xfer_udelay; in __nci_spi_send()
63 return spi_sync(nspi->spi, &m); in __nci_spi_send()
66 int nci_spi_send(struct nci_spi *nspi, in nci_spi_send() argument
78 hdr[1] = nspi->acknowledge_mode; in nci_spi_send()
82 if (nspi->acknowledge_mode == NCI_SPI_CRC_ENABLED) { in nci_spi_send()
92 ret = __nci_spi_send(nspi, NULL, 1); in nci_spi_send()
104 ret = __nci_spi_send(nspi, skb, 0); in nci_spi_send()
105 if (ret != 0 || nspi->acknowledge_mode == NCI_SPI_CRC_DISABLED) in nci_spi_send()
108 reinit_completion(&nspi->req_completion); in nci_spi_send()
[all …]
/net/xfrm/
Dxfrm_state.c103 struct hlist_head *ndst, *nsrc, *nspi, *odst, *osrc, *ospi; in xfrm_hash_resize() local
117 nspi = xfrm_hash_alloc(nsize); in xfrm_hash_resize()
118 if (!nspi) { in xfrm_hash_resize()
128 xfrm_hash_transfer(net->xfrm.state_bydst+i, ndst, nsrc, nspi, in xfrm_hash_resize()
138 net->xfrm.state_byspi = nspi; in xfrm_hash_resize()