Home
last modified time | relevance | path

Searched refs:saved_regs (Results 1 – 11 of 11) sorted by relevance

/sound/pci/
Dfm801.c226 u16 saved_regs[0x20]; member
1343 static const unsigned char saved_regs[] = { variable
1358 for (i = 0; i < ARRAY_SIZE(saved_regs); i++) in snd_fm801_suspend()
1359 chip->saved_regs[i] = fm801_ioread16(chip, saved_regs[i]); in snd_fm801_suspend()
1387 for (i = 0; i < ARRAY_SIZE(saved_regs); i++) in snd_fm801_resume()
1388 fm801_iowrite16(chip, saved_regs[i], chip->saved_regs[i]); in snd_fm801_resume()
Dazt3328.c2532 unsigned long io_addr, unsigned count, u32 *saved_regs) in snd_azf3328_suspend_regs() argument
2537 *saved_regs = inl(io_addr); in snd_azf3328_suspend_regs()
2539 io_addr, *saved_regs); in snd_azf3328_suspend_regs()
2540 ++saved_regs; in snd_azf3328_suspend_regs()
2541 io_addr += sizeof(*saved_regs); in snd_azf3328_suspend_regs()
2547 const u32 *saved_regs, in snd_azf3328_resume_regs() argument
2555 outl(*saved_regs, io_addr); in snd_azf3328_resume_regs()
2558 io_addr, *saved_regs, inl(io_addr)); in snd_azf3328_resume_regs()
2559 ++saved_regs; in snd_azf3328_resume_regs()
2560 io_addr += sizeof(*saved_regs); in snd_azf3328_resume_regs()
Dcs4281.c1902 static const int saved_regs[SUSPEND_REGISTERS] = { variable
1939 for (i = 0; i < ARRAY_SIZE(saved_regs); i++) in cs4281_suspend()
1940 if (saved_regs[i]) in cs4281_suspend()
1941 chip->suspend_regs[i] = snd_cs4281_peekBA0(chip, saved_regs[i]); in cs4281_suspend()
1975 for (i = 0; i < ARRAY_SIZE(saved_regs); i++) in cs4281_resume()
1976 if (saved_regs[i]) in cs4281_resume()
1977 snd_cs4281_pokeBA0(chip, saved_regs[i], chip->suspend_regs[i]); in cs4281_resume()
Des1938.c220 unsigned char saved_regs[SAVED_REG_SIZE]; member
1423 static const unsigned char saved_regs[SAVED_REG_SIZE+1] = { variable
1441 for (s = saved_regs, d = chip->saved_regs; *s; s++, d++) in es1938_suspend()
1473 for (s = saved_regs, d = chip->saved_regs; *s; s++, d++) { in es1938_resume()
Dcmipci.c490 unsigned int saved_regs[0x20]; member
3269 static const unsigned char saved_regs[] = { variable
3297 for (i = 0; i < ARRAY_SIZE(saved_regs); i++) in snd_cmipci_suspend()
3298 cm->saved_regs[i] = snd_cmipci_read(cm, saved_regs[i]); in snd_cmipci_suspend()
3320 for (i = 0; i < ARRAY_SIZE(saved_regs); i++) in snd_cmipci_resume()
3321 snd_cmipci_write(cm, saved_regs[i], cm->saved_regs[i]); in snd_cmipci_resume()
/sound/isa/sb/
Dsb_mixer.c882 unsigned char *val = chip->saved_regs; in save_mixer()
883 if (snd_BUG_ON(num_regs > ARRAY_SIZE(chip->saved_regs))) in save_mixer()
891 unsigned char *val = chip->saved_regs; in restore_mixer()
892 if (snd_BUG_ON(num_regs > ARRAY_SIZE(chip->saved_regs))) in restore_mixer()
/sound/pci/cs46xx/
Dcs46xx_lib.c3713 static const unsigned int saved_regs[] = { variable
3736 for (i = 0; i < ARRAY_SIZE(saved_regs); i++) in snd_cs46xx_suspend()
3737 chip->saved_regs[i] = snd_cs46xx_peekBA0(chip, saved_regs[i]); in snd_cs46xx_suspend()
3769 for (i = 0; i < ARRAY_SIZE(saved_regs); i++) in snd_cs46xx_resume()
3770 snd_cs46xx_pokeBA0(chip, saved_regs[i], chip->saved_regs[i]); in snd_cs46xx_resume()
3957 chip->saved_regs = devm_kmalloc_array(&pci->dev, in snd_cs46xx_create()
3958 ARRAY_SIZE(saved_regs), in snd_cs46xx_create()
3959 sizeof(*chip->saved_regs), in snd_cs46xx_create()
3961 if (!chip->saved_regs) in snd_cs46xx_create()
Dcs46xx.h1714 u32 *saved_regs; member
/sound/pci/ymfpci/
Dymfpci.h349 u32 *saved_regs; member
Dymfpci_main.c2267 chip->saved_regs[i] = snd_ymfpci_readl(chip, saved_regs_index[i]); in snd_ymfpci_suspend()
2292 snd_ymfpci_writel(chip, saved_regs_index[i], chip->saved_regs[i]); in snd_ymfpci_resume()
2383 chip->saved_regs = devm_kmalloc_array(&pci->dev, YDSXGR_NUM_SAVED_REGS, in snd_ymfpci_create()
2385 if (!chip->saved_regs) in snd_ymfpci_create()
/sound/pci/emu10k1/
Demu10k1_main.c2000 static const unsigned char saved_regs[] = { variable
2019 size = ARRAY_SIZE(saved_regs); in alloc_pm_buffer()
2048 for (reg = saved_regs; *reg != 0xff; reg++) in snd_emu10k1_suspend_regs()
2088 for (reg = saved_regs; *reg != 0xff; reg++) in snd_emu10k1_resume_regs()