/linux-4.4.14/arch/arm/mach-mvebu/ |
D | cpu-reset.c | 42 static int mvebu_cpu_reset_map(struct device_node *np, int res_idx) in mvebu_cpu_reset_map() argument 46 if (of_address_to_resource(np, res_idx, &res)) { in mvebu_cpu_reset_map() 72 int res_idx; in mvebu_cpu_reset_init() local 78 res_idx = 0; in mvebu_cpu_reset_init() 88 res_idx = 1; in mvebu_cpu_reset_init() 96 ret = mvebu_cpu_reset_map(np, res_idx); in mvebu_cpu_reset_init()
|
/linux-4.4.14/drivers/parisc/ |
D | ccio-dma.c | 295 #define CCIO_SEARCH_LOOP(ioc, res_idx, mask, size) \ argument 303 res_idx = idx;\ 304 ioc->res_hint = res_idx + (size >> 3); \ 309 #define CCIO_FIND_FREE_MAPPING(ioa, res_idx, mask, size) \ argument 312 CCIO_SEARCH_LOOP(ioc, res_idx, mask, size); \ 314 CCIO_SEARCH_LOOP(ioa, res_idx, mask, size); 343 unsigned int res_idx; in ccio_alloc_range() local 375 CCIO_FIND_FREE_MAPPING(ioc, res_idx, mask, 8); in ccio_alloc_range() 377 CCIO_FIND_FREE_MAPPING(ioc, res_idx, 0xff, 8); in ccio_alloc_range() 380 CCIO_FIND_FREE_MAPPING(ioc, res_idx, 0xffff, 16); in ccio_alloc_range() [all …]
|
/linux-4.4.14/arch/parisc/kernel/ |
D | pci-dma.c | 252 int res_idx; in pcxl_alloc_range() local 265 PCXL_FIND_FREE_MAPPING(res_idx, mask, 8); in pcxl_alloc_range() 267 PCXL_FIND_FREE_MAPPING(res_idx, mask, 16); in pcxl_alloc_range() 269 PCXL_FIND_FREE_MAPPING(res_idx, mask, 32); in pcxl_alloc_range() 282 res_idx, mask, pcxl_res_hint); in pcxl_alloc_range() 294 return (pcxl_dma_start + (res_idx << (PAGE_SHIFT + 3))); in pcxl_alloc_range() 309 unsigned int res_idx = (vaddr - pcxl_dma_start) >> (PAGE_SHIFT + 3); in pcxl_free_range() local 316 res_idx, size, pages_mapped, mask); in pcxl_free_range() 321 PCXL_FREE_MAPPINGS(res_idx, mask, 8); in pcxl_free_range() 323 PCXL_FREE_MAPPINGS(res_idx, mask, 16); in pcxl_free_range() [all …]
|
/linux-4.4.14/drivers/bus/ |
D | omap_l3_noc.c | 248 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-4.4.14/drivers/gpu/drm/bridge/ |
D | dw_hdmi.c | 735 unsigned res_idx; in hdmi_phy_configure() local 748 res_idx = DW_HDMI_RES_8; in hdmi_phy_configure() 751 res_idx = DW_HDMI_RES_10; in hdmi_phy_configure() 754 res_idx = DW_HDMI_RES_12; in hdmi_phy_configure() 809 hdmi_phy_i2c_write(hdmi, mpll_config->res[res_idx].cpce, 0x06); in hdmi_phy_configure() 810 hdmi_phy_i2c_write(hdmi, mpll_config->res[res_idx].gmp, 0x15); in hdmi_phy_configure() 813 hdmi_phy_i2c_write(hdmi, curr_ctrl->curr[res_idx], 0x10); in hdmi_phy_configure()
|
/linux-4.4.14/drivers/hwtracing/coresight/ |
D | coresight-etm4x.h | 346 u8 res_idx; member
|
D | coresight-etm4x.c | 495 drvdata->res_idx = 0x2; in reset_store() 1724 val = drvdata->res_idx; in res_idx_show() 1746 drvdata->res_idx = val; in res_idx_store() 1750 static DEVICE_ATTR_RW(res_idx); 1761 idx = drvdata->res_idx; in res_ctrl_show() 1779 idx = drvdata->res_idx; in res_ctrl_store() 2516 drvdata->res_idx = 0x2; in etm4_init_default_data()
|
/linux-4.4.14/drivers/media/platform/davinci/ |
D | vpif_display.c | 1256 int res_idx = 0; in vpif_probe() local 1273 while ((res = platform_get_resource(pdev, IORESOURCE_IRQ, res_idx))) { in vpif_probe() 1276 (void *)(&vpif_obj.dev[res_idx]-> in vpif_probe() 1283 res_idx++; in vpif_probe()
|
D | vpif_capture.c | 1444 int res_idx = 0; in vpif_probe() local 1461 while ((res = platform_get_resource(pdev, IORESOURCE_IRQ, res_idx))) { in vpif_probe() 1464 (void *)(&vpif_obj.dev[res_idx]-> in vpif_probe() 1470 res_idx++; in vpif_probe()
|
/linux-4.4.14/Documentation/ABI/testing/ |
D | sysfs-bus-coresight-devices-etm4x | 234 What: /sys/bus/coresight/devices/<memory_map>.etm/res_idx
|