• Home
  • Raw
  • Download

Lines Matching refs:region

315 	dst = chip->region.idx[bank+1].remap_addr + offset;  in snd_cs46xx_download()
478 dst = chip->region.idx[bank+1].remap_addr + offset; in snd_cs46xx_clear_BA1()
2800 struct snd_cs46xx_region *region = entry->private_data; in snd_cs46xx_io_read() local
2802 if (copy_to_user_fromio(buf, region->remap_addr + pos, count)) in snd_cs46xx_io_read()
2817 struct snd_cs46xx_region *region = &chip->region.idx[idx]; in snd_cs46xx_proc_init() local
2818 if (! snd_card_proc_new(card, region->name, &entry)) { in snd_cs46xx_proc_init()
2822 entry->size = region->size; in snd_cs46xx_proc_init()
3828 struct snd_cs46xx_region *region; in snd_cs46xx_create() local
3858 region = &chip->region.name.ba0; in snd_cs46xx_create()
3859 strcpy(region->name, "CS46xx_BA0"); in snd_cs46xx_create()
3860 region->base = chip->ba0_addr; in snd_cs46xx_create()
3861 region->size = CS46XX_BA0_SIZE; in snd_cs46xx_create()
3863 region = &chip->region.name.data0; in snd_cs46xx_create()
3864 strcpy(region->name, "CS46xx_BA1_data0"); in snd_cs46xx_create()
3865 region->base = chip->ba1_addr + BA1_SP_DMEM0; in snd_cs46xx_create()
3866 region->size = CS46XX_BA1_DATA0_SIZE; in snd_cs46xx_create()
3868 region = &chip->region.name.data1; in snd_cs46xx_create()
3869 strcpy(region->name, "CS46xx_BA1_data1"); in snd_cs46xx_create()
3870 region->base = chip->ba1_addr + BA1_SP_DMEM1; in snd_cs46xx_create()
3871 region->size = CS46XX_BA1_DATA1_SIZE; in snd_cs46xx_create()
3873 region = &chip->region.name.pmem; in snd_cs46xx_create()
3874 strcpy(region->name, "CS46xx_BA1_pmem"); in snd_cs46xx_create()
3875 region->base = chip->ba1_addr + BA1_SP_PMEM; in snd_cs46xx_create()
3876 region->size = CS46XX_BA1_PRG_SIZE; in snd_cs46xx_create()
3878 region = &chip->region.name.reg; in snd_cs46xx_create()
3879 strcpy(region->name, "CS46xx_BA1_reg"); in snd_cs46xx_create()
3880 region->base = chip->ba1_addr + BA1_SP_REG; in snd_cs46xx_create()
3881 region->size = CS46XX_BA1_REG_SIZE; in snd_cs46xx_create()
3925 region = &chip->region.idx[idx]; in snd_cs46xx_create()
3926 region->remap_addr = devm_ioremap(&pci->dev, region->base, in snd_cs46xx_create()
3927 region->size); in snd_cs46xx_create()
3928 if (region->remap_addr == NULL) { in snd_cs46xx_create()
3930 "%s ioremap problem\n", region->name); in snd_cs46xx_create()