/drivers/staging/comedi/drivers/ |
H A D | icp_multi.h | 26 unsigned char pci_func; member in struct:pcilst_struct 57 unsigned char *pci_func, resource_size_t * io_addr, 94 inova->pci_func = PCI_FUNC(pcidev->devfn); 224 inova->pci_bus, inova->pci_slot, inova->pci_func, 237 unsigned char *pci_func, resource_size_t * io_addr, 246 *pci_func = inova->pci_func; 235 pci_card_data(struct pcilst_struct *inova, unsigned char *pci_bus, unsigned char *pci_slot, unsigned char *pci_func, resource_size_t * io_addr, unsigned int *irq) argument
|
H A D | adv_pci1723.c | 333 unsigned char pci_bus, pci_slot, pci_func; local 386 pci_func = PCI_FUNC(pcidev->devfn); 390 pci_bus, pci_slot, pci_func, iobase);
|
H A D | icp_multi.c | 925 unsigned char pci_bus, pci_slot, pci_func; local 959 if ((pci_card_data(card, &pci_bus, &pci_slot, &pci_func, &io_addr[0], 969 ", b:s:f=%d:%d:%d, io=0x%8llx \n", pci_bus, pci_slot, pci_func,
|
H A D | adv_pci1710.c | 1381 unsigned char pci_bus, pci_slot, pci_func; local 1447 pci_func = PCI_FUNC(pcidev->devfn); 1452 pci_func, iobase);
|
/drivers/staging/comedi/drivers/addi-data/ |
H A D | addi_amcc_s5933.h | 209 unsigned char pci_func; member in struct:pcilst_struct 242 unsigned char *pci_func, resource_size_t * io_addr, 276 amcc->pci_func = PCI_FUNC(pcidev->devfn); 406 amcc->pci_bus, amcc->pci_slot, amcc->pci_func, 419 unsigned char *pci_func, resource_size_t * io_addr, 428 *pci_func = amcc->pci_func; 417 i_pci_card_data(struct pcilst_struct *amcc, unsigned char *pci_bus, unsigned char *pci_slot, unsigned char *pci_func, resource_size_t * io_addr, unsigned int *irq) argument
|
H A D | amcc_s5933_58.h | 210 unsigned char pci_func; member in struct:pcilst_struct 239 unsigned char *pci_func, unsigned short *io_addr, 275 amcc->pci_func = PCI_FUNC(pcidev->devfn); 389 amcc->pci_bus, amcc->pci_slot, amcc->pci_func, 400 unsigned char *pci_func, unsigned short *io_addr, 409 *pci_func = amcc->pci_func; 398 i_pci_card_data(struct pcilst_struct *amcc, unsigned char *pci_bus, unsigned char *pci_slot, unsigned char *pci_func, unsigned short *io_addr, unsigned short *irq, unsigned short *master) argument
|
H A D | addi_common.c | 2610 unsigned char pci_bus, pci_slot, pci_func; local 2637 if ((i_pci_card_data(card, &pci_bus, &pci_slot, &pci_func, &io_addr[0], 2648 printk("\nBus %d: Slot %d: Funct%d\nBase0: 0x%8llx\nBase1: 0x%8llx\nBase2: 0x%8llx\nBase3: 0x%8llx\n", pci_bus, pci_slot, pci_func, (unsigned long long)io_addr[0], (unsigned long long)io_addr[1], (unsigned long long)io_addr[2], (unsigned long long)io_addr[3]);
|
/drivers/net/ethernet/qlogic/qlcnic/ |
H A D | qlcnic_ctx.c | 37 signature = QLCNIC_CDRP_SIGNATURE_MAKE(ahw->pci_func, 637 cmd.req.arg1 = adapter->ahw->pci_func | BIT_8; 681 npar_info->pci_func = le16_to_cpu(nic_info->pci_func); 732 nic_info->pci_func = cpu_to_le16(nic->pci_func); 747 cmd.req.arg3 = ((nic->pci_func << 16) | nic_size); 815 u8 enable_mirroring, u8 pci_func) 826 arg1 |= pci_func << 8; 837 pci_func, i 814 qlcnic_config_port_mirroring(struct qlcnic_adapter *adapter, u8 id, u8 enable_mirroring, u8 pci_func) argument 1005 u8 pci_func; local 1039 u8 pci_func; local [all...] |
H A D | qlcnic_main.c | 393 msi_tgt_status[adapter->ahw->pci_func]); 399 legacy_intrp = &legacy_intr[adapter->ahw->pci_func]; 526 id == adapter->ahw->pci_func) 533 data = (data & ~QLC_DEV_SET_DRV(0xf, adapter->ahw->pci_func)) | 535 adapter->ahw->pci_func)); 561 adapter->ahw->pci_func = func; 569 priv_level = QLC_DEV_GET_DRV(op_mode, adapter->ahw->pci_func); 615 adapter->ahw->pci_func))); 703 err = qlcnic_get_nic_info(adapter, &nic_info, adapter->ahw->pci_func); 783 esw_cfg.pci_func 907 qlcnic_reset_eswitch_config(struct qlcnic_adapter *adapter, struct qlcnic_npar_info *npar, int pci_func) argument 3778 u32 id, action, pci_func; local 3839 u8 pci_func; local 3891 u8 pci_func, op_mode = 0; local 3984 u8 pci_func, i; local 4010 u8 pci_func; local [all...] |
H A D | qlcnic.h | 454 u8 pci_func; member in struct:qlcnic_hardware_context 1062 __le16 pci_func; member in struct:qlcnic_info 1141 u8 pci_func; member in struct:qlcnic_pci_func_cfg 1153 u8 pci_func; member in struct:qlcnic_npar_func_cfg 1158 u8 pci_func; member in struct:qlcnic_pm_func_cfg 1168 u8 pci_func; member in struct:qlcnic_esw_func_cfg
|
H A D | qlcnic_ethtool.c | 381 val = XG_LINK_STATE_P3P(adapter->ahw->pci_func, val); 671 cmd.req.arg1 = adapter->ahw->pci_func; 918 ret = qlcnic_get_port_stats(adapter, adapter->ahw->pci_func, 925 ret = qlcnic_get_port_stats(adapter, adapter->ahw->pci_func,
|
/drivers/pci/hotplug/ |
H A D | cpqphp.h | 239 struct pci_func { struct 240 struct pci_func *next; 419 extern struct pci_func *cpqhp_slot_create(unsigned char busnumber); 420 extern struct pci_func *cpqhp_slot_find(unsigned char bus, unsigned char device, 422 extern int cpqhp_process_SI(struct controller *ctrl, struct pci_func *func); 423 extern int cpqhp_process_SS(struct controller *ctrl, struct pci_func *func); 436 struct pci_func *func); 438 struct pci_func *func); 440 struct pci_func *func); 442 struct pci_func *new_slo [all...] |
H A D | cpqphp_ctrl.c | 42 static u32 configure_new_device(struct controller* ctrl, struct pci_func *func, 44 static int configure_new_function(struct controller* ctrl, struct pci_func *func, 72 struct pci_func *func; 147 struct pci_func *func; 239 struct pci_func *func; 969 struct pci_func *cpqhp_slot_create(u8 busnumber) 971 struct pci_func *new_slot; 972 struct pci_func *next; 999 static int slot_remove(struct pci_func * old_slot) 1001 struct pci_func *nex [all...] |
H A D | cpqphp_pci.c | 84 int cpqhp_configure_device (struct controller* ctrl, struct pci_func* func) 120 int cpqhp_unconfigure_device(struct pci_func* func) 305 struct pci_func *new_slot; 462 int cpqhp_save_slot_config (struct controller *ctrl, struct pci_func * new_slot) 546 int cpqhp_save_base_addr_length(struct controller *ctrl, struct pci_func * func) 556 struct pci_func *next; 683 int cpqhp_save_used_resources (struct controller *ctrl, struct pci_func * func) 946 int cpqhp_configure_board(struct controller *ctrl, struct pci_func * func) 952 struct pci_func *next; 1024 int cpqhp_valid_replace(struct controller *ctrl, struct pci_func * fun [all...] |
H A D | cpqphp_core.c | 53 struct pci_func *cpqhp_slot_list[256]; 402 cpqhp_set_attention_status(struct controller *ctrl, struct pci_func *func, 444 struct pci_func *slot_func; 471 struct pci_func *slot_func; 503 struct pci_func *slot_func; 821 struct pci_func *func; 1305 struct pci_func *next; 1306 struct pci_func *TempSlot;
|
H A D | ibmphp_pci.c | 37 static int configure_device(struct pci_func *); 38 static int configure_bridge(struct pci_func **, u8); 39 static struct res_needed *scan_behind_bridge(struct pci_func *, u8); 50 static void assign_alt_irq (struct pci_func * cur_func, u8 class_code) 81 int ibmphp_configure_card (struct pci_func *func, u8 slotno) 88 struct pci_func *newfunc; /* for multi devices */ 89 struct pci_func *cur_func, *prev_func; 343 * Input: pointer to the pci_func 346 static int configure_device (struct pci_func *func) 561 * Parameters: pci_func [all...] |
H A D | ibmphp_core.c | 666 * This function will return the pci_func, given bus and devfunc, or NULL. It 670 static struct pci_func *ibm_slot_find(u8 busno, u8 device, u8 function) 672 struct pci_func *func_cur; 693 * the pointers to pci_func, bus, hotplug_slot, controller, 711 static void ibm_unconfigure_device(struct pci_func *func) 776 static int ibm_configure_device(struct pci_func *func) 1010 struct pci_func *tmp_func; 1104 slot_cur->func = kzalloc(sizeof(struct pci_func), GFP_KERNEL); 1214 slot_cur->func = kzalloc(sizeof(struct pci_func), GFP_KERNEL);
|
H A D | ibmphp.h | 691 struct pci_func { struct 699 struct pci_func *next; 717 struct pci_func *func; 755 extern int ibmphp_configure_card (struct pci_func *, u8);
|
H A D | cpqphp_sysfs.c | 85 struct pci_func *new_slot;
|
/drivers/firmware/ |
H A D | pcdp.h | 35 #define PCDP_UART_IRQ (1 << 6) /* in pci_func for rev < 3 */ 36 #define PCDP_UART_PCI (1 << 7) /* in pci_func for rev < 3 */ 46 u8 pci_func; member in struct:pcdp_uart
|
/drivers/net/ethernet/brocade/bna/ |
H A D | bfa_ioc.h | 38 u8 pci_func; member in struct:bfa_pcidev 237 #define bfa_ioc_pcifn(__ioc) ((__ioc)->pcidev.pci_func)
|
H A D | bna_hw_defs.h | 92 reg_offset[(_pcidev)->pci_func].fn_int_status;\ 94 reg_offset[(_pcidev)->pci_func].fn_int_mask;\
|
/drivers/net/ethernet/qlogic/netxen/ |
H A D | netxen_nic_main.c | 614 legacy_intrp = &legacy_intr[adapter->ahw.pci_func]; 660 msi_tgt_status[adapter->ahw.pci_func]); 701 int pci_func = adapter->ahw.pci_func; local 763 NETXEN_PCIX_PS_REG(PCIX_OCM_WINDOW_REG(pci_func))); 767 NETXEN_PCIX_PS_REG(PCIE_MN_WINDOW_REG(pci_func))); 1432 adapter->ahw.pci_func = pci_func_id; 2152 val = XG_LINK_STATE_P3(adapter->ahw.pci_func, val);
|
H A D | netxen_nic_hw.c | 1071 int pci_func = adapter->ahw.pci_func; local 1074 (4 * ((pci_func/2) * 3)) + (4 * (pci_func & 1)); 1079 if (pci_func & 1) 1096 u8 func = adapter->ahw.pci_func; 2174 writel(adapter->ahw.pci_func, (void __iomem *)(adapter->ahw.pci_base0 +
|
/drivers/scsi/bfa/ |
H A D | bfa_core.c | 787 int pci_func = bfa_ioc_pcifn(&bfa->ioc); local 789 bfa_trc(bfa, pci_func); 795 umsk |= pci_func == 0 ? 799 umsk |= pci_func == 0 ? __HFN_INT_FN0_MASK : __HFN_INT_FN1_MASK;
|