Searched refs:res_idx (Results 1 – 9 of 9) sorted by relevance
| /linux/arch/arm/mach-mvebu/ |
| H A D | cpu-reset.c | 41 static int mvebu_cpu_reset_map(struct device_node *np, int res_idx) in mvebu_cpu_reset_map() argument 45 if (of_address_to_resource(np, res_idx, &res)) { in mvebu_cpu_reset_map() 71 int res_idx; in mvebu_cpu_reset_init() local 77 res_idx = 0; in mvebu_cpu_reset_init() 87 res_idx = 1; in mvebu_cpu_reset_init() 95 ret = mvebu_cpu_reset_map(np, res_idx); in mvebu_cpu_reset_init()
|
| /linux/arch/parisc/kernel/ |
| H A D | pci-dma.c | 251 int res_idx; in pcxl_alloc_range() local 264 PCXL_FIND_FREE_MAPPING(res_idx, mask, 8); in pcxl_alloc_range() 266 PCXL_FIND_FREE_MAPPING(res_idx, mask, 16); in pcxl_alloc_range() 268 PCXL_FIND_FREE_MAPPING(res_idx, mask, 32); in pcxl_alloc_range() 281 res_idx, mask, pcxl_res_hint); in pcxl_alloc_range() 293 return (pcxl_dma_start + (res_idx << (PAGE_SHIFT + 3))); in pcxl_alloc_range() 308 unsigned int res_idx = (vaddr - pcxl_dma_start) >> (PAGE_SHIFT + 3); in pcxl_free_range() local 315 res_idx, size, pages_mapped, mask); in pcxl_free_range() 320 PCXL_FREE_MAPPINGS(res_idx, mask, 8); in pcxl_free_range() 322 PCXL_FREE_MAPPINGS(res_idx, mask, 16); in pcxl_free_range() [all …]
|
| /linux/arch/riscv/kernel/ |
| H A D | setup.c | 144 int num_resources = 0, res_idx = 0, non_resv_res = 0; in init_resources() local 149 res_idx = num_resources - 1; in init_resources() 173 res = &mem_res[res_idx--]; in init_resources() 186 res_idx++; in init_resources() 197 res = &mem_res[res_idx--]; in init_resources() 217 standard_resources = &mem_res[res_idx + 1]; in init_resources() 220 if (res_idx >= 0) in init_resources() 221 memblock_free(mem_res, (res_idx + 1) * sizeof(*mem_res)); in init_resources()
|
| /linux/drivers/bus/ |
| H A D | omap_l3_noc.c | 240 int ret, i, res_idx; in omap_l3_probe() local 257 for (i = 0, res_idx = 0; i < l3->num_modules; i++) { in omap_l3_probe() 266 res = platform_get_resource(pdev, IORESOURCE_MEM, res_idx); in omap_l3_probe() 272 res_idx++; in omap_l3_probe()
|
| /linux/drivers/media/platform/ti/davinci/ |
| H A D | vpif_display.c | 1222 int res_idx = 0; in vpif_probe() local 1247 err = platform_get_irq_optional(pdev, res_idx); in vpif_probe() 1257 (void *)(&vpif_obj.dev[res_idx]->channel_id)); in vpif_probe() 1262 } while (++res_idx); in vpif_probe()
|
| H A D | vpif_capture.c | 1607 int res_idx = 0; in vpif_probe() local 1627 err = platform_get_irq_optional(pdev, res_idx); in vpif_probe() 1637 (void *)(&vpif_obj.dev[res_idx]->channel_id)); in vpif_probe() 1640 } while (++res_idx); in vpif_probe()
|
| /linux/drivers/fpga/ |
| H A D | dfl.c | 752 int ret, index = 0, res_idx = 0; in binfo_create_feature_dev_data() local 832 feature->resource_index = res_idx; in binfo_create_feature_dev_data() 833 fdata->resources[res_idx++] = finfo->mmio_res; in binfo_create_feature_dev_data() 854 fdata->resource_num = res_idx; in binfo_create_feature_dev_data()
|
| /linux/Documentation/trace/coresight/ |
| H A D | coresight-etm4x-reference.rst | 479 :File: ``res_idx`` (rw) 486 ``echo idx > res_idx`` 497 :Depends: ``res_idx``
|
| /linux/io_uring/ |
| H A D | rsrc.c | 1406 unsigned res_idx = 0; in io_vec_fill_kern_bvec() local 1420 res_bvec[res_idx++] = bv; in io_vec_fill_kern_bvec() 1423 iov_iter_bvec(iter, ddir, res_bvec, res_idx, total_len); in io_vec_fill_kern_bvec()
|