Lines Matching refs:menelaus_read_reg
182 static int menelaus_read_reg(int reg) in menelaus_read_reg() function
266 reg = menelaus_read_reg(MENELAUS_MCT_PIN_ST); in menelaus_mmc_cd_work()
291 ret = menelaus_read_reg(MENELAUS_MCT_CTRL1); in menelaus_set_mmc_opendrain()
320 ret = menelaus_read_reg(MENELAUS_GPIO_CTRL); in menelaus_set_slot_sel()
346 ret = menelaus_read_reg(MENELAUS_MCT_CTRL2); in menelaus_set_mmc_slot()
365 ret = menelaus_read_reg(MENELAUS_MCT_CTRL3); in menelaus_set_mmc_slot()
381 b = menelaus_read_reg(MENELAUS_MCT_CTRL2); in menelaus_set_mmc_slot()
456 ret = menelaus_read_reg(vtg->vtg_reg); in menelaus_set_voltage()
546 val = menelaus_read_reg(MENELAUS_VCORE_CTRL1); in menelaus_set_vcore_hw()
726 return menelaus_read_reg(MENELAUS_MCT_PIN_ST); in menelaus_get_slot_pin_states()
742 ret = menelaus_read_reg(MENELAUS_GPIO_CTRL); in menelaus_set_regulator_sleep()
768 isr = (menelaus_read_reg(MENELAUS_INT_STATUS2) in menelaus_work()
770 isr |= menelaus_read_reg(MENELAUS_INT_STATUS1) in menelaus_work()
1086 if (!(menelaus_read_reg(MENELAUS_OSC_CTRL) & 0x80)) { in menelaus_rtc_init()
1108 m->rtc_control = menelaus_read_reg(MENELAUS_RTC_CTRL); in menelaus_rtc_init()
1168 rev = menelaus_read_reg(MENELAUS_REV); in menelaus_probe()
1200 err = menelaus_read_reg(MENELAUS_VCORE_CTRL1); in menelaus_probe()