Home
last modified time | relevance | path

Searched refs:enable_cnt (Results 1 – 16 of 16) sorted by relevance

/Linux-v5.10/drivers/net/ethernet/marvell/octeontx2/af/
Drvu.h512 int *enable_cnt);
515 int *enable_cnt);
Drvu_npc.c1235 int *enable_cnt) in rvu_npc_get_mcam_entry_alloc_info() argument
1241 *enable_cnt = 0; in rvu_npc_get_mcam_entry_alloc_info()
1247 (*enable_cnt)++; in rvu_npc_get_mcam_entry_alloc_info()
1254 int *enable_cnt) in rvu_npc_get_mcam_counter_alloc_info() argument
1260 *enable_cnt = 0; in rvu_npc_get_mcam_counter_alloc_info()
1266 (*enable_cnt)++; in rvu_npc_get_mcam_counter_alloc_info()
/Linux-v5.10/arch/ia64/pci/
Dpci.c408 BUG_ON(atomic_read(&dev->enable_cnt)); in pcibios_disable_device()
/Linux-v5.10/arch/x86/pci/
Dcommon.c704 if (atomic_dec_return(&dev->enable_cnt) >= 0) in pcibios_release_device()
/Linux-v5.10/drivers/scsi/esas2r/
Desas2r_init.c607 a->pcid->enable_cnt.counter); in esas2r_kill_adapter()
613 a->pcid->enable_cnt.counter); in esas2r_kill_adapter()
Desas2r_main.c374 pcid->enable_cnt.counter); in esas2r_probe()
388 pcid->enable_cnt.counter); in esas2r_probe()
/Linux-v5.10/drivers/pci/
Dpci.c1889 if (atomic_inc_return(&dev->enable_cnt) > 1) in pci_enable_device_flags()
1906 atomic_dec(&dev->enable_cnt); in pci_enable_device_flags()
2150 dev_WARN_ONCE(&dev->dev, atomic_read(&dev->enable_cnt) <= 0, in pci_disable_device()
2153 if (atomic_dec_return(&dev->enable_cnt) != 0) in pci_disable_device()
Dpci-sysfs.c296 return sprintf(buf, "%u\n", atomic_read(&pdev->enable_cnt)); in enable_show()
/Linux-v5.10/include/linux/
Dpci.h451 atomic_t enable_cnt; /* pci_enable_device has been called */ member
1177 return (atomic_read(&pdev->enable_cnt) > 0); in pci_is_enabled()
/Linux-v5.10/drivers/pci/pcie/
Daer.c849 if (atomic_read(&dev->enable_cnt) == 0) in is_error_source()
/Linux-v5.10/drivers/net/ethernet/qlogic/qed/
Dqed_main.c295 if (atomic_read(&pdev->enable_cnt) == 1) in qed_free_pci()
331 if (atomic_read(&pdev->enable_cnt) == 1) { in qed_init_pci()
/Linux-v5.10/drivers/scsi/qla2xxx/
Dqla_os.c3571 if (!atomic_read(&pdev->enable_cnt)) in qla2x00_shutdown()
3736 if (!atomic_read(&pdev->enable_cnt)) { in qla2x00_remove_one()
6578 if (!atomic_read(&pdev->enable_cnt)) { in qla2x00_disable_board_on_pci_error()
7452 if (!atomic_read(&pdev->enable_cnt)) { in qla2xxx_pci_error_detected()
/Linux-v5.10/drivers/net/ethernet/broadcom/bnx2x/
Dbnx2x_main.c13141 if (atomic_read(&pdev->enable_cnt) == 1) { in bnx2x_init_dev()
13315 if (atomic_read(&pdev->enable_cnt) == 1) in bnx2x_init_dev()
14069 if (atomic_read(&pdev->enable_cnt) == 1) in bnx2x_init_one()
14161 if (atomic_read(&pdev->enable_cnt) == 1) in __bnx2x_remove()
Dbnx2x_cmn.c3185 if (atomic_read(&bp->pdev->enable_cnt) != 1) in bnx2x_set_power_state()
/Linux-v5.10/drivers/scsi/qedf/
Dqedf_main.c3805 if (!atomic_read(&pdev->enable_cnt)) in qedf_remove()
/Linux-v5.10/drivers/scsi/qla4xxx/
Dql4_os.c8917 if (atomic_read(&other_pdev->enable_cnt)) { in qla4xxx_prevent_other_port_reinit()
9689 if (atomic_read(&other_pdev->enable_cnt)) { in qla4_8xxx_error_recovery()