Lines Matching refs:cdev
56 static struct ctrl_dev *cdev = (struct ctrl_dev *)CTRL_DEVICE_BASE; variable
293 int freq = am335x_get_efuse_mpu_max_freq(cdev); in get_dpll_mpu_params()
430 sil_rev = readl(&cdev->deviceid) >> 28; in scale_vcores_generic()
464 freq = am335x_get_efuse_mpu_max_freq(cdev); in scale_vcores()
739 mac_lo = readl(&cdev->macid0l); in board_late_init()
740 mac_hi = readl(&cdev->macid0h); in board_late_init()
755 mac_lo = readl(&cdev->macid1l); in board_late_init()
756 mac_hi = readl(&cdev->macid1h); in board_late_init()
847 mac_lo = readl(&cdev->macid0l); in board_eth_init()
848 mac_hi = readl(&cdev->macid0h); in board_eth_init()
864 writel(MII_MODE_ENABLE, &cdev->miisel); in board_eth_init()
868 writel(RMII_MODE_ENABLE | RMII_CHIPCKL_ENABLE, &cdev->miisel); in board_eth_init()
874 writel((RGMII_MODE_ENABLE | RGMII_INT_DELAY), &cdev->miisel); in board_eth_init()