Home
last modified time | relevance | path

Searched refs:ac_timing (Results 1 – 6 of 6) sorted by relevance

/openbmc/linux/drivers/i2c/busses/
H A Di2c-mt65xx.c308 struct mtk_i2c_ac_timing ac_timing; member
601 ext_conf_val = i2c->ac_timing.ext; in mtk_i2c_init_hw()
668 if (i2c->ac_timing.inter_clk_div == 0) in mtk_i2c_get_clk_div_restri()
673 if (i2c->ac_timing.inter_clk_div == 0) in mtk_i2c_get_clk_div_restri()
675 else if (i2c->ac_timing.inter_clk_div == 1) in mtk_i2c_get_clk_div_restri()
754 i2c->ac_timing.ltiming &= ~GENMASK(15, 9); in mtk_i2c_check_ac_timing()
757 i2c->ac_timing.ext &= ~GENMASK(7, 1); in mtk_i2c_check_ac_timing()
766 i2c->ac_timing.sda_timing |= (1 << 12) | in mtk_i2c_check_ac_timing()
774 i2c->ac_timing.scl_hl_ratio = (1 << 12) | in mtk_i2c_check_ac_timing()
780 i2c->ac_timing.sda_timing = (1 << 12) | in mtk_i2c_check_ac_timing()
[all …]
/openbmc/u-boot/arch/arm/include/asm/arch-aspeed/
H A Dsdram_ast2500.h107 u32 ac_timing[3]; /* offset 0x10 ~ 0x18 */ member
H A Dsdram_ast2600.h140 u32 ac_timing[4]; /* offset 0x10 ~ 0x1C */ member
/openbmc/u-boot/drivers/i2c/
H A Dast2600_i2c.c18 u32 ac_timing; member
322 writel(data, &priv->regs->ac_timing); in ast2600_i2c_set_speed()
/openbmc/u-boot/drivers/ram/aspeed/
H A Dsdram_ast2600.c679 clrsetbits_le32(&info->regs->ac_timing[1], in ast2600_sdrammc_calc_size()
809 writel(ddr4_ac_timing[i], &regs->ac_timing[i]); in ast2600_sdrammc_common_init()
812 reg = readl(&regs->ac_timing[1]); in ast2600_sdrammc_common_init()
816 writel(reg, &regs->ac_timing[1]); in ast2600_sdrammc_common_init()
H A Dsdram_ast2500.c268 clrsetbits_le32(&info->regs->ac_timing[1], in ast2500_sdrammc_calc_size()
334 writel(ddr4_ac_timing[i], &info->regs->ac_timing[i]); in ast2500_sdrammc_init_ddr4()