Home
last modified time | relevance | path

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

/linux-6.1.9/block/
Dblk-iolatency.c99 atomic_t enable_cnt; member
751 enabled = atomic_read(&blkiolat->enable_cnt); in blkiolatency_enable_work_fn()
806 if (atomic_inc_return(&blkiolat->enable_cnt) == 1) in iolatency_set_min_lat_nsec()
811 if (atomic_dec_return(&blkiolat->enable_cnt) == 0) in iolatency_set_min_lat_nsec()
/linux-6.1.9/drivers/net/ethernet/marvell/octeontx2/af/
Drvu.h817 int *enable_cnt);
820 int *enable_cnt);
Drvu_npc.c2115 int *enable_cnt) in rvu_npc_get_mcam_entry_alloc_info() argument
2121 *enable_cnt = 0; in rvu_npc_get_mcam_entry_alloc_info()
2127 (*enable_cnt)++; in rvu_npc_get_mcam_entry_alloc_info()
2134 int *enable_cnt) in rvu_npc_get_mcam_counter_alloc_info() argument
2140 *enable_cnt = 0; in rvu_npc_get_mcam_counter_alloc_info()
2146 (*enable_cnt)++; in rvu_npc_get_mcam_counter_alloc_info()
/linux-6.1.9/arch/ia64/pci/
Dpci.c408 BUG_ON(atomic_read(&dev->enable_cnt)); in pcibios_disable_device()
/linux-6.1.9/arch/x86/pci/
Dcommon.c712 if (atomic_dec_return(&dev->enable_cnt) >= 0) in pcibios_release_device()
/linux-6.1.9/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-6.1.9/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.c327 return sysfs_emit(buf, "%u\n", atomic_read(&pdev->enable_cnt)); in enable_show()
/linux-6.1.9/include/linux/
Dpci.h466 atomic_t enable_cnt; /* pci_enable_device has been called */ member
1265 return (atomic_read(&pdev->enable_cnt) > 0); in pci_is_enabled()
/linux-6.1.9/drivers/pci/pcie/
Daer.c863 if (atomic_read(&dev->enable_cnt) == 0) in is_error_source()
/linux-6.1.9/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-6.1.9/drivers/scsi/qla2xxx/
Dqla_os.c3688 if (!atomic_read(&pdev->enable_cnt)) in qla2x00_shutdown()
3852 if (!atomic_read(&pdev->enable_cnt)) { in qla2x00_remove_one()
6763 if (!atomic_read(&pdev->enable_cnt)) { in qla2x00_disable_board_on_pci_error()
7747 if (!atomic_read(&pdev->enable_cnt)) { in qla2xxx_pci_error_detected()
/linux-6.1.9/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.c3190 if (atomic_read(&bp->pdev->enable_cnt) != 1) in bnx2x_set_power_state()
/linux-6.1.9/drivers/scsi/qedf/
Dqedf_main.c3842 if (!atomic_read(&pdev->enable_cnt)) in qedf_remove()
/linux-6.1.9/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()