/drivers/gpu/drm/nouveau/nvkm/subdev/top/ |
D | base.c | 27 nvkm_top_device_new(struct nvkm_top *top) in nvkm_top_device_new() argument 39 list_add_tail(&info->head, &top->device); in nvkm_top_device_new() 47 struct nvkm_top *top = device->top; in nvkm_top_addr() local 50 if (top) { in nvkm_top_addr() 51 list_for_each_entry(info, &top->device, head) { in nvkm_top_addr() 63 struct nvkm_top *top = device->top; in nvkm_top_reset() local 66 if (top) { in nvkm_top_reset() 67 list_for_each_entry(info, &top->device, head) { in nvkm_top_reset() 79 struct nvkm_top *top = device->top; in nvkm_top_intr_mask() local 82 if (top) { in nvkm_top_intr_mask() [all …]
|
D | Kbuild | 2 nvkm-y += nvkm/subdev/top/base.o 3 nvkm-y += nvkm/subdev/top/gk104.o 4 nvkm-y += nvkm/subdev/top/ga100.o
|
/drivers/net/ethernet/ibm/ehea/ |
D | ehea_qmr.c | 552 static inline int ehea_init_bmap(struct ehea_bmap *ehea_bmap, int top, int dir) in ehea_init_bmap() argument 554 if (!ehea_bmap->top[top]) { in ehea_init_bmap() 555 ehea_bmap->top[top] = in ehea_init_bmap() 557 if (!ehea_bmap->top[top]) in ehea_init_bmap() 560 return ehea_init_top_bmap(ehea_bmap->top[top], dir); in ehea_init_bmap() 572 int top, dir, idx; in ehea_rebuild_busmap() local 574 for (top = 0; top < EHEA_MAP_ENTRIES; top++) { in ehea_rebuild_busmap() 578 if (!ehea_bmap->top[top]) in ehea_rebuild_busmap() 580 ehea_top = ehea_bmap->top[top]; in ehea_rebuild_busmap() 602 ehea_bmap->top[top] = NULL; in ehea_rebuild_busmap() [all …]
|
/drivers/clk/starfive/ |
D | clk-starfive-jh7110-vout.c | 97 struct jh7110_top_sysclk *top = dev_get_drvdata(dev); in jh7110_voutcrg_suspend() local 99 clk_bulk_disable_unprepare(top->top_clks_num, top->top_clks); in jh7110_voutcrg_suspend() 106 struct jh7110_top_sysclk *top = dev_get_drvdata(dev); in jh7110_voutcrg_resume() local 108 return clk_bulk_prepare_enable(top->top_clks_num, top->top_clks); in jh7110_voutcrg_resume() 119 struct jh7110_top_sysclk *top; in jh7110_voutcrg_probe() local 129 top = devm_kzalloc(&pdev->dev, sizeof(*top), GFP_KERNEL); in jh7110_voutcrg_probe() 130 if (!top) in jh7110_voutcrg_probe() 139 top->top_clks = jh7110_vout_top_clks; in jh7110_voutcrg_probe() 140 top->top_clks_num = ARRAY_SIZE(jh7110_vout_top_clks); in jh7110_voutcrg_probe() 141 ret = devm_clk_bulk_get(priv->dev, top->top_clks_num, top->top_clks); in jh7110_voutcrg_probe() [all …]
|
D | clk-starfive-jh7110-isp.c | 92 struct jh7110_top_sysclk *top = dev_get_drvdata(dev); in jh7110_ispcrg_suspend() local 94 clk_bulk_disable_unprepare(top->top_clks_num, top->top_clks); in jh7110_ispcrg_suspend() 101 struct jh7110_top_sysclk *top = dev_get_drvdata(dev); in jh7110_ispcrg_resume() local 103 return clk_bulk_prepare_enable(top->top_clks_num, top->top_clks); in jh7110_ispcrg_resume() 114 struct jh7110_top_sysclk *top; in jh7110_ispcrg_probe() local 124 top = devm_kzalloc(&pdev->dev, sizeof(*top), GFP_KERNEL); in jh7110_ispcrg_probe() 125 if (!top) in jh7110_ispcrg_probe() 134 top->top_clks = jh7110_isp_top_clks; in jh7110_ispcrg_probe() 135 top->top_clks_num = ARRAY_SIZE(jh7110_isp_top_clks); in jh7110_ispcrg_probe() 136 ret = devm_clk_bulk_get(priv->dev, top->top_clks_num, top->top_clks); in jh7110_ispcrg_probe() [all …]
|
/drivers/media/pci/bt8xx/ |
D | bttv-risc.c | 294 && crop->top == tvnorm->cropcap.defrect.top in bttv_calc_geo() 315 geo->vdelay = crop->top - tvnorm->cropcap.bounds.top + MIN_VDELAY; in bttv_calc_geo() 386 if (btv->curr.top || btv->curr.bottom) in bttv_set_capture_control() 435 btv->cvbi ? (unsigned long long)btv->cvbi->top.dma : 0, in bttv_set_dma() 436 btv->curr.top ? (unsigned long long)btv->curr.top->top.dma : 0, in bttv_set_dma() 529 r = bttv_risc_packed(btv, &buf->top, list, 0, bpl, padding, in bttv_buffer_risc_vbi() 544 if (btv->vbi_fmt.end >= tvnorm->cropcap.bounds.top) in bttv_buffer_risc_vbi() 545 min_vdelay += btv->vbi_fmt.end - tvnorm->cropcap.bounds.top; in bttv_buffer_risc_vbi() 557 struct btcx_riscmem *top; in bttv_buffer_activate_vbi() local 562 top = NULL; in bttv_buffer_activate_vbi() [all …]
|
/drivers/mfd/ |
D | exynos-lpass.c | 53 struct regmap *top; member 61 regmap_read(lpass->top, SFR_LPASS_CORE_SW_RESET, &val); in exynos_lpass_core_sw_reset() 64 regmap_write(lpass->top, SFR_LPASS_CORE_SW_RESET, val); in exynos_lpass_core_sw_reset() 69 regmap_write(lpass->top, SFR_LPASS_CORE_SW_RESET, val); in exynos_lpass_core_sw_reset() 77 regmap_write(lpass->top, SFR_LPASS_INTR_CA5_MASK, in exynos_lpass_enable() 80 regmap_write(lpass->top, SFR_LPASS_INTR_CPU_MASK, in exynos_lpass_enable() 93 regmap_write(lpass->top, SFR_LPASS_INTR_CPU_MASK, 0); in exynos_lpass_disable() 94 regmap_write(lpass->top, SFR_LPASS_INTR_CA5_MASK, 0); in exynos_lpass_disable() 125 lpass->top = regmap_init_mmio(dev, base_top, in exynos_lpass_probe() 127 if (IS_ERR(lpass->top)) { in exynos_lpass_probe() [all …]
|
/drivers/media/platform/ti/omap/ |
D | omap_voutlib.c | 53 crop->top = ((pix->height - crop->height) >> 1) & ~1; in omap_vout_default_crop() 78 if (try_win.top < 0) { in omap_vout_try_window() 79 try_win.height += try_win.top; in omap_vout_try_window() 80 try_win.top = 0; in omap_vout_try_window() 88 if (try_win.top + try_win.height > fbuf->fmt.height) in omap_vout_try_window() 89 try_win.height = fbuf->fmt.height - try_win.top; in omap_vout_try_window() 184 if (try_crop.top < 0) { in omap_vout_new_crop() 185 try_crop.height += try_crop.top; in omap_vout_new_crop() 186 try_crop.top = 0; in omap_vout_new_crop() 194 if (try_crop.top + try_crop.height > pix->height) in omap_vout_new_crop() [all …]
|
/drivers/gpu/drm/amd/display/dmub/src/ |
D | dmub_dcn30.c | 106 DMCUB_REGION3_CW0_TOP_ADDRESS, cw0->region.top, in dmub_dcn30_backdoor_load() 115 DMCUB_REGION3_CW1_TOP_ADDRESS, cw1->region.top, in dmub_dcn30_backdoor_load() 135 if (cw2->region.base != cw2->region.top) { in dmub_dcn30_setup_windows() 140 DMCUB_REGION3_CW2_TOP_ADDRESS, cw2->region.top, in dmub_dcn30_setup_windows() 155 DMCUB_REGION3_CW3_TOP_ADDRESS, cw3->region.top, in dmub_dcn30_setup_windows() 166 DMCUB_REGION3_CW4_TOP_ADDRESS, cw4->region.top, in dmub_dcn30_setup_windows() 173 cw4->region.top - cw4->region.base - 1, in dmub_dcn30_setup_windows() 183 DMCUB_REGION3_CW5_TOP_ADDRESS, cw5->region.top, in dmub_dcn30_setup_windows() 190 cw5->region.top - cw5->region.base - 1, in dmub_dcn30_setup_windows() 199 DMCUB_REGION3_CW6_TOP_ADDRESS, cw6->region.top, in dmub_dcn30_setup_windows()
|
D | dmub_srv.c | 398 inst->top = inst->base + params->inst_const_size; in dmub_srv_calc_region_info() 400 data->base = dmub_align(inst->top, 256); in dmub_srv_calc_region_info() 401 data->top = data->base + params->bss_data_size; in dmub_srv_calc_region_info() 408 stack->base = dmub_align(data->top, 256); in dmub_srv_calc_region_info() 409 stack->top = stack->base + DMUB_STACK_SIZE + DMUB_CONTEXT_SIZE; in dmub_srv_calc_region_info() 411 bios->base = dmub_align(stack->top, 256); in dmub_srv_calc_region_info() 412 bios->top = bios->base + params->vbios_size; in dmub_srv_calc_region_info() 416 mail->top = mail->base + DMUB_MAILBOX_SIZE; in dmub_srv_calc_region_info() 417 previous_top = bios->top; in dmub_srv_calc_region_info() 419 mail->base = dmub_align(bios->top, 256); in dmub_srv_calc_region_info() [all …]
|
D | dmub_dcn20.c | 173 DMCUB_REGION3_CW0_TOP_ADDRESS, cw0->region.top, in dmub_dcn20_backdoor_load() 182 DMCUB_REGION3_CW1_TOP_ADDRESS, cw1->region.top, in dmub_dcn20_backdoor_load() 201 if (cw2->region.base != cw2->region.top) { in dmub_dcn20_setup_windows() 209 DMCUB_REGION3_CW2_TOP_ADDRESS, cw2->region.top, in dmub_dcn20_setup_windows() 224 DMCUB_REGION3_CW3_TOP_ADDRESS, cw3->region.top, in dmub_dcn20_setup_windows() 236 DMCUB_REGION3_CW4_TOP_ADDRESS, cw4->region.top, in dmub_dcn20_setup_windows() 243 cw4->region.top - cw4->region.base - 1, in dmub_dcn20_setup_windows() 253 DMCUB_REGION3_CW5_TOP_ADDRESS, cw5->region.top, in dmub_dcn20_setup_windows() 260 cw5->region.top - cw5->region.base - 1, in dmub_dcn20_setup_windows() 269 DMCUB_REGION3_CW6_TOP_ADDRESS, cw6->region.top, in dmub_dcn20_setup_windows() [all …]
|
D | dmub_dcn32.c | 163 DMCUB_REGION3_CW0_TOP_ADDRESS, cw0->region.top, in dmub_dcn32_backdoor_load() 172 DMCUB_REGION3_CW1_TOP_ADDRESS, cw1->region.top, in dmub_dcn32_backdoor_load() 193 DMCUB_REGION3_CW0_TOP_ADDRESS, cw0->region.top, in dmub_dcn32_backdoor_load_zfb_mode() 202 DMCUB_REGION3_CW1_TOP_ADDRESS, cw1->region.top, in dmub_dcn32_backdoor_load_zfb_mode() 224 DMCUB_REGION3_CW3_TOP_ADDRESS, cw3->region.top, in dmub_dcn32_setup_windows() 233 DMCUB_REGION3_CW4_TOP_ADDRESS, cw4->region.top, in dmub_dcn32_setup_windows() 242 DMCUB_REGION3_CW5_TOP_ADDRESS, cw5->region.top, in dmub_dcn32_setup_windows() 249 cw5->region.top - cw5->region.base - 1, in dmub_dcn32_setup_windows() 258 DMCUB_REGION3_CW6_TOP_ADDRESS, cw6->region.top, in dmub_dcn32_setup_windows() 266 REG_WRITE(DMCUB_INBOX1_SIZE, inbox1->top - inbox1->base); in dmub_dcn32_setup_mailbox() [all …]
|
/drivers/gpu/drm/sti/ |
D | sti_hqvdp.c | 314 struct sti_hqvdp_top top; member 485 seq_printf(s, "\n\t %-20s 0x%08X", "Config", c->top.config); in hqvdp_dbg_dump_cmd() 486 switch (c->top.config) { in hqvdp_dbg_dump_cmd() 501 seq_printf(s, "\n\t %-20s 0x%08X", "MemFormat", c->top.mem_format); in hqvdp_dbg_dump_cmd() 502 seq_printf(s, "\n\t %-20s 0x%08X", "CurrentY", c->top.current_luma); in hqvdp_dbg_dump_cmd() 503 seq_printf(s, "\n\t %-20s 0x%08X", "CurrentC", c->top.current_chroma); in hqvdp_dbg_dump_cmd() 504 seq_printf(s, "\n\t %-20s 0x%08X", "YSrcPitch", c->top.luma_src_pitch); in hqvdp_dbg_dump_cmd() 506 c->top.chroma_src_pitch); in hqvdp_dbg_dump_cmd() 508 c->top.input_frame_size); in hqvdp_dbg_dump_cmd() 510 c->top.input_frame_size & 0x0000FFFF, in hqvdp_dbg_dump_cmd() [all …]
|
/drivers/gpu/drm/qxl/ |
D | qxl_draw.c | 95 drawable->self_bitmap_area.top = 0; in make_drawable() 142 int left, right, top, bottom; in qxl_draw_dirty_fb() local 166 top = clips->y1; in qxl_draw_dirty_fb() 174 top = min_t(int, top, (int)clips_ptr->y1); in qxl_draw_dirty_fb() 179 height = bottom - top; in qxl_draw_dirty_fb() 198 drawable_rect.top = top; in qxl_draw_dirty_fb() 213 top, width, height, depth, stride); in qxl_draw_dirty_fb() 229 drawable->u.copy.src_area.top = 0; in qxl_draw_dirty_fb() 248 rects[i].top = clips_ptr->y1; in qxl_draw_dirty_fb()
|
/drivers/video/fbdev/omap/ |
D | lcd_dma.c | 135 unsigned long top, bottom; in set_b1_regs() local 170 top = PIXADDR(0, 0); in set_b1_regs() 180 top = PIXADDR(lcd_dma.xres - 1, 0); in set_b1_regs() 190 top = PIXADDR(0, lcd_dma.yres - 1); in set_b1_regs() 195 top = PIXADDR(lcd_dma.xres - 1, lcd_dma.yres - 1); in set_b1_regs() 205 top = PIXADDR(lcd_dma.xres - 1, lcd_dma.yres - 1); in set_b1_regs() 210 top = PIXADDR(0, lcd_dma.yres - 1); in set_b1_regs() 220 top = PIXADDR(lcd_dma.xres - 1, 0); in set_b1_regs() 225 top = PIXADDR(0, 0); in set_b1_regs() 239 omap_writew(top >> 16, OMAP1510_DMA_LCD_TOP_F1_U); in set_b1_regs() [all …]
|
/drivers/md/bcache/ |
D | extents.c | 270 struct btree_iter_set *top = iter->data, *i = top + 1; in bch_extent_sort_fixup() local 276 if (bkey_cmp(top->k, &START_KEY(i->k)) <= 0) in bch_extent_sort_fixup() 281 heap_sift(iter, i - top, bch_extent_sort_cmp); in bch_extent_sort_fixup() 285 if (top->k > i->k) { in bch_extent_sort_fixup() 286 if (bkey_cmp(top->k, i->k) >= 0) in bch_extent_sort_fixup() 289 bch_cut_front(top->k, i->k); in bch_extent_sort_fixup() 291 heap_sift(iter, i - top, bch_extent_sort_cmp); in bch_extent_sort_fixup() 294 BUG_ON(!bkey_cmp(&START_KEY(top->k), &START_KEY(i->k))); in bch_extent_sort_fixup() 296 if (bkey_cmp(i->k, top->k) < 0) { in bch_extent_sort_fixup() 297 bkey_copy(tmp, top->k); in bch_extent_sort_fixup() [all …]
|
/drivers/infiniband/hw/vmw_pvrdma/ |
D | pvrdma_doorbell.c | 62 tbl->top = 0; in pvrdma_uar_table_init() 94 tbl->top = (tbl->top + tbl->max) & tbl->mask; in pvrdma_uar_alloc() 104 obj |= tbl->top; in pvrdma_uar_alloc() 125 tbl->top = (tbl->top + tbl->max) & tbl->mask; in pvrdma_uar_free()
|
/drivers/media/platform/renesas/vsp1/ |
D | vsp1_rpf.c | 61 unsigned int top = 0; in rpf_configure_stream() local 165 top = compose->top; in rpf_configure_stream() 169 top /= 2; in rpf_configure_stream() 173 (top << VI6_RPF_LOC_VCOORD_SHIFT)); in rpf_configure_stream() 324 crop.top = round_down(crop.top / 2, fmtinfo->vsub); in rpf_configure_partition() 334 mem.addr[0] += crop.top * format->plane_fmt[0].bytesperline in rpf_configure_partition() 341 offset = crop.top / fmtinfo->vsub * bpl in rpf_configure_partition()
|
D | vsp1_rwpf.c | 112 crop->top = 0; in vsp1_rwpf_set_format() 166 sel->r.top = 0; in vsp1_rwpf_get_selection() 220 sel->r.top = ALIGN(sel->r.top, 2); in vsp1_rwpf_set_selection() 226 sel->r.top = min_t(unsigned int, sel->r.top, format->height - 2); in vsp1_rwpf_set_selection() 230 format->height - sel->r.top); in vsp1_rwpf_set_selection()
|
/drivers/gpu/drm/vc4/ |
D | vc4_hvs.c | 832 u32 reg, top; in vc4_hvs_bind() local 982 top = VC4_COB_LINE_WIDTH * VC4_COB_NUM_LINES; in vc4_hvs_bind() 983 reg |= (top - 1) << 16; in vc4_hvs_bind() 985 reg = top; in vc4_hvs_bind() 986 top += VC4_COB_LINE_WIDTH * VC4_COB_NUM_LINES; in vc4_hvs_bind() 987 reg |= (top - 1) << 16; in vc4_hvs_bind() 989 reg = top; in vc4_hvs_bind() 990 top = VC4_COB_SIZE; in vc4_hvs_bind() 991 reg |= (top - 1) << 16; in vc4_hvs_bind() 1006 top = VC5_COB_LINE_WIDTH * VC5_COB_NUM_LINES; in vc4_hvs_bind() [all …]
|
/drivers/media/test-drivers/vivid/ |
D | vivid-kthread-cap.c | 162 dev->loop_vid_out.top += dev->crop_out.top; in vivid_precalc_copy_rects() 170 dev->loop_vid_copy.left, dev->loop_vid_copy.top, in vivid_precalc_copy_rects() 172 dev->loop_vid_out.left, dev->loop_vid_out.top, in vivid_precalc_copy_rects() 174 dev->loop_vid_cap.left, dev->loop_vid_cap.top); in vivid_precalc_copy_rects() 180 r_overlay.top += dev->compose_out.top - dev->overlay_out_top; in vivid_precalc_copy_rects() 187 dev->loop_fb_copy.top -= dev->compose_out.top - dev->overlay_out_top; in vivid_precalc_copy_rects() 195 dev->loop_fb_copy.left, dev->loop_fb_copy.top, in vivid_precalc_copy_rects() 197 dev->loop_vid_overlay.left, dev->loop_vid_overlay.top, in vivid_precalc_copy_rects() 199 dev->loop_vid_overlay_cap.left, dev->loop_vid_overlay_cap.top); in vivid_precalc_copy_rects() 263 (dev->loop_vid_out.top / vdiv) * stride_out; in vivid_copy_buffer() [all …]
|
/drivers/media/i2c/ |
D | ov5640.c | 704 .top = 4, 710 .top = 6, 721 .top = OV5640_PIXEL_ARRAY_TOP, 728 .top = 4, 749 .top = 4, 755 .top = 6, 766 .top = OV5640_PIXEL_ARRAY_TOP, 773 .top = 4, 794 .top = 4, 800 .top = 6, [all …]
|
/drivers/gpu/drm/vmwgfx/ |
D | vmwgfx_scrn.c | 57 s32 left, right, top, bottom; member 511 blit->body.destRect.top = clip->y1; in vmw_sou_bo_populate_clip() 603 blit->body.srcRect.top = 0; in vmw_sou_surface_pre_clip() 608 blit->body.destRect.top = 0; in vmw_sou_surface_pre_clip() 626 rect->top = clip->y1; in vmw_sou_surface_clip_rect() 663 blit->body.srcRect.top = src_bb.y1; in vmw_sou_surface_post_clip() 668 blit->body.destRect.top = bb->y1; in vmw_sou_surface_post_clip() 675 rect->top -= bb->y1; in vmw_sou_surface_post_clip() 1016 cmd->body.destRect.top = sdirty->top; in vmw_sou_surface_fifo_commit() 1021 cmd->body.srcRect.top = sdirty->top + trans_y; in vmw_sou_surface_fifo_commit() [all …]
|
/drivers/gpu/ipu-v3/ |
D | ipu-cpmem.c | 781 offset = Y_OFFSET(pix, image->rect.left, image->rect.top); in ipu_cpmem_set_image() 784 image->rect.top) - offset; in ipu_cpmem_set_image() 787 image->rect.top) - offset; in ipu_cpmem_set_image() 793 offset = Y_OFFSET(pix, image->rect.left, image->rect.top); in ipu_cpmem_set_image() 796 image->rect.top) - offset; in ipu_cpmem_set_image() 799 image->rect.top) - offset; in ipu_cpmem_set_image() 805 offset = Y_OFFSET(pix, image->rect.left, image->rect.top); in ipu_cpmem_set_image() 808 image->rect.top) - offset; in ipu_cpmem_set_image() 811 image->rect.top) - offset; in ipu_cpmem_set_image() 817 offset = Y_OFFSET(pix, image->rect.left, image->rect.top); in ipu_cpmem_set_image() [all …]
|
/drivers/pci/ |
D | bus.c | 389 static void __pci_walk_bus(struct pci_bus *top, int (*cb)(struct pci_dev *, void *), in __pci_walk_bus() argument 397 bus = top; in __pci_walk_bus() 400 next = top->devices.next; in __pci_walk_bus() 404 if (bus == top) in __pci_walk_bus() 439 void pci_walk_bus(struct pci_bus *top, int (*cb)(struct pci_dev *, void *), void *userdata) in pci_walk_bus() argument 441 __pci_walk_bus(top, cb, userdata, false); in pci_walk_bus() 445 void pci_walk_bus_locked(struct pci_bus *top, int (*cb)(struct pci_dev *, void *), void *userdata) in pci_walk_bus_locked() argument 449 __pci_walk_bus(top, cb, userdata, true); in pci_walk_bus_locked()
|