Lines Matching refs:im
1832 struct snd_ali_image *im; in ali_suspend() local
1835 im = chip->image; in ali_suspend()
1836 if (!im) in ali_suspend()
1845 im->regs[ALI_MISCINT >> 2] = inl(ALI_REG(chip, ALI_MISCINT)); in ali_suspend()
1847 im->regs[ALI_STOP >> 2] = inl(ALI_REG(chip, ALI_STOP)); in ali_suspend()
1855 im->regs[i] = inl(ALI_REG(chip, i*4)); in ali_suspend()
1861 im->channel_regs[i][j] = inl(ALI_REG(chip, j*4 + 0xe0)); in ali_suspend()
1875 struct snd_ali_image *im; in ali_resume() local
1878 im = chip->image; in ali_resume()
1879 if (!im) in ali_resume()
1887 outl(im->channel_regs[i][j], ALI_REG(chip, j*4 + 0xe0)); in ali_resume()
1894 outl(im->regs[i], ALI_REG(chip, i*4)); in ali_resume()
1898 outl(im->regs[ALI_START >> 2], ALI_REG(chip, ALI_START)); in ali_resume()
1900 outl(im->regs[ALI_MISCINT >> 2], ALI_REG(chip, ALI_MISCINT)); in ali_resume()