Home
last modified time | relevance | path

Searched refs:bottom (Results 1 – 25 of 192) sorted by relevance

12345678

/Linux-v5.4/arch/x86/um/os-Linux/
Dtask_size.c71 unsigned long bottom = 0; in os_get_top_address() local
101 for (bottom = 0; bottom < top; bottom++) { in os_get_top_address()
102 if (page_ok(bottom)) in os_get_top_address()
107 if (bottom == top) { in os_get_top_address()
113 printf("0x%lx\n", bottom << UM_KERN_PAGE_SHIFT); in os_get_top_address()
117 original = bottom; in os_get_top_address()
124 test = bottom + (top - bottom) / 2; in os_get_top_address()
126 bottom = test; in os_get_top_address()
129 } while (top - bottom > 1); in os_get_top_address()
/Linux-v5.4/drivers/media/pci/bt8xx/
Dbttv-risc.c460 if (NULL != btv->curr.bottom) btv->cap_ctl |= 0x01; in bttv_set_dma()
472 btv->cvbi ? (unsigned long long)btv->cvbi->bottom.dma : 0, in bttv_set_dma()
473 btv->curr.bottom ? (unsigned long long)btv->curr.bottom->bottom.dma : 0); in bttv_set_dma()
579 btcx_riscmem_free(btv->c.pci,&buf->bottom); in bttv_dma_free()
589 struct btcx_riscmem *bottom; in bttv_buffer_activate_vbi() local
594 bottom = NULL; in bttv_buffer_activate_vbi()
625 bottom = &vbi->bottom; in bttv_buffer_activate_vbi()
631 bttv_risc_hook(btv, RISC_SLOT_E_VBI, bottom, bottom_irq_flags); in bttv_buffer_activate_vbi()
641 if (NULL != set->top && NULL != set->bottom) { in bttv_buffer_activate_video()
642 if (set->top == set->bottom) { in bttv_buffer_activate_video()
[all …]
/Linux-v5.4/arch/arm/mach-omap1/
Dlcd_dma.c132 unsigned long top, bottom; in set_b1_regs() local
168 bottom = PIXADDR(lcd_dma.xres - 1, lcd_dma.yres - 1); in set_b1_regs()
173 bottom += 2; in set_b1_regs()
178 bottom = PIXADDR(0, lcd_dma.yres - 1); in set_b1_regs()
188 bottom = PIXADDR(lcd_dma.xres - 1, 0); in set_b1_regs()
193 bottom = PIXADDR(0, 0); in set_b1_regs()
203 bottom = PIXADDR(0, 0); in set_b1_regs()
208 bottom = PIXADDR(lcd_dma.xres - 1, 0); in set_b1_regs()
218 bottom = PIXADDR(0, lcd_dma.yres - 1); in set_b1_regs()
223 bottom = PIXADDR(lcd_dma.xres - 1, lcd_dma.yres - 1); in set_b1_regs()
[all …]
/Linux-v5.4/drivers/gpu/drm/qxl/
Dqxl_draw.c92 drawable->self_bitmap_area.bottom = 0; in make_drawable()
137 int left, right, top, bottom; in qxl_draw_dirty_fb() local
161 bottom = clips->y2; in qxl_draw_dirty_fb()
169 bottom = max_t(int, bottom, (int)clips_ptr->y2); in qxl_draw_dirty_fb()
173 height = bottom - top; in qxl_draw_dirty_fb()
193 drawable_rect.bottom = bottom; in qxl_draw_dirty_fb()
222 drawable->u.copy.src_area.bottom = height; in qxl_draw_dirty_fb()
241 rects[i].bottom = clips_ptr->y2; in qxl_draw_dirty_fb()
/Linux-v5.4/drivers/s390/scsi/
Dzfcp_fsf.c369 (unsigned long long)qtcb->bottom.support.req_handle); in zfcp_fsf_protstatus_eval()
489 struct fsf_qtcb_bottom_config *bottom = &req->qtcb->bottom.config; in zfcp_fsf_exchange_config_evaluate() local
495 nsp = (struct fc_els_flogi *) ((u8 *)&bottom->nport_serv_param in zfcp_fsf_exchange_config_evaluate()
497 plogi = (struct fc_els_flogi *) ((u8 *)&bottom->plogi_payload in zfcp_fsf_exchange_config_evaluate()
501 memcpy(req->data, bottom, sizeof(*bottom)); in zfcp_fsf_exchange_config_evaluate()
507 adapter->timer_ticks = bottom->timer_interval & ZFCP_FSF_TIMER_INT_MASK; in zfcp_fsf_exchange_config_evaluate()
508 adapter->stat_read_buf_num = max(bottom->status_read_buf_num, in zfcp_fsf_exchange_config_evaluate()
521 fc_host_port_id(shost) = ntoh24(bottom->s_id); in zfcp_fsf_exchange_config_evaluate()
523 zfcp_fsf_convert_portspeed(bottom->fc_link_speed); in zfcp_fsf_exchange_config_evaluate()
525 adapter->hydra_version = bottom->adapter_type; in zfcp_fsf_exchange_config_evaluate()
[all …]
/Linux-v5.4/Documentation/media/uapi/v4l/
Dfield-order.rst36 combine to frames. We distinguish between top (aka odd) and bottom (aka
38 the first line of an interlaced frame, the first line of the bottom
42 whether a frame commences with the top or bottom field is pointless. Any
43 two successive top and bottom, or bottom and top fields yield a valid
49 Whether the older field contains the top or bottom lines is a convention
102 - Images consist of the bottom (aka even) field only. Applications
109 order of the fields (whether the top or bottom field is older)
110 depends on the current video standard. In M/NTSC the bottom
116 in memory, immediately followed by the bottom field lines. Fields
121 - Images contain both fields, the bottom field lines are stored
[all …]
/Linux-v5.4/arch/sh/kernel/
Ddumpstack.c19 void dump_mem(const char *str, unsigned long bottom, unsigned long top) in dump_mem() argument
24 printk("%s(0x%08lx to 0x%08lx)\n", str, bottom, top); in dump_mem()
26 for (p = bottom & ~31; p < top; ) { in dump_mem()
32 if (p < bottom || p >= top) in dump_mem()
/Linux-v5.4/block/
Dblk-settings.c500 unsigned int top, bottom, alignment, ret = 0; in blk_stack_limits() local
536 bottom = max(b->physical_block_size, b->io_min) + alignment; in blk_stack_limits()
539 if (max(top, bottom) % min(top, bottom)) { in blk_stack_limits()
596 bottom = b->discard_granularity + alignment; in blk_stack_limits()
599 if ((max(top, bottom) % min(top, bottom)) != 0) in blk_stack_limits()
659 char top[BDEVNAME_SIZE], bottom[BDEVNAME_SIZE]; in disk_stack_limits() local
662 bdevname(bdev, bottom); in disk_stack_limits()
665 top, bottom); in disk_stack_limits()
/Linux-v5.4/drivers/gpu/drm/vmwgfx/
Dvmwgfx_scrn.c58 s32 left, right, top, bottom; member
514 blit->body.destRect.bottom = clip->y2; in vmw_sou_bo_populate_clip()
607 blit->body.srcRect.bottom = 0; in vmw_sou_surface_pre_clip()
612 blit->body.destRect.bottom = 0; in vmw_sou_surface_pre_clip()
630 rect->bottom = clip->y2; in vmw_sou_surface_clip_rect()
667 blit->body.srcRect.bottom = src_bb.y2; in vmw_sou_surface_post_clip()
672 blit->body.destRect.bottom = bb->y2; in vmw_sou_surface_post_clip()
679 rect->bottom -= bb->y1; in vmw_sou_surface_post_clip()
1048 cmd->body.destRect.bottom = sdirty->bottom; in vmw_sou_surface_fifo_commit()
1053 cmd->body.srcRect.bottom = sdirty->bottom + trans_y; in vmw_sou_surface_fifo_commit()
[all …]
Dvmwgfx_stdu.c70 s32 left, right, top, bottom; member
259 s32 left, s32 right, s32 top, s32 bottom) in vmw_stdu_populate_update() argument
270 update->body.rect.h = bottom - top; in vmw_stdu_populate_update()
478 ddirty->bottom = max_t(s32, ddirty->bottom, dirty->unit_y2); in vmw_stdu_bo_clip()
522 ddirty->top, ddirty->bottom); in vmw_stdu_bo_fifo_commit()
529 ddirty->right = ddirty->bottom = S32_MIN; in vmw_stdu_bo_fifo_commit()
551 ddirty->bottom = max_t(s32, ddirty->bottom, dirty->unit_y2); in vmw_stdu_bo_cpu_clip()
587 height = ddirty->bottom - ddirty->top; in vmw_stdu_bo_cpu_commit()
644 ddirty->right = ddirty->bottom = S32_MIN; in vmw_stdu_bo_cpu_commit()
706 ddirty.right = ddirty.bottom = S32_MIN; in vmw_kms_stdu_dma()
[all …]
/Linux-v5.4/drivers/media/pci/saa7134/
Dsaa7134-go7007.c54 u8 *bottom; member
238 go7007_parse_video_stream(go, saa->bottom, PAGE_SIZE); in saa7134_go7007_irq_ts_done()
258 virt_to_page(saa->bottom), in saa7134_go7007_stream_start()
445 saa->bottom = (u8 *)get_zeroed_page(GFP_KERNEL); in saa7134_go7007_init()
446 if (!saa->bottom) in saa7134_go7007_init()
471 if (saa->bottom) in saa7134_go7007_init()
472 free_page((unsigned long)saa->bottom); in saa7134_go7007_init()
493 free_page((unsigned long)saa->bottom); in saa7134_go7007_fini()
/Linux-v5.4/arch/unicore32/kernel/
Dtraps.c64 static void dump_mem(const char *lvl, const char *str, unsigned long bottom, in dump_mem() argument
80 lvl, str, bottom, top); in dump_mem()
82 for (first = bottom & ~31; first < top; first += 32) { in dump_mem()
90 if (p >= bottom && p < top) { in dump_mem()
/Linux-v5.4/drivers/scsi/
Dscsi_devinfo.c620 struct list_head *bottom; member
629 list_entry(dl->bottom, struct scsi_dev_info_list, in devinfo_seq_show()
632 if (devinfo_table->scsi_dev_info_list.next == dl->bottom && in devinfo_seq_show()
653 list_for_each(dl->bottom, &devinfo_table->scsi_dev_info_list) in devinfo_seq_start()
669 dl->bottom = dl->bottom->next; in devinfo_seq_next()
670 while (&devinfo_table->scsi_dev_info_list == dl->bottom) { in devinfo_seq_next()
679 dl->bottom = devinfo_table->scsi_dev_info_list.next; in devinfo_seq_next()
/Linux-v5.4/drivers/staging/wlan-ng/
Dprism2sta.c684 le16_to_cpus(&hw->cap_sup_mfi.bottom); in prism2sta_getcardinfo()
690 hw->cap_sup_mfi.variant, hw->cap_sup_mfi.bottom, in prism2sta_getcardinfo()
708 le16_to_cpus(&hw->cap_sup_cfi.bottom); in prism2sta_getcardinfo()
714 hw->cap_sup_cfi.variant, hw->cap_sup_cfi.bottom, in prism2sta_getcardinfo()
732 le16_to_cpus(&hw->cap_sup_pri.bottom); in prism2sta_getcardinfo()
738 hw->cap_sup_pri.variant, hw->cap_sup_pri.bottom, in prism2sta_getcardinfo()
756 le16_to_cpus(&hw->cap_sup_sta.bottom); in prism2sta_getcardinfo()
763 hw->cap_sup_sta.variant, hw->cap_sup_sta.bottom, in prism2sta_getcardinfo()
769 hw->cap_sup_sta.variant, hw->cap_sup_sta.bottom, in prism2sta_getcardinfo()
788 le16_to_cpus(&hw->cap_act_pri_cfi.bottom); in prism2sta_getcardinfo()
[all …]
Dprism2fw.c321 priid.bottom = *data++; in prism2_fwapply()
629 le16_to_cpus(&rfid.bottom); in mkpdrlist()
638 le16_to_cpus(&macid.bottom); in mkpdrlist()
1151 rfid.id, rfid.variant, rfid.bottom, rfid.top); in validate_identity()
1153 macid.id, macid.variant, macid.bottom, macid.top); in validate_identity()
1155 priid.id, priid.variant, priid.bottom, priid.top); in validate_identity()
1171 s3info[i].info.compat.bottom, in validate_identity()
1186 if ((s3info[i].info.compat.bottom > in validate_identity()
1189 priid.bottom)) { in validate_identity()
/Linux-v5.4/drivers/gpu/drm/i915/display/
Dintel_tv.c875 u16 top, bottom; member
1178 conn_state->tv.margins.bottom != in intel_tv_vert_scaling()
1214 int extra, top, bottom; in intel_tv_compute_config() local
1227 bottom = conn_state->tv.margins.bottom; in intel_tv_compute_config()
1229 if (top + bottom) in intel_tv_compute_config()
1230 top = extra * top / (top + bottom); in intel_tv_compute_config()
1233 bottom = extra - top; in intel_tv_compute_config()
1236 tv_conn_state->margins.bottom = bottom; in intel_tv_compute_config()
1247 tv_conn_state->margins.bottom = conn_state->tv.margins.bottom; in intel_tv_compute_config()
1325 tv_conn_state->margins.bottom); in intel_tv_compute_config()
[all …]
/Linux-v5.4/include/media/
Dv4l2-rect.h121 int right, bottom; in v4l2_rect_intersect() local
125 bottom = min(r1->top + r1->height, r2->top + r2->height); in v4l2_rect_intersect()
127 r->height = max(0, bottom - r->top); in v4l2_rect_intersect()
/Linux-v5.4/drivers/video/fbdev/sis/
Dsis_accel.h237 #define SiS300SetupClipRB(right,bottom) \ argument
239 MMIO_OUT32(ivideo->mmio_vbase, BR(14), ((right) & 0xFFFF) | (bottom)<<16 );\
363 #define SiS310SetupClipRB(right,bottom) \ argument
365 MMIO_OUT32(ivideo->mmio_vbase, RIGHT_CLIP, ((right) & 0xFFFF) | (bottom)<<16 );\
/Linux-v5.4/arch/nds32/kernel/
Dtraps.c25 void dump_mem(const char *lvl, unsigned long bottom, unsigned long top) in dump_mem() argument
39 pr_emerg("%s(0x%08lx to 0x%08lx)\n", lvl, bottom, top); in dump_mem()
41 for (first = bottom & ~31; first < top; first += 32) { in dump_mem()
49 if (p >= bottom && p < top) { in dump_mem()
/Linux-v5.4/net/xfrm/
Dxfrm_replay.c14 u32 seq, seq_hi, bottom; in xfrm_replay_seqhi() local
22 bottom = replay_esn->seq - replay_esn->replay_window + 1; in xfrm_replay_seqhi()
26 if (unlikely(seq < bottom)) in xfrm_replay_seqhi()
30 if (unlikely(seq >= bottom)) in xfrm_replay_seqhi()
433 u32 bottom = top - wsize + 1; in xfrm_replay_check_esn() local
446 if (likely(seq > top) || seq < bottom) in xfrm_replay_check_esn()
450 if (likely(seq > top && seq < bottom)) in xfrm_replay_check_esn()
452 if (seq >= bottom) in xfrm_replay_check_esn()
/Linux-v5.4/drivers/media/platform/s5p-g2d/
Dg2d-hw.c35 n = f->bottom & 0xFFF; in g2d_set_src_size()
60 n = f->bottom & 0xFFF; in g2d_set_dst_size()
/Linux-v5.4/drivers/video/fbdev/
Dfb-puv3.c143 int bottom = info->var.yres - 1; in unifb_prim_fillrect() local
147 bottom = (bottom << 16) | right; in unifb_prim_fillrect()
168 writel(bottom, UGE_CLIP1); in unifb_prim_fillrect()
233 int bottom = info->var.yres; in unifb_prim_copyarea() local
264 bottom = (bottom << 16) | right; in unifb_prim_copyarea()
273 writel(bottom, UGE_CLIP1); in unifb_prim_copyarea()
/Linux-v5.4/arch/sh/include/asm/
Dkdebug.h16 extern void dump_mem(const char *str, unsigned long bottom, unsigned long top);
/Linux-v5.4/arch/x86/kernel/
Dprocess.c812 unsigned long start, bottom, top, sp, fp, ip, ret = 0; in get_wchan() local
843 bottom = start; in get_wchan()
846 if (sp < bottom || sp > top) in get_wchan()
851 if (fp < bottom || fp > top) in get_wchan()
/Linux-v5.4/drivers/gpu/drm/vc4/
Dvc4_crtc.c58 unsigned int bottom; member
596 unsigned int *top, unsigned int *bottom) in vc4_crtc_get_margins() argument
606 *bottom = vc4_state->margins.bottom; in vc4_crtc_get_margins()
620 *bottom = conn_state->tv.margins.bottom; in vc4_crtc_get_margins()
675 vc4_state->margins.bottom = conn_state->tv.margins.bottom; in vc4_crtc_atomic_check()

12345678