Home
last modified time | relevance | path

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

/linux/drivers/net/ethernet/meta/fbnic/
H A Dfbnic_netdev.c839 static int fbnic_dsn_to_mac_addr(u64 dsn, char *addr) in fbnic_dsn_to_mac_addr()
841 addr[0] = (dsn >> 56) & 0xFF; in fbnic_dsn_to_mac_addr()
842 addr[1] = (dsn >> 48) & 0xFF; in fbnic_dsn_to_mac_addr()
843 addr[2] = (dsn >> 40) & 0xFF; in fbnic_dsn_to_mac_addr()
844 addr[3] = (dsn >> 16) & 0xFF; in fbnic_dsn_to_mac_addr()
845 addr[4] = (dsn >> 8) & 0xFF; in fbnic_dsn_to_mac_addr()
846 addr[5] = dsn & 0xFF; in fbnic_dsn_to_mac_addr()
863 u64 dsn = fbd->dsn; in fbnic_netdev_register()
867 err = fbnic_dsn_to_mac_addr(dsn, add in fbnic_netdev_register()
837 fbnic_dsn_to_mac_addr(u64 dsn,char * addr) fbnic_dsn_to_mac_addr() argument
861 u64 dsn = fbd->dsn; fbnic_netdev_register() local
[all...]
/linux/drivers/net/ethernet/netronome/nfp/nfpcore/
H A 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()
/linux/drivers/net/ethernet/intel/ixgbe/devlink/
H A Ddevlink.c24 u8 dsn[8]; in ixgbe_info_get_dsn() local
27 put_unaligned_be64(pci_get_dsn(adapter->pdev), dsn); in ixgbe_info_get_dsn()
29 snprintf(ctx->buf, sizeof(ctx->buf), "%8phD", dsn); in ixgbe_info_get_dsn()
/linux/drivers/pci/hotplug/
H A Dpciehp_pci.c76 ctrl->dsn = pci_get_dsn(dev); in pciehp_configure_device()
H A Dpciehp.h93 u64 dsn; member
H A Dpciehp_hpc.c590 if (pci_get_dsn(pdev) != ctrl->dsn) in pciehp_device_replaced()
1090 ctrl->dsn = pci_get_dsn(pdev); in pcie_init()
/linux/drivers/net/ethernet/intel/ixgbe/
H A 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()
/linux/net/mac802154/
H A Diface.c373 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()
563 atomic_set(&wpan_dev->dsn, tmp); in ieee802154_setup_sdata()
H A Dscan.c545 frame.mhr.seq = atomic_inc_return(&wpan_dev->dsn) & 0xFF; in mac802154_perform_association()
672 frame.mhr.seq = atomic_inc_return(&wpan_dev->dsn) & 0xFF; in mac802154_send_disassociation_notif()
728 frame.mhr.seq = atomic_inc_return(&wpan_dev->dsn) & 0xFF; in mac802154_send_association_resp_locked()
/linux/include/net/
H A Dcfg802154.h494 atomic_t dsn; member
/linux/drivers/net/ethernet/intel/ice/devlink/
H A Ddevlink.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()
/linux/drivers/net/wireless/marvell/libertas/
H A Dhost.h952 __le32 dsn; member
/linux/drivers/pci/
H A Dpci.c567 u64 dsn; in pci_get_dsn() local
581 dsn = (u64)dword; in pci_get_dsn()
583 dsn |= ((u64)dword) << 32; in pci_get_dsn()
585 return dsn; in pci_get_dsn()
/linux/drivers/net/ethernet/intel/ice/
H A Dice_main.c4406 u64 dsn; in ice_get_opt_fw_name() local
4411 dsn = pci_get_dsn(pdev); in ice_get_opt_fw_name()
4412 if (!dsn) in ice_get_opt_fw_name()
4420 ICE_DDP_PKG_PATH, dsn); in ice_get_opt_fw_name()
/linux/drivers/net/ethernet/broadcom/bnxt/
H A Dbnxt.h2757 u8 dsn[8];
2758 u8 dsn[8]; global() member
H A Dbnxt.c16004 ppid->id_len = sizeof(bp->dsn); in bnxt_get_port_parent_id()
16005 memcpy(ppid->id, bp->dsn, ppid->id_len); in bnxt_get_port_parent_id()
16863 static int bnxt_pcie_dsn_get(struct bnxt *bp, u8 dsn[]) in bnxt_vpd_read_info()
16874 put_unaligned_le64(qword, dsn); in bnxt_pcie_dsn_get()
17061 rc = bnxt_pcie_dsn_get(bp, bp->dsn); in bnxt_init_one()
16865 bnxt_pcie_dsn_get(struct bnxt * bp,u8 dsn[]) bnxt_pcie_dsn_get() argument