Home
last modified time | relevance | path

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

/Linux-v6.6/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-v6.6/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-v6.6/drivers/iio/adc/
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-v6.6/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-v6.6/drivers/scsi/arcmsr/
Darcmsr_hba.c1647 int poll_count = 0; in arcmsr_remove() local
1670 for (poll_count = 0; poll_count < acb->maxOutstanding; poll_count++){ in arcmsr_remove()
3491 uint32_t flag_ccb, outbound_intstatus, poll_ccb_done = 0, poll_count = 0; in arcmsr_hbaA_polling_ccbdone() local
3497 poll_count++; in arcmsr_hbaA_polling_ccbdone()
3507 if (poll_count > 100){ in arcmsr_hbaA_polling_ccbdone()
3552 uint32_t flag_ccb, poll_ccb_done = 0, poll_count = 0; in arcmsr_hbaB_polling_ccbdone() local
3558 poll_count++; in arcmsr_hbaB_polling_ccbdone()
3570 if (poll_count > 100){ in arcmsr_hbaB_polling_ccbdone()
3623 uint32_t poll_ccb_done = 0, poll_count = 0; in arcmsr_hbaC_polling_ccbdone() local
3628 poll_count++; in arcmsr_hbaC_polling_ccbdone()
[all …]
/Linux-v6.6/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-v6.6/drivers/cxl/
Dpci.c318 for (i = 0; i < mbox_cmd->poll_count; i++) { in __cxl_pci_mbox_send_cmd()
328 timeout * mbox_cmd->poll_count); in __cxl_pci_mbox_send_cmd()
Dcxlmem.h134 int poll_count; member
/Linux-v6.6/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-v6.6/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.c2198 rt5640->poll_count = 0; in rt5640_start_button_press_work()
2233 rt5640->poll_count++; in rt5640_button_press_work()
2234 if (rt5640->poll_count < (JACK_UNPLUG_TIME / BP_POLL_TIME)) { in rt5640_button_press_work()
Drt5640.h2165 int poll_count; member
Drt5651.h2081 int poll_count; member
/Linux-v6.6/drivers/cxl/core/
Dmemdev.c777 .poll_count = 30, in cxl_mem_abort_fw_xfer()
902 .poll_count = 30, in cxl_fw_write()
/Linux-v6.6/drivers/tty/serial/8250/
D8250_omap.c931 int poll_count = 25; in __dma_rx_do_complete() local
934 poll_count--) in __dma_rx_do_complete()
937 if (poll_count == -1) in __dma_rx_do_complete()
/Linux-v6.6/include/sound/
Dhdaudio.h354 int poll_count; member
/Linux-v6.6/drivers/net/ethernet/broadcom/bnx2x/
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 …]
Dbnx2x.h2061 void bnx2x_tx_hw_flushed(struct bnx2x *bp, u32 poll_count);