| /OK3568_Linux_fs/kernel/drivers/i3c/master/ |
| H A D | dw-i3c-master.c | 522 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 …]
|
| /OK3568_Linux_fs/u-boot/drivers/i2c/ |
| H A D | designware_i2c.c | 80 unsigned int hcnt, lcnt; in __dw_i2c_set_bus_speed() local 101 lcnt = scl_sda_cfg->fs_lcnt; in __dw_i2c_set_bus_speed() 104 lcnt = (IC_CLK * MIN_HS_SCL_LOWTIME) / NANO_TO_MICRO; in __dw_i2c_set_bus_speed() 107 writel(lcnt, &i2c_base->ic_hs_scl_lcnt); in __dw_i2c_set_bus_speed() 115 lcnt = scl_sda_cfg->ss_lcnt; in __dw_i2c_set_bus_speed() 118 lcnt = (IC_CLK * MIN_SS_SCL_LOWTIME) / NANO_TO_MICRO; in __dw_i2c_set_bus_speed() 121 writel(lcnt, &i2c_base->ic_ss_scl_lcnt); in __dw_i2c_set_bus_speed() 129 lcnt = scl_sda_cfg->fs_lcnt; in __dw_i2c_set_bus_speed() 132 lcnt = (IC_CLK * MIN_FS_SCL_LOWTIME) / NANO_TO_MICRO; in __dw_i2c_set_bus_speed() 135 writel(lcnt, &i2c_base->ic_fs_scl_lcnt); in __dw_i2c_set_bus_speed()
|
| /OK3568_Linux_fs/kernel/drivers/infiniband/hw/qib/ |
| H A D | qib_init.c | 965 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()
|
| /OK3568_Linux_fs/kernel/drivers/i2c/busses/ |
| H A D | i2c-designware-common.c | 230 u16 *hcnt, u16 *lcnt, u32 *sda_hold) in i2c_dw_acpi_params() argument 247 *lcnt = (u16)objs[1].integer.value; in i2c_dw_acpi_params()
|
| /OK3568_Linux_fs/kernel/arch/arm64/boot/dts/altera/ |
| H A D | socfpga_stratix10_socdk.dts | 132 i2c-sdl-falling-time-ns = <890>; /* lcnt */
|
| H A D | socfpga_stratix10_socdk_nand.dts | 165 i2c-sdl-falling-time-ns = <890>; /* lcnt */
|
| /OK3568_Linux_fs/kernel/drivers/fsi/ |
| H A D | fsi-master-ast-cf.c | 347 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()
|
| /OK3568_Linux_fs/kernel/include/uapi/linux/ |
| H A D | rk-camera-module.h | 471 } lcnt; member
|
| /OK3568_Linux_fs/external/camera_engine_rkaiq/rkaiq/include/common/ |
| H A D | rk-camera-module.h | 459 } lcnt; member
|
| /OK3568_Linux_fs/kernel/drivers/media/usb/pvrusb2/ |
| H A D | pvrusb2-hdw.c | 4876 unsigned int lcnt, ucnt; in pvr2_hdw_state_log_state() local 4889 lcnt = 0; in pvr2_hdw_state_log_state() 4890 while ((lcnt + ucnt < ccnt) && (buf[lcnt + ucnt] != '\n')) { in pvr2_hdw_state_log_state() 4891 lcnt++; in pvr2_hdw_state_log_state() 4893 pr_info("%s %.*s\n", hdw->name, lcnt, buf + ucnt); in pvr2_hdw_state_log_state() 4894 ucnt += lcnt + 1; in pvr2_hdw_state_log_state()
|
| /OK3568_Linux_fs/kernel/drivers/infiniband/hw/hfi1/ |
| H A D | sdma.c | 310 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()
|
| /OK3568_Linux_fs/kernel/drivers/scsi/qla2xxx/ |
| H A D | qla_target.c | 4213 int lcnt = 0, rc; in qlt_assign_qpair() local 4232 lcnt = qpair->lun_cnt; in qlt_assign_qpair() 4253 if (qp->lun_cnt < lcnt) { in qlt_assign_qpair() 4254 lcnt = qp->lun_cnt; in qlt_assign_qpair()
|