Searched refs:nspi (Results 1 – 9 of 9) sorted by relevance
/linux-6.3-rc2/net/nfc/nci/ |
A D | spi.c | 54 return spi_sync(nspi->spi, &m); in __nci_spi_send() 101 &nspi->req_completion, in nci_spi_send() 128 struct nci_spi *nspi; in nci_spi_allocate_spi() local 131 if (!nspi) in nci_spi_allocate_spi() 135 nspi->xfer_udelay = delay; in nci_spi_allocate_spi() 137 nspi->xfer_speed_hz = 0; in nci_spi_allocate_spi() 138 nspi->spi = spi; in nci_spi_allocate_spi() 139 nspi->ndev = ndev; in nci_spi_allocate_spi() 142 return nspi; in nci_spi_allocate_spi() 284 skb = __nci_spi_read(nspi); in nci_spi_read() [all …]
|
/linux-6.3-rc2/drivers/net/ethernet/netronome/nfp/nfpcore/ |
A D | nfp_nsp_cmds.c | 25 struct nfp_nsp_identify *nspi = NULL; in __nfp_nsp_identify() local 43 nspi = kzalloc(sizeof(*nspi), GFP_KERNEL); in __nfp_nsp_identify() 44 if (!nspi) in __nfp_nsp_identify() 47 memcpy(nspi->version, ni->version, sizeof(nspi->version)); in __nfp_nsp_identify() 48 nspi->version[sizeof(nspi->version) - 1] = '\0'; in __nfp_nsp_identify() 49 nspi->flags = ni->flags; in __nfp_nsp_identify() 50 nspi->br_primary = ni->br_primary; in __nfp_nsp_identify() 51 nspi->br_secondary = ni->br_secondary; in __nfp_nsp_identify() 52 nspi->br_nsp = ni->br_nsp; in __nfp_nsp_identify() 55 nspi->nsp = le16_to_cpu(ni->nsp); in __nfp_nsp_identify() [all …]
|
/linux-6.3-rc2/drivers/media/pci/netup_unidvb/ |
A D | netup_unidvb_spi.c | 176 struct netup_spi *nspi; in netup_spi_init() local 185 nspi = spi_master_get_devdata(master); in netup_spi_init() 191 spin_lock_init(&nspi->lock); in netup_spi_init() 192 init_waitqueue_head(&nspi->waitq); in netup_spi_init() 193 nspi->master = master; in netup_spi_init() 194 nspi->regs = (struct netup_spi_regs __iomem *)(ndev->bmmio0 + 0x4000); in netup_spi_init() 195 writew(2, &nspi->regs->clock_divider); in netup_spi_init() 197 ndev->spi = nspi; in netup_spi_init()
|
/linux-6.3-rc2/drivers/net/ethernet/netronome/nfp/ |
A D | nfp_hwmon.c | 54 if (!(pf->nspi->sensor_mask & BIT(id))) in nfp_hwmon_read() 140 if (!pf->nspi) { in nfp_hwmon_register() 144 if (!pf->nspi->sensor_mask) { in nfp_hwmon_register()
|
A D | nfp_main.c | 634 pf->nspi = __nfp_nsp_identify(nsp); in nfp_nsp_init() 635 if (pf->nspi) in nfp_nsp_init() 636 dev_info(&pdev->dev, "BSP: %s\n", pf->nspi->version); in nfp_nsp_init() 640 kfree(pf->nspi); in nfp_nsp_init() 878 kfree(pf->nspi); in nfp_pci_probe() 923 kfree(pf->nspi); in __nfp_pci_shutdown()
|
A D | nfp_main.h | 127 struct nfp_nsp_identify *nspi; member
|
A D | nfp_net_ethtool.c | 701 struct nfp_nsp_identify *nspi; in nfp_test_nsp() local 717 nspi = kzalloc(sizeof(*nspi), GFP_KERNEL); in nfp_test_nsp() 718 if (!nspi) { in nfp_test_nsp() 723 err = nfp_nsp_read_identify(nsp, nspi, sizeof(*nspi)); in nfp_test_nsp() 727 kfree(nspi); in nfp_test_nsp()
|
/linux-6.3-rc2/include/net/nfc/ |
A D | nci_core.h | 416 int nci_spi_send(struct nci_spi *nspi, 419 struct sk_buff *nci_spi_read(struct nci_spi *nspi);
|
/linux-6.3-rc2/net/xfrm/ |
A D | xfrm_state.c | 153 struct hlist_head *ndst, *nsrc, *nspi, *nseq, *odst, *osrc, *ospi, *oseq; in xfrm_hash_resize() local 167 nspi = xfrm_hash_alloc(nsize); in xfrm_hash_resize() 168 if (!nspi) { in xfrm_hash_resize() 177 xfrm_hash_free(nspi, nsize); in xfrm_hash_resize() 187 xfrm_hash_transfer(odst + i, ndst, nsrc, nspi, nseq, nhashmask); in xfrm_hash_resize() 196 rcu_assign_pointer(net->xfrm.state_byspi, nspi); in xfrm_hash_resize()
|
Completed in 37 milliseconds