Home
last modified time | relevance | path

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

/linux-5.19.10/drivers/power/supply/
Dug3105_battery.c77 int poll_count; member
206 chip->poll_count++; in ug3105_work()
227 win_size = min(chip->poll_count, UG3105_MOV_AVG_WINDOW); in ug3105_work()
242 chip->poll_count < 2) in ug3105_work()
280 (chip->poll_count <= UG3105_INIT_POLL_COUNT) ? in ug3105_work()
373 chip->poll_count = 0; in ug3105_init()
/linux-5.19.10/drivers/staging/r8188eu/hal/
DHalPwrSeqCmd.c13 u32 poll_count = 0; /* polling autoload done. */ in HalPwrSeqCmdParsing() local
49 if (poll_count++ > max_poll_count) in HalPwrSeqCmdParsing()
/linux-5.19.10/drivers/media/usb/pvrusb2/
Dpvrusb2-encoder.c133 unsigned int poll_count; in pvr2_encoder_cmd() local
217 poll_count = 0; in pvr2_encoder_cmd()
219 poll_count++; in pvr2_encoder_cmd()
228 if (rdData[0] && (poll_count < 1000)) continue; in pvr2_encoder_cmd()
/linux-5.19.10/drivers/iio/adc/
Dcc10001_adc.c111 unsigned int poll_count = 0; in cc10001_adc_poll_done() local
117 if (poll_count++ == CC10001_MAX_POLL_COUNT) in cc10001_adc_poll_done()
121 poll_count = 0; in cc10001_adc_poll_done()
126 if (poll_count++ == CC10001_MAX_POLL_COUNT) in cc10001_adc_poll_done()
/linux-5.19.10/drivers/staging/greybus/tools/
Dloopback_test.c95 int poll_count; member
664 t->poll_count = fds_idx; in open_poll_files()
678 for (i = 0; i < t->poll_count; i++) in close_poll_files()
744 ret = ppoll(t->fds, t->poll_count, ts, &mask_old); in wait_for_complete()
751 for (i = 0; i < t->poll_count; i++) { in wait_for_complete()
759 if (number_of_events == t->poll_count) in wait_for_complete()
/linux-5.19.10/drivers/pci/hotplug/
Dibmphp_hpc.c793 int poll_count = 0; in poll_hpc() local
823 ++poll_count; in poll_hpc()
850 ++poll_count; in poll_hpc()
863 if (poll_count >= POLL_LATCH_CNT) { in poll_hpc()
864 poll_count = 0; in poll_hpc()
/linux-5.19.10/drivers/scsi/arcmsr/
Darcmsr_hba.c1652 int poll_count = 0; in arcmsr_remove() local
1675 for (poll_count = 0; poll_count < acb->maxOutstanding; poll_count++){ in arcmsr_remove()
3493 uint32_t flag_ccb, outbound_intstatus, poll_ccb_done = 0, poll_count = 0; in arcmsr_hbaA_polling_ccbdone() local
3499 poll_count++; in arcmsr_hbaA_polling_ccbdone()
3509 if (poll_count > 100){ in arcmsr_hbaA_polling_ccbdone()
3554 uint32_t flag_ccb, poll_ccb_done = 0, poll_count = 0; in arcmsr_hbaB_polling_ccbdone() local
3560 poll_count++; in arcmsr_hbaB_polling_ccbdone()
3572 if (poll_count > 100){ in arcmsr_hbaB_polling_ccbdone()
3625 uint32_t poll_ccb_done = 0, poll_count = 0; in arcmsr_hbaC_polling_ccbdone() local
3630 poll_count++; in arcmsr_hbaC_polling_ccbdone()
[all …]
/linux-5.19.10/drivers/net/wireless/ti/wlcore/
Dcmd.c48 u16 poll_count = 0; in __wlcore_cmd_send() local
88 poll_count++; in __wlcore_cmd_send()
89 if (poll_count < WL1271_CMD_FAST_POLL_COUNT) in __wlcore_cmd_send()
170 u16 poll_count = 0; in wlcore_cmd_wait_for_event_or_timeout() local
193 poll_count++; in wlcore_cmd_wait_for_event_or_timeout()
194 if (poll_count < WL1271_WAIT_EVENT_FAST_POLL_COUNT) in wlcore_cmd_wait_for_event_or_timeout()
/linux-5.19.10/drivers/net/ethernet/smsc/
Dsmc91x.c633 unsigned int numPages, poll_count, status; in smc_hard_start_xmit() local
669 poll_count = MEMORY_WAIT_TIME; in smc_hard_start_xmit()
676 } while (--poll_count); in smc_hard_start_xmit()
681 if (!poll_count) { in smc_hard_start_xmit()
/linux-5.19.10/drivers/tty/serial/8250/
D8250_omap.c832 int poll_count = 25; in __dma_rx_do_complete() local
835 poll_count--) in __dma_rx_do_complete()
838 if (poll_count == -1) in __dma_rx_do_complete()
/linux-5.19.10/sound/soc/codecs/
Drt5651.c1664 rt5651->poll_count = 0; in rt5651_start_button_press_work()
1699 rt5651->poll_count++; in rt5651_button_press_work()
1700 if (rt5651->poll_count < (JACK_UNPLUG_TIME / BP_POLL_TIME)) { in rt5651_button_press_work()
Drt5640.c2195 rt5640->poll_count = 0; in rt5640_start_button_press_work()
2230 rt5640->poll_count++; in rt5640_button_press_work()
2231 if (rt5640->poll_count < (JACK_UNPLUG_TIME / BP_POLL_TIME)) { in rt5640_button_press_work()
Drt5651.h2081 int poll_count; member
Drt5640.h2149 int poll_count; member
/linux-5.19.10/include/sound/
Dhdaudio.h349 int poll_count; member
/linux-5.19.10/drivers/net/ethernet/broadcom/bnx2x/
Dbnx2x_main.c1230 u32 poll_count) in bnx2x_pbf_pN_buf_flushed() argument
1233 u32 cur_cnt = poll_count; in bnx2x_pbf_pN_buf_flushed()
1260 poll_count-cur_cnt, FLR_WAIT_INTERVAL, regs->pN); in bnx2x_pbf_pN_buf_flushed()
1265 u32 poll_count) in bnx2x_pbf_pN_cmd_flushed() argument
1268 u32 cur_cnt = poll_count; in bnx2x_pbf_pN_cmd_flushed()
1292 poll_count-cur_cnt, FLR_WAIT_INTERVAL, regs->pN); in bnx2x_pbf_pN_cmd_flushed()
1296 u32 expected, u32 poll_count) in bnx2x_flr_clnup_reg_poll() argument
1298 u32 cur_cnt = poll_count; in bnx2x_flr_clnup_reg_poll()
1331 void bnx2x_tx_hw_flushed(struct bnx2x *bp, u32 poll_count) in bnx2x_tx_hw_flushed() argument
1388 bnx2x_pbf_pN_cmd_flushed(bp, &cmd_regs[i], poll_count); in bnx2x_tx_hw_flushed()
[all …]
Dbnx2x.h2060 void bnx2x_tx_hw_flushed(struct bnx2x *bp, u32 poll_count);