Home
last modified time | relevance | path

Searched refs:top (Results 1 – 25 of 303) sorted by relevance

12345678910>>...13

/drivers/gpu/drm/nouveau/nvkm/subdev/top/
Dbase.c27 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 …]
DKbuild2 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/
Dehea_qmr.c552 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/mfd/
Dexynos-lpass.c54 struct regmap *top; member
62 regmap_read(lpass->top, SFR_LPASS_CORE_SW_RESET, &val); in exynos_lpass_core_sw_reset()
65 regmap_write(lpass->top, SFR_LPASS_CORE_SW_RESET, val); in exynos_lpass_core_sw_reset()
70 regmap_write(lpass->top, SFR_LPASS_CORE_SW_RESET, val); in exynos_lpass_core_sw_reset()
78 regmap_write(lpass->top, SFR_LPASS_INTR_CA5_MASK, in exynos_lpass_enable()
81 regmap_write(lpass->top, SFR_LPASS_INTR_CPU_MASK, in exynos_lpass_enable()
94 regmap_write(lpass->top, SFR_LPASS_INTR_CPU_MASK, 0); in exynos_lpass_disable()
95 regmap_write(lpass->top, SFR_LPASS_INTR_CA5_MASK, 0); in exynos_lpass_disable()
128 lpass->top = regmap_init_mmio(dev, base_top, in exynos_lpass_probe()
130 if (IS_ERR(lpass->top)) { in exynos_lpass_probe()
[all …]
/drivers/media/pci/bt8xx/
Dbttv-risc.c267 addr += btv->fbuf.fmt.bytesperline * ov->w.top; in bttv_risc_overlay()
383 && crop->top == tvnorm->cropcap.defrect.top in bttv_calc_geo()
404 geo->vdelay = crop->top - tvnorm->cropcap.bounds.top + MIN_VDELAY; in bttv_calc_geo()
459 if (NULL != btv->curr.top) btv->cap_ctl |= 0x02; in bttv_set_dma()
470 btv->cvbi ? (unsigned long long)btv->cvbi->top.dma : 0, in bttv_set_dma()
471 btv->curr.top ? (unsigned long long)btv->curr.top->top.dma : 0, in bttv_set_dma()
579 btcx_riscmem_free(btv->c.pci,&buf->top); in bttv_dma_free()
587 struct btcx_riscmem *top; in bttv_buffer_activate_vbi() local
592 top = NULL; in bttv_buffer_activate_vbi()
618 top = &vbi->top; in bttv_buffer_activate_vbi()
[all …]
Dbtcx-risc.c89 clips[n].c.top = 0; in btcx_screen_clips()
97 clips[n].c.top = 0; in btcx_screen_clips()
102 if (win->top < 0) { in btcx_screen_clips()
105 clips[n].c.top = 0; in btcx_screen_clips()
107 clips[n].c.height = -win->top; in btcx_screen_clips()
110 if (win->top + win->height > sheight) { in btcx_screen_clips()
113 clips[n].c.top = sheight - win->top; in btcx_screen_clips()
115 clips[n].c.height = win->height - clips[n].c.top; in btcx_screen_clips()
136 win->width, win->height, win->left, win->top, dx); in btcx_align()
148 clips[i].c.left, clips[i].c.top); in btcx_align()
[all …]
Dbttv-driver.c260 .cropcap.bounds.top = (videostart0) * 2 - (vdelay) + MIN_VDELAY, \
266 .cropcap.defrect.top = (videostart0) * 2, \
673 __s32 top = btv->crop[!!fh->do_crop].rect.top; in check_alloc_btres_lock() local
675 if (btv->vbi_end > top) in check_alloc_btres_lock()
680 btv->crop_start = top; in check_alloc_btres_lock()
727 btv->crop_start = tvnorm->cropcap.bounds.top in disclaim_video_lines()
1132 btv->crop_start = tvnorm->cropcap.bounds.top in set_tvnorm()
1557 if (btv->vbi_end > bttv_tvnorms[norm].cropcap.defrect.top) { in bttv_prepare_buffer()
1596 buf->crop.top != c.rect.top || in bttv_prepare_buffer()
1929 max_top = b->top + b->height - c->rect.height; in bttv_crop_adjust()
[all …]
/drivers/gpu/drm/amd/display/dmub/src/
Ddmub_srv.c330 inst->top = inst->base + params->inst_const_size; in dmub_srv_calc_region_info()
332 data->base = dmub_align(inst->top, 256); in dmub_srv_calc_region_info()
333 data->top = data->base + params->bss_data_size; in dmub_srv_calc_region_info()
340 stack->base = dmub_align(data->top, 256); in dmub_srv_calc_region_info()
341 stack->top = stack->base + DMUB_STACK_SIZE + DMUB_CONTEXT_SIZE; in dmub_srv_calc_region_info()
343 bios->base = dmub_align(stack->top, 256); in dmub_srv_calc_region_info()
344 bios->top = bios->base + params->vbios_size; in dmub_srv_calc_region_info()
348 mail->top = mail->base + DMUB_MAILBOX_SIZE; in dmub_srv_calc_region_info()
349 previous_top = bios->top; in dmub_srv_calc_region_info()
351 mail->base = dmub_align(bios->top, 256); in dmub_srv_calc_region_info()
[all …]
Ddmub_dcn30.c106 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()
Ddmub_dcn20.c173 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 …]
Ddmub_dcn31.c160 DMCUB_REGION3_CW0_TOP_ADDRESS, cw0->region.top, in dmub_dcn31_backdoor_load()
169 DMCUB_REGION3_CW1_TOP_ADDRESS, cw1->region.top, in dmub_dcn31_backdoor_load()
191 DMCUB_REGION3_CW3_TOP_ADDRESS, cw3->region.top, in dmub_dcn31_setup_windows()
200 DMCUB_REGION3_CW4_TOP_ADDRESS, cw4->region.top, in dmub_dcn31_setup_windows()
209 DMCUB_REGION3_CW5_TOP_ADDRESS, cw5->region.top, in dmub_dcn31_setup_windows()
216 cw5->region.top - cw5->region.base - 1, in dmub_dcn31_setup_windows()
225 DMCUB_REGION3_CW6_TOP_ADDRESS, cw6->region.top, in dmub_dcn31_setup_windows()
233 REG_WRITE(DMCUB_INBOX1_SIZE, inbox1->top - inbox1->base); in dmub_dcn31_setup_mailbox()
250 REG_WRITE(DMCUB_OUTBOX1_SIZE, outbox1->top - outbox1->base); in dmub_dcn31_setup_out_mailbox()
358 REG_WRITE(DMCUB_OUTBOX0_SIZE, outbox0->top - outbox0->base); in dmub_dcn31_setup_outbox0()
/drivers/media/platform/omap/
Domap_voutlib.c53 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/sti/
Dsti_hqvdp.c312 struct sti_hqvdp_top top; member
483 seq_printf(s, "\n\t %-20s 0x%08X", "Config", c->top.config); in hqvdp_dbg_dump_cmd()
484 switch (c->top.config) { in hqvdp_dbg_dump_cmd()
499 seq_printf(s, "\n\t %-20s 0x%08X", "MemFormat", c->top.mem_format); in hqvdp_dbg_dump_cmd()
500 seq_printf(s, "\n\t %-20s 0x%08X", "CurrentY", c->top.current_luma); in hqvdp_dbg_dump_cmd()
501 seq_printf(s, "\n\t %-20s 0x%08X", "CurrentC", c->top.current_chroma); in hqvdp_dbg_dump_cmd()
502 seq_printf(s, "\n\t %-20s 0x%08X", "YSrcPitch", c->top.luma_src_pitch); in hqvdp_dbg_dump_cmd()
504 c->top.chroma_src_pitch); in hqvdp_dbg_dump_cmd()
506 c->top.input_frame_size); in hqvdp_dbg_dump_cmd()
508 c->top.input_frame_size & 0x0000FFFF, in hqvdp_dbg_dump_cmd()
[all …]
/drivers/gpu/drm/qxl/
Dqxl_draw.c94 drawable->self_bitmap_area.top = 0; in make_drawable()
141 int left, right, top, bottom; in qxl_draw_dirty_fb() local
165 top = clips->y1; in qxl_draw_dirty_fb()
173 top = min_t(int, top, (int)clips_ptr->y1); in qxl_draw_dirty_fb()
178 height = bottom - top; in qxl_draw_dirty_fb()
197 drawable_rect.top = top; in qxl_draw_dirty_fb()
212 top, width, height, depth, stride); in qxl_draw_dirty_fb()
228 drawable->u.copy.src_area.top = 0; in qxl_draw_dirty_fb()
247 rects[i].top = clips_ptr->y1; in qxl_draw_dirty_fb()
/drivers/md/bcache/
Dextents.c270 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/
Dpvrdma_doorbell.c62 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/test-drivers/vivid/
Dvivid-kthread-cap.c56 int top = dev->overlay_out_top; in copy_pix() local
58 int fb_y = win_y + top; in copy_pix()
68 win_y -= dev->compose_out.top; in copy_pix()
76 if (fb_y >= r->top && fb_y < r->top + r->height && in copy_pix()
182 dev->loop_vid_out.top += dev->crop_out.top; in vivid_precalc_copy_rects()
190 dev->loop_vid_copy.left, dev->loop_vid_copy.top, in vivid_precalc_copy_rects()
192 dev->loop_vid_out.left, dev->loop_vid_out.top, in vivid_precalc_copy_rects()
194 dev->loop_vid_cap.left, dev->loop_vid_cap.top); in vivid_precalc_copy_rects()
200 r_overlay.top += dev->compose_out.top - dev->overlay_out_top; in vivid_precalc_copy_rects()
207 dev->loop_fb_copy.top -= dev->compose_out.top - dev->overlay_out_top; in vivid_precalc_copy_rects()
[all …]
/drivers/media/platform/vsp1/
Dvsp1_rpf.c69 unsigned int top = 0; in rpf_configure_stream() local
121 top = compose->top; in rpf_configure_stream()
125 top /= 2; in rpf_configure_stream()
129 (top << VI6_RPF_LOC_VCOORD_SHIFT)); in rpf_configure_stream()
280 crop.top = round_down(crop.top / 2, fmtinfo->vsub); in rpf_configure_partition()
290 mem.addr[0] += crop.top * format->plane_fmt[0].bytesperline in rpf_configure_partition()
297 offset = crop.top / fmtinfo->vsub * bpl in rpf_configure_partition()
Dvsp1_rwpf.c112 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/vmwgfx/
Dvmwgfx_scrn.c58 s32 left, right, top, bottom; member
517 blit->body.destRect.top = clip->y1; in vmw_sou_bo_populate_clip()
610 blit->body.srcRect.top = 0; in vmw_sou_surface_pre_clip()
615 blit->body.destRect.top = 0; in vmw_sou_surface_pre_clip()
633 rect->top = clip->y1; in vmw_sou_surface_clip_rect()
670 blit->body.srcRect.top = src_bb.y1; in vmw_sou_surface_post_clip()
675 blit->body.destRect.top = bb->y1; in vmw_sou_surface_post_clip()
682 rect->top -= bb->y1; in vmw_sou_surface_post_clip()
1049 cmd->body.destRect.top = sdirty->top; in vmw_sou_surface_fifo_commit()
1054 cmd->body.srcRect.top = sdirty->top + trans_y; in vmw_sou_surface_fifo_commit()
[all …]
/drivers/gpu/ipu-v3/
Dipu-cpmem.c781 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/staging/vc04_services/interface/vchiq_arm/
Dvchiq_debugfs.c186 struct dentry *top; in vchiq_debugfs_add_instance() local
191 top = debugfs_create_dir(pidstr, vchiq_dbg_clients); in vchiq_debugfs_add_instance()
193 debugfs_create_file("use_count", 0444, top, instance, in vchiq_debugfs_add_instance()
195 debugfs_create_file("trace", 0644, top, instance, &debugfs_trace_fops); in vchiq_debugfs_add_instance()
197 vchiq_instance_get_debugfs_node(instance)->dentry = top; in vchiq_debugfs_add_instance()
/drivers/infiniband/hw/mthca/
Dmthca_allocator.c49 alloc->top = (alloc->top + alloc->max) & alloc->mask; in mthca_alloc()
55 obj |= alloc->top; in mthca_alloc()
74 alloc->top = (alloc->top + alloc->max) & alloc->mask; in mthca_free()
89 alloc->top = 0; in mthca_alloc_init()
/drivers/media/pci/saa7134/
Dsaa7134-go7007.c53 u8 *top; member
243 go7007_parse_video_stream(go, saa->top, PAGE_SIZE); in saa7134_go7007_irq_ts_done()
253 saa->top_dma = dma_map_page(&dev->pci->dev, virt_to_page(saa->top), in saa7134_go7007_stream_start()
442 saa->top = (u8 *)get_zeroed_page(GFP_KERNEL); in saa7134_go7007_init()
443 if (!saa->top) in saa7134_go7007_init()
469 if (saa->top) in saa7134_go7007_init()
470 free_page((unsigned long)saa->top); in saa7134_go7007_init()
492 free_page((unsigned long)saa->top); in saa7134_go7007_fini()
/drivers/gpu/drm/i915/display/
Dintel_tv.c875 u16 top, bottom; member
1177 conn_state->tv.margins.top - in intel_tv_vert_scaling()
1214 int extra, top, bottom; in intel_tv_compute_config() local
1227 top = conn_state->tv.margins.top; in intel_tv_compute_config()
1230 if (top + bottom) in intel_tv_compute_config()
1231 top = extra * top / (top + bottom); in intel_tv_compute_config()
1233 top = extra / 2; in intel_tv_compute_config()
1234 bottom = extra - top; in intel_tv_compute_config()
1236 tv_conn_state->margins.top = top; in intel_tv_compute_config()
1247 tv_conn_state->margins.top = conn_state->tv.margins.top; in intel_tv_compute_config()
[all …]

12345678910>>...13