Home
last modified time | relevance | path

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

/linux-5.19.10/block/
Dblk-iolatency.c99 atomic_t enable_cnt; member
753 enabled = atomic_read(&blkiolat->enable_cnt); in blkiolatency_enable_work_fn()
807 if (atomic_inc_return(&blkiolat->enable_cnt) == 1) in iolatency_set_min_lat_nsec()
812 if (atomic_dec_return(&blkiolat->enable_cnt) == 0) in iolatency_set_min_lat_nsec()
/linux-5.19.10/drivers/net/ethernet/marvell/octeontx2/af/
Drvu.h786 int *enable_cnt);
789 int *enable_cnt);
Drvu_npc.c2090 int *enable_cnt) in rvu_npc_get_mcam_entry_alloc_info() argument
2096 *enable_cnt = 0; in rvu_npc_get_mcam_entry_alloc_info()
2102 (*enable_cnt)++; in rvu_npc_get_mcam_entry_alloc_info()
2109 int *enable_cnt) in rvu_npc_get_mcam_counter_alloc_info() argument
2115 *enable_cnt = 0; in rvu_npc_get_mcam_counter_alloc_info()
2121 (*enable_cnt)++; in rvu_npc_get_mcam_counter_alloc_info()
/linux-5.19.10/arch/ia64/pci/
Dpci.c408 BUG_ON(atomic_read(&dev->enable_cnt)); in pcibios_disable_device()
/linux-5.19.10/arch/x86/pci/
Dcommon.c712 if (atomic_dec_return(&dev->enable_cnt) >= 0) in pcibios_release_device()
/linux-5.19.10/drivers/scsi/esas2r/
Desas2r_init.c608 a->pcid->enable_cnt.counter); in esas2r_kill_adapter()
614 a->pcid->enable_cnt.counter); in esas2r_kill_adapter()
Desas2r_main.c372 pcid->enable_cnt.counter); in esas2r_probe()
386 pcid->enable_cnt.counter); in esas2r_probe()
/linux-5.19.10/drivers/pci/
Dpci.c1990 if (atomic_inc_return(&dev->enable_cnt) > 1) in pci_enable_device_flags()
2007 atomic_dec(&dev->enable_cnt); in pci_enable_device_flags()
2246 dev_WARN_ONCE(&dev->dev, atomic_read(&dev->enable_cnt) <= 0, in pci_disable_device()
2249 if (atomic_dec_return(&dev->enable_cnt) != 0) in pci_disable_device()
Dpci-sysfs.c326 return sysfs_emit(buf, "%u\n", atomic_read(&pdev->enable_cnt)); in enable_show()
/linux-5.19.10/include/linux/
Dpci.h466 atomic_t enable_cnt; /* pci_enable_device has been called */ member
1264 return (atomic_read(&pdev->enable_cnt) > 0); in pci_is_enabled()
/linux-5.19.10/drivers/pci/pcie/
Daer.c858 if (atomic_read(&dev->enable_cnt) == 0) in is_error_source()
/linux-5.19.10/drivers/net/ethernet/qlogic/qed/
Dqed_main.c268 if (atomic_read(&pdev->enable_cnt) == 1) in qed_free_pci()
304 if (atomic_read(&pdev->enable_cnt) == 1) { in qed_init_pci()
/linux-5.19.10/drivers/scsi/qla2xxx/
Dqla_os.c3658 if (!atomic_read(&pdev->enable_cnt)) in qla2x00_shutdown()
3822 if (!atomic_read(&pdev->enable_cnt)) { in qla2x00_remove_one()
6735 if (!atomic_read(&pdev->enable_cnt)) { in qla2x00_disable_board_on_pci_error()
7719 if (!atomic_read(&pdev->enable_cnt)) { in qla2xxx_pci_error_detected()
/linux-5.19.10/drivers/net/ethernet/broadcom/bnx2x/
Dbnx2x_main.c13090 if (atomic_read(&pdev->enable_cnt) == 1) { in bnx2x_init_dev()
13266 if (atomic_read(&pdev->enable_cnt) == 1) in bnx2x_init_dev()
14032 if (atomic_read(&pdev->enable_cnt) == 1) in bnx2x_init_one()
14124 if (atomic_read(&pdev->enable_cnt) == 1) in __bnx2x_remove()
Dbnx2x_cmn.c3191 if (atomic_read(&bp->pdev->enable_cnt) != 1) in bnx2x_set_power_state()
/linux-5.19.10/drivers/scsi/qedf/
Dqedf_main.c3826 if (!atomic_read(&pdev->enable_cnt)) in qedf_remove()
/linux-5.19.10/drivers/scsi/qla4xxx/
Dql4_os.c8904 if (atomic_read(&other_pdev->enable_cnt)) { in qla4xxx_prevent_other_port_reinit()
9676 if (atomic_read(&other_pdev->enable_cnt)) { in qla4_8xxx_error_recovery()