/linux/drivers/usb/gadget/udc/ |
A D | fsl_qe_udc.h | 226 #define frame_get_length(frm) (frm->len) argument 227 #define frame_set_length(frm, leng) (frm->len = leng) argument 228 #define frame_get_data(frm) (frm->data) argument 229 #define frame_set_data(frm, dat) (frm->data = dat) argument 230 #define frame_get_info(frm) (frm->info) argument 231 #define frame_set_info(frm, inf) (frm->info = inf) argument 232 #define frame_get_status(frm) (frm->status) argument 233 #define frame_set_status(frm, stat) (frm->status = stat) argument 234 #define frame_get_privdata(frm) (frm->privdata) argument 235 #define frame_set_privdata(frm, dat) (frm->privdata = dat) argument [all …]
|
/linux/drivers/media/platform/s5p-g2d/ |
A D | g2d.c | 318 if (IS_ERR(frm)) in vidioc_g_fmt() 319 return PTR_ERR(frm); in vidioc_g_fmt() 325 f->fmt.pix.bytesperline = (frm->width * frm->fmt->depth) >> 3; in vidioc_g_fmt() 380 if (IS_ERR(frm)) in vidioc_s_fmt() 389 frm->o_width = 0; in vidioc_s_fmt() 390 frm->o_height = 0; in vidioc_s_fmt() 391 frm->c_width = frm->width; in vidioc_s_fmt() 392 frm->c_height = frm->height; in vidioc_s_fmt() 393 frm->right = frm->width; in vidioc_s_fmt() 394 frm->bottom = frm->height; in vidioc_s_fmt() [all …]
|
/linux/drivers/media/platform/rockchip/rga/ |
A D | rga.c | 466 struct rga_frame *frm; in vidioc_g_fmt() local 472 if (IS_ERR(frm)) in vidioc_g_fmt() 473 return PTR_ERR(frm); in vidioc_g_fmt() 524 struct rga_frame *frm; in vidioc_s_fmt() local 540 if (IS_ERR(frm)) in vidioc_s_fmt() 541 return PTR_ERR(frm); in vidioc_s_fmt() 548 frm->fmt = fmt; in vidioc_s_fmt() 553 frm->crop.left = 0; in vidioc_s_fmt() 554 frm->crop.top = 0; in vidioc_s_fmt() 555 frm->crop.width = frm->width; in vidioc_s_fmt() [all …]
|
A D | rga-hw.c | 46 rga_get_addr_offset(struct rga_frame *frm, unsigned int x, unsigned int y, in rga_get_addr_offset() argument 59 x_div = frm->fmt->x_div; in rga_get_addr_offset() 60 y_div = frm->fmt->y_div; in rga_get_addr_offset() 61 uv_factor = frm->fmt->uv_factor; in rga_get_addr_offset() 62 uv_stride = frm->stride / x_div; in rga_get_addr_offset() 63 pixel_width = frm->stride / frm->width; in rga_get_addr_offset() 65 lt->y_off = y * frm->stride + x * pixel_width; in rga_get_addr_offset() 67 frm->width * frm->height + (y / y_div) * uv_stride + x / x_div; in rga_get_addr_offset() 68 lt->v_off = lt->u_off + frm->width * frm->height / uv_factor; in rga_get_addr_offset() 70 lb->y_off = lt->y_off + (h - 1) * frm->stride; in rga_get_addr_offset()
|
/linux/drivers/video/fbdev/core/ |
A D | svgalib.c | 614 (var->nonstd == frm->nonstd)) in match_format() 619 frm++; in match_format() 628 int i = match_format(frm, var); in svga_match_format() 632 var->red = frm[i].red; in svga_match_format() 633 var->green = frm[i].green; in svga_match_format() 634 var->blue = frm[i].blue; in svga_match_format() 635 var->transp = frm[i].transp; in svga_match_format() 638 fix->type = frm[i].type; in svga_match_format() 639 fix->type_aux = frm[i].type_aux; in svga_match_format() 640 fix->visual = frm[i].visual; in svga_match_format() [all …]
|
/linux/drivers/media/platform/exynos-gsc/ |
A D | gsc-core.c | 324 if (frm->addr.y == addr) { in get_plane_info() 326 *ret_addr = frm->addr.y; in get_plane_info() 329 *ret_addr = frm->addr.cb; in get_plane_info() 332 *ret_addr = frm->addr.cr; in get_plane_info() 345 f_chk_addr = frm->addr.y; in gsc_set_prefbuf() 348 s_chk_addr = frm->addr.cb; in gsc_set_prefbuf() 355 t_min = min3(frm->addr.y, frm->addr.cb, frm->addr.cr); in gsc_set_prefbuf() 358 t_max = max3(frm->addr.y, frm->addr.cb, frm->addr.cr); in gsc_set_prefbuf() 364 mid_addr = frm->addr.y; in gsc_set_prefbuf() 366 mid_addr = frm->addr.cb; in gsc_set_prefbuf() [all …]
|
A D | gsc-core.h | 385 void gsc_set_prefbuf(struct gsc_dev *gsc, struct gsc_frame *frm);
|
/linux/drivers/media/platform/meson/ge2d/ |
A D | ge2d.c | 598 struct ge2d_frame *frm; in vidioc_s_fmt_cap() local 617 frm->fmt = find_fmt(f); in vidioc_s_fmt_cap() 621 frm->crop.left = 0; in vidioc_s_fmt_cap() 622 frm->crop.top = 0; in vidioc_s_fmt_cap() 623 frm->crop.width = frm->pix_fmt.width; in vidioc_s_fmt_cap() 624 frm->crop.height = frm->pix_fmt.height; in vidioc_s_fmt_cap() 633 struct ge2d_frame *frm; in vidioc_g_fmt() local 697 frm->crop.left = 0; in vidioc_s_fmt_out() 698 frm->crop.top = 0; in vidioc_s_fmt_out() 699 frm->crop.width = frm->pix_fmt.width; in vidioc_s_fmt_out() [all …]
|
/linux/drivers/gpu/drm/exynos/ |
A D | exynos5433_drm_decon.c | 135 u32 frm, pfrm, status, cnt = 2; in decon_get_frame_count() local 144 pfrm = frm; in decon_get_frame_count() 146 } while (frm != pfrm && --cnt); in decon_get_frame_count() 151 if (!frm) in decon_get_frame_count() 157 --frm; in decon_get_frame_count() 160 --frm; in decon_get_frame_count() 165 --frm; in decon_get_frame_count() 171 return frm; in decon_get_frame_count() 672 u32 frm; in decon_handle_vblank() local 678 if (frm != ctx->frame_id) { in decon_handle_vblank() [all …]
|
A D | exynos_hdmi.c | 814 union hdmi_infoframe frm; in hdmi_reg_infoframes() local 827 ret = drm_hdmi_avi_infoframe_from_display_mode(&frm.avi, in hdmi_reg_infoframes() 830 ret = hdmi_avi_infoframe_pack(&frm.avi, buf, sizeof(buf)); in hdmi_reg_infoframes() 838 ret = drm_hdmi_vendor_infoframe_from_display_mode(&frm.vendor.hdmi, in hdmi_reg_infoframes() 841 ret = hdmi_vendor_infoframe_pack(&frm.vendor.hdmi, buf, in hdmi_reg_infoframes()
|
/linux/drivers/media/test-drivers/vicodec/ |
A D | codec-fwht.c | 777 u32 fwht_encode_frame(struct fwht_raw_frame *frm, in fwht_encode_frame() argument 792 frm->luma_alpha_step, is_intra, next_is_intra); in fwht_encode_frame() 797 if (frm->components_num >= 3) { in fwht_encode_frame() 798 u32 chroma_h = height / frm->height_div; in fwht_encode_frame() 799 u32 chroma_w = width / frm->width_div; in fwht_encode_frame() 803 encoding |= encode_plane(frm->cb, ref_frm->cb, &rlco, rlco_max, in fwht_encode_frame() 805 chroma_stride, frm->chroma_step, in fwht_encode_frame() 813 chroma_stride, frm->chroma_step, in fwht_encode_frame() 820 if (frm->components_num == 4) { in fwht_encode_frame() 822 encoding |= encode_plane(frm->alpha, ref_frm->alpha, &rlco, in fwht_encode_frame() [all …]
|
A D | codec-fwht.h | 106 u32 fwht_encode_frame(struct fwht_raw_frame *frm,
|
/linux/drivers/media/usb/zr364xx/ |
A D | zr364xx.c | 573 frm->ulState = ZR364XX_READ_IDLE; in zr364xx_read_video_callback() 578 ptr = pdest = frm->lpvbits; in zr364xx_read_video_callback() 589 frm->ulState = ZR364XX_READ_FRAME; in zr364xx_read_video_callback() 590 frm->cur_size = 0; in zr364xx_read_video_callback() 614 frm->cur_size = ptr - pdest; in zr364xx_read_video_callback() 621 pdest += frm->cur_size; in zr364xx_read_video_callback() 639 ptr = pdest = frm->lpvbits; in zr364xx_read_video_callback() 640 ptr += frm->cur_size - 2; in zr364xx_read_video_callback() 666 frm->cur_size, in zr364xx_read_video_callback() 674 frm->ulState = ZR364XX_READ_IDLE; in zr364xx_read_video_callback() [all …]
|
/linux/drivers/video/fbdev/kyro/ |
A D | STG4000Reg.h | 33 #define CLEAR_BITS_FRM_TO(frm, to) \ argument 36 for(i = frm; i<= to; i++) \ 43 #define CLEAR_BITS_FRM_TO_2(frm, to) \ argument 46 for(i = frm; i<= to; i++) \
|
/linux/drivers/usb/gadget/function/ |
A D | uvc_configfs.c | 1409 struct uvcg_frame *frm; in uvcg_format_set_indices() local 1414 frm = to_uvcg_frame(ci); in uvcg_format_set_indices() 1415 frm->frame.b_frame_index = i++; in uvcg_format_set_indices() 1984 struct uvcg_frame *frm; in __uvcg_iter_strm_cls() local 2000 frm = to_uvcg_frame(item); in __uvcg_iter_strm_cls() 2053 struct uvcg_frame *frm = priv1; in __uvcg_cnt_strm() local 2056 *size += sizeof(frm->frame); in __uvcg_cnt_strm() 2127 struct uvcg_frame *frm = priv1; in __uvcg_fill_strm() local 2130 sz = sizeof(frm->frame); in __uvcg_fill_strm() 2131 memcpy(*dest, &frm->frame, sz); in __uvcg_fill_strm() [all …]
|
/linux/sound/soc/uniphier/ |
A D | aio-compress.c | 292 u32 frm, frm_a, frm_b; in aio_compr_send_to_hw() local 295 ret = get_user(frm, srcbuf + src); in aio_compr_send_to_hw() 300 frm_a = frm & 0xffff; in aio_compr_send_to_hw() 301 frm_b = (frm >> 16) & 0xffff; in aio_compr_send_to_hw() 303 if (frm == IEC61937_HEADER_SIGN) { in aio_compr_send_to_hw()
|
/linux/drivers/media/usb/s2255/ |
A D | s2255drv.c | 1699 struct s2255_framei *frm; in save_frame() local 1705 frm = &vc->buffer.frame[idx]; in save_frame() 1791 frm = &vc->buffer.frame[idx]; in save_frame() 1795 frm->ulState = S2255_READ_IDLE; in save_frame() 1801 frm->cur_size = 0; in save_frame() 1808 if (frm->lpvbits == NULL) { in save_frame() 1810 frm, dev, dev->cc, idx); in save_frame() 1814 pdest = frm->lpvbits + frm->cur_size; in save_frame() 1824 frm->cur_size += copy_size; in save_frame() 1827 if (frm->cur_size >= size) { in save_frame() [all …]
|
/linux/drivers/message/fusion/lsi/ |
A D | mpi_lan.h | 194 #define SET_LAN_FORM(x, frm) \ argument 196 (((frm) << LAN_REPLY_FORM_SHIFT) & \
|
/linux/drivers/net/caif/ |
A D | caif_virtio.c | 218 u8 *frm, u32 frm_len) in cfv_alloc_and_copy_skb() argument 235 pad_len = (unsigned long)(frm + cfv->rx_hr) & (IP_HDR_ALIGN - 1); in cfv_alloc_and_copy_skb() 245 skb_put_data(skb, frm + cfv->rx_hr, cfpkt_len); in cfv_alloc_and_copy_skb()
|
/linux/include/linux/ |
A D | svga.h | 122 int svga_match_format(const struct svga_fb_format *frm, struct fb_var_screeninfo *var, struct fb_fi…
|
A D | skbuff.h | 3667 int zerocopy_sg_from_iter(struct sk_buff *skb, struct iov_iter *frm);
|
/linux/drivers/gpu/drm/bridge/ |
A D | sil-sii8620.c | 1100 union hdmi_infoframe frm; in sii8620_set_infoframes() local 1104 ret = drm_hdmi_avi_infoframe_from_display_mode(&frm.avi, in sii8620_set_infoframes() 1107 frm.avi.colorspace = HDMI_COLORSPACE_YUV422; in sii8620_set_infoframes() 1110 ret = hdmi_avi_infoframe_pack(&frm.avi, buf, ARRAY_SIZE(buf)); in sii8620_set_infoframes()
|
/linux/drivers/staging/media/atomisp/pci/ |
A D | sh_css.c | 3569 int frm; in create_host_video_pipeline() local 3571 for (frm = 0; frm < NUM_TNR_FRAMES; frm++) { in create_host_video_pipeline() 3572 video_stage->args.tnr_frames[frm] = in create_host_video_pipeline() 3573 pipe->pipe_settings.video.tnr_frames[frm]; in create_host_video_pipeline() 3575 for (frm = 0; frm < MAX_NUM_VIDEO_DELAY_FRAMES; frm++) { in create_host_video_pipeline() 3576 video_stage->args.delay_frames[frm] = in create_host_video_pipeline() 3577 pipe->pipe_settings.video.delay_frames[frm]; in create_host_video_pipeline()
|
/linux/drivers/net/wireless/ath/ath11k/ |
A D | wmi.h | 3956 u8 *frm; member
|