/Linux-v4.19/arch/powerpc/platforms/powernv/ |
D | vas-debug.c | 35 struct vas_window *window = s->private; in info_dbg_show() local 40 if (!window->hvwc_map) in info_dbg_show() 43 seq_printf(s, "Type: %s, %s\n", cop_to_str(window->cop), in info_dbg_show() 44 window->tx_win ? "Send" : "Receive"); in info_dbg_show() 45 seq_printf(s, "Pid : %d\n", window->pid); in info_dbg_show() 72 struct vas_window *window = s->private; in hvwc_dbg_show() local 77 if (!window->hvwc_map) in hvwc_dbg_show() 80 print_reg(s, window, VREG(LPID)); in hvwc_dbg_show() 81 print_reg(s, window, VREG(PID)); in hvwc_dbg_show() 82 print_reg(s, window, VREG(XLATE_MSR)); in hvwc_dbg_show() [all …]
|
D | vas-window.c | 31 static void compute_paste_address(struct vas_window *window, u64 *addr, int *len) in compute_paste_address() argument 36 base = window->vinst->paste_base_addr; in compute_paste_address() 37 shift = window->vinst->paste_win_id_shift; in compute_paste_address() 38 winid = window->winid; in compute_paste_address() 57 static inline void get_hvwc_mmio_bar(struct vas_window *window, in get_hvwc_mmio_bar() argument 62 pbaddr = window->vinst->hvwc_bar_start; in get_hvwc_mmio_bar() 63 *start = pbaddr + window->winid * VAS_HVWC_SIZE; in get_hvwc_mmio_bar() 67 static inline void get_uwc_mmio_bar(struct vas_window *window, in get_uwc_mmio_bar() argument 72 pbaddr = window->vinst->uwc_bar_start; in get_uwc_mmio_bar() 73 *start = pbaddr + window->winid * VAS_UWC_SIZE; in get_uwc_mmio_bar() [all …]
|
/Linux-v4.19/drivers/misc/mic/scif/ |
D | scif_rma.c | 151 struct scif_window *window; in scif_create_window() local 154 window = scif_zalloc(sizeof(*window)); in scif_create_window() 155 if (!window) in scif_create_window() 158 window->dma_addr = scif_zalloc(nr_pages * sizeof(*window->dma_addr)); in scif_create_window() 159 if (!window->dma_addr) in scif_create_window() 162 window->num_pages = scif_zalloc(nr_pages * sizeof(*window->num_pages)); in scif_create_window() 163 if (!window->num_pages) in scif_create_window() 166 window->offset = offset; in scif_create_window() 167 window->ep = (u64)ep; in scif_create_window() 168 window->magic = SCIFEP_MAGIC; in scif_create_window() [all …]
|
D | scif_rma_list.c | 28 void scif_insert_tcw(struct scif_window *window, struct list_head *head) in scif_insert_tcw() argument 34 INIT_LIST_HEAD(&window->list); in scif_insert_tcw() 38 if (curr->va_for_temp < window->va_for_temp) { in scif_insert_tcw() 39 list_add_tail(&window->list, head); in scif_insert_tcw() 45 if (curr->va_for_temp > window->va_for_temp) in scif_insert_tcw() 49 list_add(&window->list, &prev->list); in scif_insert_tcw() 58 void scif_insert_window(struct scif_window *window, struct list_head *head) in scif_insert_window() argument 63 INIT_LIST_HEAD(&window->list); in scif_insert_window() 66 if (curr->offset > window->offset) in scif_insert_window() 71 list_add(&window->list, head); in scif_insert_window() [all …]
|
D | scif_debugfs.c | 65 static void scif_display_window(struct scif_window *window, struct seq_file *s) in scif_display_window() argument 69 scif_pinned_pages_t pin = window->pinned_pages; in scif_display_window() 72 window, window->type, window->temp, window->offset); in scif_display_window() 74 window->nr_pages, window->nr_contig_chunks, window->prot); in scif_display_window() 76 window->ref_count, window->magic, window->peer_window); in scif_display_window() 78 window->unreg_state, window->va_for_temp); in scif_display_window() 80 for (j = 0; j < window->nr_contig_chunks; j++) in scif_display_window() 82 window->dma_addr[j], window->num_pages[j]); in scif_display_window() 84 if (window->type == SCIF_WINDOW_SELF && pin) in scif_display_window() 85 for (j = 0; j < window->nr_pages; j++) in scif_display_window() [all …]
|
D | scif_mmap.c | 34 struct scif_window *window = NULL; in scif_recv_munmap() local 40 req.out_window = &window; in scif_recv_munmap() 57 scif_put_window(window, window->nr_pages); in scif_recv_munmap() 59 if (!window->ref_count) { in scif_recv_munmap() 62 list_del_init(&window->list); in scif_recv_munmap() 63 scif_free_window_offset(ep, window, window->offset); in scif_recv_munmap() 67 if (window && !window->ref_count) in scif_recv_munmap() 68 scif_queue_for_cleanup(window, &scif_info.rma); in scif_recv_munmap() 134 struct scif_window *window; in __scif_cleanup_rma_for_zombies() local 137 window = list_entry(pos, struct scif_window, list); in __scif_cleanup_rma_for_zombies() [all …]
|
D | scif_rma.h | 313 struct scif_window *window, s64 offset); 318 int scif_destroy_window(struct scif_endpt *ep, struct scif_window *window); 319 void scif_unmap_window(struct scif_dev *remote_dev, struct scif_window *window); 322 struct scif_window *window); 324 int scif_unregister_window(struct scif_window *window); 327 scif_destroy_remote_window(struct scif_window *window); 369 scif_init_window_iter(struct scif_window *window, struct scif_window_iter *iter) in scif_init_window_iter() argument 371 iter->offset = window->offset; in scif_init_window_iter() 375 dma_addr_t scif_off_to_dma_addr(struct scif_window *window, s64 off, 379 dma_addr_t __scif_off_to_dma_addr(struct scif_window *window, s64 off) in __scif_off_to_dma_addr() argument [all …]
|
D | scif_dma.c | 121 struct scif_window *window; in __scif_rma_destroy_tcw() local 129 window = list_entry(item, struct scif_window, list); in __scif_rma_destroy_tcw() 132 start_va = window->va_for_temp; in __scif_rma_destroy_tcw() 133 end_va = start_va + (window->nr_pages << PAGE_SHIFT); in __scif_rma_destroy_tcw() 138 __scif_rma_destroy_tcw_helper(window); in __scif_rma_destroy_tcw() 584 struct scif_window *window; in scif_rma_destroy_windows() local 592 window = list_entry(item, struct scif_window, in scif_rma_destroy_windows() 594 ep = (struct scif_endpt *)window->ep; in scif_rma_destroy_windows() 597 list_del_init(&window->list); in scif_rma_destroy_windows() 603 window->unreg_state = OP_COMPLETED; in scif_rma_destroy_windows() [all …]
|
/Linux-v4.19/drivers/mtd/maps/ |
D | ichxrom.c | 56 static void ichxrom_cleanup(struct ichxrom_window *window) in ichxrom_cleanup() argument 63 ret = pci_read_config_word(window->pdev, BIOS_CNTL, &word); in ichxrom_cleanup() 65 pci_write_config_word(window->pdev, BIOS_CNTL, word & ~1); in ichxrom_cleanup() 66 pci_dev_put(window->pdev); in ichxrom_cleanup() 69 list_for_each_entry_safe(map, scratch, &window->maps, list) { in ichxrom_cleanup() 77 if (window->rsrc.parent) in ichxrom_cleanup() 78 release_resource(&window->rsrc); in ichxrom_cleanup() 79 if (window->virt) { in ichxrom_cleanup() 80 iounmap(window->virt); in ichxrom_cleanup() 81 window->virt = NULL; in ichxrom_cleanup() [all …]
|
D | amd76xrom.c | 68 static void amd76xrom_cleanup(struct amd76xrom_window *window) in amd76xrom_cleanup() argument 73 if (window->pdev) { in amd76xrom_cleanup() 75 pci_read_config_byte(window->pdev, 0x40, &byte); in amd76xrom_cleanup() 76 pci_write_config_byte(window->pdev, 0x40, byte & ~1); in amd76xrom_cleanup() 77 pci_dev_put(window->pdev); in amd76xrom_cleanup() 81 list_for_each_entry_safe(map, scratch, &window->maps, list) { in amd76xrom_cleanup() 90 if (window->rsrc.parent) in amd76xrom_cleanup() 91 release_resource(&window->rsrc); in amd76xrom_cleanup() 93 if (window->virt) { in amd76xrom_cleanup() 94 iounmap(window->virt); in amd76xrom_cleanup() [all …]
|
D | esb2rom.c | 117 static void esb2rom_cleanup(struct esb2rom_window *window) in esb2rom_cleanup() argument 123 pci_read_config_byte(window->pdev, BIOS_CNTL, &byte); in esb2rom_cleanup() 124 pci_write_config_byte(window->pdev, BIOS_CNTL, in esb2rom_cleanup() 128 list_for_each_entry_safe(map, scratch, &window->maps, list) { in esb2rom_cleanup() 136 if (window->rsrc.parent) in esb2rom_cleanup() 137 release_resource(&window->rsrc); in esb2rom_cleanup() 138 if (window->virt) { in esb2rom_cleanup() 139 iounmap(window->virt); in esb2rom_cleanup() 140 window->virt = NULL; in esb2rom_cleanup() 141 window->phys = 0; in esb2rom_cleanup() [all …]
|
D | ck804xrom.c | 81 static void ck804xrom_cleanup(struct ck804xrom_window *window) in ck804xrom_cleanup() argument 86 if (window->pdev) { in ck804xrom_cleanup() 88 pci_read_config_byte(window->pdev, 0x6d, &byte); in ck804xrom_cleanup() 89 pci_write_config_byte(window->pdev, 0x6d, byte & ~1); in ck804xrom_cleanup() 93 list_for_each_entry_safe(map, scratch, &window->maps, list) { in ck804xrom_cleanup() 102 if (window->rsrc.parent) in ck804xrom_cleanup() 103 release_resource(&window->rsrc); in ck804xrom_cleanup() 105 if (window->virt) { in ck804xrom_cleanup() 106 iounmap(window->virt); in ck804xrom_cleanup() 107 window->virt = NULL; in ck804xrom_cleanup() [all …]
|
/Linux-v4.19/arch/sparc/kernel/ |
D | windows.c | 64 int window; in synchronize_user_stack() local 71 for(window = tp->w_saved - 1; window >= 0; window--) { in synchronize_user_stack() 72 unsigned long sp = tp->rwbuf_stkptrs[window]; in synchronize_user_stack() 75 if (copy_to_user((char __user *) sp, &tp->reg_window[window], in synchronize_user_stack() 79 shift_window_buffer(window, tp->w_saved - 1, tp); in synchronize_user_stack() 116 int window; in try_to_clear_window_buffer() local 119 for(window = 0; window < tp->w_saved; window++) { in try_to_clear_window_buffer() 120 unsigned long sp = tp->rwbuf_stkptrs[window]; in try_to_clear_window_buffer() 123 copy_to_user((char __user *) sp, &tp->reg_window[window], in try_to_clear_window_buffer()
|
/Linux-v4.19/drivers/pci/ |
D | host-bridge.c | 54 struct resource_entry *window; in pcibios_resource_to_bus() local 57 resource_list_for_each_entry(window, &bridge->windows) { in pcibios_resource_to_bus() 58 if (resource_contains(window->res, res)) { in pcibios_resource_to_bus() 59 offset = window->offset; in pcibios_resource_to_bus() 79 struct resource_entry *window; in pcibios_bus_to_resource() local 82 resource_list_for_each_entry(window, &bridge->windows) { in pcibios_bus_to_resource() 85 if (resource_type(res) != resource_type(window->res)) in pcibios_bus_to_resource() 88 bus_region.start = window->res->start - window->offset; in pcibios_bus_to_resource() 89 bus_region.end = window->res->end - window->offset; in pcibios_bus_to_resource() 92 offset = window->offset; in pcibios_bus_to_resource()
|
/Linux-v4.19/drivers/video/fbdev/ |
D | au1200fb.c | 136 struct au1200_lcd_window_regs_t window; member 709 winctrl0 = lcd->window[plane].winctrl0; in au1200_setlocation() 710 winctrl1 = lcd->window[plane].winctrl1; in au1200_setlocation() 732 fb_offset += (((0 - xpos) * winbpp(lcd->window[plane].winctrl1))/8); in au1200_setlocation() 760 lcd->window[plane].winctrl0 = winctrl0; in au1200_setlocation() 761 lcd->window[plane].winctrl1 = winctrl1; in au1200_setlocation() 762 lcd->window[plane].winbuf0 = in au1200_setlocation() 763 lcd->window[plane].winbuf1 = fbdev->fb_phys; in au1200_setlocation() 764 lcd->window[plane].winbufctrl = 0; /* select winbuf0 */ in au1200_setlocation() 896 D(lcd->window[0].winctrl0); in au1200_setpanel() [all …]
|
/Linux-v4.19/drivers/edac/ |
D | i3200_edac.c | 100 void __iomem *window; member 185 void __iomem *window = priv->window; in i3200_get_and_clear_error_info() local 198 info->eccerrlog[0] = readq(window + I3200_C0ECCERRLOG); in i3200_get_and_clear_error_info() 200 info->eccerrlog[1] = readq(window + I3200_C1ECCERRLOG); in i3200_get_and_clear_error_info() 211 info->eccerrlog[0] = readq(window + I3200_C0ECCERRLOG); in i3200_get_and_clear_error_info() 213 info->eccerrlog[1] = readq(window + I3200_C1ECCERRLOG); in i3200_get_and_clear_error_info() 270 void __iomem *window; in i3200_map_mchbar() local 283 window = ioremap_nocache(u.mchbar, I3200_MMR_WINDOW_SIZE); in i3200_map_mchbar() 284 if (!window) in i3200_map_mchbar() 288 return window; in i3200_map_mchbar() [all …]
|
D | x38_edac.c | 168 void __iomem *window = mci->pvt_info; in x38_get_and_clear_error_info() local 181 info->eccerrlog[0] = lo_hi_readq(window + X38_C0ECCERRLOG); in x38_get_and_clear_error_info() 183 info->eccerrlog[1] = lo_hi_readq(window + X38_C1ECCERRLOG); in x38_get_and_clear_error_info() 194 info->eccerrlog[0] = lo_hi_readq(window + X38_C0ECCERRLOG); in x38_get_and_clear_error_info() 197 lo_hi_readq(window + X38_C1ECCERRLOG); in x38_get_and_clear_error_info() 255 void __iomem *window; in x38_map_mchbar() local 269 window = ioremap_nocache(u.mchbar, X38_MMR_WINDOW_SIZE); in x38_map_mchbar() 270 if (!window) in x38_map_mchbar() 274 return window; in x38_map_mchbar() 278 static void x38_get_drbs(void __iomem *window, in x38_get_drbs() argument [all …]
|
D | ie31200_edac.c | 152 void __iomem *window; member 325 void __iomem *window; in ie31200_map_mchbar() local 337 window = ioremap_nocache(u.mchbar, IE31200_MMR_WINDOW_SIZE); in ie31200_map_mchbar() 338 if (!window) in ie31200_map_mchbar() 342 return window; in ie31200_map_mchbar() 378 void __iomem *window; in ie31200_probe1() local 407 window = ie31200_map_mchbar(pdev); in ie31200_probe1() 408 if (!window) { in ie31200_probe1() 427 priv->window = window; in ie31200_probe1() 429 priv->c0errlog = window + IE31200_C0ECCERRLOG_SKL; in ie31200_probe1() [all …]
|
/Linux-v4.19/arch/powerpc/platforms/cell/ |
D | iommu.c | 173 struct iommu_window *window = in tce_build_cell() local 191 (window->ioid & CBE_IOPTE_IOID_Mask); in tce_build_cell() 194 CBE_IOPTE_SO_RW | (window->ioid & CBE_IOPTE_IOID_Mask); in tce_build_cell() 206 invalidate_tce_cache(window->iommu, io_pte, npages); in tce_build_cell() 218 struct iommu_window *window = in tce_free_cell() local 229 __pa(window->iommu->pad_page) | in tce_free_cell() 230 (window->ioid & CBE_IOPTE_IOID_Mask); in tce_free_cell() 240 invalidate_tce_cache(window->iommu, io_pte, npages); in tce_free_cell() 442 struct iommu_window *window; 446 list_for_each_entry(window, &(iommu->windows), list) { [all …]
|
/Linux-v4.19/tools/perf/ui/gtk/ |
D | annotate.c | 90 static int perf_gtk__annotate_symbol(GtkWidget *window, struct symbol *sym, in perf_gtk__annotate_symbol() argument 149 gtk_container_add(GTK_CONTAINER(window), view); in perf_gtk__annotate_symbol() 163 GtkWidget *window; in symbol__gtk_annotate() local 183 window = pgctx->main_window; in symbol__gtk_annotate() 196 window = gtk_window_new(GTK_WINDOW_TOPLEVEL); in symbol__gtk_annotate() 197 gtk_window_set_title(GTK_WINDOW(window), "perf annotate"); in symbol__gtk_annotate() 199 g_signal_connect(window, "delete_event", gtk_main_quit, NULL); in symbol__gtk_annotate() 201 pgctx = perf_gtk__activate_context(window); in symbol__gtk_annotate() 220 gtk_container_add(GTK_CONTAINER(window), vbox); in symbol__gtk_annotate() 246 GtkWidget *window; in perf_gtk__show_annotations() local [all …]
|
D | browser.c | 18 void perf_gtk__resize_window(GtkWidget *window) in perf_gtk__resize_window() argument 26 screen = gtk_widget_get_screen(window); in perf_gtk__resize_window() 28 monitor = gdk_screen_get_monitor_at_window(screen, window->window); in perf_gtk__resize_window() 35 gtk_window_resize(GTK_WINDOW(window), width, height); in perf_gtk__resize_window()
|
/Linux-v4.19/Documentation/media/v4l-drivers/ |
D | sh_mobile_ceu_camera.rst | 62 (6) to (6') - CEU scale - user window 75 current sensor scales onto input window - this is user S_CROP: 79 3. Calculate new combined scales from "effective" input window to requested user 80 window: 84 4. Calculate sensor output window by applying combined scales to real input 85 window: 89 5. Apply iterative sensor S_FMT for sensor output window. 93 6. Retrieve sensor output window (g_fmt) 105 9. Use CEU cropping to crop to the new window: 109 10. Use CEU scaling to scale to the requested user window: [all …]
|
/Linux-v4.19/Documentation/devicetree/bindings/bus/ |
D | mvebu-mbus.txt | 20 the second cell for the address offset within the window. 30 within the internal register window (see below). 52 the first one controls the devices decoding window, 53 the second one controls the SDRAM decoding window and 80 ** MBus address decoding window specification 83 the window ID and the second one for the offset within the window. 84 In order to allow to describe valid and non-valid window entries, the 91 S = 0x0 for a MBus valid window 92 S = 0xf for a non-valid window (see below) 96 I = 4-bit window target ID [all …]
|
/Linux-v4.19/drivers/gpu/drm/tegra/ |
D | dc.c | 283 const struct tegra_dc_window *window) in tegra_plane_setup_blending() argument 297 value = K2(255) | K1(255) | WINDOW_LAYER_DEPTH(255 - window->zpos); in tegra_plane_setup_blending() 303 const struct tegra_dc_window *window) in tegra_plane_use_horizontal_filtering() argument 307 if (window->src.w == window->dst.w) in tegra_plane_use_horizontal_filtering() 318 const struct tegra_dc_window *window) in tegra_plane_use_vertical_filtering() argument 322 if (window->src.h == window->dst.h) in tegra_plane_use_vertical_filtering() 335 const struct tegra_dc_window *window) in tegra_dc_setup_window() argument 346 yuv = tegra_plane_format_is_yuv(window->format, &planar); in tegra_dc_setup_window() 348 bpp = window->bits_per_pixel / 8; in tegra_dc_setup_window() 352 tegra_plane_writel(plane, window->format, DC_WIN_COLOR_DEPTH); in tegra_dc_setup_window() [all …]
|
/Linux-v4.19/drivers/sh/intc/ |
D | access.c | 16 struct intc_window *window; in intc_phys_to_virt() local 21 window = d->window + k; in intc_phys_to_virt() 23 if (address < window->phys) in intc_phys_to_virt() 26 if (address >= (window->phys + window->size)) in intc_phys_to_virt() 29 address -= window->phys; in intc_phys_to_virt() 30 address += (unsigned long)window->virt; in intc_phys_to_virt()
|