Home
last modified time | relevance | path

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

/linux-2.6.39/drivers/net/qlcnic/
Dqlcnic_ctx.c685 struct qlcnic_pci_info *npar; in qlcnic_get_pci_info() local
696 npar = (struct qlcnic_pci_info *) pci_info_addr; in qlcnic_get_pci_info()
706 for (i = 0; i < QLCNIC_MAX_PCI_FUNC; i++, npar++, pci_info++) { in qlcnic_get_pci_info()
707 pci_info->id = le16_to_cpu(npar->id); in qlcnic_get_pci_info()
708 pci_info->active = le16_to_cpu(npar->active); in qlcnic_get_pci_info()
709 pci_info->type = le16_to_cpu(npar->type); in qlcnic_get_pci_info()
711 le16_to_cpu(npar->default_port); in qlcnic_get_pci_info()
713 le16_to_cpu(npar->tx_min_bw); in qlcnic_get_pci_info()
715 le16_to_cpu(npar->tx_max_bw); in qlcnic_get_pci_info()
716 memcpy(pci_info->mac, npar->mac, ETH_ALEN); in qlcnic_get_pci_info()
Dqlcnic_main.c831 struct qlcnic_npar_info *npar; in qlcnic_set_default_offload_settings() local
849 npar = &adapter->npars[i]; in qlcnic_set_default_offload_settings()
850 npar->pvid = esw_cfg.vlan_id; in qlcnic_set_default_offload_settings()
851 npar->mac_override = esw_cfg.mac_override; in qlcnic_set_default_offload_settings()
852 npar->mac_anti_spoof = esw_cfg.mac_anti_spoof; in qlcnic_set_default_offload_settings()
853 npar->discard_tagged = esw_cfg.discard_tagged; in qlcnic_set_default_offload_settings()
854 npar->promisc_mode = esw_cfg.promisc_mode; in qlcnic_set_default_offload_settings()
855 npar->offload_flags = esw_cfg.offload_flags; in qlcnic_set_default_offload_settings()
863 struct qlcnic_npar_info *npar, int pci_func) in qlcnic_reset_eswitch_config() argument
868 esw_cfg.vlan_id = npar->pvid; in qlcnic_reset_eswitch_config()
[all …]
/linux-2.6.39/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()