Symbol: pci_func
drivers/edac/amd64_edac.c
1737
unsigned int pci_func;
drivers/edac/amd64_edac.c
1762
pci_func = PCI_DEVICE_ID_AMD_15H_M60H_NB_F1;
drivers/edac/amd64_edac.c
1764
pci_func = PCI_DEVICE_ID_AMD_15H_M30H_NB_F1;
drivers/edac/amd64_edac.c
1766
pci_func = PCI_DEVICE_ID_AMD_15H_NB_F1;
drivers/edac/amd64_edac.c
1768
f1 = pci_get_related_function(nb->misc->vendor, pci_func, nb->misc);
drivers/media/pci/netup_unidvb/netup_unidvb.h
106
int pci_func;
drivers/media/pci/netup_unidvb/netup_unidvb_core.c
826
ndev->pci_func = PCI_FUNC(pci_dev->devfn);
drivers/media/pci/netup_unidvb/netup_unidvb_spi.c
209
ndev->pci_func);
drivers/net/ethernet/brocade/bna/bfa_ioc.h
224
#define bfa_ioc_pcifn(__ioc) ((__ioc)->pcidev.pci_func)
drivers/net/ethernet/brocade/bna/bfa_ioc.h
29
u8 pci_func;
drivers/net/ethernet/brocade/bna/bna_hw_defs.h
81
reg_offset[(_pcidev)->pci_func].fn_int_status;\
drivers/net/ethernet/brocade/bna/bna_hw_defs.h
83
reg_offset[(_pcidev)->pci_func].fn_int_mask;\
drivers/net/ethernet/brocade/bna/bnad.c
3643
pcidev_info.pci_func = PCI_FUNC(bnad->pcidev->devfn);
drivers/net/ethernet/qlogic/netxen/netxen_nic.h
584
u8 pci_func;
drivers/net/ethernet/qlogic/netxen/netxen_nic_ctx.c
39
signature = NX_CDRP_SIGNATURE_MAKE(adapter->ahw.pci_func,
drivers/net/ethernet/qlogic/netxen/netxen_nic_ethtool.c
132
u16 pcifn = adapter->ahw.pci_func;
drivers/net/ethernet/qlogic/netxen/netxen_nic_ethtool.c
361
val = XG_LINK_STATE_P3(adapter->ahw.pci_func, val);
drivers/net/ethernet/qlogic/netxen/netxen_nic_hw.c
1026
int pci_func = adapter->ahw.pci_func;
drivers/net/ethernet/qlogic/netxen/netxen_nic_hw.c
1029
(4 * ((pci_func/2) * 3)) + (4 * (pci_func & 1));
drivers/net/ethernet/qlogic/netxen/netxen_nic_hw.c
1034
if (pci_func & 1)
drivers/net/ethernet/qlogic/netxen/netxen_nic_hw.c
1051
u8 func = adapter->ahw.pci_func;
drivers/net/ethernet/qlogic/netxen/netxen_nic_hw.c
2129
writel(adapter->ahw.pci_func, (void __iomem *)(adapter->ahw.pci_base0 +
drivers/net/ethernet/qlogic/netxen/netxen_nic_main.c
1477
adapter->ahw.pci_func = pci_func_id;
drivers/net/ethernet/qlogic/netxen/netxen_nic_main.c
2198
val = XG_LINK_STATE_P3(adapter->ahw.pci_func, val);
drivers/net/ethernet/qlogic/netxen/netxen_nic_main.c
583
legacy_intrp = &legacy_intr[adapter->ahw.pci_func];
drivers/net/ethernet/qlogic/netxen/netxen_nic_main.c
631
value = msi_tgt_status[adapter->ahw.pci_func];
drivers/net/ethernet/qlogic/netxen/netxen_nic_main.c
711
int pci_func = adapter->ahw.pci_func;
drivers/net/ethernet/qlogic/netxen/netxen_nic_main.c
773
NETXEN_PCIX_PS_REG(PCIX_OCM_WINDOW_REG(pci_func)));
drivers/net/ethernet/qlogic/netxen/netxen_nic_main.c
777
NETXEN_PCIX_PS_REG(PCIE_MN_WINDOW_REG(pci_func)));
drivers/net/ethernet/qlogic/qlcnic/qlcnic.h
1187
__le16 pci_func;
drivers/net/ethernet/qlogic/qlcnic/qlcnic.h
1226
u16 pci_func;
drivers/net/ethernet/qlogic/qlcnic/qlcnic.h
1302
u8 pci_func;
drivers/net/ethernet/qlogic/qlcnic/qlcnic.h
1336
u8 pci_func;
drivers/net/ethernet/qlogic/qlcnic/qlcnic.h
1348
u8 pci_func;
drivers/net/ethernet/qlogic/qlcnic/qlcnic.h
1353
u8 pci_func;
drivers/net/ethernet/qlogic/qlcnic/qlcnic.h
1363
u8 pci_func;
drivers/net/ethernet/qlogic/qlcnic/qlcnic.h
477
u8 pci_func;
drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_hw.c
2394
cmd.req.arg[1] = (nic->pci_func << 16);
drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_hw.c
2430
if (func_id != ahw->pci_func) {
drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_hw.c
2434
cmd.req.arg[1] = ahw->pci_func << 16;
drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_hw.c
2444
npar_info->pci_func = cmd.rsp.arg[2] & 0xFFFF;
drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_hw.c
2569
cmd.req.arg[1] |= (adapter->ahw->pci_func << 8) | BIT_16;
drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_hw.c
289
QLC_83XX_CRB_WIN_FUNC(adapter->ahw->pci_func);
drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_hw.c
3218
u8 pci_func;
drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_hw.c
3225
pci_func = adapter->portnum;
drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_hw.c
3227
pci_func = ahw->pci_func;
drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_hw.c
3229
state = readl(ahw->pci_base0 + QLC_83XX_LINK_STATE(pci_func));
drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_hw.c
3230
if (!QLC_83xx_FUNC_VAL(state, pci_func)) {
drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_hw.c
394
if (adapter->ahw->pci_func >= QLC_MAX_LEGACY_FUNC_SUPP) {
drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_hw.c
396
ahw->pci_func);
drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_hw.c
4075
__func__, cmd->cmd_op, cmd->type, ahw->pci_func,
drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_hw.c
4140
__func__, cmd->cmd_op, cmd->type, ahw->pci_func,
drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_hw.c
472
if (QLC_83XX_INTX_FUNC(intr_val) != adapter->ahw->pci_func) {
drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_hw.c
484
if (QLC_83XX_INTX_FUNC(intr_val) != ahw->pci_func)
drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_hw.c
631
adapter->ahw->pci_func = (val >> 24) & 0xff;
drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_hw.c
641
addr = ahw->pci_base0 + QLC_83XX_SEM_LOCK_FUNC(ahw->pci_func);
drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_hw.c
647
ahw->pci_func);
drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_hw.c
661
addr = ahw->pci_base0 + QLC_83XX_SEM_UNLOCK_FUNC(ahw->pci_func);
drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_hw.c
776
ahw->pci_func);
drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_hw.c
842
__func__, opcode, cmd->type, ahw->pci_func, ahw->op_mode);
drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_hw.c
864
__func__, opcode, cmd->type, ahw->pci_func,
drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_hw.c
874
__func__, opcode, cmd_type, ahw->pci_func,
drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_hw.c
887
__func__, opcode, cmd_type, ahw->pci_func,
drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_init.c
2256
err = qlcnic_get_nic_info(adapter, &nic_info, ahw->pci_func);
drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_init.c
2577
if (ahw->pci_func == owner) {
drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_init.c
2596
if (ahw->pci_func == owner)
drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_init.c
798
if (adapter->ahw->pci_func == owner)
drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_init.c
960
if (ahw->pci_func == owner) {
drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_vnic.c
111
npar->pci_func, npar->active, npar->type,
drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_vnic.c
204
ahw->pci_func);
drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_vnic.c
51
id = ahw->pci_func;
drivers/net/ethernet/qlogic/qlcnic/qlcnic_ctx.c
1029
u8 enable_mirroring, u8 pci_func)
drivers/net/ethernet/qlogic/qlcnic/qlcnic_ctx.c
1044
arg1 |= pci_func << 8;
drivers/net/ethernet/qlogic/qlcnic/qlcnic_ctx.c
1056
pci_func, id);
drivers/net/ethernet/qlogic/qlcnic/qlcnic_ctx.c
1059
pci_func, id);
drivers/net/ethernet/qlogic/qlcnic/qlcnic_ctx.c
1080
(func != adapter->ahw->pci_func)) {
drivers/net/ethernet/qlogic/qlcnic/qlcnic_ctx.c
1219
if (qlcnic_get_port_stats(adapter, adapter->npars[i].pci_func,
drivers/net/ethernet/qlogic/qlcnic/qlcnic_ctx.c
1293
u8 pci_func = *arg1 >> 8;
drivers/net/ethernet/qlogic/qlcnic/qlcnic_ctx.c
1309
pci_func);
drivers/net/ethernet/qlogic/qlcnic/qlcnic_ctx.c
1312
pci_func);
drivers/net/ethernet/qlogic/qlcnic/qlcnic_ctx.c
1329
u8 pci_func;
drivers/net/ethernet/qlogic/qlcnic/qlcnic_ctx.c
1337
pci_func = esw_cfg->pci_func;
drivers/net/ethernet/qlogic/qlcnic/qlcnic_ctx.c
1338
index = qlcnic_is_valid_nic_func(adapter, pci_func);
drivers/net/ethernet/qlogic/qlcnic/qlcnic_ctx.c
1342
arg1 |= (pci_func << 8);
drivers/net/ethernet/qlogic/qlcnic/qlcnic_ctx.c
1347
arg1 |= (pci_func << 8);
drivers/net/ethernet/qlogic/qlcnic/qlcnic_ctx.c
1397
pci_func);
drivers/net/ethernet/qlogic/qlcnic/qlcnic_ctx.c
1400
pci_func);
drivers/net/ethernet/qlogic/qlcnic/qlcnic_ctx.c
1414
index = qlcnic_is_valid_nic_func(adapter, esw_cfg->pci_func);
drivers/net/ethernet/qlogic/qlcnic/qlcnic_ctx.c
1422
arg1 |= (esw_cfg->pci_func << 8);
drivers/net/ethernet/qlogic/qlcnic/qlcnic_ctx.c
47
return (ahw->pci_func & 0xff) | ((ahw->fw_hal_version & 0xff) << 8) |
drivers/net/ethernet/qlogic/qlcnic/qlcnic_ctx.c
883
npar_info->pci_func = le16_to_cpu(nic_info->pci_func);
drivers/net/ethernet/qlogic/qlcnic/qlcnic_ctx.c
924
nic_info->pci_func = cpu_to_le16(nic->pci_func);
drivers/net/ethernet/qlogic/qlcnic/qlcnic_ctx.c
941
cmd.req.arg[3] = ((nic->pci_func << 16) | nic_size);
drivers/net/ethernet/qlogic/qlcnic/qlcnic_ethtool.c
1386
ret = qlcnic_get_port_stats(adapter, adapter->ahw->pci_func,
drivers/net/ethernet/qlogic/qlcnic/qlcnic_ethtool.c
1392
ret = qlcnic_get_port_stats(adapter, adapter->ahw->pci_func,
drivers/net/ethernet/qlogic/qlcnic/qlcnic_ethtool.c
293
u16 pcifn = ahw->pci_func;
drivers/net/ethernet/qlogic/qlcnic/qlcnic_ethtool.c
603
val = XG_LINK_STATE_P3P(adapter->ahw->pci_func, val);
drivers/net/ethernet/qlogic/qlcnic/qlcnic_ethtool.c
998
cmd.req.arg[1] = ahw->pci_func;
drivers/net/ethernet/qlogic/qlcnic/qlcnic_hw.c
1599
adapter->ahw->pci_func = func;
drivers/net/ethernet/qlogic/qlcnic/qlcnic_main.c
1034
adapter->npars[j].pci_func = pfn;
drivers/net/ethernet/qlogic/qlcnic/qlcnic_main.c
1080
id = ahw->pci_func;
drivers/net/ethernet/qlogic/qlcnic/qlcnic_main.c
1107
priv_level = QLC_DEV_GET_DRV(op_mode, adapter->ahw->pci_func);
drivers/net/ethernet/qlogic/qlcnic/qlcnic_main.c
1167
offset = QLCNIC_PCIX_PS_REG(PCIX_OCM_WINDOW_REG(ahw->pci_func));
drivers/net/ethernet/qlogic/qlcnic/qlcnic_main.c
1283
err = qlcnic_get_nic_info(adapter, &nic_info, adapter->ahw->pci_func);
drivers/net/ethernet/qlogic/qlcnic/qlcnic_main.c
1404
esw_cfg.pci_func = adapter->ahw->pci_func;
drivers/net/ethernet/qlogic/qlcnic/qlcnic_main.c
1442
priv_level = QLC_DEV_GET_DRV(op_mode, adapter->ahw->pci_func);
drivers/net/ethernet/qlogic/qlcnic/qlcnic_main.c
1447
priv_level = QLC_DEV_GET_DRV(op_mode, adapter->ahw->pci_func);
drivers/net/ethernet/qlogic/qlcnic/qlcnic_main.c
1489
esw_cfg.pci_func = adapter->npars[i].pci_func;
drivers/net/ethernet/qlogic/qlcnic/qlcnic_main.c
1514
struct qlcnic_npar_info *npar, int pci_func)
drivers/net/ethernet/qlogic/qlcnic/qlcnic_main.c
1518
esw_cfg.pci_func = pci_func;
drivers/net/ethernet/qlogic/qlcnic/qlcnic_main.c
1540
u8 pci_func;
drivers/net/ethernet/qlogic/qlcnic/qlcnic_main.c
1549
pci_func = npar->pci_func;
drivers/net/ethernet/qlogic/qlcnic/qlcnic_main.c
1554
err = qlcnic_get_nic_info(adapter, &nic_info, pci_func);
drivers/net/ethernet/qlogic/qlcnic/qlcnic_main.c
1566
pci_func);
drivers/net/ethernet/qlogic/qlcnic/qlcnic_main.c
1570
err = qlcnic_reset_eswitch_config(adapter, npar, pci_func);
drivers/net/ethernet/qlogic/qlcnic/qlcnic_main.c
2513
adapter->portnum = adapter->ahw->pci_func;
drivers/net/ethernet/qlogic/qlcnic/qlcnic_main.c
2545
adapter->portnum = adapter->ahw->pci_func;
drivers/net/ethernet/qlogic/qlcnic/qlcnic_main.c
302
adapter->ahw->pci_func);
drivers/net/ethernet/qlogic/qlcnic/qlcnic_main.c
3233
active_mask = (~(1 << (ahw->pci_func * 4)));
drivers/net/ethernet/qlogic/qlcnic/qlcnic_main.c
826
offset = msi_tgt_status[adapter->ahw->pci_func];
drivers/net/ethernet/qlogic/qlcnic/qlcnic_main.c
837
legacy_intrp = &legacy_intr[adapter->ahw->pci_func];
drivers/net/ethernet/qlogic/qlcnic/qlcnic_minidump.c
1345
ocm_window = hdr_83xx->ocm_wnd_reg[ahw->pci_func];
drivers/net/ethernet/qlogic/qlcnic/qlcnic_minidump.c
1347
hdr_83xx->saved_state[QLC_83XX_PCI_INDEX] = ahw->pci_func;
drivers/net/ethernet/qlogic/qlcnic/qlcnic_minidump.c
575
adapter->ahw->pci_func);
drivers/net/ethernet/qlogic/qlcnic/qlcnic_minidump.c
810
temp |= (adapter->ahw->pci_func & 0xf) << 4;
drivers/net/ethernet/qlogic/qlcnic/qlcnic_sriov.h
138
u8 pci_func;
drivers/net/ethernet/qlogic/qlcnic/qlcnic_sriov_common.c
1008
struct qlcnic_bc_trans *trans, int pci_func)
drivers/net/ethernet/qlogic/qlcnic/qlcnic_sriov_common.c
1011
int err, index = qlcnic_sriov_func_to_index(adapter, pci_func);
drivers/net/ethernet/qlogic/qlcnic/qlcnic_sriov_common.c
1018
trans->func_id = pci_func;
drivers/net/ethernet/qlogic/qlcnic/qlcnic_sriov_common.c
1244
trans->func_id = vf->pci_func;
drivers/net/ethernet/qlogic/qlcnic/qlcnic_sriov_common.c
1303
u8 pci_func;
drivers/net/ethernet/qlogic/qlcnic/qlcnic_sriov_common.c
1306
pci_func = qlcnic_sriov_target_func_id(event);
drivers/net/ethernet/qlogic/qlcnic/qlcnic_sriov_common.c
1307
index = qlcnic_sriov_func_to_index(adapter, pci_func);
drivers/net/ethernet/qlogic/qlcnic/qlcnic_sriov_common.c
1313
vf->pci_func = pci_func;
drivers/net/ethernet/qlogic/qlcnic/qlcnic_sriov_common.c
1383
u8 func = ahw->pci_func;
drivers/net/ethernet/qlogic/qlcnic/qlcnic_sriov_common.c
1747
u8 func = ahw->pci_func;
drivers/net/ethernet/qlogic/qlcnic/qlcnic_sriov_common.c
1777
u8 func = ahw->pci_func;
drivers/net/ethernet/qlogic/qlcnic/qlcnic_sriov_common.c
1879
u8 func = adapter->ahw->pci_func;
drivers/net/ethernet/qlogic/qlcnic/qlcnic_sriov_common.c
191
vf->pci_func = qlcnic_sriov_virtid_fn(adapter, i);
drivers/net/ethernet/qlogic/qlcnic/qlcnic_sriov_common.c
311
u32 *pay, u8 pci_func, u8 size)
drivers/net/ethernet/qlogic/qlcnic/qlcnic_sriov_common.c
323
cmd.func_num = pci_func;
drivers/net/ethernet/qlogic/qlcnic/qlcnic_sriov_common.c
331
__func__, cmd.cmd_op, cmd.type, ahw->pci_func,
drivers/net/ethernet/qlogic/qlcnic/qlcnic_sriov_common.c
339
__func__, cmd.cmd_op, cmd.type, ahw->pci_func,
drivers/net/ethernet/qlogic/qlcnic/qlcnic_sriov_common.c
511
err = qlcnic_get_nic_info(adapter, &nic_info, ahw->pci_func);
drivers/net/ethernet/qlogic/qlcnic/qlcnic_sriov_common.c
683
int qlcnic_sriov_func_to_index(struct qlcnic_adapter *adapter, u8 pci_func)
drivers/net/ethernet/qlogic/qlcnic/qlcnic_sriov_common.c
692
if (vf_info[i].pci_func == pci_func)
drivers/net/ethernet/qlogic/qlcnic/qlcnic_sriov_common.c
943
u8 pci_func = trans->func_id;
drivers/net/ethernet/qlogic/qlcnic/qlcnic_sriov_common.c
963
pci_func, pay_size);
drivers/net/ethernet/qlogic/qlcnic/qlcnic_sriov_pf.c
1082
if (((cmd->req.arg[1] >> 8) & 0xff) != vf->pci_func)
drivers/net/ethernet/qlogic/qlcnic/qlcnic_sriov_pf.c
1143
if (((cmd->req.arg[1] >> 16) & 0x7fff) != vf->pci_func)
drivers/net/ethernet/qlogic/qlcnic/qlcnic_sriov_pf.c
1531
adapter->ahw->pci_func);
drivers/net/ethernet/qlogic/qlcnic/qlcnic_sriov_pf.c
1541
adapter->ahw->pci_func);
drivers/net/ethernet/qlogic/qlcnic/qlcnic_sriov_pf.c
1551
adapter->ahw->pci_func);
drivers/net/ethernet/qlogic/qlcnic/qlcnic_sriov_pf.c
1561
adapter->ahw->pci_func);
drivers/net/ethernet/qlogic/qlcnic/qlcnic_sriov_pf.c
1571
adapter->ahw->pci_func);
drivers/net/ethernet/qlogic/qlcnic/qlcnic_sriov_pf.c
1581
adapter->ahw->pci_func);
drivers/net/ethernet/qlogic/qlcnic/qlcnic_sriov_pf.c
1591
adapter->ahw->pci_func);
drivers/net/ethernet/qlogic/qlcnic/qlcnic_sriov_pf.c
1607
vpid = qlcnic_sriov_pf_get_vport_handle(adapter, vf->pci_func);
drivers/net/ethernet/qlogic/qlcnic/qlcnic_sriov_pf.c
1613
vf->pci_func);
drivers/net/ethernet/qlogic/qlcnic/qlcnic_sriov_pf.c
1633
vpid = qlcnic_sriov_pf_get_vport_handle(adapter, vf->pci_func);
drivers/net/ethernet/qlogic/qlcnic/qlcnic_sriov_pf.c
1639
vf->pci_func);
drivers/net/ethernet/qlogic/qlcnic/qlcnic_sriov_pf.c
1675
qlcnic_sriov_pf_config_vport(adapter, 0, vf->pci_func);
drivers/net/ethernet/qlogic/qlcnic/qlcnic_sriov_pf.c
1718
vf->pci_func);
drivers/net/ethernet/qlogic/qlcnic/qlcnic_sriov_pf.c
1750
vf->pci_func);
drivers/net/ethernet/qlogic/qlcnic/qlcnic_sriov_pf.c
1759
netdev_info(dev, "FLR received for PCI func %d\n", vf->pci_func);
drivers/net/ethernet/qlogic/qlcnic/qlcnic_sriov_pf.c
1779
qlcnic_sriov_pf_reset_vport_handle(adapter, ahw->pci_func);
drivers/net/ethernet/qlogic/qlcnic/qlcnic_sriov_pf.c
239
if (adapter->ahw->pci_func == func) {
drivers/net/ethernet/qlogic/qlcnic/qlcnic_sriov_pf.c
257
if (adapter->ahw->pci_func == func) {
drivers/net/ethernet/qlogic/qlcnic/qlcnic_sriov_pf.c
275
if (adapter->ahw->pci_func == func) {
drivers/net/ethernet/qlogic/qlcnic/qlcnic_sriov_pf.c
435
u8 func = adapter->ahw->pci_func;
drivers/net/ethernet/qlogic/qlcnic/qlcnic_sriov_pf.c
508
u8 func = ahw->pci_func;
drivers/net/ethernet/qlogic/qlcnic/qlcnic_sriov_pf.c
747
u16 func = vf->pci_func;
drivers/net/ethernet/qlogic/qlcnic/qlcnic_sriov_pf.c
811
vpid = qlcnic_sriov_pf_get_vport_handle(adapter, vf->pci_func);
drivers/net/ethernet/qlogic/qlcnic/qlcnic_sriov_pf.c
91
if (adapter->ahw->pci_func == func) {
drivers/net/ethernet/qlogic/qlcnic/qlcnic_sysfs.c
356
int qlcnic_is_valid_nic_func(struct qlcnic_adapter *adapter, u8 pci_func)
drivers/net/ethernet/qlogic/qlcnic/qlcnic_sysfs.c
361
if (adapter->npars[i].pci_func == pci_func)
drivers/net/ethernet/qlogic/qlcnic/qlcnic_sysfs.c
377
src_pci_func = pm_cfg[i].pci_func;
drivers/net/ethernet/qlogic/qlcnic/qlcnic_sysfs.c
406
u32 id, action, pci_func;
drivers/net/ethernet/qlogic/qlcnic/qlcnic_sysfs.c
421
pci_func = pm_cfg[i].pci_func;
drivers/net/ethernet/qlogic/qlcnic/qlcnic_sysfs.c
423
index = qlcnic_is_valid_nic_func(adapter, pci_func);
drivers/net/ethernet/qlogic/qlcnic/qlcnic_sysfs.c
429
action, pci_func);
drivers/net/ethernet/qlogic/qlcnic/qlcnic_sysfs.c
435
pci_func = pm_cfg[i].pci_func;
drivers/net/ethernet/qlogic/qlcnic/qlcnic_sysfs.c
436
index = qlcnic_is_valid_nic_func(adapter, pci_func);
drivers/net/ethernet/qlogic/qlcnic/qlcnic_sysfs.c
456
u8 pci_func;
drivers/net/ethernet/qlogic/qlcnic/qlcnic_sysfs.c
464
pci_func = adapter->npars[i].pci_func;
drivers/net/ethernet/qlogic/qlcnic/qlcnic_sysfs.c
465
if (pci_func >= count) {
drivers/net/ethernet/qlogic/qlcnic/qlcnic_sysfs.c
473
pm_cfg[pci_func].action = adapter->npars[i].enable_pm;
drivers/net/ethernet/qlogic/qlcnic/qlcnic_sysfs.c
474
pm_cfg[pci_func].dest_npar = 0;
drivers/net/ethernet/qlogic/qlcnic/qlcnic_sysfs.c
475
pm_cfg[pci_func].pci_func = i;
drivers/net/ethernet/qlogic/qlcnic/qlcnic_sysfs.c
487
u8 pci_func;
drivers/net/ethernet/qlogic/qlcnic/qlcnic_sysfs.c
495
pci_func = esw_cfg[i].pci_func;
drivers/net/ethernet/qlogic/qlcnic/qlcnic_sysfs.c
496
if (pci_func >= ahw->max_vnic_func)
drivers/net/ethernet/qlogic/qlcnic/qlcnic_sysfs.c
500
if (qlcnic_is_valid_nic_func(adapter, pci_func) < 0)
drivers/net/ethernet/qlogic/qlcnic/qlcnic_sysfs.c
506
ret = QLC_DEV_GET_DRV(op_mode, pci_func);
drivers/net/ethernet/qlogic/qlcnic/qlcnic_sysfs.c
509
pci_func);
drivers/net/ethernet/qlogic/qlcnic/qlcnic_sysfs.c
552
u8 op_mode = 0, pci_func;
drivers/net/ethernet/qlogic/qlcnic/qlcnic_sysfs.c
570
if (adapter->ahw->pci_func != esw_cfg[i].pci_func)
drivers/net/ethernet/qlogic/qlcnic/qlcnic_sysfs.c
576
esw_cfg[i].pci_func = adapter->ahw->pci_func;
drivers/net/ethernet/qlogic/qlcnic/qlcnic_sysfs.c
599
pci_func = esw_cfg[i].pci_func;
drivers/net/ethernet/qlogic/qlcnic/qlcnic_sysfs.c
600
index = qlcnic_is_valid_nic_func(adapter, pci_func);
drivers/net/ethernet/qlogic/qlcnic/qlcnic_sysfs.c
633
u8 pci_func;
drivers/net/ethernet/qlogic/qlcnic/qlcnic_sysfs.c
641
pci_func = adapter->npars[i].pci_func;
drivers/net/ethernet/qlogic/qlcnic/qlcnic_sysfs.c
642
if (pci_func >= count) {
drivers/net/ethernet/qlogic/qlcnic/qlcnic_sysfs.c
650
esw_cfg[pci_func].pci_func = pci_func;
drivers/net/ethernet/qlogic/qlcnic/qlcnic_sysfs.c
651
if (qlcnic_get_eswitch_port_config(adapter, &esw_cfg[pci_func]))
drivers/net/ethernet/qlogic/qlcnic/qlcnic_sysfs.c
662
u8 pci_func, i;
drivers/net/ethernet/qlogic/qlcnic/qlcnic_sysfs.c
665
pci_func = np_cfg[i].pci_func;
drivers/net/ethernet/qlogic/qlcnic/qlcnic_sysfs.c
666
if (qlcnic_is_valid_nic_func(adapter, pci_func) < 0)
drivers/net/ethernet/qlogic/qlcnic/qlcnic_sysfs.c
687
u8 pci_func;
drivers/net/ethernet/qlogic/qlcnic/qlcnic_sysfs.c
701
pci_func = np_cfg[i].pci_func;
drivers/net/ethernet/qlogic/qlcnic/qlcnic_sysfs.c
704
ret = qlcnic_get_nic_info(adapter, &nic_info, pci_func);
drivers/net/ethernet/qlogic/qlcnic/qlcnic_sysfs.c
707
nic_info.pci_func = pci_func;
drivers/net/ethernet/qlogic/qlcnic/qlcnic_sysfs.c
713
index = qlcnic_is_valid_nic_func(adapter, pci_func);
drivers/net/ethernet/qlogic/qlcnic/qlcnic_sysfs.c
733
u8 pci_func;
drivers/net/ethernet/qlogic/qlcnic/qlcnic_sysfs.c
743
if (adapter->npars[i].pci_func >= count) {
drivers/net/ethernet/qlogic/qlcnic/qlcnic_sysfs.c
750
pci_func = adapter->npars[i].pci_func;
drivers/net/ethernet/qlogic/qlcnic/qlcnic_sysfs.c
751
if (qlcnic_is_valid_nic_func(adapter, pci_func) < 0)
drivers/net/ethernet/qlogic/qlcnic/qlcnic_sysfs.c
753
ret = qlcnic_get_nic_info(adapter, &nic_info, pci_func);
drivers/net/ethernet/qlogic/qlcnic/qlcnic_sysfs.c
757
np_cfg[pci_func].pci_func = pci_func;
drivers/net/ethernet/qlogic/qlcnic/qlcnic_sysfs.c
758
np_cfg[pci_func].op_mode = (u8)nic_info.op_mode;
drivers/net/ethernet/qlogic/qlcnic/qlcnic_sysfs.c
759
np_cfg[pci_func].port_num = nic_info.phys_port;
drivers/net/ethernet/qlogic/qlcnic/qlcnic_sysfs.c
760
np_cfg[pci_func].fw_capab = nic_info.capabilities;
drivers/net/ethernet/qlogic/qlcnic/qlcnic_sysfs.c
761
np_cfg[pci_func].min_bw = nic_info.min_tx_bw;
drivers/net/ethernet/qlogic/qlcnic/qlcnic_sysfs.c
762
np_cfg[pci_func].max_bw = nic_info.max_tx_bw;
drivers/net/ethernet/qlogic/qlcnic/qlcnic_sysfs.c
763
np_cfg[pci_func].max_tx_queues = nic_info.max_tx_ques;
drivers/net/ethernet/qlogic/qlcnic/qlcnic_sysfs.c
764
np_cfg[pci_func].max_rx_queues = nic_info.max_rx_ques;
drivers/net/ethernet/qlogic/qlcnic/qlcnic_sysfs.c
926
pci_cfg[i].pci_func = pci_info[i].id;
drivers/pci/hotplug/cpqphp.h
226
struct pci_func *next;
drivers/pci/hotplug/cpqphp.h
405
struct pci_func *cpqhp_slot_create(unsigned char busnumber);
drivers/pci/hotplug/cpqphp.h
406
struct pci_func *cpqhp_slot_find(unsigned char bus, unsigned char device,
drivers/pci/hotplug/cpqphp.h
408
int cpqhp_process_SI(struct controller *ctrl, struct pci_func *func);
drivers/pci/hotplug/cpqphp.h
409
int cpqhp_process_SS(struct controller *ctrl, struct pci_func *func);
drivers/pci/hotplug/cpqphp.h
420
int cpqhp_save_base_addr_length(struct controller *ctrl, struct pci_func *func);
drivers/pci/hotplug/cpqphp.h
421
int cpqhp_save_used_resources(struct controller *ctrl, struct pci_func *func);
drivers/pci/hotplug/cpqphp.h
422
int cpqhp_configure_board(struct controller *ctrl, struct pci_func *func);
drivers/pci/hotplug/cpqphp.h
423
int cpqhp_save_slot_config(struct controller *ctrl, struct pci_func *new_slot);
drivers/pci/hotplug/cpqphp.h
424
int cpqhp_valid_replace(struct controller *ctrl, struct pci_func *func);
drivers/pci/hotplug/cpqphp.h
425
void cpqhp_destroy_board_resources(struct pci_func *func);
drivers/pci/hotplug/cpqphp.h
426
int cpqhp_return_board_resources(struct pci_func *func,
drivers/pci/hotplug/cpqphp.h
429
int cpqhp_configure_device(struct controller *ctrl, struct pci_func *func);
drivers/pci/hotplug/cpqphp.h
430
int cpqhp_unconfigure_device(struct pci_func *func);
drivers/pci/hotplug/cpqphp.h
436
extern struct pci_func *cpqhp_slot_list[256];
drivers/pci/hotplug/cpqphp_core.c
1248
struct pci_func *next;
drivers/pci/hotplug/cpqphp_core.c
1249
struct pci_func *TempSlot;
drivers/pci/hotplug/cpqphp_core.c
375
cpqhp_set_attention_status(struct controller *ctrl, struct pci_func *func,
drivers/pci/hotplug/cpqphp_core.c
39
struct pci_func *cpqhp_slot_list[256];
drivers/pci/hotplug/cpqphp_core.c
417
struct pci_func *slot_func;
drivers/pci/hotplug/cpqphp_core.c
444
struct pci_func *slot_func;
drivers/pci/hotplug/cpqphp_core.c
476
struct pci_func *slot_func;
drivers/pci/hotplug/cpqphp_core.c
766
struct pci_func *func;
drivers/pci/hotplug/cpqphp_ctrl.c
1020
static int bridge_slot_remove(struct pci_func *bridge)
drivers/pci/hotplug/cpqphp_ctrl.c
1024
struct pci_func *next;
drivers/pci/hotplug/cpqphp_ctrl.c
1066
struct pci_func *cpqhp_slot_find(u8 bus, u8 device, u8 index)
drivers/pci/hotplug/cpqphp_ctrl.c
1069
struct pci_func *func;
drivers/pci/hotplug/cpqphp_ctrl.c
1095
static int is_bridge(struct pci_func *func)
drivers/pci/hotplug/cpqphp_ctrl.c
1253
static u32 board_replaced(struct pci_func *func, struct controller *ctrl)
drivers/pci/hotplug/cpqphp_ctrl.c
133
struct pci_func *func;
drivers/pci/hotplug/cpqphp_ctrl.c
1404
static u32 board_added(struct pci_func *func, struct controller *ctrl)
drivers/pci/hotplug/cpqphp_ctrl.c
1412
struct pci_func *new_slot = NULL;
drivers/pci/hotplug/cpqphp_ctrl.c
1608
static u32 remove_board(struct pci_func *func, u32 replace_flag, struct controller *ctrl)
drivers/pci/hotplug/cpqphp_ctrl.c
1616
struct pci_func *temp_func;
drivers/pci/hotplug/cpqphp_ctrl.c
1769
struct pci_func *func;
drivers/pci/hotplug/cpqphp_ctrl.c
1885
struct pci_func *func;
drivers/pci/hotplug/cpqphp_ctrl.c
1941
int cpqhp_process_SI(struct controller *ctrl, struct pci_func *func)
drivers/pci/hotplug/cpqphp_ctrl.c
2028
int cpqhp_process_SS(struct controller *ctrl, struct pci_func *func)
drivers/pci/hotplug/cpqphp_ctrl.c
2210
static u32 configure_new_device(struct controller *ctrl, struct pci_func *func,
drivers/pci/hotplug/cpqphp_ctrl.c
2216
struct pci_func *new_slot;
drivers/pci/hotplug/cpqphp_ctrl.c
225
struct pci_func *func;
drivers/pci/hotplug/cpqphp_ctrl.c
2306
static int configure_new_function(struct controller *ctrl, struct pci_func *func,
drivers/pci/hotplug/cpqphp_ctrl.c
2332
struct pci_func *new_slot;
drivers/pci/hotplug/cpqphp_ctrl.c
28
static u32 configure_new_device(struct controller *ctrl, struct pci_func *func,
drivers/pci/hotplug/cpqphp_ctrl.c
30
static int configure_new_function(struct controller *ctrl, struct pci_func *func,
drivers/pci/hotplug/cpqphp_ctrl.c
58
struct pci_func *func;
drivers/pci/hotplug/cpqphp_ctrl.c
953
struct pci_func *cpqhp_slot_create(u8 busnumber)
drivers/pci/hotplug/cpqphp_ctrl.c
955
struct pci_func *new_slot;
drivers/pci/hotplug/cpqphp_ctrl.c
956
struct pci_func *next;
drivers/pci/hotplug/cpqphp_ctrl.c
983
static int slot_remove(struct pci_func *old_slot)
drivers/pci/hotplug/cpqphp_ctrl.c
985
struct pci_func *next;
drivers/pci/hotplug/cpqphp_pci.c
1013
int cpqhp_valid_replace(struct controller *ctrl, struct pci_func *func)
drivers/pci/hotplug/cpqphp_pci.c
1022
struct pci_func *next;
drivers/pci/hotplug/cpqphp_pci.c
1162
struct pci_func *func = NULL;
drivers/pci/hotplug/cpqphp_pci.c
117
int cpqhp_unconfigure_device(struct pci_func *func)
drivers/pci/hotplug/cpqphp_pci.c
1405
int cpqhp_return_board_resources(struct pci_func *func, struct resource_lists *resources)
drivers/pci/hotplug/cpqphp_pci.c
1508
void cpqhp_destroy_board_resources(struct pci_func *func)
drivers/pci/hotplug/cpqphp_pci.c
297
struct pci_func *new_slot;
drivers/pci/hotplug/cpqphp_pci.c
457
int cpqhp_save_slot_config(struct controller *ctrl, struct pci_func *new_slot)
drivers/pci/hotplug/cpqphp_pci.c
541
int cpqhp_save_base_addr_length(struct controller *ctrl, struct pci_func *func)
drivers/pci/hotplug/cpqphp_pci.c
551
struct pci_func *next;
drivers/pci/hotplug/cpqphp_pci.c
678
int cpqhp_save_used_resources(struct controller *ctrl, struct pci_func *func)
drivers/pci/hotplug/cpqphp_pci.c
73
int cpqhp_configure_device(struct controller *ctrl, struct pci_func *func)
drivers/pci/hotplug/cpqphp_pci.c
935
int cpqhp_configure_board(struct controller *ctrl, struct pci_func *func)
drivers/pci/hotplug/cpqphp_pci.c
941
struct pci_func *next;
drivers/pci/hotplug/cpqphp_sysfs.c
71
struct pci_func *new_slot;
drivers/pci/hotplug/ibmphp.h
683
struct pci_func *next;
drivers/pci/hotplug/ibmphp.h
701
struct pci_func *func;
drivers/pci/hotplug/ibmphp.h
739
int ibmphp_configure_card(struct pci_func *, u8);
drivers/pci/hotplug/ibmphp_core.c
1096
slot_cur->func = kzalloc_obj(struct pci_func);
drivers/pci/hotplug/ibmphp_core.c
539
static struct pci_func *ibm_slot_find(u8 busno, u8 device, u8 function)
drivers/pci/hotplug/ibmphp_core.c
541
struct pci_func *func_cur;
drivers/pci/hotplug/ibmphp_core.c
587
static void ibm_unconfigure_device(struct pci_func *func)
drivers/pci/hotplug/ibmphp_core.c
660
static int ibm_configure_device(struct pci_func *func)
drivers/pci/hotplug/ibmphp_core.c
898
struct pci_func *tmp_func;
drivers/pci/hotplug/ibmphp_core.c
989
slot_cur->func = kzalloc_obj(struct pci_func);
drivers/pci/hotplug/ibmphp_pci.c
1046
static struct res_needed *scan_behind_bridge(struct pci_func *func, u8 busno)
drivers/pci/hotplug/ibmphp_pci.c
1537
struct pci_func *cur_func = NULL;
drivers/pci/hotplug/ibmphp_pci.c
1538
struct pci_func *temp_func;
drivers/pci/hotplug/ibmphp_pci.c
23
static int configure_device(struct pci_func *);
drivers/pci/hotplug/ibmphp_pci.c
24
static int configure_bridge(struct pci_func **, u8);
drivers/pci/hotplug/ibmphp_pci.c
25
static struct res_needed *scan_behind_bridge(struct pci_func *, u8);
drivers/pci/hotplug/ibmphp_pci.c
329
static int configure_device(struct pci_func *func)
drivers/pci/hotplug/ibmphp_pci.c
36
static void assign_alt_irq(struct pci_func *cur_func, u8 class_code)
drivers/pci/hotplug/ibmphp_pci.c
543
static int configure_bridge(struct pci_func **func_passed, u8 slotno)
drivers/pci/hotplug/ibmphp_pci.c
572
struct pci_func *func = *func_passed;
drivers/pci/hotplug/ibmphp_pci.c
67
int ibmphp_configure_card(struct pci_func *func, u8 slotno)
drivers/pci/hotplug/ibmphp_pci.c
74
struct pci_func *newfunc; /* for multi devices */
drivers/pci/hotplug/ibmphp_pci.c
75
struct pci_func *cur_func, *prev_func;
drivers/platform/x86/intel/pmc/arl.c
723
.pci_func = 0,
drivers/platform/x86/intel/pmc/arl.c
736
.pci_func = 2,
drivers/platform/x86/intel/pmc/core.c
1589
pcidev = pci_get_domain_bus_and_slot(0, 0, PCI_DEVFN(20, pmc_dev_info->pci_func));
drivers/platform/x86/intel/pmc/core.h
501
u8 pci_func;
drivers/platform/x86/intel/pmc/lnl.c
574
.pci_func = 2,
drivers/platform/x86/intel/pmc/mtl.c
997
.pci_func = 2,
drivers/platform/x86/intel/pmc/ptl.c
572
.pci_func = 2,
drivers/platform/x86/intel/pmc/wcl.c
496
.pci_func = 2,
drivers/scsi/bfa/bfa_ioc.h
151
u8 pci_func;
drivers/scsi/bfa/bfa_ioc.h
849
#define bfa_ioc_pcifn(__ioc) ((__ioc)->pcidev.pci_func)
drivers/scsi/bfa/bfad.c
752
bfad->hal_pcidev.pci_func = PCI_FUNC(pdev->devfn);
drivers/scsi/bnx2i/bnx2i.h
467
u16 pci_func;
drivers/scsi/bnx2i/bnx2i_hwi.c
2504
(u8)hba->pci_func);
drivers/scsi/bnx2i/bnx2i_iscsi.c
809
hba->pci_func = PCI_FUNC(hba->pcidev->devfn);
drivers/scsi/mpi3mr/mpi3mr_app.c
1639
adpinfo.pci_func = PCI_FUNC(mrioc->pdev->devfn);
drivers/scsi/qla4xxx/ql4_fw.h
980
uint32_t pci_func; /* 20-23 this PCI function */
include/uapi/scsi/scsi_bsg_mpi3mr.h
137
__u32 pci_func:3;