/kernel/linux/linux-5.10/arch/powerpc/platforms/powernv/ |
D | vas-debug.c | 31 struct vas_window *window = s->private; in info_show() local 36 if (!window->hvwc_map) in info_show() 39 seq_printf(s, "Type: %s, %s\n", cop_to_str(window->cop), in info_show() 40 window->tx_win ? "Send" : "Receive"); in info_show() 41 seq_printf(s, "Pid : %d\n", vas_window_pid(window)); in info_show() 58 struct vas_window *window = s->private; in hvwc_show() local 63 if (!window->hvwc_map) in hvwc_show() 66 print_reg(s, window, VREG(LPID)); in hvwc_show() 67 print_reg(s, window, VREG(PID)); in hvwc_show() 68 print_reg(s, window, VREG(XLATE_MSR)); in hvwc_show() [all …]
|
D | vas-window.c | 29 void vas_win_paste_addr(struct vas_window *window, u64 *addr, int *len) in vas_win_paste_addr() argument 34 base = window->vinst->paste_base_addr; in vas_win_paste_addr() 35 shift = window->vinst->paste_win_id_shift; in vas_win_paste_addr() 36 winid = window->winid; in vas_win_paste_addr() 45 static inline void get_hvwc_mmio_bar(struct vas_window *window, in get_hvwc_mmio_bar() argument 50 pbaddr = window->vinst->hvwc_bar_start; in get_hvwc_mmio_bar() 51 *start = pbaddr + window->winid * VAS_HVWC_SIZE; in get_hvwc_mmio_bar() 55 static inline void get_uwc_mmio_bar(struct vas_window *window, in get_uwc_mmio_bar() argument 60 pbaddr = window->vinst->uwc_bar_start; in get_uwc_mmio_bar() 61 *start = pbaddr + window->winid * VAS_UWC_SIZE; in get_uwc_mmio_bar() [all …]
|
D | vas-fault.c | 62 static void update_csb(struct vas_window *window, in update_csb() argument 76 if (WARN_ON_ONCE(!window->mm || !window->user_win)) in update_csb() 95 pid = window->pid; in update_csb() 114 pid = window->tgid; in update_csb() 130 kthread_use_mm(window->mm); in update_csb() 142 kthread_unuse_mm(window->mm); in update_csb() 215 struct vas_window *window; in vas_fault_thread_fn() local 276 window = vas_pswid_to_window(vinst, in vas_fault_thread_fn() 279 if (IS_ERR(window)) { in vas_fault_thread_fn() 296 update_csb(window, crb); in vas_fault_thread_fn() [all …]
|
/kernel/linux/linux-5.10/drivers/mtd/maps/ |
D | ichxrom.c | 57 static void ichxrom_cleanup(struct ichxrom_window *window) in ichxrom_cleanup() argument 64 ret = pci_read_config_word(window->pdev, BIOS_CNTL, &word); in ichxrom_cleanup() 66 pci_write_config_word(window->pdev, BIOS_CNTL, word & ~1); in ichxrom_cleanup() 67 pci_dev_put(window->pdev); in ichxrom_cleanup() 70 list_for_each_entry_safe(map, scratch, &window->maps, list) { in ichxrom_cleanup() 78 if (window->rsrc.parent) in ichxrom_cleanup() 79 release_resource(&window->rsrc); in ichxrom_cleanup() 80 if (window->virt) { in ichxrom_cleanup() 81 iounmap(window->virt); in ichxrom_cleanup() 82 window->virt = NULL; in ichxrom_cleanup() [all …]
|
D | amd76xrom.c | 69 static void amd76xrom_cleanup(struct amd76xrom_window *window) in amd76xrom_cleanup() argument 74 if (window->pdev) { in amd76xrom_cleanup() 76 pci_read_config_byte(window->pdev, 0x40, &byte); in amd76xrom_cleanup() 77 pci_write_config_byte(window->pdev, 0x40, byte & ~1); in amd76xrom_cleanup() 78 pci_dev_put(window->pdev); in amd76xrom_cleanup() 82 list_for_each_entry_safe(map, scratch, &window->maps, list) { in amd76xrom_cleanup() 91 if (window->rsrc.parent) in amd76xrom_cleanup() 92 release_resource(&window->rsrc); in amd76xrom_cleanup() 94 if (window->virt) { in amd76xrom_cleanup() 95 iounmap(window->virt); in amd76xrom_cleanup() [all …]
|
D | esb2rom.c | 118 static void esb2rom_cleanup(struct esb2rom_window *window) in esb2rom_cleanup() argument 124 pci_read_config_byte(window->pdev, BIOS_CNTL, &byte); in esb2rom_cleanup() 125 pci_write_config_byte(window->pdev, BIOS_CNTL, in esb2rom_cleanup() 129 list_for_each_entry_safe(map, scratch, &window->maps, list) { in esb2rom_cleanup() 137 if (window->rsrc.parent) in esb2rom_cleanup() 138 release_resource(&window->rsrc); in esb2rom_cleanup() 139 if (window->virt) { in esb2rom_cleanup() 140 iounmap(window->virt); in esb2rom_cleanup() 141 window->virt = NULL; in esb2rom_cleanup() 142 window->phys = 0; in esb2rom_cleanup() [all …]
|
D | ck804xrom.c | 82 static void ck804xrom_cleanup(struct ck804xrom_window *window) in ck804xrom_cleanup() argument 87 if (window->pdev) { in ck804xrom_cleanup() 89 pci_read_config_byte(window->pdev, 0x6d, &byte); in ck804xrom_cleanup() 90 pci_write_config_byte(window->pdev, 0x6d, byte & ~1); in ck804xrom_cleanup() 94 list_for_each_entry_safe(map, scratch, &window->maps, list) { in ck804xrom_cleanup() 103 if (window->rsrc.parent) in ck804xrom_cleanup() 104 release_resource(&window->rsrc); in ck804xrom_cleanup() 106 if (window->virt) { in ck804xrom_cleanup() 107 iounmap(window->virt); in ck804xrom_cleanup() 108 window->virt = NULL; in ck804xrom_cleanup() [all …]
|
/kernel/linux/linux-5.10/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()
|
/kernel/linux/linux-5.10/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()
|
/kernel/linux/linux-5.10/drivers/video/fbdev/ |
D | au1200fb.c | 136 struct au1200_lcd_window_regs_t window; member 710 winctrl0 = lcd->window[plane].winctrl0; in au1200_setlocation() 711 winctrl1 = lcd->window[plane].winctrl1; in au1200_setlocation() 733 fb_offset += (((0 - xpos) * winbpp(lcd->window[plane].winctrl1))/8); in au1200_setlocation() 761 lcd->window[plane].winctrl0 = winctrl0; in au1200_setlocation() 762 lcd->window[plane].winctrl1 = winctrl1; in au1200_setlocation() 763 lcd->window[plane].winbuf0 = in au1200_setlocation() 764 lcd->window[plane].winbuf1 = fbdev->fb_phys; in au1200_setlocation() 765 lcd->window[plane].winbufctrl = 0; /* select winbuf0 */ in au1200_setlocation() 897 D(lcd->window[0].winctrl0); in au1200_setpanel() [all …]
|
/kernel/linux/linux-5.10/arch/powerpc/platforms/cell/ |
D | iommu.c | 160 struct iommu_window *window = in tce_build_cell() local 178 (window->ioid & CBE_IOPTE_IOID_Mask); in tce_build_cell() 181 CBE_IOPTE_SO_RW | (window->ioid & CBE_IOPTE_IOID_Mask); in tce_build_cell() 193 invalidate_tce_cache(window->iommu, io_pte, npages); in tce_build_cell() 205 struct iommu_window *window = in tce_free_cell() local 216 __pa(window->iommu->pad_page) | in tce_free_cell() 217 (window->ioid & CBE_IOPTE_IOID_Mask); in tce_free_cell() 227 invalidate_tce_cache(window->iommu, io_pte, npages); in tce_free_cell() 429 struct iommu_window *window; 433 list_for_each_entry(window, &(iommu->windows), list) { [all …]
|
/kernel/linux/linux-5.10/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(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(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 | 177 void __iomem *window; member 350 void __iomem *window; in ie31200_map_mchbar() local 362 window = ioremap(u.mchbar, IE31200_MMR_WINDOW_SIZE); in ie31200_map_mchbar() 363 if (!window) in ie31200_map_mchbar() 367 return window; in ie31200_map_mchbar() 403 void __iomem *window; in ie31200_probe1() local 432 window = ie31200_map_mchbar(pdev); in ie31200_probe1() 433 if (!window) { in ie31200_probe1() 452 priv->window = window; in ie31200_probe1() 454 priv->c0errlog = window + IE31200_C0ECCERRLOG_SKL; in ie31200_probe1() [all …]
|
/kernel/linux/linux-5.10/tools/perf/ui/gtk/ |
D | annotate.c | 94 static int perf_gtk__annotate_symbol(GtkWidget *window, struct map_symbol *ms, in perf_gtk__annotate_symbol() argument 154 gtk_container_add(GTK_CONTAINER(window), view); in perf_gtk__annotate_symbol() 168 GtkWidget *window; in symbol__gtk_annotate() local 188 window = pgctx->main_window; in symbol__gtk_annotate() 201 window = gtk_window_new(GTK_WINDOW_TOPLEVEL); in symbol__gtk_annotate() 202 gtk_window_set_title(GTK_WINDOW(window), "perf annotate"); in symbol__gtk_annotate() 204 g_signal_connect(window, "delete_event", gtk_main_quit, NULL); in symbol__gtk_annotate() 206 pgctx = perf_gtk__activate_context(window); in symbol__gtk_annotate() 225 gtk_container_add(GTK_CONTAINER(window), vbox); in symbol__gtk_annotate() 251 GtkWidget *window; in perf_gtk__show_annotations() local [all …]
|
D | browser.c | 16 void perf_gtk__resize_window(GtkWidget *window) in perf_gtk__resize_window() argument 24 screen = gtk_widget_get_screen(window); in perf_gtk__resize_window() 26 monitor = gdk_screen_get_monitor_at_window(screen, window->window); in perf_gtk__resize_window() 33 gtk_window_resize(GTK_WINDOW(window), width, height); in perf_gtk__resize_window()
|
/kernel/linux/linux-5.10/drivers/pci/endpoint/ |
D | pci-epc-mem.c | 26 unsigned int page_shift = ilog2(mem->window.page_size); in pci_epc_mem_get_order() 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() 94 mem->window.page_size = page_size; in pci_epc_multi_mem_init() 182 align_size = ALIGN(size, mem->window.page_size); in pci_epc_mem_alloc_addr() 188 page_shift = ilog2(mem->window.page_size); in pci_epc_mem_alloc_addr() 189 *phys_addr = mem->window.phys_base + in pci_epc_mem_alloc_addr() 217 if (phys_addr >= mem->window.phys_base && in pci_epc_get_matching_window() 218 phys_addr < (mem->window.phys_base + mem->window.size)) in pci_epc_get_matching_window() 249 page_size = mem->window.page_size; in pci_epc_mem_free_addr() [all …]
|
/kernel/linux/linux-5.10/Documentation/driver-api/media/drivers/ |
D | sh_mobile_ceu_camera.rst | 64 (6) to (6') - CEU scale - user window 77 current sensor scales onto input window - this is user S_CROP: 81 3. Calculate new combined scales from "effective" input window to requested user 82 window: 86 4. Calculate sensor output window by applying combined scales to real input 87 window: 91 5. Apply iterative sensor S_FMT for sensor output window. 95 6. Retrieve sensor output window (g_fmt) 107 9. Use CEU cropping to crop to the new window: 111 10. Use CEU scaling to scale to the requested user window: [all …]
|
/kernel/linux/linux-5.10/drivers/gpu/drm/tegra/ |
D | dc.c | 288 const struct tegra_dc_window *window) in tegra_plane_setup_blending() argument 302 value = K2(255) | K1(255) | WINDOW_LAYER_DEPTH(255 - window->zpos); in tegra_plane_setup_blending() 308 const struct tegra_dc_window *window) in tegra_plane_use_horizontal_filtering() argument 312 if (window->src.w == window->dst.w) in tegra_plane_use_horizontal_filtering() 323 const struct tegra_dc_window *window) in tegra_plane_use_vertical_filtering() argument 327 if (window->src.h == window->dst.h) in tegra_plane_use_vertical_filtering() 340 const struct tegra_dc_window *window) in tegra_dc_setup_window() argument 351 yuv = tegra_plane_format_is_yuv(window->format, &planar); in tegra_dc_setup_window() 353 bpp = window->bits_per_pixel / 8; in tegra_dc_setup_window() 357 tegra_plane_writel(plane, window->format, DC_WIN_COLOR_DEPTH); in tegra_dc_setup_window() [all …]
|
/kernel/linux/linux-5.10/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 …]
|
/kernel/linux/linux-5.10/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()
|
/kernel/linux/linux-5.10/lib/zlib_deflate/ |
D | deflate.c | 175 (UPDATE_HASH(s, s->ins_h, s->window[(str) + (MIN_MATCH-1)]), \ 261 s->window = (Byte *) mem->window_memory; in zlib_deflateInit2() 564 register Byte *scan = s->window + s->strstart; /* current string */ in longest_match() 581 register Byte *strend = s->window + s->strstart + MAX_MATCH - 1; in longest_match() 585 register Byte *strend = s->window + s->strstart + MAX_MATCH; in longest_match() 608 match = s->window + cur_match; in longest_match() 640 Assert(scan <= s->window+(unsigned)(s->window_size-1), "wild scan"); in longest_match() 672 Assert(scan <= s->window+(unsigned)(s->window_size-1), "wild scan"); in longest_match() 709 if (memcmp((char *)s->window + match, in check_match() 710 (char *)s->window + start, length) != EQUAL) { in check_match() [all …]
|
/kernel/linux/linux-5.10/drivers/pcmcia/ |
D | vrc4173_cardu.c | 251 uint8_t ioctl, window; in cardu_get_io_map() local 262 window = exca_readb(socket, ADR_WIN_EN); in cardu_get_io_map() 263 io->flags = (window & IO_WIN_EN(map)) ? MAP_ACTIVE : 0; in cardu_get_io_map() 276 uint8_t window, enable; in cardu_set_io_map() local 283 window = exca_readb(socket, ADR_WIN_EN); in cardu_set_io_map() 286 if (window & enable) { in cardu_set_io_map() 287 window &= ~enable; in cardu_set_io_map() 288 exca_writeb(socket, ADR_WIN_EN, window); in cardu_set_io_map() 300 exca_writeb(socket, ADR_WIN_EN, window | enable); in cardu_set_io_map() 309 uint8_t window; in cardu_get_mem_map() local [all …]
|
/kernel/linux/linux-5.10/net/ipv4/ |
D | tcp_cdg.c | 38 static int window __read_mostly = 8; 46 module_param(window, int, 0444); 47 MODULE_PARM_DESC(window, "gradient window size (power of two <= 256)"); 201 ca->tail = (ca->tail + 1) & (window - 1); in tcp_cdg_grad() 216 if (!ca->gradients && window > 1) in tcp_cdg_grad() 217 grad *= window; /* Memory allocation failed. */ in tcp_cdg_grad() 221 grad = (grad * window) / (int)ca->tail; in tcp_cdg_grad() 355 memset(gradients, 0, window * sizeof(gradients[0])); in tcp_cdg_cwnd_event() 380 if (window > 1) in tcp_cdg_init() 381 ca->gradients = kcalloc(window, sizeof(ca->gradients[0]), in tcp_cdg_init() [all …]
|
/kernel/linux/linux-5.10/arch/alpha/kernel/ |
D | core_t2.c | 90 } window[2]; member 391 t2_saved_config.window[0].wbase = *(vulp)T2_WBASE1; in t2_save_configuration() 392 t2_saved_config.window[0].wmask = *(vulp)T2_WMASK1; in t2_save_configuration() 393 t2_saved_config.window[0].tbase = *(vulp)T2_TBASE1; in t2_save_configuration() 394 t2_saved_config.window[1].wbase = *(vulp)T2_WBASE2; in t2_save_configuration() 395 t2_saved_config.window[1].wmask = *(vulp)T2_WMASK2; in t2_save_configuration() 396 t2_saved_config.window[1].tbase = *(vulp)T2_TBASE2; in t2_save_configuration() 488 *(vulp)T2_WBASE1 = t2_saved_config.window[0].wbase; in t2_kill_arch() 489 *(vulp)T2_WMASK1 = t2_saved_config.window[0].wmask; in t2_kill_arch() 490 *(vulp)T2_TBASE1 = t2_saved_config.window[0].tbase; in t2_kill_arch() [all …]
|