Searched refs:loop_counter (Results 1 - 4 of 4) sorted by relevance

/linux-4.1.27/drivers/tty/serial/
H A Dioc3_serial.c1126 int loop_counter; do_read() local
1188 loop_counter = 0; do_read()
1191 loop_counter++; do_read()
1192 if (loop_counter > MAXITER) do_read()
1211 loop_counter = 0xfffff; /* to avoid hangs */ do_read()
1217 if (loop_counter-- <= 0) { do_read()
1444 int loop_counter; ioc3uart_intr_one() local
1470 loop_counter = MAXITER; /* to avoid hangs */ ioc3uart_intr_one()
1475 if (loop_counter-- <= 0) { ioc3uart_intr_one()
H A Dioc4_serial.c1841 int loop_counter; handle_intr() local
1861 loop_counter = MAXITER; /* to avoid hangs */ handle_intr()
1866 if ( loop_counter-- <= 0 ) { handle_intr()
2075 int loop_counter; do_read() local
2137 loop_counter = 0; do_read()
2140 loop_counter++; do_read()
2141 if (loop_counter > MAXITER) do_read()
2160 loop_counter = 0xfffff; /* to avoid hangs */ do_read()
2166 if ( loop_counter-- <= 0 ) { do_read()
/linux-4.1.27/drivers/net/wireless/brcm80211/brcmfmac/
H A Dpcie.c1371 u32 loop_counter; brcmf_pcie_download_fw_nvram() local
1417 loop_counter = BRCMF_PCIE_FW_UP_TIMEOUT / 50; brcmf_pcie_download_fw_nvram()
1418 while ((sharedram_addr == sharedram_addr_written) && (loop_counter)) { brcmf_pcie_download_fw_nvram()
1423 loop_counter--; brcmf_pcie_download_fw_nvram()
/linux-4.1.27/drivers/infiniband/hw/nes/
H A Dnes_hw.c2151 u32 loop_counter = 0; nes_dpc() local
2253 } while ((int_stat != 0) && (loop_counter++ < MAX_DPC_ITERATIONS)); nes_dpc()

Completed in 177 milliseconds