/linux-6.12.1/drivers/net/ethernet/meta/fbnic/ |
D | fbnic_devlink.c | 95 if (fbd->dsn) { in fbnic_devlink_info_get() 97 u8 dsn[8]; in fbnic_devlink_info_get() local 99 put_unaligned_be64(fbd->dsn, dsn); in fbnic_devlink_info_get() 100 err = snprintf(serial, FBNIC_SN_STR_LEN, "%8phD", dsn); in fbnic_devlink_info_get() 142 fbd->dsn = pci_get_dsn(pdev); in fbnic_devlink_alloc()
|
D | fbnic_netdev.c | 579 static int fbnic_dsn_to_mac_addr(u64 dsn, char *addr) in fbnic_dsn_to_mac_addr() argument 581 addr[0] = (dsn >> 56) & 0xFF; in fbnic_dsn_to_mac_addr() 582 addr[1] = (dsn >> 48) & 0xFF; in fbnic_dsn_to_mac_addr() 583 addr[2] = (dsn >> 40) & 0xFF; in fbnic_dsn_to_mac_addr() 584 addr[3] = (dsn >> 16) & 0xFF; in fbnic_dsn_to_mac_addr() 585 addr[4] = (dsn >> 8) & 0xFF; in fbnic_dsn_to_mac_addr() 586 addr[5] = dsn & 0xFF; in fbnic_dsn_to_mac_addr() 603 u64 dsn = fbd->dsn; in fbnic_netdev_register() local 607 err = fbnic_dsn_to_mac_addr(dsn, addr); in fbnic_netdev_register()
|
D | fbnic.h | 40 u64 dsn; member
|
D | fbnic_pci.c | 292 if (!fbd->dsn) { in fbnic_probe()
|
/linux-6.12.1/drivers/net/ethernet/intel/i40e/ |
D | i40e_devlink.c | 10 u8 dsn[8]; in i40e_info_get_dsn() local 12 put_unaligned_be64(pci_get_dsn(pf->pdev), dsn); in i40e_info_get_dsn() 14 snprintf(buf, len, "%8phD", dsn); in i40e_info_get_dsn()
|
/linux-6.12.1/drivers/net/ethernet/broadcom/bnxt/ |
D | bnxt_devlink.c | 862 bp->dsn[7], bp->dsn[6], bp->dsn[5], bp->dsn[4], in bnxt_dl_info_get() 863 bp->dsn[3], bp->dsn[2], bp->dsn[1], bp->dsn[0]); in bnxt_dl_info_get() 1260 memcpy(attrs.switch_id.id, bp->dsn, sizeof(bp->dsn)); in bnxt_dl_register() 1261 attrs.switch_id.id_len = sizeof(bp->dsn); in bnxt_dl_register()
|
D | bnxt.h | 2637 u8 dsn[8]; member
|
D | bnxt.c | 14933 ppid->id_len = sizeof(bp->dsn); in bnxt_get_port_parent_id() 14934 memcpy(ppid->id, bp->dsn, ppid->id_len); in bnxt_get_port_parent_id() 15662 static int bnxt_pcie_dsn_get(struct bnxt *bp, u8 dsn[]) in bnxt_pcie_dsn_get() argument 15673 put_unaligned_le64(qword, dsn); in bnxt_pcie_dsn_get() 15853 rc = bnxt_pcie_dsn_get(bp, bp->dsn); in bnxt_init_one()
|
/linux-6.12.1/Documentation/ABI/testing/ |
D | sysfs-module | 4 Contact: masa-korg@dsn.okisemi.com 10 Contact: masa-korg@dsn.okisemi.com
|
/linux-6.12.1/drivers/net/ethernet/netronome/nfp/nfpcore/ |
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-6.12.1/drivers/pci/hotplug/ |
D | pciehp_pci.c | 76 ctrl->dsn = pci_get_dsn(dev); in pciehp_configure_device()
|
D | pciehp.h | 93 u64 dsn; member
|
D | pciehp_core.c | 307 if (pci_get_dsn(pdev) != ctrl->dsn) in pciehp_device_replaced()
|
D | pciehp_hpc.c | 1062 ctrl->dsn = pci_get_dsn(pdev); in pcie_init()
|
/linux-6.12.1/drivers/net/ethernet/intel/ixgbe/ |
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-6.12.1/net/mac802154/ |
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()
|
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-6.12.1/include/net/ |
D | cfg802154.h | 494 atomic_t dsn; member
|
/linux-6.12.1/drivers/net/ethernet/intel/ice/devlink/ |
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-6.12.1/drivers/net/wireless/marvell/libertas/ |
D | host.h | 952 __le32 dsn; member
|
/linux-6.12.1/drivers/pci/ |
D | pci.c | 628 u64 dsn; in pci_get_dsn() local 642 dsn = (u64)dword; in pci_get_dsn() 644 dsn |= ((u64)dword) << 32; in pci_get_dsn() 646 return dsn; in pci_get_dsn()
|
/linux-6.12.1/drivers/net/ethernet/intel/ice/ |
D | ice_main.c | 4460 u64 dsn; in ice_get_opt_fw_name() local 4465 dsn = pci_get_dsn(pdev); in ice_get_opt_fw_name() 4466 if (!dsn) in ice_get_opt_fw_name() 4474 ICE_DDP_PKG_PATH, dsn); in ice_get_opt_fw_name()
|