Home
last modified time | relevance | path

Searched refs:GLOBAL_CTRL (Results 1 – 2 of 2) sorted by relevance

/OK3568_Linux_fs/u-boot/drivers/net/phy/
H A Dmv88e6352.c29 #define GLOBAL_CTRL 0x04 macro
117 ret = sw_reg_read(devname, phy_addr, GLOBAL, GLOBAL_CTRL, &reg); in ppu_enable()
125 ret = sw_reg_write(devname, phy_addr, GLOBAL, GLOBAL_CTRL, reg); in ppu_enable()
147 ret = sw_reg_read(devname, phy_addr, GLOBAL, GLOBAL_CTRL, &reg); in ppu_disable()
155 ret = sw_reg_write(devname, phy_addr, GLOBAL, GLOBAL_CTRL, reg); in ppu_disable()
209 ret = sw_reg_read(devname, phy_addr, GLOBAL, GLOBAL_CTRL, &reg); in mv88e_sw_reset()
217 ret = sw_reg_write(devname, phy_addr, GLOBAL, GLOBAL_CTRL, reg); in mv88e_sw_reset()
/OK3568_Linux_fs/kernel/drivers/mtd/nand/raw/
H A Dcafe_nand.c758 ctrl = cafe_readl(cafe, GLOBAL_CTRL); in cafe_nand_probe()
761 cafe_writel(cafe, ctrl | 0x05, GLOBAL_CTRL); in cafe_nand_probe()
762 cafe_writel(cafe, ctrl | 0x0a, GLOBAL_CTRL); in cafe_nand_probe()
765 cafe_writel(cafe, 0x7006, GLOBAL_CTRL); in cafe_nand_probe()
766 cafe_writel(cafe, 0x700a, GLOBAL_CTRL); in cafe_nand_probe()
771 cafe_readl(cafe, GLOBAL_CTRL), in cafe_nand_probe()
853 ctrl = cafe_readl(cafe, GLOBAL_CTRL); in cafe_nand_resume()
856 cafe_writel(cafe, ctrl | 0x05, GLOBAL_CTRL); in cafe_nand_resume()
857 cafe_writel(cafe, ctrl | 0x0a, GLOBAL_CTRL); in cafe_nand_resume()
859 cafe_writel(cafe, 0x7006, GLOBAL_CTRL); in cafe_nand_resume()
[all …]