Home
last modified time | relevance | path

Searched refs:lcnt (Results 1 – 8 of 8) sorted by relevance

/Linux-v5.4/drivers/i3c/master/
Ddw-i3c-master.c522 u8 hcnt, lcnt; in dw_i3c_clk_cfg() local
534 lcnt = DIV_ROUND_UP(core_rate, I3C_BUS_TYP_I3C_SCL_RATE) - hcnt; in dw_i3c_clk_cfg()
535 if (lcnt < SCL_I3C_TIMING_CNT_MIN) in dw_i3c_clk_cfg()
536 lcnt = SCL_I3C_TIMING_CNT_MIN; in dw_i3c_clk_cfg()
538 scl_timing = SCL_I3C_TIMING_HCNT(hcnt) | SCL_I3C_TIMING_LCNT(lcnt); in dw_i3c_clk_cfg()
542 writel(BUS_I3C_MST_FREE(lcnt), master->regs + BUS_FREE_TIMING); in dw_i3c_clk_cfg()
544 lcnt = DIV_ROUND_UP(I3C_BUS_TLOW_OD_MIN_NS, core_period); in dw_i3c_clk_cfg()
545 scl_timing = SCL_I3C_TIMING_HCNT(hcnt) | SCL_I3C_TIMING_LCNT(lcnt); in dw_i3c_clk_cfg()
548 lcnt = DIV_ROUND_UP(core_rate, I3C_BUS_SDR1_SCL_RATE) - hcnt; in dw_i3c_clk_cfg()
549 scl_timing = SCL_EXT_LCNT_1(lcnt); in dw_i3c_clk_cfg()
[all …]
/Linux-v5.4/drivers/infiniband/hw/qib/
Dqib_init.c965 u32 pbnum, cnt, lcnt; in qib_verify_pioperf() local
989 for (lcnt = 0; lcnt < 10000U; lcnt++) { in qib_verify_pioperf()
1010 for (emsecs = lcnt = 0; emsecs <= 5UL; lcnt++) { in qib_verify_pioperf()
1016 if (lcnt < (emsecs * 1024U)) in qib_verify_pioperf()
1019 lcnt / (u32) emsecs); in qib_verify_pioperf()
/Linux-v5.4/drivers/i2c/busses/
Di2c-designware-platdrv.c59 u16 *hcnt, u16 *lcnt, u32 *sda_hold) in dw_i2c_acpi_params() argument
76 *lcnt = (u16)objs[1].integer.value; in dw_i2c_acpi_params()
/Linux-v5.4/arch/arm64/boot/dts/altera/
Dsocfpga_stratix10_socdk.dts132 i2c-sdl-falling-time-ns = <890>; /* lcnt */
/Linux-v5.4/drivers/fsi/
Dfsi-master-ast-cf.c347 int rc, lcnt = min(count, 255); in clock_zeros() local
350 CMD_IDLE_CLOCKS | (lcnt << CMD_REG_CLEN_SHIFT)); in clock_zeros()
353 count -= lcnt; in clock_zeros()
/Linux-v5.4/drivers/media/usb/pvrusb2/
Dpvrusb2-hdw.c4873 unsigned int lcnt, ucnt; in pvr2_hdw_state_log_state() local
4886 lcnt = 0; in pvr2_hdw_state_log_state()
4887 while ((lcnt + ucnt < ccnt) && (buf[lcnt + ucnt] != '\n')) { in pvr2_hdw_state_log_state()
4888 lcnt++; in pvr2_hdw_state_log_state()
4890 pr_info("%s %.*s\n", hdw->name, lcnt, buf + ucnt); in pvr2_hdw_state_log_state()
4891 ucnt += lcnt + 1; in pvr2_hdw_state_log_state()
/Linux-v5.4/drivers/infiniband/hw/hfi1/
Dsdma.c310 int lcnt = 0; in sdma_wait_for_packet_egress() local
324 lcnt = 0; in sdma_wait_for_packet_egress()
325 if (lcnt++ > 500) { in sdma_wait_for_packet_egress()
/Linux-v5.4/drivers/scsi/qla2xxx/
Dqla_target.c4198 int lcnt = 0, rc; in qlt_assign_qpair() local
4217 lcnt = qpair->lun_cnt; in qlt_assign_qpair()
4238 if (qp->lun_cnt < lcnt) { in qlt_assign_qpair()
4239 lcnt = qp->lun_cnt; in qlt_assign_qpair()