Home
last modified time | relevance | path

Searched refs:res_idx (Results 1 – 14 of 14) sorted by relevance

/linux/arch/arm/mach-mvebu/
A Dcpu-reset.c41 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/
A Dpci-dma.c251 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/drivers/parisc/
A Dccio-dma.c292 res_idx = idx;\
293 ioc->res_hint = res_idx + (size >> 3); \
301 CCIO_SEARCH_LOOP(ioc, res_idx, mask, size); \
303 CCIO_SEARCH_LOOP(ioa, res_idx, mask, size);
333 unsigned int res_idx; in ccio_alloc_range() local
387 __func__, res_idx, ioc->res_hint); in ccio_alloc_range()
403 return res_idx << 3; in ccio_alloc_range()
424 unsigned int res_idx = PDIR_INDEX(iovp) >> 3; in ccio_free_range() local
431 __func__, res_idx, pages_mapped); in ccio_free_range()
441 CCIO_FREE_MAPPINGS(ioc, res_idx, mask, 8); in ccio_free_range()
[all …]
/linux/arch/riscv/kernel/
A Dsetup.c142 int num_resources = 0, res_idx = 0; in init_resources() local
147 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()
216 if (res_idx >= 0) in init_resources()
217 memblock_free(mem_res, (res_idx + 1) * sizeof(*mem_res)); in init_resources()
/linux/drivers/bus/
A Domap_l3_noc.c240 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/
A Dvpif_display.c1224 int res_idx = 0; in vpif_probe() local
1249 err = platform_get_irq_optional(pdev, res_idx); in vpif_probe()
1259 (void *)(&vpif_obj.dev[res_idx]->channel_id)); in vpif_probe()
1264 } while (++res_idx); in vpif_probe()
A Dvpif_capture.c1610 int res_idx = 0; in vpif_probe() local
1630 err = platform_get_irq_optional(pdev, res_idx); in vpif_probe()
1640 (void *)(&vpif_obj.dev[res_idx]->channel_id)); in vpif_probe()
1643 } while (++res_idx); in vpif_probe()
/linux/drivers/i2c/busses/
A Di2c-mlxbf.c1057 u8 res_idx = 0; in mlxbf_i2c_get_shared_resource() local
1059 for (res_idx = 0; res_idx < MLXBF_I2C_SHARED_RES_MAX; res_idx++) { in mlxbf_i2c_get_shared_resource()
1060 res = chip->shared_res[res_idx]; in mlxbf_i2c_get_shared_resource()
/linux/drivers/hwtracing/coresight/
A Dcoresight-etm4x-sysfs.c239 config->res_idx = 0x0; in reset_store()
1665 val = config->res_idx; in res_idx_show()
1691 config->res_idx = val; in res_idx_store()
1695 static DEVICE_ATTR_RW(res_idx);
1707 idx = config->res_idx; in res_ctrl_show()
1726 idx = config->res_idx; in res_ctrl_store()
A Dcoresight-etm4x.h842 u8 res_idx; member
/linux/Documentation/trace/coresight/
A Dcoresight-etm4x-reference.rst479 :File: ``res_idx`` (rw)
486 ``echo idx > res_idx``
497 :Depends: ``res_idx``
/linux/drivers/fpga/
A Ddfl.c768 int ret, index = 0, res_idx = 0; in build_info_commit_dev() local
845 feature->resource_index = res_idx; in build_info_commit_dev()
846 fdev->resource[res_idx++] = finfo->mmio_res; in build_info_commit_dev()
/linux/drivers/net/ethernet/hisilicon/hns/
A Dhns_dsaf_main.c47 u32 res_idx = 0; in hns_dsaf_get_cfg() local
107 res_idx++); in hns_dsaf_get_cfg()
119 res_idx++); in hns_dsaf_get_cfg()
136 res = platform_get_resource(pdev, IORESOURCE_MEM, res_idx++); in hns_dsaf_get_cfg()
152 res_idx); in hns_dsaf_get_cfg()
/linux/Documentation/ABI/testing/
A Dsysfs-bus-coresight-devices-etm4x234 What: /sys/bus/coresight/devices/etm<N>/res_idx

Completed in 61 milliseconds