Home
last modified time | relevance | path

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

/Linux-v6.1/drivers/net/ethernet/qlogic/qlcnic/
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()
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()
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()
1508 npar->mac_override = esw_cfg.mac_override; in qlcnic_set_default_offload_settings()
1509 npar->mac_anti_spoof = esw_cfg.mac_anti_spoof; in qlcnic_set_default_offload_settings()
1510 npar->discard_tagged = esw_cfg.discard_tagged; in qlcnic_set_default_offload_settings()
1511 npar->promisc_mode = esw_cfg.promisc_mode; in qlcnic_set_default_offload_settings()
1512 npar->offload_flags = esw_cfg.offload_flags; in qlcnic_set_default_offload_settings()
1521 struct qlcnic_npar_info *npar, int pci_func) in qlcnic_reset_eswitch_config() argument
1526 esw_cfg.vlan_id = npar->pvid; in qlcnic_reset_eswitch_config()
[all …]
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-v6.1/arch/s390/include/asm/
Ddiag.h111 __u8 npar; member
120 __u8 npar; member
/Linux-v6.1/arch/s390/hypfs/
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-v6.1/arch/s390/kernel/
Dsthyi.c336 for (i = 0; i < ti_hdr->npar; i++) { in fill_diag()