Lines Matching refs:rsrc
842 release_mem_region(chip->rsrc[i].start, in snd_pmac_free()
843 resource_size(&chip->rsrc[i])); in snd_pmac_free()
1182 &chip->rsrc[i])) { in snd_pmac_new()
1188 if (request_mem_region(chip->rsrc[i].start, in snd_pmac_new()
1189 resource_size(&chip->rsrc[i]), in snd_pmac_new()
1193 i, rnames[i], &chip->rsrc[i]); in snd_pmac_new()
1199 ctrl_addr = chip->rsrc[0].start; in snd_pmac_new()
1200 txdma_addr = chip->rsrc[1].start; in snd_pmac_new()
1207 &chip->rsrc[i])) { in snd_pmac_new()
1213 if (request_mem_region(chip->rsrc[i].start, in snd_pmac_new()
1214 resource_size(&chip->rsrc[i]), in snd_pmac_new()
1218 i, rnames[i], &chip->rsrc[i]); in snd_pmac_new()
1224 ctrl_addr = chip->rsrc[0].start; in snd_pmac_new()
1225 txdma_addr = chip->rsrc[1].start; in snd_pmac_new()
1226 rxdma_addr = chip->rsrc[2].start; in snd_pmac_new()