Home
last modified time | relevance | path

Searched refs:dsn (Results 1 – 9 of 9) sorted by relevance

/drivers/net/ethernet/broadcom/bnxt/
Dbnxt_devlink.c890 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()
1287 attrs.switch_id.id_len = sizeof(bp->dsn); in bnxt_dl_register()
Dbnxt.h2190 u8 dsn[8]; member
Dbnxt.c13166 ppid->id_len = sizeof(bp->dsn); in bnxt_get_port_parent_id()
13167 memcpy(ppid->id, bp->dsn, ppid->id_len); in bnxt_get_port_parent_id()
13565 static int bnxt_pcie_dsn_get(struct bnxt *bp, u8 dsn[]) in bnxt_pcie_dsn_get() argument
13576 put_unaligned_le64(qword, dsn); in bnxt_pcie_dsn_get()
13742 rc = bnxt_pcie_dsn_get(bp, bp->dsn); in bnxt_init_one()
/drivers/net/ethernet/netronome/nfp/nfpcore/
Dnfp6000_pcie.c1248 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()
/drivers/net/ethernet/intel/ixgbe/
Dixgbe_fcoe.c972 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()
/drivers/net/ethernet/intel/ice/
Dice_devlink.c36 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()
Dice_main.c4287 u64 dsn; in ice_get_opt_fw_name() local
4292 dsn = pci_get_dsn(pdev); in ice_get_opt_fw_name()
4293 if (!dsn) in ice_get_opt_fw_name()
4301 ICE_DDP_PKG_PATH, dsn); in ice_get_opt_fw_name()
/drivers/net/wireless/marvell/libertas/
Dhost.h952 __le32 dsn; member
/drivers/pci/
Dpci.c629 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()