Lines Matching refs:ctl
254 unsigned int ctl, cfg; in smc_reset() local
322 ctl = SMC_GET_CTL(lp) | CTL_LE_ENABLE; in smc_reset()
330 ctl |= CTL_AUTO_RELEASE; in smc_reset()
332 ctl &= ~CTL_AUTO_RELEASE; in smc_reset()
333 SMC_SET_CTL(lp, ctl); in smc_reset()
1196 unsigned int ctl; in smc_eph_interrupt() local
1201 ctl = SMC_GET_CTL(lp); in smc_eph_interrupt()
1202 SMC_SET_CTL(lp, ctl & ~CTL_LE_ENABLE); in smc_eph_interrupt()
1203 SMC_SET_CTL(lp, ctl); in smc_eph_interrupt()
1636 u16 ctl; in smc_write_eeprom_word() local
1649 ctl = SMC_GET_CTL(lp); in smc_write_eeprom_word()
1650 SMC_SET_CTL(lp, ctl | (CTL_EEPROM_SELECT | CTL_STORE)); in smc_write_eeprom_word()
1656 SMC_SET_CTL(lp, ctl); in smc_write_eeprom_word()
1664 u16 ctl; in smc_read_eeprom_word() local
1675 ctl = SMC_GET_CTL(lp); in smc_read_eeprom_word()
1676 SMC_SET_CTL(lp, ctl | (CTL_EEPROM_SELECT | CTL_RELOAD)); in smc_read_eeprom_word()
1684 SMC_SET_CTL(lp, ctl); in smc_read_eeprom_word()