Lines Matching defs:reset
144 /* We don't do a cold reset here, because this would reset general purpose
148 * If a cold reset is still in progress, we need to finish it by writing
149 * a 1 to the cold reset bit (CNT_COLD). We do not preserve others bits,
152 * Doing a warm reset it required to leave certain power down modes. Warm
153 * reset does also reset GPIO pins, but the ICH hardware does only execute
154 * the reset request if BIT_CLOCK is not running and if it's really required.
156 LOG(("reset starting, ICH_REG_GLOB_CNT = 0x%08lx\n", ich_reg_read_32(cookie, ICH_REG_GLOB_CNT)));
158 // finish cold reset by writing a 1 and clear all other bits to 0
162 // request warm reset by setting the bit, it will clear when reset is done
166 // wait up to 1 second for warm reset to be finished
174 LOG(("reset failed, ICH_REG_GLOB_CNT = 0x%08lx\n", value));
177 LOG(("reset finished after %Ld, ICH_REG_GLOB_CNT = 0x%08lx\n", system_time() - start, value));
219 uint16 reset;
221 reset = ich_codec_read(cookie, 0x00); /* access the primary codec */
222 if (reset == 0 || reset == 0xFFFF) {
229 reset = ich_codec_read(cookie, 0x80); /* access the secondary codec */
230 if (reset == 0 || reset == 0xFFFF) {
237 reset = ich_codec_read(cookie, 0x100); /* access the tertiary codec */
238 if (reset == 0 || reset == 0xFFFF) {
312 LOG(("channel reset finished, %d\n",i));
317 LOG(("channel reset failed after 10ms\n"));