Home
last modified time | relevance | path

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

/linux/drivers/i2c/algos/
H A 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/drivers/i2c/busses/
H A Di2c-qcom-cci.c94 u16 tlow; /* LOW period of the SCL clock */ member
254 val = hw->thigh << 16 | hw->tlow; in cci_init()
654 .tlow = 114,
666 .tlow = 28,
687 .tlow = 114,
699 .tlow = 28,
720 .tlow = 174,
732 .tlow = 56,
744 .tlow = 22,
765 .tlow = 114,
[all …]
H A Di2c-sh_mobile.c205 static u32 sh_mobile_i2c_iccl(unsigned long count_khz, u32 tLOW, u32 tf) in sh_mobile_i2c_iccl() argument
209 * ICCL >= COUNT_CLK * (tLOW + tf) in sh_mobile_i2c_iccl()
212 * the SCL signal (tLOW) as soon as it pulls the SCL line. in sh_mobile_i2c_iccl()
213 * In order to meet the tLOW timing spec, we need to take into in sh_mobile_i2c_iccl()
217 return (((count_khz * (tLOW + tf)) + 5000) / 10000); in sh_mobile_i2c_iccl()
268 u32 tHIGH, tLOW, tf; in sh_mobile_i2c_init() local
273 tLOW = 47; /* tLOW = 4.7 us */ in sh_mobile_i2c_init()
277 tLOW = 13; /* tLOW = 1.3 us */ in sh_mobile_i2c_init()
286 pd->iccl = sh_mobile_i2c_iccl(i2c_clk_khz, tLOW, tf); in sh_mobile_i2c_init()
H A 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()
H A 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()
H A Di2c-mxs.c742 * tLOW (SCL LOW period) 4700 ns 1300 ns in mxs_i2c_derive_timing()
H A Di2c-stm32f7.c471 * the spec's tLOW/tHIGH minimums. in stm32f7_i2c_compute_timing()
/linux/include/linux/
H A Di2c-algo-pca.h59 * @tlow: Configured SCL LOW period
65 int tlow; member
/linux/drivers/i3c/master/
H A Damd-i3c-master.c926 u32 thigh, tlow, thold; in xi3c_clk_cfg() local
939 tlow = thigh; in xi3c_clk_cfg()
946 /* Hold time : 40% of tlow time */ in xi3c_clk_cfg()
947 thold = (tlow * 4) / 10; in xi3c_clk_cfg()
956 iowrite32((tlow - XI3C_CYCLE_ADJUST) & XI3C_TIMING_MASK, in xi3c_clk_cfg()
964 iowrite32((tlow - XI3C_CYCLE_ADJUST) & XI3C_TIMING_MASK, in xi3c_clk_cfg()
972 odtlow = max(tlow, odtlow); in xi3c_clk_cfg()
987 tsustart = max(tlow, tcasmin); in xi3c_clk_cfg()
988 tsustop = max(tlow, tcasmin); in xi3c_clk_cfg()
/linux/Documentation/devicetree/bindings/i2c/
H A Dsnps,designware-i2c.yaml89 This value is used to compute the tLOW period.
112 This value is used to compute the tHIGH and tLOW periods for high speed
/linux/arch/powerpc/platforms/44x/
H A Dwarp.c229 i2c_smbus_write_byte_data(client, 3, 0); /* Tlow */ in pika_setup_critical_temp()
/linux/samples/cgroup/
H A Dmemcg_event_listener.c52 printf("\tlow: %ld\n", counters->low); in print_memcg_counters()
/linux/drivers/hwmon/
H A Dtmp108.c38 #define TMP108_CONF_FL 0x0800 /* Watchdog flag - TLOW */
/linux/drivers/media/i2c/cx25840/
H A Dcx25840-ir.c1088 v4l2_info(sd, "\tLow pass filter: %s\n", in cx25840_ir_log_status()
/linux/drivers/media/pci/cx23885/
H A Dcx23888-ir.c995 v4l2_info(sd, "\tLow pass filter: %s\n", in cx23888_ir_log_status()
/linux/tools/power/pm-graph/
H A 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))
4716 if(len(data.tLow) == 0):
4720 low_time = '+'.join(data.tLow)