Searched refs:num_windows (Results 1 – 6 of 6) sorted by relevance
/drivers/pci/endpoint/ |
D | pci-epc-mem.c | 49 unsigned int num_windows) in pci_epc_multi_mem_init() argument 60 epc->num_windows = 0; in pci_epc_multi_mem_init() 62 if (!windows || !num_windows) in pci_epc_multi_mem_init() 65 epc->windows = kcalloc(num_windows, sizeof(*epc->windows), GFP_KERNEL); in pci_epc_multi_mem_init() 69 for (i = 0; i < num_windows; i++) { in pci_epc_multi_mem_init() 102 epc->num_windows = num_windows; in pci_epc_multi_mem_init() 143 if (!epc->num_windows) in pci_epc_mem_exit() 146 for (i = 0; i < epc->num_windows; i++) { in pci_epc_mem_exit() 155 epc->num_windows = 0; in pci_epc_mem_exit() 179 for (i = 0; i < epc->num_windows; i++) { in pci_epc_mem_alloc_addr() [all …]
|
/drivers/pinctrl/renesas/ |
D | core.c | 35 unsigned int num_windows; in sh_pfc_map_resources() local 41 for (num_windows = 0;; num_windows++) { in sh_pfc_map_resources() 42 res = platform_get_resource(pdev, IORESOURCE_MEM, num_windows); in sh_pfc_map_resources() 46 if (num_windows == 0) in sh_pfc_map_resources() 54 windows = devm_kcalloc(pfc->dev, num_windows, sizeof(*windows), in sh_pfc_map_resources() 59 pfc->num_windows = num_windows; in sh_pfc_map_resources() 73 for (i = 0; i < num_windows; i++) { in sh_pfc_map_resources() 94 for (i = 0; i < pfc->num_windows; i++) { in sh_pfc_phys_to_virt()
|
D | gpio.c | 337 for (i = 0; i < pfc->num_windows; ++i) { in sh_pfc_register_gpiochip() 345 if (i == pfc->num_windows) in sh_pfc_register_gpiochip()
|
D | sh_pfc.h | 247 unsigned int num_windows; member
|
/drivers/gpu/drm/tegra/ |
D | dc.c | 1135 for (j = 0; j < wgrp->num_windows; j++) { in tegra_dc_add_shared_planes() 2023 if (wgrp->dc == dc->pipe && wgrp->num_windows > 0) in tegra_dc_has_window_groups() 2336 .num_windows = 1, 2341 .num_windows = 1, 2346 .num_windows = 1, 2351 .num_windows = 1, 2356 .num_windows = 1, 2361 .num_windows = 1, 2384 .num_windows = 1, 2389 .num_windows = 1, [all …]
|
D | dc.h | 47 unsigned int num_windows; member
|