Home
last modified time | relevance | path

Searched full:tlow (Results 1 – 22 of 22) sorted by relevance

/linux-6.14.4/drivers/i2c/algos/
Di2c-algo-pca.c52 pca_outw(adap, I2C_PCA_IND, adap->bus_settings.tlow); in pca_reset()
451 int tlow, thi; in pca_init() local
500 /* The minimum clock that respects the thi/tlow = 134/157 is in pca_init()
501 * 64800 Hz. Below that, we have to fix the tlow to 255 and in pca_init()
505 tlow = 255; in pca_init()
507 thi /= (I2C_PCA_OSC_PER * clock) - tlow; in pca_init()
509 tlow = (1000000 - clock * raise_fall_time) * min_tlow; in pca_init()
510 tlow /= I2C_PCA_OSC_PER * clock * (min_thi + min_tlow); in pca_init()
511 thi = tlow * min_thi / min_tlow; in pca_init()
516 pca_data->bus_settings.tlow = tlow; in pca_init()
/linux-6.14.4/drivers/i2c/busses/
Di2c-qcom-cci.c97 u16 tlow; /* LOW period of the SCL clock */ member
275 val = hw->thigh << 16 | hw->tlow; in cci_init()
686 .tlow = 114,
698 .tlow = 28,
719 .tlow = 114,
731 .tlow = 28,
752 .tlow = 174,
764 .tlow = 56,
776 .tlow = 22,
Di2c-sh_mobile.c204 static u32 sh_mobile_i2c_iccl(unsigned long count_khz, u32 tLOW, u32 tf) in sh_mobile_i2c_iccl() argument
208 * ICCL >= COUNT_CLK * (tLOW + tf) in sh_mobile_i2c_iccl()
211 * the SCL signal (tLOW) as soon as it pulls the SCL line. in sh_mobile_i2c_iccl()
212 * In order to meet the tLOW timing spec, we need to take into in sh_mobile_i2c_iccl()
216 return (((count_khz * (tLOW + tf)) + 5000) / 10000); in sh_mobile_i2c_iccl()
267 u32 tHIGH, tLOW, tf; in sh_mobile_i2c_init() local
272 tLOW = 47; /* tLOW = 4.7 us */ in sh_mobile_i2c_init()
276 tLOW = 13; /* tLOW = 1.3 us */ in sh_mobile_i2c_init()
285 pd->iccl = sh_mobile_i2c_iccl(i2c_clk_khz, tLOW, tf); in sh_mobile_i2c_init()
Di2c-uniphier.c297 * Bit30-16: clock cycles of tLOW. in uniphier_i2c_hw_init()
298 * Standard-mode: tLOW = 4.7 us, tHIGH = 4.0 us in uniphier_i2c_hw_init()
299 * Fast-mode: tLOW = 1.3 us, tHIGH = 0.6 us in uniphier_i2c_hw_init()
300 * "tLow/tHIGH = 5/4" meets both. in uniphier_i2c_hw_init()
Di2c-uniphier-f.c488 * Standard-mode: tLOW + tHIGH = 10 us in uniphier_fi2c_hw_init()
489 * Fast-mode: tLOW + tHIGH = 2.5 us in uniphier_fi2c_hw_init()
493 * Standard-mode: tLOW = 4.7 us, tHIGH = 4.0 us, tBUF = 4.7 us in uniphier_fi2c_hw_init()
494 * Fast-mode: tLOW = 1.3 us, tHIGH = 0.6 us, tBUF = 1.3 us in uniphier_fi2c_hw_init()
495 * "tLow/tHIGH = 5/4" meets both. in uniphier_fi2c_hw_init()
Di2c-designware-common.c441 u32 tLOW, u32 tf, int offset) in i2c_dw_scl_lcnt() argument
449 * IC_[FS]S_SCL_LCNT + 1 >= IC_CLK * (tLOW + tf) in i2c_dw_scl_lcnt()
452 * of the SCL clock (tLOW) as soon as it pulls the SCL line. in i2c_dw_scl_lcnt()
453 * In order to meet the tLOW timing spec, we need to take into in i2c_dw_scl_lcnt()
457 return DIV_ROUND_CLOSEST_ULL((u64)ic_clk * (tLOW + tf), MICRO) - 1 + offset; in i2c_dw_scl_lcnt()
Di2c-tegra.c609 u32 val, clk_divisor, clk_multiplier, tsu_thd, tlow, thigh, non_hs_mode; in tegra_i2c_init() local
647 tlow = i2c_dev->hw->tlow_fast_fastplus_mode; in tegra_i2c_init()
658 tlow = i2c_dev->hw->tlow_std_mode; in tegra_i2c_init()
673 FIELD_PREP(I2C_INTERFACE_TIMING_TLOW, tlow); in tegra_i2c_init()
684 clk_multiplier = (tlow + thigh + 2) * (non_hs_mode + 1); in tegra_i2c_init()
Di2c-designware-master.c80 4700, /* tLOW = 4.7 us */ in i2c_dw_set_timings_master()
113 500, /* tLOW = 500 ns */ in i2c_dw_set_timings_master()
136 1300, /* tLOW = 1.3 us */ in i2c_dw_set_timings_master()
Di2c-designware-core.h340 u32 tLOW, u32 tf, int offset);
Di2c-xiic.c164 #define XIIC_TLOW_REG_OFFSET (0x40 + XIIC_REG_OFFSET) /* TLOW Register */
450 /* TLOW - Value same as THIGH */ in xiic_setclk()
Di2c-mxs.c734 * tLOW (SCL LOW period) 4700 ns 1300 ns in mxs_i2c_derive_timing()
Di2c-rk3x.c734 * tLow = 8 * l * T;
/linux-6.14.4/include/linux/
Di2c-algo-pca.h59 * @tlow: Configured SCL LOW period
65 int tlow; member
/linux-6.14.4/Documentation/devicetree/bindings/i2c/
Dsnps,designware-i2c.yaml81 This value is used to compute the tLOW period.
104 This value is used to compute the tHIGH and tLOW periods for high speed
/linux-6.14.4/arch/powerpc/platforms/44x/
Dwarp.c229 i2c_smbus_write_byte_data(client, 3, 0); /* Tlow */ in pika_setup_critical_temp()
/linux-6.14.4/samples/cgroup/
Dmemcg_event_listener.c54 printf("\tlow: %ld\n", counters->low); in print_memcg_counters()
/linux-6.14.4/drivers/hwmon/
Dtmp108.c38 #define TMP108_CONF_FL 0x0800 /* Watchdog flag - TLOW */
/linux-6.14.4/drivers/media/i2c/cx25840/
Dcx25840-ir.c1088 v4l2_info(sd, "\tLow pass filter: %s\n", in cx25840_ir_log_status()
/linux-6.14.4/drivers/media/pci/cx23885/
Dcx23888-ir.c995 v4l2_info(sd, "\tLow pass filter: %s\n", in cx23888_ir_log_status()
/linux-6.14.4/drivers/media/i2c/
Dimx335.c1111 usleep_range(500, 550); /* Tlow */ in imx335_power_on()
/linux-6.14.4/drivers/i3c/master/
Ddw-i3c-master.c585 * will be set up by dw_i2c_clk_cfg as tLOW. in dw_i3c_clk_cfg()
/linux-6.14.4/tools/power/pm-graph/
Dsleepgraph.py1541 self.tLow = [] # time spent in low-level suspends (standby/freeze)
1870 self.tLow.append(text)
1879 self.tLow.append('%.0f'%((hwr - hws).total_seconds() * 1000))
4715 if(len(data.tLow) == 0):
4719 low_time = '+'.join(data.tLow)