/linux/drivers/net/ethernet/qlogic/qlcnic/ |
A D | qlcnic_sysfs.c | 422 pci_func = pm_cfg[i].pci_func; in qlcnic_sysfs_write_pm_config() 436 pci_func = pm_cfg[i].pci_func; in qlcnic_sysfs_write_pm_config() 465 pci_func = adapter->npars[i].pci_func; in qlcnic_sysfs_read_pm_config() 476 pm_cfg[pci_func].pci_func = i; in qlcnic_sysfs_read_pm_config() 496 pci_func = esw_cfg[i].pci_func; in validate_esw_config() 600 pci_func = esw_cfg[i].pci_func; in qlcnic_sysfs_write_esw_config() 651 esw_cfg[pci_func].pci_func = pci_func; in qlcnic_sysfs_read_esw_config() 666 pci_func = np_cfg[i].pci_func; in validate_npar_config() 702 pci_func = np_cfg[i].pci_func; in qlcnic_sysfs_write_npar_config() 708 nic_info.pci_func = pci_func; in qlcnic_sysfs_write_npar_config() [all …]
|
A D | qlcnic_ctx.c | 877 npar_info->pci_func = le16_to_cpu(nic_info->pci_func); in qlcnic_82xx_get_nic_info() 918 nic_info->pci_func = cpu_to_le16(nic->pci_func); in qlcnic_82xx_set_nic_info() 1038 arg1 |= pci_func << 8; in qlcnic_config_port_mirroring() 1050 pci_func, id); in qlcnic_config_port_mirroring() 1053 pci_func, id); in qlcnic_config_port_mirroring() 1303 pci_func); in __qlcnic_get_eswitch_port_config() 1306 pci_func); in __qlcnic_get_eswitch_port_config() 1323 u8 pci_func; in qlcnic_config_switch_port() local 1331 pci_func = esw_cfg->pci_func; in qlcnic_config_switch_port() 1391 pci_func); in qlcnic_config_switch_port() [all …]
|
A D | qlcnic_sriov_pf.c | 508 u8 func = ahw->pci_func; in qlcnic_sriov_pf_init() 747 u16 func = vf->pci_func; in qlcnic_sriov_pf_channel_cfg_cmd() 1531 adapter->ahw->pci_func); in qlcnic_pf_set_interface_id_create_rx_ctx() 1541 adapter->ahw->pci_func); in qlcnic_pf_set_interface_id_del_rx_ctx() 1551 adapter->ahw->pci_func); in qlcnic_pf_set_interface_id_create_tx_ctx() 1561 adapter->ahw->pci_func); in qlcnic_pf_set_interface_id_del_tx_ctx() 1571 adapter->ahw->pci_func); in qlcnic_pf_set_interface_id_promisc() 1613 vf->pci_func); in qlcnic_sriov_del_rx_ctx() 1639 vf->pci_func); in qlcnic_sriov_del_tx_ctx() 1718 vf->pci_func); in qlcnic_sriov_handle_soft_flr() [all …]
|
A D | qlcnic_sriov_common.c | 322 cmd.func_num = pci_func; in qlcnic_sriov_post_bc_msg() 690 if (vf_info[i].pci_func == pci_func) in qlcnic_sriov_func_to_index() 941 u8 pci_func = trans->func_id; in qlcnic_sriov_issue_bc_post() local 961 pci_func, pay_size); in qlcnic_sriov_issue_bc_post() 1016 trans->func_id = pci_func; in qlcnic_sriov_send_bc_cmd() 1242 trans->func_id = vf->pci_func; in qlcnic_sriov_handle_bc_cmd() 1301 u8 pci_func; in qlcnic_sriov_handle_bc_event() local 1311 vf->pci_func = pci_func; in qlcnic_sriov_handle_bc_event() 1381 u8 func = ahw->pci_func; in __qlcnic_sriov_issue_cmd() 1742 u8 func = ahw->pci_func; in qlcnic_sriov_vf_handle_dev_ready() [all …]
|
A D | qlcnic_83xx_vnic.c | 51 id = ahw->pci_func; in qlcnic_83xx_set_vnic_opmode() 111 npar->pci_func, npar->active, npar->type, in qlcnic_83xx_init_mgmt_vnic() 204 ahw->pci_func); in qlcnic_83xx_config_vnic_opmode()
|
A D | qlcnic_main.c | 303 adapter->ahw->pci_func); in qlcnic_read_mac_addr() 1040 adapter->npars[j].pci_func = pfn; in qlcnic_init_pci_info() 1086 id = ahw->pci_func; in qlcnic_set_function_modes() 1410 esw_cfg.pci_func = adapter->ahw->pci_func; in qlcnic_set_eswitch_port_config() 1495 esw_cfg.pci_func = adapter->npars[i].pci_func; in qlcnic_set_default_offload_settings() 1524 esw_cfg.pci_func = pci_func; in qlcnic_reset_eswitch_config() 1546 u8 pci_func; in qlcnic_reset_npar_config() local 1555 pci_func = npar->pci_func; in qlcnic_reset_npar_config() 1572 pci_func); in qlcnic_reset_npar_config() 2539 adapter->portnum = adapter->ahw->pci_func; in qlcnic_probe() [all …]
|
A D | qlcnic_83xx_hw.c | 397 ahw->pci_func); in qlcnic_83xx_setup_intr() 632 adapter->ahw->pci_func = (val >> 24) & 0xff; in qlcnic_83xx_get_func_no() 648 ahw->pci_func); in qlcnic_83xx_cam_lock() 777 ahw->pci_func); in qlcnic_83xx_check_vf() 2393 cmd.req.arg[1] = (nic->pci_func << 16); in qlcnic_83xx_set_nic_info() 2429 if (func_id != ahw->pci_func) { in qlcnic_83xx_get_nic_info() 2433 cmd.req.arg[1] = ahw->pci_func << 16; in qlcnic_83xx_get_nic_info() 3217 u8 pci_func; in qlcnic_83xx_test_link() local 3224 pci_func = adapter->portnum; in qlcnic_83xx_test_link() 3226 pci_func = ahw->pci_func; in qlcnic_83xx_test_link() [all …]
|
A D | qlcnic.h | 477 u8 pci_func; member 1187 __le16 pci_func; member 1226 u16 pci_func; member 1302 u8 pci_func; member 1336 u8 pci_func; member 1348 u8 pci_func; member 1353 u8 pci_func; member 1363 u8 pci_func; member
|
A D | qlcnic_ethtool.c | 293 u16 pcifn = ahw->pci_func; in qlcnic_82xx_get_link_ksettings() 603 val = XG_LINK_STATE_P3P(adapter->ahw->pci_func, val); in qlcnic_test_link() 994 cmd.req.arg[1] = ahw->pci_func; in qlcnic_irq_test() 1386 ret = qlcnic_get_port_stats(adapter, adapter->ahw->pci_func, in qlcnic_get_ethtool_stats() 1392 ret = qlcnic_get_port_stats(adapter, adapter->ahw->pci_func, in qlcnic_get_ethtool_stats()
|
/linux/drivers/pci/hotplug/ |
A D | cpqphp.h | 225 struct pci_func { struct 226 struct pci_func *next; argument 405 struct pci_func *cpqhp_slot_create(unsigned char busnumber); 406 struct pci_func *cpqhp_slot_find(unsigned char bus, unsigned char device, 408 int cpqhp_process_SI(struct controller *ctrl, struct pci_func *func); 409 int cpqhp_process_SS(struct controller *ctrl, struct pci_func *func); 424 int cpqhp_valid_replace(struct controller *ctrl, struct pci_func *func); 425 void cpqhp_destroy_board_resources(struct pci_func *func); 426 int cpqhp_return_board_resources(struct pci_func *func, 430 int cpqhp_unconfigure_device(struct pci_func *func); [all …]
|
A D | cpqphp_ctrl.c | 58 struct pci_func *func; in handle_switch_change() 133 struct pci_func *func; in handle_presence_change() 225 struct pci_func *func; in handle_power_fault() 956 struct pci_func *new_slot; in cpqhp_slot_create() 957 struct pci_func *next; in cpqhp_slot_create() 986 struct pci_func *next; in slot_remove() 1025 struct pci_func *next; in bridge_slot_remove() 1070 struct pci_func *func; in cpqhp_slot_find() 1772 struct pci_func *func; in interrupt_event_handler() 1889 struct pci_func *func; in cpqhp_pushbutton_thread() [all …]
|
A D | cpqphp_pci.c | 70 int cpqhp_configure_device(struct controller *ctrl, struct pci_func *func) in cpqhp_configure_device() 114 int cpqhp_unconfigure_device(struct pci_func *func) in cpqhp_unconfigure_device() 306 struct pci_func *new_slot; in cpqhp_save_config() 560 struct pci_func *next; in cpqhp_save_base_addr_length() 687 int cpqhp_save_used_resources(struct controller *ctrl, struct pci_func *func) in cpqhp_save_used_resources() 950 int cpqhp_configure_board(struct controller *ctrl, struct pci_func *func) in cpqhp_configure_board() 956 struct pci_func *next; in cpqhp_configure_board() 1028 int cpqhp_valid_replace(struct controller *ctrl, struct pci_func *func) in cpqhp_valid_replace() 1037 struct pci_func *next; in cpqhp_valid_replace() 1177 struct pci_func *func = NULL; in cpqhp_find_available_resources() [all …]
|
A D | ibmphp_pci.c | 23 static int configure_device(struct pci_func *); 24 static int configure_bridge(struct pci_func **, u8); 25 static struct res_needed *scan_behind_bridge(struct pci_func *, u8); 36 static void assign_alt_irq(struct pci_func *cur_func, u8 class_code) in assign_alt_irq() 67 int ibmphp_configure_card(struct pci_func *func, u8 slotno) in ibmphp_configure_card() 74 struct pci_func *newfunc; /* for multi devices */ in ibmphp_configure_card() 75 struct pci_func *cur_func, *prev_func; in ibmphp_configure_card() 329 static int configure_device(struct pci_func *func) in configure_device() 572 struct pci_func *func = *func_passed; in configure_bridge() 1537 struct pci_func *cur_func = NULL; in ibmphp_unconfigure_card() [all …]
|
A D | ibmphp.h | 676 struct pci_func { struct 684 struct pci_func *next; argument 702 struct pci_func *func; argument 740 int ibmphp_configure_card(struct pci_func *, u8);
|
A D | cpqphp_core.c | 39 struct pci_func *cpqhp_slot_list[256]; 375 cpqhp_set_attention_status(struct controller *ctrl, struct pci_func *func, in cpqhp_set_attention_status() 417 struct pci_func *slot_func; in set_attention_status() 444 struct pci_func *slot_func; in process_SI() 476 struct pci_func *slot_func; in process_SS() 766 struct pci_func *func; in cpqhpc_probe() 1248 struct pci_func *next; in unload_cpqphpd() 1249 struct pci_func *TempSlot; in unload_cpqphpd()
|
A D | ibmphp_core.c | 610 static struct pci_func *ibm_slot_find(u8 busno, u8 device, u8 function) in ibm_slot_find() 612 struct pci_func *func_cur; in ibm_slot_find() 658 static void ibm_unconfigure_device(struct pci_func *func) in ibm_unconfigure_device() 731 static int ibm_configure_device(struct pci_func *func) in ibm_configure_device() 969 struct pci_func *tmp_func; in enable_slot() 1060 slot_cur->func = kzalloc(sizeof(struct pci_func), GFP_KERNEL); in enable_slot() 1167 slot_cur->func = kzalloc(sizeof(struct pci_func), GFP_KERNEL); in ibmphp_do_disable_slot()
|
A D | cpqphp_sysfs.c | 71 struct pci_func *new_slot; in show_dev()
|
/linux/drivers/pinctrl/ralink/ |
A D | pinctrl-rt288x.c | 24 static struct rt2880_pmx_func pci_func[] = { FUNC("pci", 0, 40, 32) }; variable 33 GRP("pci", pci_func, 1, RT2880_GPIO_MODE_PCI),
|
A D | pinctrl-rt3883.c | 58 static struct rt2880_pmx_func pci_func[] = { variable 77 GRP("pci", pci_func, RT3883_GPIO_MODE_PCI_MASK,
|
/linux/drivers/net/ethernet/brocade/bna/ |
A D | bna_hw_defs.h | 81 reg_offset[(_pcidev)->pci_func].fn_int_status;\ 83 reg_offset[(_pcidev)->pci_func].fn_int_mask;\
|
A D | bfa_ioc.h | 29 u8 pci_func; member 220 #define bfa_ioc_pcifn(__ioc) ((__ioc)->pcidev.pci_func)
|
/linux/drivers/firmware/ |
A D | pcdp.h | 43 u8 pci_func; member
|
/linux/drivers/media/pci/netup_unidvb/ |
A D | netup_unidvb.h | 106 int pci_func; member
|
/linux/drivers/net/ethernet/qlogic/netxen/ |
A D | netxen_nic_hw.c | 1026 int pci_func = adapter->ahw.pci_func; in netxen_p3_get_mac_addr() local 1029 (4 * ((pci_func/2) * 3)) + (4 * (pci_func & 1)); in netxen_p3_get_mac_addr() 1034 if (pci_func & 1) in netxen_p3_get_mac_addr() 1051 u8 func = adapter->ahw.pci_func; in netxen_nic_pci_set_crbwindow_128M() 2129 writel(adapter->ahw.pci_func, (void __iomem *)(adapter->ahw.pci_base0 + in netxen_md_rdrom()
|
A D | netxen_nic_main.c | 587 legacy_intrp = &legacy_intr[adapter->ahw.pci_func]; in netxen_initialize_interrupt_registers() 635 value = msi_tgt_status[adapter->ahw.pci_func]; in netxen_setup_msi_interrupts() 715 int pci_func = adapter->ahw.pci_func; in netxen_setup_pci_map() local 777 NETXEN_PCIX_PS_REG(PCIX_OCM_WINDOW_REG(pci_func))); in netxen_setup_pci_map() 781 NETXEN_PCIX_PS_REG(PCIE_MN_WINDOW_REG(pci_func))); in netxen_setup_pci_map() 1484 adapter->ahw.pci_func = pci_func_id; in netxen_nic_probe() 2209 val = XG_LINK_STATE_P3(adapter->ahw.pci_func, val); in netxen_nic_handle_phy_intr()
|