Home
last modified time | relevance | path

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

/linux/drivers/power/supply/
H A 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/drivers/media/usb/pvrusb2/
H A 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/drivers/iio/adc/
H A Dcc10001_adc.c110 unsigned int poll_count = 0; in cc10001_adc_poll_done() local
116 if (poll_count++ == CC10001_MAX_POLL_COUNT) in cc10001_adc_poll_done()
120 poll_count = 0; in cc10001_adc_poll_done()
125 if (poll_count++ == CC10001_MAX_POLL_COUNT) in cc10001_adc_poll_done()
/linux/drivers/pci/hotplug/
H A 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/drivers/net/wireless/ti/wlcore/
H A 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/drivers/net/ethernet/smsc/
H A Dsmc91x.c634 unsigned int numPages, poll_count, status; in smc_hard_start_xmit() local
670 poll_count = MEMORY_WAIT_TIME; in smc_hard_start_xmit()
677 } while (--poll_count); in smc_hard_start_xmit()
682 if (!poll_count) { in smc_hard_start_xmit()
/linux/drivers/cxl/
H A Dpci.c321 for (i = 0; i < mbox_cmd->poll_count; i++) { in __cxl_pci_mbox_send_cmd()
331 timeout * mbox_cmd->poll_count); in __cxl_pci_mbox_send_cmd()
/linux/sound/soc/codecs/
H A 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()
H A 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()
H A Drt5640.h2165 int poll_count; member
H A Drt5651.h2081 int poll_count; member
/linux/drivers/tty/serial/8250/
H A D8250_omap.c957 int poll_count = 25; in __dma_rx_do_complete() local
960 poll_count--) in __dma_rx_do_complete()
963 if (poll_count == -1) in __dma_rx_do_complete()
/linux/include/sound/
H A Dhdaudio.h356 int poll_count; member
/linux/drivers/net/ethernet/broadcom/bnx2x/
H A Dbnx2x_main.c1229 u32 poll_count) in bnx2x_pbf_pN_buf_flushed() argument
1232 u32 cur_cnt = poll_count; in bnx2x_pbf_pN_buf_flushed()
1259 poll_count-cur_cnt, FLR_WAIT_INTERVAL, regs->pN); in bnx2x_pbf_pN_buf_flushed()
1264 u32 poll_count) in bnx2x_pbf_pN_cmd_flushed() argument
1267 u32 cur_cnt = poll_count; in bnx2x_pbf_pN_cmd_flushed()
1291 poll_count-cur_cnt, FLR_WAIT_INTERVAL, regs->pN); in bnx2x_pbf_pN_cmd_flushed()
1295 u32 expected, u32 poll_count) in bnx2x_flr_clnup_reg_poll() argument
1297 u32 cur_cnt = poll_count; in bnx2x_flr_clnup_reg_poll()
1330 void bnx2x_tx_hw_flushed(struct bnx2x *bp, u32 poll_count) in bnx2x_tx_hw_flushed() argument
1387 bnx2x_pbf_pN_cmd_flushed(bp, &cmd_regs[i], poll_count); in bnx2x_tx_hw_flushed()
[all …]
H A Dbnx2x.h2061 void bnx2x_tx_hw_flushed(struct bnx2x *bp, u32 poll_count);