Home
last modified time | relevance | path

Searched refs:retry_cnt (Results 1 – 25 of 80) sorted by relevance

1234

/linux-6.3-rc2/drivers/regulator/
A Dirq_helpers.c28 int retry_cnt; member
65 if (d->fatal_cnt && h->retry_cnt > d->fatal_cnt) { in regulator_notifier_isr_work()
90 h->retry_cnt++; in regulator_notifier_isr_work()
112 h->retry_cnt++; in regulator_notifier_isr_work()
140 h->retry_cnt = 0; in regulator_notifier_isr_work()
170 h->retry_cnt++; in regulator_notifier_isr()
197 h->retry_cnt = 0; in regulator_notifier_isr()
263 if (d->fatal_cnt && h->retry_cnt > d->fatal_cnt) { in regulator_notifier_isr()
/linux-6.3-rc2/drivers/input/touchscreen/
A Delants_i2c.c368 int retry_cnt = MAX_RETRIES; in elants_i2c_query_hw_version() local
373 while (retry_cnt--) { in elants_i2c_query_hw_version()
393 int retry_cnt = MAX_RETRIES; in elants_i2c_query_fw_version() local
398 while (retry_cnt--) { in elants_i2c_query_fw_version()
606 int error, error2, retry_cnt; in elants_i2c_initialize() local
611 for (retry_cnt = 0; retry_cnt < MAX_RETRIES; retry_cnt++) { in elants_i2c_initialize()
615 if (retry_cnt < MAX_RETRIES - 1) in elants_i2c_initialize()
1582 int retry_cnt; in elants_i2c_suspend() local
1598 for (retry_cnt = 0; retry_cnt < MAX_RETRIES; retry_cnt++) { in elants_i2c_suspend()
1621 int retry_cnt; in elants_i2c_resume() local
[all …]
A Draydium_i2c_ts.c339 int error, retry_cnt; in raydium_i2c_query_ts_info() local
341 for (retry_cnt = 0; retry_cnt < RM_MAX_RETRIES; retry_cnt++) { in raydium_i2c_query_ts_info()
409 int error, retry_cnt; in raydium_i2c_initialize() local
411 for (retry_cnt = 0; retry_cnt < RM_MAX_RETRIES; retry_cnt++) { in raydium_i2c_initialize()
/linux-6.3-rc2/drivers/gpu/drm/msm/dp/
A Ddp_aux.c30 u32 retry_cnt; member
374 aux->retry_cnt++; in dp_aux_transfer()
375 if (!(aux->retry_cnt % MAX_AUX_RETRIES)) in dp_aux_transfer()
382 aux->retry_cnt = 0; in dp_aux_transfer()
465 aux->retry_cnt = 0; in dp_aux_init()
536 aux->retry_cnt = 0; in dp_aux_get()
/linux-6.3-rc2/drivers/scsi/device_handler/
A Dscsi_dh_hp_sw.c30 int retry_cnt; member
126 int retry_cnt = HP_SW_RETRIES; in hp_sw_start_stop() local
151 if (--retry_cnt) in hp_sw_start_stop()
A Dscsi_dh_rdac.c533 int err = SCSI_DH_OK, retry_cnt = RDAC_RETRY_COUNT; in send_mode_select() local
559 (retry_cnt == RDAC_RETRY_COUNT) ? "queueing" : "retrying"); in send_mode_select()
564 if (err == SCSI_DH_RETRY && retry_cnt--) in send_mode_select()
/linux-6.3-rc2/drivers/mtd/nand/onenand/
A Donenand_omap2.c204 int retry_cnt = 0; in omap2_onenand_wait() local
216 retry_cnt += 1; in omap2_onenand_wait()
217 if (retry_cnt < 3) in omap2_onenand_wait()
230 int retry_cnt = 0; in omap2_onenand_wait() local
251 retry_cnt += 1; in omap2_onenand_wait()
252 if (retry_cnt < 3) { in omap2_onenand_wait()
/linux-6.3-rc2/fs/ceph/
A Dacl.c35 unsigned int retry_cnt = 0; in ceph_get_acl() local
63 if (size == -ERANGE && retry_cnt < 10) { in ceph_get_acl()
64 retry_cnt++; in ceph_get_acl()
/linux-6.3-rc2/arch/mips/cavium-octeon/executive/
A Dcvmx-helper.c796 int retry_cnt; in __cvmx_helper_errata_fix_ipd_ptr_alignment() local
827 retry_cnt = 100000; in __cvmx_helper_errata_fix_ipd_ptr_alignment()
930 retry_cnt--; in __cvmx_helper_errata_fix_ipd_ptr_alignment()
931 } while ((work == NULL) && (retry_cnt > 0)); in __cvmx_helper_errata_fix_ipd_ptr_alignment()
933 if (!retry_cnt) in __cvmx_helper_errata_fix_ipd_ptr_alignment()
/linux-6.3-rc2/sound/soc/codecs/
A Dad1980.c207 unsigned int retry_cnt = 0; in ad1980_reset() local
224 } while (retry_cnt++ < 10); in ad1980_reset()
A Dsma1303.c70 int retry_cnt; member
242 int cnt = sma1303->retry_cnt; in sma1303_regmap_write()
259 int cnt = sma1303->retry_cnt; in sma1303_regmap_update_bits()
277 int cnt = sma1303->retry_cnt; in sma1303_regmap_read()
1749 sma1303->retry_cnt = SMA1303_I2C_RETRY_COUNT; in sma1303_i2c_probe()
/linux-6.3-rc2/drivers/char/ipmi/
A Dipmi_ssif.c1303 int ret = -ENODEV, retry_cnt = SSIF_RECV_RETRIES; in read_response() local
1305 while (retry_cnt > 0) { in read_response()
1311 retry_cnt--; in read_response()
1312 if (retry_cnt <= 0) in read_response()
1322 int retry_cnt; in do_cmd() local
1325 retry_cnt = SSIF_SEND_RETRIES; in do_cmd()
1329 retry_cnt--; in do_cmd()
1330 if (retry_cnt > 0) { in do_cmd()
1466 int retry_cnt = SSIF_SEND_RETRIES, ret; in start_multipart_test() local
1473 retry_cnt--; in start_multipart_test()
[all …]
/linux-6.3-rc2/drivers/infiniband/sw/rxe/
A Drxe_comp.c173 qp->comp.retry_cnt = qp->attr.retry_cnt; in reset_retry_counters()
716 if (qp->comp.retry_cnt > 0) { in rxe_completer()
717 if (qp->comp.retry_cnt != 7) in rxe_completer()
718 qp->comp.retry_cnt--; in rxe_completer()
A Drxe_qp.c636 qp->attr.retry_cnt = attr->retry_cnt; in rxe_qp_from_attr()
637 qp->comp.retry_cnt = attr->retry_cnt; in rxe_qp_from_attr()
638 rxe_dbg_qp(qp, "set retry count = %d\n", attr->retry_cnt); in rxe_qp_from_attr()
/linux-6.3-rc2/arch/mips/pci/
A Dpcie-octeon.c1503 static void set_cfg_read_retry(u32 retry_cnt) in set_cfg_read_retry() argument
1507 pemx_ctl.s.cfg_rtry = retry_cnt; in set_cfg_read_retry()
1514 u32 retry_cnt; in disable_cfg_read_retry() local
1518 retry_cnt = pemx_ctl.s.cfg_rtry; in disable_cfg_read_retry()
1521 return retry_cnt; in disable_cfg_read_retry()
1545 int retry_cnt = 0; in octeon_pcie_read_config() local
1691 retry_cnt++; in octeon_pcie_read_config()
1692 if (retry_cnt > max_retry_cnt) { in octeon_pcie_read_config()
1694 retry_cnt); in octeon_pcie_read_config()
1702 pr_debug("val=%08x : tries=%02d\n", *val, retry_cnt); in octeon_pcie_read_config()
/linux-6.3-rc2/drivers/iio/adc/
A Dqcom-spmi-rradc.c259 int ret, retry_cnt = 0; in rradc_read() local
269 while (retry_cnt < RR_ADC_COHERENT_CHECK_RETRY) { in rradc_read()
287 retry_cnt++; in rradc_read()
290 retry_cnt); in rradc_read()
297 if (retry_cnt == RR_ADC_COHERENT_CHECK_RETRY) in rradc_read()
/linux-6.3-rc2/drivers/usb/c67x00/
A Dc67x00-sched.c50 u8 retry_cnt; /* Byte 8 */ member
120 #define td_active(td) ((td)->retry_cnt & TD_RETRYCNTMASK_ACT_FLG)
150 dev_dbg(dev, "retry_cnt: 0x%02x\n", td->retry_cnt); in dbg_td()
569 const __u8 active_flag = 1, retry_cnt = 3; in c67x00_create_td() local
622 td->retry_cnt = (tt << TT_OFFSET) | (active_flag << 4) | retry_cnt; in c67x00_create_td()
/linux-6.3-rc2/drivers/net/dsa/realtek/
A Drealtek-smi.c141 int retry_cnt; in realtek_smi_wait_for_ack() local
143 retry_cnt = 0; in realtek_smi_wait_for_ack()
151 if (++retry_cnt > REALTEK_SMI_ACK_RETRY_COUNT) { in realtek_smi_wait_for_ack()
/linux-6.3-rc2/drivers/infiniband/core/
A Duverbs_marshall.c128 dst->retry_cnt = src->retry_cnt; in ib_copy_qp_attr_to_user()
/linux-6.3-rc2/drivers/staging/rtl8192u/
A Dr819xU_cmdpkt.c119 priv->stats.txretrycount += pstx_fb->retry_cnt; in cmpk_count_txstatistic()
120 priv->stats.txfeedbackretry += pstx_fb->retry_cnt; in cmpk_count_txstatistic()
A Dr819xU_cmdpkt.h37 u8 retry_cnt; member
/linux-6.3-rc2/drivers/scsi/snic/
A Dsnic_main.c180 int retry_cnt = 0; in snic_dev_wait() local
202 ++retry_cnt; in snic_dev_wait()
203 } while (time_after(time, jiffies) || (retry_cnt < 3)); in snic_dev_wait()
/linux-6.3-rc2/drivers/net/ethernet/qlogic/qed/
A Dqed_rdma.h118 u8 retry_cnt; member
/linux-6.3-rc2/include/linux/qed/
A Dqed_rdma_if.h380 u8 retry_cnt; member
408 u8 retry_cnt; member
/linux-6.3-rc2/drivers/infiniband/hw/vmw_pvrdma/
A Dpvrdma_qp.c607 cmd->attrs.retry_cnt = attr->retry_cnt; in pvrdma_modify_qp()
1025 attr->retry_cnt = resp->attrs.retry_cnt; in pvrdma_query_qp()

Completed in 65 milliseconds

1234