Home
last modified time | relevance | path

Searched refs:npar (Results 1 – 7 of 7) sorted by relevance

/linux-6.3-rc2/drivers/net/ethernet/qlogic/qlcnic/
A Dqlcnic_83xx_vnic.c98 struct qlcnic_npar_info *npar; in qlcnic_83xx_init_mgmt_vnic() local
107 npar = adapter->npars; in qlcnic_83xx_init_mgmt_vnic()
109 for (i = 0; i < ahw->total_nic_func; i++, npar++) { in qlcnic_83xx_init_mgmt_vnic()
111 npar->pci_func, npar->active, npar->type, in qlcnic_83xx_init_mgmt_vnic()
112 npar->phy_port, npar->min_bw, npar->max_bw, in qlcnic_83xx_init_mgmt_vnic()
113 npar->mac); in qlcnic_83xx_init_mgmt_vnic()
A Dqlcnic_sysfs.c550 struct qlcnic_npar_info *npar; in qlcnic_sysfs_write_esw_config() local
604 npar = &adapter->npars[index]; in qlcnic_sysfs_write_esw_config()
607 npar->promisc_mode = esw_cfg[i].promisc_mode; in qlcnic_sysfs_write_esw_config()
608 npar->mac_override = esw_cfg[i].mac_override; in qlcnic_sysfs_write_esw_config()
609 npar->offload_flags = esw_cfg[i].offload_flags; in qlcnic_sysfs_write_esw_config()
610 npar->mac_anti_spoof = esw_cfg[i].mac_anti_spoof; in qlcnic_sysfs_write_esw_config()
611 npar->discard_tagged = esw_cfg[i].discard_tagged; in qlcnic_sysfs_write_esw_config()
614 npar->pvid = esw_cfg[i].vlan_id; in qlcnic_sysfs_write_esw_config()
617 npar->pvid = 0; in qlcnic_sysfs_write_esw_config()
A Dqlcnic_main.c1485 struct qlcnic_npar_info *npar; in qlcnic_set_default_offload_settings() local
1506 npar = &adapter->npars[i]; in qlcnic_set_default_offload_settings()
1507 npar->pvid = esw_cfg.vlan_id; in qlcnic_set_default_offload_settings()
1526 esw_cfg.vlan_id = npar->pvid; in qlcnic_reset_eswitch_config()
1545 struct qlcnic_npar_info *npar; in qlcnic_reset_npar_config() local
1555 npar = &adapter->npars[i]; in qlcnic_reset_npar_config()
1556 pci_func = npar->pci_func; in qlcnic_reset_npar_config()
1564 nic_info.min_tx_bw = npar->min_bw; in qlcnic_reset_npar_config()
1565 nic_info.max_tx_bw = npar->max_bw; in qlcnic_reset_npar_config()
1570 if (npar->enable_pm) { in qlcnic_reset_npar_config()
[all …]
A Dqlcnic_ctx.c960 struct qlcnic_pci_info_le *npar; in qlcnic_82xx_get_pci_info() local
971 npar = pci_info_addr; in qlcnic_82xx_get_pci_info()
983 for (i = 0; i < ahw->max_vnic_func; i++, npar++, pci_info++) { in qlcnic_82xx_get_pci_info()
984 pci_info->id = le16_to_cpu(npar->id); in qlcnic_82xx_get_pci_info()
985 pci_info->active = le16_to_cpu(npar->active); in qlcnic_82xx_get_pci_info()
988 pci_info->type = le16_to_cpu(npar->type); in qlcnic_82xx_get_pci_info()
992 le16_to_cpu(npar->default_port); in qlcnic_82xx_get_pci_info()
994 le16_to_cpu(npar->tx_min_bw); in qlcnic_82xx_get_pci_info()
996 le16_to_cpu(npar->tx_max_bw); in qlcnic_82xx_get_pci_info()
997 memcpy(pci_info->mac, npar->mac, ETH_ALEN); in qlcnic_82xx_get_pci_info()
/linux-6.3-rc2/arch/s390/include/asm/
A Ddiag.h123 __u8 npar; member
132 __u8 npar; member
/linux-6.3-rc2/arch/s390/hypfs/
A Dhypfs_diag.c58 return ((struct diag204_info_blk_hdr *)hdr)->npar; in info_blk_hdr__npar()
60 return ((struct diag204_x_info_blk_hdr *)hdr)->npar; in info_blk_hdr__npar()
/linux-6.3-rc2/arch/s390/kernel/
A Dsthyi.c336 for (i = 0; i < ti_hdr->npar; i++) { in fill_diag()

Completed in 25 milliseconds