Home
last modified time | relevance | path

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

/linux-3.4.99/drivers/net/ethernet/qlogic/qlcnic/
Dqlcnic_main.c876 struct qlcnic_npar_info *npar; in qlcnic_set_default_offload_settings() local
894 npar = &adapter->npars[i]; in qlcnic_set_default_offload_settings()
895 npar->pvid = esw_cfg.vlan_id; in qlcnic_set_default_offload_settings()
896 npar->mac_override = esw_cfg.mac_override; in qlcnic_set_default_offload_settings()
897 npar->mac_anti_spoof = esw_cfg.mac_anti_spoof; in qlcnic_set_default_offload_settings()
898 npar->discard_tagged = esw_cfg.discard_tagged; in qlcnic_set_default_offload_settings()
899 npar->promisc_mode = esw_cfg.promisc_mode; in qlcnic_set_default_offload_settings()
900 npar->offload_flags = esw_cfg.offload_flags; in qlcnic_set_default_offload_settings()
908 struct qlcnic_npar_info *npar, int pci_func) in qlcnic_reset_eswitch_config() argument
913 esw_cfg.vlan_id = npar->pvid; in qlcnic_reset_eswitch_config()
[all …]
Dqlcnic_ctx.c769 struct qlcnic_pci_info *npar; in qlcnic_get_pci_info() local
780 npar = pci_info_addr; in qlcnic_get_pci_info()
790 for (i = 0; i < QLCNIC_MAX_PCI_FUNC; i++, npar++, pci_info++) { in qlcnic_get_pci_info()
791 pci_info->id = le16_to_cpu(npar->id); in qlcnic_get_pci_info()
792 pci_info->active = le16_to_cpu(npar->active); in qlcnic_get_pci_info()
793 pci_info->type = le16_to_cpu(npar->type); in qlcnic_get_pci_info()
795 le16_to_cpu(npar->default_port); in qlcnic_get_pci_info()
797 le16_to_cpu(npar->tx_min_bw); in qlcnic_get_pci_info()
799 le16_to_cpu(npar->tx_max_bw); in qlcnic_get_pci_info()
800 memcpy(pci_info->mac, npar->mac, ETH_ALEN); in qlcnic_get_pci_info()
/linux-3.4.99/arch/s390/hypfs/
Dhypfs_diag.c66 __u8 npar; member
75 __u8 npar; member
96 return ((struct info_blk_hdr *)hdr)->npar; in info_blk_hdr__npar()
98 return ((struct x_info_blk_hdr *)hdr)->npar; in info_blk_hdr__npar()