Home
last modified time | relevance | path

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

/linux/drivers/power/supply/
H A Dadc-battery-helper.c126 help->poll_count++; in adc_battery_helper_work()
129 win_size = min(help->poll_count, MOV_AVG_WINDOW_SIZE); in adc_battery_helper_work()
149 help->poll_count < 2) in adc_battery_helper_work()
185 (help->poll_count <= INIT_POLL_COUNT) ? in adc_battery_helper_work()
260 help->poll_count = 0; in adc_battery_helper_start_work()
H A Dadc-battery-helper.h31 int poll_count; member
/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/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/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/include/cxl/
H A Dmailbox.h40 int poll_count; member
/linux/drivers/scsi/arcmsr/
H A Darcmsr_hba.c1708 int poll_count = 0; in arcmsr_remove() local
1731 for (poll_count = 0; poll_count < acb->maxOutstanding; poll_count++){ in arcmsr_remove()
3580 uint32_t flag_ccb, outbound_intstatus, poll_ccb_done = 0, poll_count = 0; in arcmsr_hbaA_polling_ccbdone() local
3586 poll_count++; in arcmsr_hbaA_polling_ccbdone()
3596 if (poll_count > 100){ in arcmsr_hbaA_polling_ccbdone()
3641 uint32_t flag_ccb, poll_ccb_done = 0, poll_count = 0; in arcmsr_hbaB_polling_ccbdone() local
3647 poll_count++; in arcmsr_hbaB_polling_ccbdone()
3659 if (poll_count > 100){ in arcmsr_hbaB_polling_ccbdone()
3712 uint32_t poll_ccb_done = 0, poll_count = 0; in arcmsr_hbaC_polling_ccbdone() local
3717 poll_count++; in arcmsr_hbaC_polling_ccbdone()
[all …]
/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.c626 unsigned int numPages, poll_count, status; in smc_hard_start_xmit() local
662 poll_count = MEMORY_WAIT_TIME; in smc_hard_start_xmit()
669 } while (--poll_count); in smc_hard_start_xmit()
674 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.c1666 rt5651->poll_count = 0; in rt5651_start_button_press_work()
1701 rt5651->poll_count++; in rt5651_button_press_work()
1702 if (rt5651->poll_count < (JACK_UNPLUG_TIME / BP_POLL_TIME)) { in rt5651_button_press_work()
H A Drt5640.c2196 rt5640->poll_count = 0; in rt5640_start_button_press_work()
2231 rt5640->poll_count++; in rt5640_button_press_work()
2232 if (rt5640->poll_count < (JACK_UNPLUG_TIME / BP_POLL_TIME)) { in rt5640_button_press_work()
H A Drt5651.h2081 int poll_count; member
H A Drt5640.h2165 int poll_count; member
/linux/drivers/tty/serial/8250/
H A D8250_omap.c937 int poll_count = 25; in __dma_rx_do_complete() local
940 poll_count--) in __dma_rx_do_complete()
943 if (poll_count == -1) in __dma_rx_do_complete()
/linux/drivers/cxl/core/
H A Dmemdev.c844 .poll_count = 30, in cxl_mem_abort_fw_xfer()
971 .poll_count = 30, in cxl_fw_write()
/linux/include/sound/
H A Dhdaudio.h356 int poll_count; member
/linux/drivers/net/ethernet/broadcom/bnx2x/
H A Dbnx2x_main.c1232 u32 poll_count) in bnx2x_pbf_pN_buf_flushed() argument
1235 u32 cur_cnt = poll_count; in bnx2x_pbf_pN_buf_flushed()
1262 poll_count-cur_cnt, FLR_WAIT_INTERVAL, regs->pN); in bnx2x_pbf_pN_buf_flushed()
1267 u32 poll_count) in bnx2x_pbf_pN_cmd_flushed() argument
1270 u32 cur_cnt = poll_count; in bnx2x_pbf_pN_cmd_flushed()
1294 poll_count-cur_cnt, FLR_WAIT_INTERVAL, regs->pN); in bnx2x_pbf_pN_cmd_flushed()
1298 u32 expected, u32 poll_count) in bnx2x_flr_clnup_reg_poll() argument
1300 u32 cur_cnt = poll_count; in bnx2x_flr_clnup_reg_poll()
1333 void bnx2x_tx_hw_flushed(struct bnx2x *bp, u32 poll_count) in bnx2x_tx_hw_flushed() argument
1390 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);