| /linux/drivers/net/ethernet/meta/fbnic/ |
| H A D | fbnic_netdev.c | 830 static int fbnic_dsn_to_mac_addr(u64 dsn, char *addr) in fbnic_dsn_to_mac_addr() argument 832 addr[0] = (dsn >> 56) & 0xFF; in fbnic_dsn_to_mac_addr() 833 addr[1] = (dsn >> 48) & 0xFF; in fbnic_dsn_to_mac_addr() 834 addr[2] = (dsn >> 40) & 0xFF; in fbnic_dsn_to_mac_addr() 835 addr[3] = (dsn >> 16) & 0xFF; in fbnic_dsn_to_mac_addr() 836 addr[4] = (dsn >> 8) & 0xFF; in fbnic_dsn_to_mac_addr() 837 addr[5] = dsn & 0xFF; in fbnic_dsn_to_mac_addr() 854 u64 dsn = fbd->dsn; in fbnic_netdev_register() local 858 err = fbnic_dsn_to_mac_addr(dsn, addr); in fbnic_netdev_register()
|
| H A D | fbnic_pci.c | 343 if (!fbd->dsn) { in fbnic_probe()
|
| /linux/drivers/net/ethernet/broadcom/bnxt/ |
| H A D | bnxt_devlink.c | 871 bp->dsn[7], bp->dsn[6], bp->dsn[5], bp->dsn[4], in bnxt_dl_info_get() 872 bp->dsn[3], bp->dsn[2], bp->dsn[1], bp->dsn[0]); in bnxt_dl_info_get() 1297 memcpy(attrs.switch_id.id, bp->dsn, sizeof(bp->dsn)); in bnxt_dl_register() 1298 attrs.switch_id.id_len = sizeof(bp->dsn); in bnxt_dl_register()
|
| H A D | bnxt.h | 2749 u8 dsn[8]; member
|
| H A D | bnxt.c | 15865 ppid->id_len = sizeof(bp->dsn); in bnxt_get_port_parent_id() 15866 memcpy(ppid->id, bp->dsn, ppid->id_len); in bnxt_get_port_parent_id() 16708 static int bnxt_pcie_dsn_get(struct bnxt *bp, u8 dsn[]) in bnxt_pcie_dsn_get() argument 16719 put_unaligned_le64(qword, dsn); in bnxt_pcie_dsn_get() 16899 rc = bnxt_pcie_dsn_get(bp, bp->dsn); in bnxt_init_one()
|
| /linux/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()
|
| /linux/Documentation/ABI/testing/ |
| H A D | sysfs-module | 4 Contact: masa-korg@dsn.okisemi.com 10 Contact: masa-korg@dsn.okisemi.com
|
| /linux/drivers/net/ethernet/intel/ixgbe/devlink/ |
| H A D | devlink.c | 24 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 D | pciehp_pci.c | 76 ctrl->dsn = pci_get_dsn(dev); in pciehp_configure_device()
|
| H A D | pciehp.h | 93 u64 dsn; member
|
| H A D | pciehp_hpc.c | 590 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 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()
|
| /linux/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() 563 atomic_set(&wpan_dev->dsn, tmp); in ieee802154_setup_sdata()
|
| H A D | scan.c | 545 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/drivers/net/ethernet/broadcom/bnge/ |
| H A D | bnge.h | 101 u64 dsn; member
|
| /linux/drivers/pci/ |
| H A D | pci-sysfs.c | 727 u64 dsn; in serial_number_show() local 730 dsn = pci_get_dsn(pci_dev); in serial_number_show() 731 if (!dsn) in serial_number_show() 734 put_unaligned_be64(dsn, bytes); in serial_number_show()
|
| H A D | pci.c | 567 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/include/net/ |
| H A D | cfg802154.h | 494 atomic_t dsn; member
|
| /linux/drivers/net/ethernet/intel/ice/devlink/ |
| H A D | 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()
|
| /linux/drivers/net/wireless/marvell/libertas/ |
| H A D | host.h | 952 __le32 dsn; member
|
| /linux/drivers/net/ethernet/intel/ice/ |
| H A D | ice_main.c | 4473 u64 dsn; in ice_get_opt_fw_name() local 4478 dsn = pci_get_dsn(pdev); in ice_get_opt_fw_name() 4479 if (!dsn) in ice_get_opt_fw_name() 4487 ICE_DDP_PKG_PATH, dsn); in ice_get_opt_fw_name()
|