/kernel/linux/linux-5.10/drivers/net/ethernet/broadcom/bnxt/ |
H A D | bnxt_devlink.c | 429 bp->dsn[7], bp->dsn[6], bp->dsn[5], bp->dsn[4], in bnxt_dl_info_get() 430 bp->dsn[3], bp->dsn[2], bp->dsn[1], bp->dsn[0]); in bnxt_dl_info_get() 780 memcpy(attrs.switch_id.id, bp->dsn, sizeof(bp->dsn)); in bnxt_dl_register() [all...] |
H A D | bnxt.h | 2002 u8 dsn[8]; member
|
H A D | bnxt.c | 12213 ppid->id_len = sizeof(bp->dsn); in bnxt_get_port_parent_id() 12214 memcpy(ppid->id, bp->dsn, ppid->id_len); in bnxt_get_port_parent_id() 12636 static int bnxt_pcie_dsn_get(struct bnxt *bp, u8 dsn[]) in bnxt_pcie_dsn_get() argument 12647 put_unaligned_le64(qword, dsn); in bnxt_pcie_dsn_get() 12797 rc = bnxt_pcie_dsn_get(bp, bp->dsn); in bnxt_init_one()
|
/kernel/linux/linux-6.6/drivers/net/ethernet/broadcom/bnxt/ |
H A D | bnxt_devlink.c | 890 bp->dsn[7], bp->dsn[6], bp->dsn[5], bp->dsn[4], in bnxt_dl_info_get() 891 bp->dsn[3], bp->dsn[2], bp->dsn[1], bp->dsn[0]); in bnxt_dl_info_get() 1286 memcpy(attrs.switch_id.id, bp->dsn, sizeof(bp->dsn)); in bnxt_dl_register() [all...] |
H A D | bnxt.h | 2190 u8 dsn[8]; member
|
H A D | bnxt.c | 13168 ppid->id_len = sizeof(bp->dsn); in bnxt_get_port_parent_id() 13169 memcpy(ppid->id, bp->dsn, ppid->id_len); in bnxt_get_port_parent_id() 13567 static int bnxt_pcie_dsn_get(struct bnxt *bp, u8 dsn[]) in bnxt_pcie_dsn_get() argument 13578 put_unaligned_le64(qword, dsn); in bnxt_pcie_dsn_get() 13744 rc = bnxt_pcie_dsn_get(bp, bp->dsn); in bnxt_init_one()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/netronome/nfp/nfpcore/ |
H A D | nfp6000_pcie.c | 1252 u64 dsn; in nfp6000_read_serial() local 1254 dsn = pci_get_dsn(pdev); in nfp6000_read_serial() 1255 if (!dsn) { in nfp6000_read_serial() 1260 put_unaligned_be32((u32)(dsn >> 32), serial); in nfp6000_read_serial() 1261 put_unaligned_be16((u16)(dsn >> 16), serial + 4); in nfp6000_read_serial() 1269 u64 dsn; in nfp6000_get_interface() local 1271 dsn = pci_get_dsn(pdev); in nfp6000_get_interface() 1272 if (!dsn) { in nfp6000_get_interface() 1277 return dsn & 0xffff; in nfp6000_get_interface()
|
/kernel/linux/linux-6.6/drivers/net/ethernet/netronome/nfp/nfpcore/ |
H A D | nfp6000_pcie.c | 1248 u64 dsn; in nfp6000_read_serial() local 1250 dsn = pci_get_dsn(pdev); in nfp6000_read_serial() 1251 if (!dsn) { in nfp6000_read_serial() 1256 put_unaligned_be32((u32)(dsn >> 32), serial); in nfp6000_read_serial() 1257 put_unaligned_be16((u16)(dsn >> 16), serial + 4); in nfp6000_read_serial() 1265 u64 dsn; in nfp6000_get_interface() local 1267 dsn = pci_get_dsn(pdev); in nfp6000_get_interface() 1268 if (!dsn) { in nfp6000_get_interface() 1273 return dsn & 0xffff; in nfp6000_get_interface()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/intel/ice/ |
H A D | ice_devlink.c | 11 u8 dsn[8]; in ice_info_get_dsn() local 14 put_unaligned_be64(pci_get_dsn(pf->pdev), dsn); in ice_info_get_dsn() 16 snprintf(buf, len, "%8phD", dsn); in ice_info_get_dsn()
|
H A D | ice_main.c | 3922 u64 dsn; in ice_get_opt_fw_name() local 3927 dsn = pci_get_dsn(pdev); in ice_get_opt_fw_name() 3928 if (!dsn) in ice_get_opt_fw_name() 3936 ICE_DDP_PKG_PATH, dsn); in ice_get_opt_fw_name()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/intel/ixgbe/ |
H A D | ixgbe_fcoe.c | 972 u64 dsn; in ixgbe_fcoe_get_hbainfo() local 988 dsn = pci_get_dsn(adapter->pdev); in ixgbe_fcoe_get_hbainfo() 989 if (dsn) in ixgbe_fcoe_get_hbainfo() 991 "%016llX", dsn); in ixgbe_fcoe_get_hbainfo()
|
/kernel/linux/linux-6.6/drivers/net/ethernet/intel/ixgbe/ |
H A D | ixgbe_fcoe.c | 972 u64 dsn; in ixgbe_fcoe_get_hbainfo() local 988 dsn = pci_get_dsn(adapter->pdev); in ixgbe_fcoe_get_hbainfo() 989 if (dsn) in ixgbe_fcoe_get_hbainfo() 991 "%016llX", dsn); in ixgbe_fcoe_get_hbainfo()
|
/kernel/linux/linux-5.10/net/mac802154/ |
H A D | iface.c | 381 hdr.seq = atomic_inc_return(&dev->ieee802154_ptr->dsn) & 0xFF; in ieee802154_header_create() 446 hdr.seq = atomic_inc_return(&dev->ieee802154_ptr->dsn) & 0xFF; in mac802154_header_create() 569 atomic_set(&wpan_dev->dsn, tmp); in ieee802154_setup_sdata()
|
/kernel/linux/linux-6.6/net/mac802154/ |
H A D | iface.c | 373 hdr.seq = atomic_inc_return(&dev->ieee802154_ptr->dsn) & 0xFF; in ieee802154_header_create() 438 hdr.seq = atomic_inc_return(&dev->ieee802154_ptr->dsn) & 0xFF; in mac802154_header_create() 561 atomic_set(&wpan_dev->dsn, tmp); in ieee802154_setup_sdata()
|
/kernel/linux/linux-5.10/include/net/ |
H A D | cfg802154.h | 349 atomic_t dsn; member
|
/kernel/linux/linux-6.6/include/net/ |
H A D | cfg802154.h | 471 atomic_t dsn; member
|
/kernel/linux/linux-6.6/drivers/net/ethernet/intel/ice/ |
H A D | ice_devlink.c | 36 u8 dsn[8]; in ice_info_get_dsn() local 39 put_unaligned_be64(pci_get_dsn(pf->pdev), dsn); in ice_info_get_dsn() 41 snprintf(ctx->buf, sizeof(ctx->buf), "%8phD", dsn); in ice_info_get_dsn() 1450 * ice_devlink_set_switch_id - Set unique switch id based on pci dsn
|
H A D | ice_main.c | 4275 u64 dsn; in ice_get_opt_fw_name() local 4280 dsn = pci_get_dsn(pdev); in ice_get_opt_fw_name() 4281 if (!dsn) in ice_get_opt_fw_name() 4289 ICE_DDP_PKG_PATH, dsn); in ice_get_opt_fw_name()
|
/kernel/linux/linux-5.10/drivers/net/wireless/marvell/libertas/ |
H A D | host.h | 948 __le32 dsn; member
|
/kernel/linux/linux-6.6/drivers/net/wireless/marvell/libertas/ |
H A D | host.h | 952 __le32 dsn; member
|
/kernel/linux/linux-5.10/drivers/pci/ |
H A D | pci.c | 601 u64 dsn; in pci_get_dsn() local 615 dsn = (u64)dword; in pci_get_dsn() 617 dsn |= ((u64)dword) << 32; in pci_get_dsn() 619 return dsn; in pci_get_dsn()
|
/kernel/linux/linux-6.6/drivers/pci/ |
H A D | pci.c | 629 u64 dsn; in pci_get_dsn() local 643 dsn = (u64)dword; in pci_get_dsn() 645 dsn |= ((u64)dword) << 32; in pci_get_dsn() 647 return dsn; in pci_get_dsn()
|