Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/i2c/busses/
Di2c-puv3.c247 int poll_count; in puv3_i2c_suspend() local
250 for (poll_count = 0; poll_count < 50; poll_count++) { in puv3_i2c_suspend()
/Linux-v4.19/drivers/staging/rtl8188eu/hal/
Dpwrseqcmd.c22 u32 poll_count = 0; /* polling autoload done. */ in rtl88eu_pwrseqcmdparsing() local
76 if (poll_count++ > max_poll_count) { in rtl88eu_pwrseqcmdparsing()
/Linux-v4.19/drivers/media/usb/pvrusb2/
Dpvrusb2-encoder.c143 unsigned int poll_count; in pvr2_encoder_cmd() local
227 poll_count = 0; in pvr2_encoder_cmd()
229 poll_count++; in pvr2_encoder_cmd()
238 if (rdData[0] && (poll_count < 1000)) continue; in pvr2_encoder_cmd()
/Linux-v4.19/drivers/iio/adc/
Dcc10001_adc.c115 unsigned int poll_count = 0; in cc10001_adc_poll_done() local
121 if (poll_count++ == CC10001_MAX_POLL_COUNT) in cc10001_adc_poll_done()
125 poll_count = 0; in cc10001_adc_poll_done()
130 if (poll_count++ == CC10001_MAX_POLL_COUNT) in cc10001_adc_poll_done()
/Linux-v4.19/drivers/staging/greybus/tools/
Dloopback_test.c96 int poll_count; member
671 t->poll_count = fds_idx; in open_poll_files()
685 for (i = 0; i < t->poll_count; i++) in close_poll_files()
751 ret = ppoll(t->fds, t->poll_count, ts, &mask_old); in wait_for_complete()
758 for (i = 0; i < t->poll_count; i++) { in wait_for_complete()
766 if (number_of_events == t->poll_count) in wait_for_complete()
/Linux-v4.19/drivers/pci/hotplug/
Dibmphp_hpc.c812 int poll_count = 0; in poll_hpc() local
842 ++poll_count; in poll_hpc()
869 ++poll_count; in poll_hpc()
882 if (poll_count >= POLL_LATCH_CNT) { in poll_hpc()
883 poll_count = 0; in poll_hpc()
/Linux-v4.19/drivers/scsi/arcmsr/
Darcmsr_hba.c1519 int poll_count = 0; in arcmsr_remove() local
1542 for (poll_count = 0; poll_count < acb->maxOutstanding; poll_count++){ in arcmsr_remove()
3227 uint32_t flag_ccb, outbound_intstatus, poll_ccb_done = 0, poll_count = 0; in arcmsr_hbaA_polling_ccbdone() local
3231 poll_count++; in arcmsr_hbaA_polling_ccbdone()
3241 if (poll_count > 100){ in arcmsr_hbaA_polling_ccbdone()
3283 uint32_t flag_ccb, poll_ccb_done = 0, poll_count = 0; in arcmsr_hbaB_polling_ccbdone() local
3288 poll_count++; in arcmsr_hbaB_polling_ccbdone()
3300 if (poll_count > 100){ in arcmsr_hbaB_polling_ccbdone()
3350 uint32_t poll_ccb_done = 0, poll_count = 0; in arcmsr_hbaC_polling_ccbdone() local
3353 poll_count++; in arcmsr_hbaC_polling_ccbdone()
[all …]
/Linux-v4.19/sound/pci/hda/
Dhda_controller.h155 int poll_count; member
Dhda_controller.c810 chip->poll_count = 0; in azx_rirb_get_response()
830 if (!chip->polling_mode && chip->poll_count < 2) { in azx_rirb_get_response()
835 chip->poll_count++; in azx_rirb_get_response()
/Linux-v4.19/drivers/net/wireless/ti/wlcore/
Dcmd.c62 u16 poll_count = 0; in __wlcore_cmd_send() local
102 poll_count++; in __wlcore_cmd_send()
103 if (poll_count < WL1271_CMD_FAST_POLL_COUNT) in __wlcore_cmd_send()
184 u16 poll_count = 0; in wlcore_cmd_wait_for_event_or_timeout() local
209 poll_count++; in wlcore_cmd_wait_for_event_or_timeout()
210 if (poll_count < WL1271_WAIT_EVENT_FAST_POLL_COUNT) in wlcore_cmd_wait_for_event_or_timeout()
/Linux-v4.19/drivers/net/ethernet/smsc/
Dsmc91x.c645 unsigned int numPages, poll_count, status; in smc_hard_start_xmit() local
681 poll_count = MEMORY_WAIT_TIME; in smc_hard_start_xmit()
688 } while (--poll_count); in smc_hard_start_xmit()
693 if (!poll_count) { in smc_hard_start_xmit()
/Linux-v4.19/sound/soc/codecs/
Drt5651.c1658 rt5651->poll_count = 0; in rt5651_start_button_press_work()
1693 rt5651->poll_count++; in rt5651_button_press_work()
1694 if (rt5651->poll_count < (JACK_UNPLUG_TIME / BP_POLL_TIME)) { in rt5651_button_press_work()
Drt5640.c2185 rt5640->poll_count = 0; in rt5640_start_button_press_work()
2220 rt5640->poll_count++; in rt5640_button_press_work()
2221 if (rt5640->poll_count < (JACK_UNPLUG_TIME / BP_POLL_TIME)) { in rt5640_button_press_work()
Drt5640.h2148 int poll_count; member
Drt5651.h2083 int poll_count; member
/Linux-v4.19/drivers/net/ethernet/broadcom/bnx2x/
Dbnx2x_main.c1214 u32 poll_count) in bnx2x_pbf_pN_buf_flushed() argument
1217 u32 cur_cnt = poll_count; in bnx2x_pbf_pN_buf_flushed()
1244 poll_count-cur_cnt, FLR_WAIT_INTERVAL, regs->pN); in bnx2x_pbf_pN_buf_flushed()
1249 u32 poll_count) in bnx2x_pbf_pN_cmd_flushed() argument
1252 u32 cur_cnt = poll_count; in bnx2x_pbf_pN_cmd_flushed()
1276 poll_count-cur_cnt, FLR_WAIT_INTERVAL, regs->pN); in bnx2x_pbf_pN_cmd_flushed()
1280 u32 expected, u32 poll_count) in bnx2x_flr_clnup_reg_poll() argument
1282 u32 cur_cnt = poll_count; in bnx2x_flr_clnup_reg_poll()
1315 void bnx2x_tx_hw_flushed(struct bnx2x *bp, u32 poll_count) in bnx2x_tx_hw_flushed() argument
1372 bnx2x_pbf_pN_cmd_flushed(bp, &cmd_regs[i], poll_count); in bnx2x_tx_hw_flushed()
[all …]
Dbnx2x.h2048 void bnx2x_tx_hw_flushed(struct bnx2x *bp, u32 poll_count);