Home
last modified time | relevance | path

Searched refs:bounds (Results 1 – 21 of 21) sorted by relevance

/drivers/gpu/drm/nouveau/dispnv50/
A Dhead917d.c53 u32 bounds = 0; in head917d_base() local
58 case 8: bounds |= NVDEF(NV917D, HEAD_SET_BASE_CHANNEL_USAGE_BOUNDS, PIXEL_DEPTH, BPP_64); break; in head917d_base()
59 case 4: bounds |= NVDEF(NV917D, HEAD_SET_BASE_CHANNEL_USAGE_BOUNDS, PIXEL_DEPTH, BPP_32); break; in head917d_base()
60 case 2: bounds |= NVDEF(NV917D, HEAD_SET_BASE_CHANNEL_USAGE_BOUNDS, PIXEL_DEPTH, BPP_16); break; in head917d_base()
61 case 1: bounds |= NVDEF(NV917D, HEAD_SET_BASE_CHANNEL_USAGE_BOUNDS, PIXEL_DEPTH, BPP_8); break; in head917d_base()
66 bounds |= NVDEF(NV917D, HEAD_SET_BASE_CHANNEL_USAGE_BOUNDS, USABLE, TRUE); in head917d_base()
67 bounds |= NVDEF(NV917D, HEAD_SET_BASE_CHANNEL_USAGE_BOUNDS, BASE_LUT, USAGE_1025); in head917d_base()
73 PUSH_MTHD(push, NV917D, HEAD_SET_BASE_CHANNEL_USAGE_BOUNDS(i), bounds); in head917d_base()
A Dhead907d.c100 u32 bounds = 0; in head907d_ovly() local
105 case 8: bounds |= NVDEF(NV907D, HEAD_SET_OVERLAY_USAGE_BOUNDS, PIXEL_DEPTH, BPP_64); break; in head907d_ovly()
106 case 4: bounds |= NVDEF(NV907D, HEAD_SET_OVERLAY_USAGE_BOUNDS, PIXEL_DEPTH, BPP_32); break; in head907d_ovly()
107 case 2: bounds |= NVDEF(NV907D, HEAD_SET_OVERLAY_USAGE_BOUNDS, PIXEL_DEPTH, BPP_16); break; in head907d_ovly()
112 bounds |= NVDEF(NV907D, HEAD_SET_OVERLAY_USAGE_BOUNDS, USABLE, TRUE); in head907d_ovly()
114 bounds |= NVDEF(NV907D, HEAD_SET_OVERLAY_USAGE_BOUNDS, PIXEL_DEPTH, BPP_16); in head907d_ovly()
120 PUSH_MTHD(push, NV907D, HEAD_SET_OVERLAY_USAGE_BOUNDS(i), bounds); in head907d_ovly()
129 u32 bounds = 0; in head907d_base() local
137 case 1: bounds |= NVDEF(NV907D, HEAD_SET_BASE_CHANNEL_USAGE_BOUNDS, PIXEL_DEPTH, BPP_8); break; in head907d_base()
142 bounds |= NVDEF(NV907D, HEAD_SET_BASE_CHANNEL_USAGE_BOUNDS, USABLE, TRUE); in head907d_base()
[all …]
A Dhead507d.c71 u32 bounds = 0; in head507d_ovly() local
76 case 4: bounds |= NVDEF(NV507D, HEAD_SET_BASE_CHANNEL_USAGE_BOUNDS, PIXEL_DEPTH, BPP_32); break; in head507d_ovly()
77 case 2: bounds |= NVDEF(NV507D, HEAD_SET_BASE_CHANNEL_USAGE_BOUNDS, PIXEL_DEPTH, BPP_16); break; in head507d_ovly()
82 bounds |= NVDEF(NV507D, HEAD_SET_BASE_CHANNEL_USAGE_BOUNDS, USABLE, TRUE); in head507d_ovly()
84 bounds |= NVDEF(NV507D, HEAD_SET_BASE_CHANNEL_USAGE_BOUNDS, PIXEL_DEPTH, BPP_16); in head507d_ovly()
90 PUSH_MTHD(push, NV507D, HEAD_SET_BASE_CHANNEL_USAGE_BOUNDS(i), bounds); in head507d_ovly()
99 u32 bounds = 0; in head507d_base() local
104 case 8: bounds |= NVDEF(NV507D, HEAD_SET_BASE_CHANNEL_USAGE_BOUNDS, PIXEL_DEPTH, BPP_64); break; in head507d_base()
107 case 1: bounds |= NVDEF(NV507D, HEAD_SET_BASE_CHANNEL_USAGE_BOUNDS, PIXEL_DEPTH, BPP_8); break; in head507d_base()
112 bounds |= NVDEF(NV507D, HEAD_SET_BASE_CHANNEL_USAGE_BOUNDS, USABLE, TRUE); in head507d_base()
[all …]
/drivers/media/platform/rockchip/rkisp1/
A Drkisp1-common.c163 const struct v4l2_rect *bounds) in rkisp1_sd_adjust_crop_rect() argument
166 v4l2_rect_map_inside(crop, bounds); in rkisp1_sd_adjust_crop_rect()
170 const struct v4l2_mbus_framefmt *bounds) in rkisp1_sd_adjust_crop() argument
175 .width = bounds->width, in rkisp1_sd_adjust_crop()
176 .height = bounds->height, in rkisp1_sd_adjust_crop()
A Drkisp1-common.h601 const struct v4l2_rect *bounds);
610 const struct v4l2_mbus_framefmt *bounds);
/drivers/net/wireless/mediatek/mt76/mt76x2/
A Deeprom.c462 u8 bounds; in mt76x2_get_temp_comp() local
476 bounds = mt76x02_eeprom_get(dev, MT_EE_TX_POWER_EXT_PA_5G); in mt76x2_get_temp_comp()
479 bounds = mt76x02_eeprom_get(dev, in mt76x2_get_temp_comp()
485 t->lower_bound = 0 - (bounds & 0xf); in mt76x2_get_temp_comp()
486 t->upper_bound = (bounds >> 4) & 0xf; in mt76x2_get_temp_comp()
/drivers/media/pci/bt8xx/
A Dbttv-vbi.c191 max_end = (tvnorm->cropcap.bounds.top in try_fmt()
192 + tvnorm->cropcap.bounds.height) >> 1; in try_fmt()
321 max_end = (tvnorm->cropcap.bounds.top in bttv_g_fmt_vbi_cap()
322 + tvnorm->cropcap.bounds.height) >> 1; in bttv_g_fmt_vbi_cap()
A Dbttv-driver.c257 .cropcap.bounds.left = minhdelayx1, \
260 .cropcap.bounds.top = (videostart0) * 2 - (vdelay) + MIN_VDELAY, \
262 .cropcap.bounds.width = (totalwidth) - (minhdelayx1) - 4, \
263 .cropcap.bounds.height = (sheight) + (extraheight) + (vdelay) - \
714 btv->crop_start = tvnorm->cropcap.bounds.top in disclaim_video_lines()
715 + tvnorm->cropcap.bounds.height; in disclaim_video_lines()
1117 btv->crop_start = tvnorm->cropcap.bounds.top in set_tvnorm()
1118 + tvnorm->cropcap.bounds.height; in set_tvnorm()
1859 b = &bttv_tvnorms[btv->tvnorm].cropcap.bounds; in limit_scaled_size_lock()
2226 sel->r = bttv_tvnorms[btv->tvnorm].cropcap.bounds; in bttv_g_selection()
[all …]
A Dbttv-risc.c315 geo->vdelay = crop->top - tvnorm->cropcap.bounds.top + MIN_VDELAY; in bttv_calc_geo()
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()
/drivers/media/platform/mediatek/mdp3/
A Dmtk-mdp3-cmdq.c25 struct v4l2_rect bounds[IMG_MAX_HW_OUTPUTS]; member
602 path->bounds[i].left = 0; in mdp_cmdq_prepare()
603 path->bounds[i].top = 0; in mdp_cmdq_prepare()
604 path->bounds[i].width = in mdp_cmdq_prepare()
606 path->bounds[i].height = in mdp_cmdq_prepare()
609 param->composes[i] : &path->bounds[i]; in mdp_cmdq_prepare()
/drivers/gpu/drm/msm/disp/dpu1/
A Ddpu_trace.h698 TP_PROTO(uint32_t drm_id, int mixer, struct drm_rect *bounds),
699 TP_ARGS(drm_id, mixer, bounds),
703 __field_struct( struct drm_rect, bounds )
708 __entry->bounds = *bounds;
711 __entry->mixer, DRM_RECT_ARG(&__entry->bounds))
/drivers/staging/media/starfive/camss/
A Dstf-isp.c187 const struct v4l2_rect bounds = { in isp_try_crop() local
195 v4l2_rect_map_inside(crop, &bounds); in isp_try_crop()
/drivers/media/usb/pvrusb2/
A Dpvrusb2-hdw.c446 *left = cap->bounds.left; in ctrl_cropl_min_get()
457 *left = cap->bounds.left; in ctrl_cropl_max_get()
458 if (cap->bounds.width > cptr->hdw->cropw_val) { in ctrl_cropl_max_get()
471 *top = cap->bounds.top; in ctrl_cropt_min_get()
482 *top = cap->bounds.top; in ctrl_cropt_max_get()
498 bleftend = cap->bounds.left+cap->bounds.width; in ctrl_cropw_max_get()
514 btopend = cap->bounds.top+cap->bounds.height; in ctrl_croph_max_get()
528 *val = cap->bounds.left; in ctrl_get_cropcapbl()
539 *val = cap->bounds.top; in ctrl_get_cropcapbt()
550 *val = cap->bounds.width; in ctrl_get_cropcapbw()
[all …]
A Dpvrusb2-v4l2.c718 sel->r = cap.bounds; in pvr2_g_selection()
/drivers/gpu/drm/panel/
A Dpanel-edp.c691 #define PANEL_EDP_BOUNDS_CHECK(to_check, bounds, field) \ argument
692 (to_check->field.typ >= bounds->field.min && \
693 to_check->field.typ <= bounds->field.max)
A Dpanel-simple.c485 #define PANEL_SIMPLE_BOUNDS_CHECK(to_check, bounds, field) \ argument
486 (to_check->field.typ >= bounds->field.min && \
487 to_check->field.typ <= bounds->field.max)
/drivers/media/platform/st/stm32/
A Dstm32-dcmi.c1166 struct v4l2_subdev_selection bounds = { in dcmi_get_sensor_bounds() local
1179 NULL, &bounds); in dcmi_get_sensor_bounds()
1181 *r = bounds.r; in dcmi_get_sensor_bounds()
/drivers/media/v4l2-core/
A Dv4l2-ioctl.c594 p->bounds.left, p->bounds.top, in v4l_print_cropcap()
595 p->bounds.width, p->bounds.height, in v4l_print_cropcap()
2625 p->bounds = s.r; in v4l_cropcap()
/drivers/clocksource/
A DKconfig406 bounds about how much the parent clock is allowed to decrease or
/drivers/scsi/aic7xxx/
A Daic7xxx.reg906 * beyond the bounds of its
A Daic79xx.reg160 * beyond the bounds of its

Completed in 73 milliseconds