Home
last modified time | relevance | path

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

/Linux-v4.19/arch/arm/mach-mvebu/
Dcpu-reset.c44 static int mvebu_cpu_reset_map(struct device_node *np, int res_idx) in mvebu_cpu_reset_map() argument
48 if (of_address_to_resource(np, res_idx, &res)) { in mvebu_cpu_reset_map()
74 int res_idx; in mvebu_cpu_reset_init() local
80 res_idx = 0; in mvebu_cpu_reset_init()
90 res_idx = 1; in mvebu_cpu_reset_init()
98 ret = mvebu_cpu_reset_map(np, res_idx); in mvebu_cpu_reset_init()
/Linux-v4.19/arch/parisc/kernel/
Dpci-dma.c247 int res_idx; in pcxl_alloc_range() local
260 PCXL_FIND_FREE_MAPPING(res_idx, mask, 8); in pcxl_alloc_range()
262 PCXL_FIND_FREE_MAPPING(res_idx, mask, 16); in pcxl_alloc_range()
264 PCXL_FIND_FREE_MAPPING(res_idx, mask, 32); in pcxl_alloc_range()
277 res_idx, mask, pcxl_res_hint); in pcxl_alloc_range()
289 return (pcxl_dma_start + (res_idx << (PAGE_SHIFT + 3))); in pcxl_alloc_range()
304 unsigned int res_idx = (vaddr - pcxl_dma_start) >> (PAGE_SHIFT + 3); in pcxl_free_range() local
311 res_idx, size, pages_mapped, mask); in pcxl_free_range()
316 PCXL_FREE_MAPPINGS(res_idx, mask, 8); in pcxl_free_range()
318 PCXL_FREE_MAPPINGS(res_idx, mask, 16); in pcxl_free_range()
[all …]
/Linux-v4.19/drivers/parisc/
Dccio-dma.c297 #define CCIO_SEARCH_LOOP(ioc, res_idx, mask, size) \ argument
305 res_idx = idx;\
306 ioc->res_hint = res_idx + (size >> 3); \
311 #define CCIO_FIND_FREE_MAPPING(ioa, res_idx, mask, size) \ argument
314 CCIO_SEARCH_LOOP(ioc, res_idx, mask, size); \
316 CCIO_SEARCH_LOOP(ioa, res_idx, mask, size);
345 unsigned int res_idx; in ccio_alloc_range() local
377 CCIO_FIND_FREE_MAPPING(ioc, res_idx, mask, 8); in ccio_alloc_range()
379 CCIO_FIND_FREE_MAPPING(ioc, res_idx, 0xff, 8); in ccio_alloc_range()
382 CCIO_FIND_FREE_MAPPING(ioc, res_idx, 0xffff, 16); in ccio_alloc_range()
[all …]
/Linux-v4.19/drivers/bus/
Domap_l3_noc.c248 int ret, i, res_idx; in omap_l3_probe() local
265 for (i = 0, res_idx = 0; i < l3->num_modules; i++) { in omap_l3_probe()
274 res = platform_get_resource(pdev, IORESOURCE_MEM, res_idx); in omap_l3_probe()
280 res_idx++; in omap_l3_probe()
/Linux-v4.19/sound/soc/intel/skylake/
Dskl-topology.c167 u8 res_idx = mconfig->res_idx; in skl_is_pipe_mcps_avail() local
168 struct skl_module_res *res = &mconfig->module->resources[res_idx]; in skl_is_pipe_mcps_avail()
186 u8 res_idx = mconfig->res_idx; in skl_tplg_alloc_pipe_mcps() local
187 struct skl_module_res *res = &mconfig->module->resources[res_idx]; in skl_tplg_alloc_pipe_mcps()
198 u8 res_idx = mconfig->res_idx; in skl_tplg_free_pipe_mcps() local
199 struct skl_module_res *res = &mconfig->module->resources[res_idx]; in skl_tplg_free_pipe_mcps()
597 mconfig->res_idx = mconfig->mod_cfg[cfg_idx].res_idx; in skl_tplg_init_pipe_modules()
1683 mconfig->res_idx = mconfig->mod_cfg[cfg_idx].res_idx; in skl_tplg_update_pipe_params()
2407 int res_idx = mconfig->res_idx; in skl_tplg_get_token() local
2416 res = &mconfig->module->resources[res_idx]; in skl_tplg_get_token()
[all …]
Dskl-topology.h299 u8 res_idx; member
388 int res_idx; member
Dskl-messages.c468 struct skl_module_res *res = &module->resources[mconfig->res_idx]; in skl_set_base_module_format()
579 int res_idx = mconfig->res_idx; in skl_setup_cpr_gateway_cfg() local
590 res = &mconfig->module->resources[mconfig->res_idx]; in skl_setup_cpr_gateway_cfg()
594 res = &mconfig->module->resources[res_idx]; in skl_setup_cpr_gateway_cfg()
/Linux-v4.19/drivers/hwtracing/coresight/
Dcoresight-etm4x.h264 u8 res_idx; member
Dcoresight-etm4x-sysfs.c237 config->res_idx = 0x0; in reset_store()
1525 val = config->res_idx; in res_idx_show()
1548 config->res_idx = val; in res_idx_store()
1552 static DEVICE_ATTR_RW(res_idx);
1564 idx = config->res_idx; in res_ctrl_show()
1583 idx = config->res_idx; in res_ctrl_store()
/Linux-v4.19/drivers/media/platform/davinci/
Dvpif_display.c1258 int res_idx = 0; in vpif_probe() local
1280 while ((res = platform_get_resource(pdev, IORESOURCE_IRQ, res_idx))) { in vpif_probe()
1283 (void *)(&vpif_obj.dev[res_idx]-> in vpif_probe()
1290 res_idx++; in vpif_probe()
Dvpif_capture.c1627 int res_idx = 0; in vpif_probe() local
1655 while ((res = platform_get_resource(pdev, IORESOURCE_IRQ, res_idx))) { in vpif_probe()
1658 (void *)(&vpif_obj.dev[res_idx]-> in vpif_probe()
1664 res_idx++; in vpif_probe()
/Linux-v4.19/drivers/net/ethernet/hisilicon/hns/
Dhns_dsaf_main.c51 u32 res_idx = 0; in hns_dsaf_get_cfg() local
111 res_idx++); in hns_dsaf_get_cfg()
123 res_idx++); in hns_dsaf_get_cfg()
140 res = platform_get_resource(pdev, IORESOURCE_MEM, res_idx++); in hns_dsaf_get_cfg()
156 res_idx); in hns_dsaf_get_cfg()
/Linux-v4.19/Documentation/ABI/testing/
Dsysfs-bus-coresight-devices-etm4x234 What: /sys/bus/coresight/devices/<memory_map>.etm/res_idx