/linux-6.3-rc2/drivers/net/ethernet/hisilicon/hns/ |
A D | hns_dsaf_rcb.c | 42 int i, wait_cnt; in hns_rcb_wait_fbd_clean() local 45 for (wait_cnt = i = 0; i < q_num; wait_cnt++) { in hns_rcb_wait_fbd_clean() 56 if (wait_cnt >= 10000) in hns_rcb_wait_fbd_clean() 68 int wait_cnt; in hns_rcb_wait_tx_ring_clean() local 71 wait_cnt = 0; in hns_rcb_wait_tx_ring_clean() 72 while (wait_cnt++ < HNS_MAX_WAIT_CNT) { in hns_rcb_wait_tx_ring_clean() 80 if (wait_cnt >= HNS_MAX_WAIT_CNT) { in hns_rcb_wait_tx_ring_clean() 94 u32 wait_cnt; in hns_rcb_reset_ring_hw() local 113 wait_cnt = 0; in hns_rcb_reset_ring_hw() 114 while (!could_ret && (wait_cnt < RCB_RESET_WAIT_TIMES)) { in hns_rcb_reset_ring_hw() [all …]
|
A D | hns_dsaf_ppe.c | 277 int wait_cnt; in hns_ppe_wait_tx_fifo_clean() local 280 wait_cnt = 0; in hns_ppe_wait_tx_fifo_clean() 281 while (wait_cnt++ < HNS_MAX_WAIT_CNT) { in hns_ppe_wait_tx_fifo_clean() 289 if (wait_cnt >= HNS_MAX_WAIT_CNT) { in hns_ppe_wait_tx_fifo_clean()
|
A D | hns_dsaf_gmac.c | 311 int wait_cnt; in hns_gmac_wait_fifo_clean() local 314 wait_cnt = 0; in hns_gmac_wait_fifo_clean() 315 while (wait_cnt++ < HNS_MAX_WAIT_CNT) { in hns_gmac_wait_fifo_clean() 323 if (wait_cnt >= HNS_MAX_WAIT_CNT) { in hns_gmac_wait_fifo_clean()
|
A D | hns_dsaf_main.c | 2925 int wait_cnt; in hns_dsaf_wait_pkt_clean() local 2930 wait_cnt = 0; in hns_dsaf_wait_pkt_clean() 2931 while (wait_cnt++ < HNS_MAX_WAIT_CNT) { in hns_dsaf_wait_pkt_clean() 2942 if (wait_cnt >= HNS_MAX_WAIT_CNT) { in hns_dsaf_wait_pkt_clean()
|
/linux-6.3-rc2/drivers/power/supply/ |
A D | ab8500_chargalg.c | 186 int wait_cnt; member 780 di->ccm.wait_cnt); in ab8500_chargalg_chg_curr_maxim() 781 if (di->ccm.wait_cnt == 0) { in ab8500_chargalg_chg_curr_maxim() 783 di->ccm.wait_cnt++; in ab8500_chargalg_chg_curr_maxim() 792 di->ccm.wait_cnt = (di->ccm.wait_cnt + 1) % 3; in ab8500_chargalg_chg_curr_maxim() 797 di->ccm.wait_cnt = 0; in ab8500_chargalg_chg_curr_maxim()
|
/linux-6.3-rc2/drivers/net/wireless/realtek/rtlwifi/btcoexist/ |
A D | halbtc8192e2ant.c | 1580 static int up, dn, m, n, wait_cnt; in btc8192e2ant_tdma_duration_adjust() local 1668 wait_cnt = 0; in btc8192e2ant_tdma_duration_adjust() 1676 up, dn, m, n, wait_cnt); in btc8192e2ant_tdma_duration_adjust() 1677 wait_cnt++; in btc8192e2ant_tdma_duration_adjust() 1687 wait_cnt = 0; in btc8192e2ant_tdma_duration_adjust() 1702 if (wait_cnt <= 2) in btc8192e2ant_tdma_duration_adjust() 1713 wait_cnt = 0; in btc8192e2ant_tdma_duration_adjust() 1718 if (wait_cnt == 1) in btc8192e2ant_tdma_duration_adjust() 1729 wait_cnt = 0; in btc8192e2ant_tdma_duration_adjust()
|
/linux-6.3-rc2/drivers/net/ethernet/intel/i40e/ |
A D | i40e_nvm.c | 144 u32 srctl, wait_cnt; in i40e_poll_sr_srctl_done_bit() local 147 for (wait_cnt = 0; wait_cnt < I40E_SRRD_SRCTL_ATTEMPTS; wait_cnt++) { in i40e_poll_sr_srctl_done_bit()
|
/linux-6.3-rc2/drivers/scsi/qla2xxx/ |
A D | qla_sup.c | 189 uint32_t nv_cmd, wait_cnt; in qla2x00_write_nvram_word() local 220 wait_cnt = NVR_WAIT_CNT; in qla2x00_write_nvram_word() 222 if (!--wait_cnt) { in qla2x00_write_nvram_word() 309 uint32_t word, wait_cnt; in qla2x00_clear_nvram_protection() local 351 wait_cnt = NVR_WAIT_CNT; in qla2x00_clear_nvram_protection() 353 if (!--wait_cnt) { in qla2x00_clear_nvram_protection() 362 if (wait_cnt) in qla2x00_clear_nvram_protection() 374 uint32_t word, wait_cnt; in qla2x00_set_nvram_protection() local 411 wait_cnt = NVR_WAIT_CNT; in qla2x00_set_nvram_protection() 413 if (!--wait_cnt) { in qla2x00_set_nvram_protection()
|
/linux-6.3-rc2/drivers/scsi/qedf/ |
A D | qedf_io.c | 1591 int wait_cnt = 100; in qedf_flush_active_ios() local 1619 if (wait_cnt == 0) { in qedf_flush_active_ios() 1625 wait_cnt--; in qedf_flush_active_ios() 1798 wait_cnt = 60; in qedf_flush_active_ios() 1810 wait_cnt); in qedf_flush_active_ios() 1811 if (wait_cnt == 0) { in qedf_flush_active_ios() 1837 wait_cnt--; in qedf_flush_active_ios()
|
A D | qedf_main.c | 877 int wait_cnt = 120; in qedf_wait_for_upload() local 879 while (wait_cnt--) { in qedf_wait_for_upload()
|
/linux-6.3-rc2/drivers/net/ethernet/qlogic/qed/ |
A D | qed_hw.c | 575 u32 wait_cnt_limit = 10000, wait_cnt = 0; in qed_dmae_operation_wait() local 581 if (++wait_cnt > wait_cnt_limit) { in qed_dmae_operation_wait()
|
/linux-6.3-rc2/drivers/scsi/lpfc/ |
A D | lpfc_nvme.c | 2752 u32 i, wait_cnt = 0; in lpfc_nvme_wait_for_io_drain() local 2771 wait_cnt++; in lpfc_nvme_wait_for_io_drain() 2776 if ((wait_cnt % 1000) == 0) { in lpfc_nvme_wait_for_io_drain() 2779 "cnt %d\n", wait_cnt); in lpfc_nvme_wait_for_io_drain()
|
A D | lpfc_init.c | 13518 int wait_cnt = 0; in lpfc_sli4_hba_unset() local 13540 if (++wait_cnt > LPFC_ACTIVE_MBOX_WAIT_CNT) in lpfc_sli4_hba_unset()
|
/linux-6.3-rc2/drivers/mmc/host/ |
A D | sdhci-msm.c | 393 u32 wait_cnt = 50; in msm_dll_poll_ck_out_en() local 404 if (--wait_cnt == 0) { in msm_dll_poll_ck_out_en() 626 int wait_cnt = 50; in msm_init_cm_dll() local 763 if (--wait_cnt == 0) { in msm_init_cm_dll()
|
/linux-6.3-rc2/drivers/net/wireless/realtek/rtw89/ |
A D | core.c | 2051 rtwtxq->wait_cnt = 1; in rtw89_core_txq_agg_wait() 2055 if (*frame_cnt == 1 && rtwtxq->wait_cnt < rtwsta->max_agg_wait) { in rtw89_core_txq_agg_wait() 2057 rtwtxq->wait_cnt++; in rtw89_core_txq_agg_wait() 2061 rtwtxq->wait_cnt = 0; in rtw89_core_txq_agg_wait()
|
A D | core.h | 834 int wait_cnt; member
|
/linux-6.3-rc2/drivers/net/wireless/realtek/rtw88/ |
A D | coex.c | 418 u32 wait_cnt; in rtw_coex_check_rfk() local 426 wait_cnt = COEX_RFK_TIMEOUT / COEX_MIN_DELAY; in rtw_coex_check_rfk() 442 } while (++cnt < wait_cnt); in rtw_coex_check_rfk() 444 if (cnt >= wait_cnt) in rtw_coex_check_rfk()
|
/linux-6.3-rc2/drivers/net/ethernet/microchip/ |
A D | lan743x_main.c | 1127 u8 wait_cnt = 0; in lan743x_pcs_seq_state() local 1137 } while (wait_cnt++ < 10); in lan743x_pcs_seq_state() 1139 if (wait_cnt >= 10) in lan743x_pcs_seq_state()
|
/linux-6.3-rc2/drivers/scsi/bnx2fc/ |
A D | bnx2fc_fcoe.c | 1991 int wait_cnt = 0; in bnx2fc_start_disc() local 2014 if (++wait_cnt > 12) in bnx2fc_start_disc()
|