Home
last modified time | relevance | path

Searched refs:windows (Results 1 – 25 of 53) sorted by relevance

123

/drivers/pci/endpoint/
Dpci-epc-mem.c48 struct pci_epc_mem_window *windows, in pci_epc_multi_mem_init() argument
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()
66 if (!epc->windows) in pci_epc_multi_mem_init()
70 page_size = windows[i].page_size; in pci_epc_multi_mem_init()
74 pages = windows[i].size >> page_shift; in pci_epc_multi_mem_init()
92 mem->window.phys_base = windows[i].phys_base; in pci_epc_multi_mem_init()
93 mem->window.size = windows[i].size; in pci_epc_multi_mem_init()
98 epc->windows[i] = mem; in pci_epc_multi_mem_init()
101 epc->mem = epc->windows[0]; in pci_epc_multi_mem_init()
[all …]
/drivers/mailbox/
Darm_mhuv2.c182 unsigned int windows; member
233 u32 windows; member
329 int i = priv->ch_wn_idx + priv->windows - 1; in mhuv2_data_transfer_rx_startup()
343 int i = priv->ch_wn_idx + priv->windows - 1; in mhuv2_data_transfer_rx_shutdown()
352 const int windows = priv->windows; in mhuv2_data_transfer_read_data() local
357 msg = kzalloc(sizeof(*msg) + windows * MHUV2_STAT_BYTES, GFP_KERNEL); in mhuv2_data_transfer_read_data()
362 msg->len = windows * MHUV2_STAT_BYTES; in mhuv2_data_transfer_read_data()
376 for (i = 0; i < windows; i++) { in mhuv2_data_transfer_read_data()
378 data[windows - 1 - i] = readl_relaxed(&mhu->recv->ch_wn[idx].stat); in mhuv2_data_transfer_read_data()
389 int i = priv->ch_wn_idx + priv->windows - 1; in mhuv2_data_transfer_tx_startup()
[all …]
/drivers/gpu/drm/nouveau/dispnv50/
Dcorec37d.c37 const u32 windows = 8; /*XXX*/ in corec37d_wndw_owner() local
40 if ((ret = PUSH_WAIT(push, windows * 2))) in corec37d_wndw_owner()
43 for (i = 0; i < windows; i++) { in corec37d_wndw_owner()
131 const u32 windows = 8; /*XXX*/ in corec37d_init() local
134 if ((ret = PUSH_WAIT(push, 2 + windows * 5))) in corec37d_init()
139 for (i = 0; i < windows; i++) { in corec37d_init()
Dcorec57d.c33 const u32 windows = 8; /*XXX*/ in corec57d_init() local
36 if ((ret = PUSH_WAIT(push, 2 + windows * 5))) in corec57d_init()
41 for (i = 0; i < windows; i++) { in corec57d_init()
/drivers/pci/controller/
Dpcie-iproc-bcma.c62 pci_add_resource(&bridge->windows, &pcie->mem); in iproc_bcma_pcie_probe()
63 ret = devm_request_pci_bus_resources(dev, &bridge->windows); in iproc_bcma_pcie_probe()
71 return iproc_pcie_setup(pcie, &bridge->windows); in iproc_bcma_pcie_probe()
Dpcie-rockchip-ep.c507 struct pci_epc_mem_window *windows = NULL; in rockchip_pcie_ep_probe() local
556 windows = devm_kcalloc(dev, ep->max_regions, in rockchip_pcie_ep_probe()
558 if (!windows) { in rockchip_pcie_ep_probe()
563 windows[i].phys_base = rockchip->mem_res->start + (SZ_1M * i); in rockchip_pcie_ep_probe()
564 windows[i].size = SZ_1M; in rockchip_pcie_ep_probe()
565 windows[i].page_size = SZ_1M; in rockchip_pcie_ep_probe()
567 err = pci_epc_multi_mem_init(epc, windows, ep->max_regions); in rockchip_pcie_ep_probe()
568 devm_kfree(dev, windows); in rockchip_pcie_ep_probe()
Dpci-host-common.c37 bus = resource_list_first_type(&bridge->windows, IORESOURCE_BUS); in gen_pci_init()
Dpcie-iproc-platform.c107 ret = iproc_pcie_setup(pcie, &bridge->windows); in iproc_pltfm_pcie_probe()
Dpci-versatile.c91 resource_list_for_each_entry(entry, &bridge->windows) { in versatile_pci_probe()
Dpci-ixp4xx.c389 win = resource_list_first_type(&bridge->windows, IORESOURCE_MEM); in ixp4xx_pci_parse_map_ranges()
415 win = resource_list_first_type(&bridge->windows, IORESOURCE_IO); in ixp4xx_pci_parse_map_ranges()
Dpcie-mediatek.c676 entry = resource_list_first_type(&host->windows, IORESOURCE_MEM); in mtk_pcie_startup_port_v2()
1138 struct list_head *windows = &host->windows; in mtk_pcie_free_resources() local
1140 pci_free_resource_list(windows); in mtk_pcie_free_resources()
/drivers/spi/
Dspi-aspeed-smc.c391 struct aspeed_spi_window windows[ASPEED_SPI_MAX_NUM_CS]) in aspeed_spi_get_windows()
399 windows[cs].cs = cs; in aspeed_spi_get_windows()
400 windows[cs].size = data->segment_end(aspi, reg_val) - in aspeed_spi_get_windows()
402 windows[cs].offset = data->segment_start(aspi, reg_val) - aspi->ahb_base_phy; in aspeed_spi_get_windows()
404 windows[cs].offset, windows[cs].size); in aspeed_spi_get_windows()
415 struct aspeed_spi_window windows[ASPEED_SPI_MAX_NUM_CS] = { 0 }; in aspeed_spi_chip_set_default_window() local
416 struct aspeed_spi_window *win = &windows[chip->cs]; in aspeed_spi_chip_set_default_window()
423 aspeed_spi_get_windows(aspi, windows); in aspeed_spi_chip_set_default_window()
485 struct aspeed_spi_window windows[ASPEED_SPI_MAX_NUM_CS] = { 0 }; in aspeed_spi_chip_adjust_window() local
486 struct aspeed_spi_window *win = &windows[chip->cs]; in aspeed_spi_chip_adjust_window()
[all …]
/drivers/pinctrl/renesas/
Dcore.c33 struct sh_pfc_window *windows; in sh_pfc_map_resources() local
54 windows = devm_kcalloc(pfc->dev, num_windows, sizeof(*windows), in sh_pfc_map_resources()
56 if (windows == NULL) in sh_pfc_map_resources()
60 pfc->windows = windows; in sh_pfc_map_resources()
74 windows->virt = devm_platform_get_and_ioremap_resource(pdev, i, &res); in sh_pfc_map_resources()
75 if (IS_ERR(windows->virt)) in sh_pfc_map_resources()
77 windows->phys = res->start; in sh_pfc_map_resources()
78 windows->size = resource_size(res); in sh_pfc_map_resources()
79 windows++; in sh_pfc_map_resources()
95 window = pfc->windows + i; in sh_pfc_phys_to_virt()
Dgpio.c337 struct sh_pfc_window *window = &pfc->windows[i]; in sh_pfc_register_gpiochip()
354 chip = sh_pfc_add_gpiochip(pfc, gpio_pin_setup, &pfc->windows[i]); in sh_pfc_register_gpiochip()
/drivers/pci/
Dhost-bridge.c58 resource_list_for_each_entry(window, &bridge->windows) { in pcibios_resource_to_bus()
83 resource_list_for_each_entry(window, &bridge->windows) { in pcibios_bus_to_resource()
Dof.c557 INIT_LIST_HEAD(&bridge->windows); in pci_parse_request_of_pci_ranges()
560 err = devm_of_pci_get_host_bridge_resources(dev, 0, 0xff, &bridge->windows, in pci_parse_request_of_pci_ranges()
565 err = devm_request_pci_bus_resources(dev, &bridge->windows); in pci_parse_request_of_pci_ranges()
569 resource_list_for_each_entry_safe(win, tmp, &bridge->windows) { in pci_parse_request_of_pci_ranges()
/drivers/ntb/hw/idt/
DKconfig19 with chosen valid aperture. For memory windows related BARs the
20 aperture settings shall determine the maximum size of memory windows
/drivers/video/fbdev/
Ds3c-fb.c215 struct s3c_fb_win *windows[S3C_FB_MAX_WIN]; member
1471 &sfb->windows[win]); in s3c_fb_probe()
1475 s3c_fb_release_win(sfb, sfb->windows[win]); in s3c_fb_probe()
1515 if (sfb->windows[win]) in s3c_fb_remove()
1516 s3c_fb_release_win(sfb, sfb->windows[win]); in s3c_fb_remove()
1537 win = sfb->windows[win_no]; in s3c_fb_suspend()
1588 win = sfb->windows[win_no]; in s3c_fb_resume()
1603 win = sfb->windows[win_no]; in s3c_fb_resume()
/drivers/gpu/drm/tegra/
Ddc.c1322 unsigned int index = wgrp->windows[j]; in tegra_dc_add_shared_planes()
2945 .windows = (const unsigned int[]) { 0 },
2950 .windows = (const unsigned int[]) { 1 },
2955 .windows = (const unsigned int[]) { 2 },
2960 .windows = (const unsigned int[]) { 3 },
2965 .windows = (const unsigned int[]) { 4 },
2970 .windows = (const unsigned int[]) { 5 },
2996 .windows = (const unsigned int[]) { 0 },
3001 .windows = (const unsigned int[]) { 1 },
3006 .windows = (const unsigned int[]) { 2 },
[all …]
/drivers/pci/controller/mobiveil/
DKconfig31 Soft IP. It has up to 8 outbound and inbound windows
/drivers/tty/hvc/
DKconfig101 In SMP mode, external debuggers create multiple windows, and each window
103 console output is either lost or scattered across windows.
/drivers/staging/vme_user/
DKconfig33 VME windows in a manner at least semi-compatible with the interface
/drivers/staging/media/av7110/
Dvideo.rst17 **/dev/video**, which allows scaling and defining output windows.
/drivers/pci/controller/cadence/
Dpcie-cadence-host.c441 entry = resource_list_first_type(&bridge->windows, IORESOURCE_BUS); in cdns_pcie_host_init_address_translation()
465 resource_list_for_each_entry(entry, &bridge->windows) { in cdns_pcie_host_init_address_translation()
/drivers/gpu/drm/amd/amdgpu/
Damdgv_sriovmsg.h113 uint32_t windows : 1; member

123