Lines Matching refs:nic_info

581 	struct qlcnic_info *nic_info;  in qlcnic_get_nic_info()  local
591 nic_info = (struct qlcnic_info *) nic_info_addr; in qlcnic_get_nic_info()
601 npar_info->pci_func = le16_to_cpu(nic_info->pci_func); in qlcnic_get_nic_info()
602 npar_info->op_mode = le16_to_cpu(nic_info->op_mode); in qlcnic_get_nic_info()
603 npar_info->phys_port = le16_to_cpu(nic_info->phys_port); in qlcnic_get_nic_info()
604 npar_info->switch_mode = le16_to_cpu(nic_info->switch_mode); in qlcnic_get_nic_info()
605 npar_info->max_tx_ques = le16_to_cpu(nic_info->max_tx_ques); in qlcnic_get_nic_info()
606 npar_info->max_rx_ques = le16_to_cpu(nic_info->max_rx_ques); in qlcnic_get_nic_info()
607 npar_info->min_tx_bw = le16_to_cpu(nic_info->min_tx_bw); in qlcnic_get_nic_info()
608 npar_info->max_tx_bw = le16_to_cpu(nic_info->max_tx_bw); in qlcnic_get_nic_info()
609 npar_info->capabilities = le32_to_cpu(nic_info->capabilities); in qlcnic_get_nic_info()
610 npar_info->max_mtu = le16_to_cpu(nic_info->max_mtu); in qlcnic_get_nic_info()
636 struct qlcnic_info *nic_info; in qlcnic_set_nic_info() local
648 nic_info = (struct qlcnic_info *)nic_info_addr; in qlcnic_set_nic_info()
650 nic_info->pci_func = cpu_to_le16(nic->pci_func); in qlcnic_set_nic_info()
651 nic_info->op_mode = cpu_to_le16(nic->op_mode); in qlcnic_set_nic_info()
652 nic_info->phys_port = cpu_to_le16(nic->phys_port); in qlcnic_set_nic_info()
653 nic_info->switch_mode = cpu_to_le16(nic->switch_mode); in qlcnic_set_nic_info()
654 nic_info->capabilities = cpu_to_le32(nic->capabilities); in qlcnic_set_nic_info()
655 nic_info->max_mac_filters = nic->max_mac_filters; in qlcnic_set_nic_info()
656 nic_info->max_tx_ques = cpu_to_le16(nic->max_tx_ques); in qlcnic_set_nic_info()
657 nic_info->max_rx_ques = cpu_to_le16(nic->max_rx_ques); in qlcnic_set_nic_info()
658 nic_info->min_tx_bw = cpu_to_le16(nic->min_tx_bw); in qlcnic_set_nic_info()
659 nic_info->max_tx_bw = cpu_to_le16(nic->max_tx_bw); in qlcnic_set_nic_info()