Searched refs:enable_cnt (Results 1 – 16 of 16) sorted by relevance
512 int *enable_cnt);515 int *enable_cnt);
1235 int *enable_cnt) in rvu_npc_get_mcam_entry_alloc_info() argument1241 *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() argument1260 *enable_cnt = 0; in rvu_npc_get_mcam_counter_alloc_info()1266 (*enable_cnt)++; in rvu_npc_get_mcam_counter_alloc_info()
408 BUG_ON(atomic_read(&dev->enable_cnt)); in pcibios_disable_device()
704 if (atomic_dec_return(&dev->enable_cnt) >= 0) in pcibios_release_device()
607 a->pcid->enable_cnt.counter); in esas2r_kill_adapter()613 a->pcid->enable_cnt.counter); in esas2r_kill_adapter()
374 pcid->enable_cnt.counter); in esas2r_probe()388 pcid->enable_cnt.counter); in esas2r_probe()
1889 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()
296 return sprintf(buf, "%u\n", atomic_read(&pdev->enable_cnt)); in enable_show()
451 atomic_t enable_cnt; /* pci_enable_device has been called */ member1177 return (atomic_read(&pdev->enable_cnt) > 0); in pci_is_enabled()
849 if (atomic_read(&dev->enable_cnt) == 0) in is_error_source()
295 if (atomic_read(&pdev->enable_cnt) == 1) in qed_free_pci()331 if (atomic_read(&pdev->enable_cnt) == 1) { in qed_init_pci()
3571 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()
13141 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()
3185 if (atomic_read(&bp->pdev->enable_cnt) != 1) in bnx2x_set_power_state()
3805 if (!atomic_read(&pdev->enable_cnt)) in qedf_remove()
8917 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()