Home
last modified time | relevance | path

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

/net/nfc/nci/
Dspi.c30 static int __nci_spi_send(struct nci_spi *nspi, struct sk_buff *skb, in __nci_spi_send() argument
47 t.delay_usecs = nspi->xfer_udelay; in __nci_spi_send()
48 t.speed_hz = nspi->xfer_speed_hz; in __nci_spi_send()
53 return spi_sync(nspi->spi, &m); in __nci_spi_send()
56 int nci_spi_send(struct nci_spi *nspi, in nci_spi_send() argument
68 hdr[1] = nspi->acknowledge_mode; in nci_spi_send()
72 if (nspi->acknowledge_mode == NCI_SPI_CRC_ENABLED) { in nci_spi_send()
82 ret = __nci_spi_send(nspi, NULL, 1); in nci_spi_send()
94 ret = __nci_spi_send(nspi, skb, 0); in nci_spi_send()
95 if (ret != 0 || nspi->acknowledge_mode == NCI_SPI_CRC_DISABLED) in nci_spi_send()
[all …]
/net/xfrm/
Dxfrm_state.c121 struct hlist_head *ndst, *nsrc, *nspi, *odst, *osrc, *ospi; in xfrm_hash_resize() local
135 nspi = xfrm_hash_alloc(nsize); in xfrm_hash_resize()
136 if (!nspi) { in xfrm_hash_resize()
148 xfrm_hash_transfer(odst + i, ndst, nsrc, nspi, nhashmask); in xfrm_hash_resize()
156 rcu_assign_pointer(net->xfrm.state_byspi, nspi); in xfrm_hash_resize()