Lines Matching refs:im
1878 struct snd_ali_image *im; in ali_suspend() local
1881 im = chip->image; in ali_suspend()
1882 if (!im) in ali_suspend()
1893 im->regs[ALI_MISCINT >> 2] = inl(ALI_REG(chip, ALI_MISCINT)); in ali_suspend()
1895 im->regs[ALI_STOP >> 2] = inl(ALI_REG(chip, ALI_STOP)); in ali_suspend()
1903 im->regs[i] = inl(ALI_REG(chip, i*4)); in ali_suspend()
1909 im->channel_regs[i][j] = inl(ALI_REG(chip, j*4 + 0xe0)); in ali_suspend()
1923 struct snd_ali_image *im; in ali_resume() local
1926 im = chip->image; in ali_resume()
1927 if (!im) in ali_resume()
1935 outl(im->channel_regs[i][j], ALI_REG(chip, j*4 + 0xe0)); in ali_resume()
1942 outl(im->regs[i], ALI_REG(chip, i*4)); in ali_resume()
1946 outl(im->regs[ALI_START >> 2], ALI_REG(chip, ALI_START)); in ali_resume()
1948 outl(im->regs[ALI_MISCINT >> 2], ALI_REG(chip, ALI_MISCINT)); in ali_resume()