Home
last modified time | relevance | path

Searched refs:CLKEN_OFFSET (Results 1 – 3 of 3) sorted by relevance

/openbmc/u-boot/drivers/i2c/
H A Dkona_i2c.c58 #define CLKEN_OFFSET 0x0000004c macro
207 writel(readl(dev->base + CLKEN_OFFSET) | CLKEN_CLKEN_MASK, in bcm_kona_i2c_enable_clock()
208 dev->base + CLKEN_OFFSET); in bcm_kona_i2c_enable_clock()
213 writel(readl(dev->base + CLKEN_OFFSET) & ~CLKEN_CLKEN_MASK, in bcm_kona_i2c_disable_clock()
214 dev->base + CLKEN_OFFSET); in bcm_kona_i2c_disable_clock()
463 writel(readl(dev->base + CLKEN_OFFSET) & ~CLKEN_AUTOSENSE_OFF_MASK, in bcm_kona_i2c_enable_autosense()
464 dev->base + CLKEN_OFFSET); in bcm_kona_i2c_enable_autosense()
480 CLKEN_CLKEN_MASK, dev->base + CLKEN_OFFSET); in bcm_kona_i2c_config_timing()
/openbmc/linux/drivers/i2c/busses/
H A Di2c-bcm-kona.c57 #define CLKEN_OFFSET 0x0000004C macro
198 writel(readl(dev->base + CLKEN_OFFSET) | CLKEN_CLKEN_MASK, in bcm_kona_i2c_enable_clock()
199 dev->base + CLKEN_OFFSET); in bcm_kona_i2c_enable_clock()
204 writel(readl(dev->base + CLKEN_OFFSET) & ~CLKEN_CLKEN_MASK, in bcm_kona_i2c_disable_clock()
205 dev->base + CLKEN_OFFSET); in bcm_kona_i2c_disable_clock()
505 writel(readl(dev->base + CLKEN_OFFSET) & ~CLKEN_AUTOSENSE_OFF_MASK, in bcm_kona_i2c_enable_autosense()
506 dev->base + CLKEN_OFFSET); in bcm_kona_i2c_enable_autosense()
523 dev->base + CLKEN_OFFSET); in bcm_kona_i2c_config_timing()
/openbmc/linux/include/linux/mdio/
H A Dmdio-xgene.h25 #define CLKEN_OFFSET 0x08 macro