/openbmc/linux/drivers/regulator/ |
H A D | irq_helpers.c | 28 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()
|
/openbmc/u-boot/drivers/video/exynos/ |
H A D | exynos_dp_lowlevel.c | 298 retry_cnt--; in exynos_dp_init_analog_func() 301 retry_cnt); in exynos_dp_init_analog_func() 435 retry_cnt = 10; in exynos_dp_start_aux_transaction() 436 while (retry_cnt) { in exynos_dp_start_aux_transaction() 445 retry_cnt--; in exynos_dp_start_aux_transaction() 576 retry_cnt = 5; in exynos_dp_write_bytes_to_dpcd() 577 while (retry_cnt) { in exynos_dp_write_bytes_to_dpcd() 608 retry_cnt--; in exynos_dp_write_bytes_to_dpcd() 642 retry_cnt = 5; in exynos_dp_read_bytes_from_dpcd() 643 while (retry_cnt) { in exynos_dp_read_bytes_from_dpcd() [all …]
|
H A D | exynos_dp.c | 173 unsigned char retry_cnt; in exynos_dp_handle_edid() local 183 retry_cnt = 5; in exynos_dp_handle_edid() 184 while (retry_cnt) { in exynos_dp_handle_edid() 189 if (retry_cnt == 0) { in exynos_dp_handle_edid() 193 retry_cnt--; in exynos_dp_handle_edid() 819 retry_cnt = 10; in exynos_dp_config_video() 820 while (retry_cnt) { in exynos_dp_config_video() 827 retry_cnt--; in exynos_dp_config_video() 860 retry_cnt = 100; in exynos_dp_config_video() 861 while (retry_cnt) { in exynos_dp_config_video() [all …]
|
/openbmc/linux/drivers/input/touchscreen/ |
H A D | elants_i2c.c | 368 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() 1572 int retry_cnt; in elants_i2c_suspend() local 1588 for (retry_cnt = 0; retry_cnt < MAX_RETRIES; retry_cnt++) { in elants_i2c_suspend() 1611 int retry_cnt; in elants_i2c_resume() local [all …]
|
H A D | raydium_i2c_ts.c | 339 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()
|
/openbmc/linux/drivers/gpu/drm/msm/dp/ |
H A D | dp_aux.c | 30 u32 retry_cnt; member 345 aux->retry_cnt++; in dp_aux_transfer() 346 if (!(aux->retry_cnt % MAX_AUX_RETRIES)) in dp_aux_transfer() 353 aux->retry_cnt = 0; in dp_aux_transfer() 475 aux->retry_cnt = 0; in dp_aux_init() 546 aux->retry_cnt = 0; in dp_aux_get()
|
/openbmc/linux/drivers/scsi/device_handler/ |
H A D | scsi_dh_hp_sw.c | 30 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()
|
H A D | scsi_dh_rdac.c | 533 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()
|
/openbmc/linux/drivers/mtd/nand/onenand/ |
H A D | onenand_omap2.c | 204 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()
|
/openbmc/linux/fs/ceph/ |
H A D | acl.c | 35 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()
|
/openbmc/linux/arch/mips/cavium-octeon/executive/ |
H A D | cvmx-helper.c | 796 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()
|
/openbmc/linux/sound/soc/codecs/ |
H A D | ad1980.c | 207 unsigned int retry_cnt = 0; in ad1980_reset() local 224 } while (retry_cnt++ < 10); in ad1980_reset()
|
/openbmc/linux/drivers/infiniband/sw/rxe/ |
H A D | rxe_comp.c | 176 qp->comp.retry_cnt = qp->attr.retry_cnt; in reset_retry_counters() 778 if (qp->comp.retry_cnt > 0) { in rxe_completer() 779 if (qp->comp.retry_cnt != 7) in rxe_completer() 780 qp->comp.retry_cnt--; in rxe_completer()
|
H A D | rxe_qp.c | 719 qp->attr.retry_cnt = attr->retry_cnt; in rxe_qp_from_attr() 720 qp->comp.retry_cnt = attr->retry_cnt; in rxe_qp_from_attr() 721 rxe_dbg_qp(qp, "set retry count = %d\n", attr->retry_cnt); in rxe_qp_from_attr()
|
/openbmc/linux/drivers/char/ipmi/ |
H A D | ipmi_ssif.c | 1302 int ret = -ENODEV, retry_cnt = SSIF_RECV_RETRIES; in read_response() local 1304 while (retry_cnt > 0) { in read_response() 1310 retry_cnt--; in read_response() 1311 if (retry_cnt <= 0) in read_response() 1321 int retry_cnt; in do_cmd() local 1324 retry_cnt = SSIF_SEND_RETRIES; in do_cmd() 1328 retry_cnt--; in do_cmd() 1329 if (retry_cnt > 0) { in do_cmd() 1465 int retry_cnt = SSIF_SEND_RETRIES, ret; in start_multipart_test() local 1472 retry_cnt--; in start_multipart_test() [all …]
|
/openbmc/linux/arch/mips/pci/ |
H A D | pcie-octeon.c | 1509 static void set_cfg_read_retry(u32 retry_cnt) in set_cfg_read_retry() argument 1513 pemx_ctl.s.cfg_rtry = retry_cnt; in set_cfg_read_retry() 1520 u32 retry_cnt; in disable_cfg_read_retry() local 1524 retry_cnt = pemx_ctl.s.cfg_rtry; in disable_cfg_read_retry() 1527 return retry_cnt; in disable_cfg_read_retry() 1551 int retry_cnt = 0; in octeon_pcie_read_config() local 1697 retry_cnt++; in octeon_pcie_read_config() 1698 if (retry_cnt > max_retry_cnt) { in octeon_pcie_read_config() 1700 retry_cnt); in octeon_pcie_read_config() 1708 pr_debug("val=%08x : tries=%02d\n", *val, retry_cnt); in octeon_pcie_read_config()
|
/openbmc/u-boot/drivers/video/tegra124/ |
H A D | dp.c | 1095 u32 retry_cnt; in _tegra_dp_channel_eq() local 1097 for (retry_cnt = 0; retry_cnt < 4; retry_cnt++) { in _tegra_dp_channel_eq() 1100 if (retry_cnt) { in _tegra_dp_channel_eq() 1149 u32 retry_cnt = 0; in _tegra_dp_clk_recovery() local 1162 retry_cnt = 0; in _tegra_dp_clk_recovery() 1164 ++retry_cnt; in _tegra_dp_clk_recovery() 1165 } while (retry_cnt < 5); in _tegra_dp_clk_recovery()
|
/openbmc/linux/drivers/iio/adc/ |
H A D | qcom-spmi-rradc.c | 259 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()
|
/openbmc/linux/drivers/usb/c67x00/ |
H A D | c67x00-sched.c | 50 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()
|
/openbmc/linux/drivers/net/dsa/realtek/ |
H A D | realtek-smi.c | 140 int retry_cnt; in realtek_smi_wait_for_ack() local 142 retry_cnt = 0; in realtek_smi_wait_for_ack() 150 if (++retry_cnt > REALTEK_SMI_ACK_RETRY_COUNT) { in realtek_smi_wait_for_ack()
|
/openbmc/linux/drivers/infiniband/core/ |
H A D | uverbs_marshall.c | 128 dst->retry_cnt = src->retry_cnt; in ib_copy_qp_attr_to_user()
|
/openbmc/linux/drivers/staging/rtl8192u/ |
H A D | r819xU_cmdpkt.c | 119 priv->stats.txretrycount += pstx_fb->retry_cnt; in cmpk_count_txstatistic() 120 priv->stats.txfeedbackretry += pstx_fb->retry_cnt; in cmpk_count_txstatistic()
|
H A D | r819xU_cmdpkt.h | 37 u8 retry_cnt; member
|
/openbmc/linux/drivers/gpu/drm/amd/amdgpu/ |
H A D | psp_v13_0.c | 164 int retry_loop, retry_cnt, ret; in psp_v13_0_wait_for_bootloader() local 166 retry_cnt = in psp_v13_0_wait_for_bootloader() 175 for (retry_loop = 0; retry_loop < retry_cnt; retry_loop++) { in psp_v13_0_wait_for_bootloader()
|
/openbmc/linux/drivers/scsi/snic/ |
H A D | snic_main.c | 180 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()
|