Home
last modified time | relevance | path

Searched refs:frm (Results 1 – 25 of 28) sorted by relevance

12

/kernel/linux/linux-5.10/drivers/usb/gadget/udc/
Dfsl_qe_udc.h226 #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 …]
/kernel/linux/linux-5.10/drivers/media/platform/s5p-g2d/
Dg2d.c312 struct g2d_frame *frm; in vidioc_g_fmt() local
317 frm = get_frame(ctx, f->type); in vidioc_g_fmt()
318 if (IS_ERR(frm)) in vidioc_g_fmt()
319 return PTR_ERR(frm); in vidioc_g_fmt()
321 f->fmt.pix.width = frm->width; in vidioc_g_fmt()
322 f->fmt.pix.height = frm->height; in vidioc_g_fmt()
324 f->fmt.pix.pixelformat = frm->fmt->fourcc; in vidioc_g_fmt()
325 f->fmt.pix.bytesperline = (frm->width * frm->fmt->depth) >> 3; in vidioc_g_fmt()
326 f->fmt.pix.sizeimage = frm->size; in vidioc_g_fmt()
365 struct g2d_frame *frm; in vidioc_s_fmt() local
[all …]
/kernel/linux/linux-5.10/drivers/media/platform/rockchip/rga/
Drga.c466 struct rga_frame *frm; in vidioc_g_fmt() local
471 frm = rga_get_frame(ctx, f->type); in vidioc_g_fmt()
472 if (IS_ERR(frm)) in vidioc_g_fmt()
473 return PTR_ERR(frm); in vidioc_g_fmt()
475 f->fmt.pix.width = frm->width; in vidioc_g_fmt()
476 f->fmt.pix.height = frm->height; in vidioc_g_fmt()
478 f->fmt.pix.pixelformat = frm->fmt->fourcc; in vidioc_g_fmt()
479 f->fmt.pix.bytesperline = frm->stride; in vidioc_g_fmt()
480 f->fmt.pix.sizeimage = frm->size; in vidioc_g_fmt()
481 f->fmt.pix.colorspace = frm->colorspace; in vidioc_g_fmt()
[all …]
Drga-hw.c46 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()
/kernel/linux/linux-5.10/drivers/video/fbdev/core/
Dsvgalib.c601 static inline int match_format(const struct svga_fb_format *frm, in match_format() argument
607 while (frm->bits_per_pixel != SVGA_FORMAT_END_VAL) in match_format()
609 if ((var->bits_per_pixel == frm->bits_per_pixel) && in match_format()
610 (var->red.length <= frm->red.length) && in match_format()
611 (var->green.length <= frm->green.length) && in match_format()
612 (var->blue.length <= frm->blue.length) && in match_format()
613 (var->transp.length <= frm->transp.length) && in match_format()
614 (var->nonstd == frm->nonstd)) in match_format()
616 if (var->bits_per_pixel == frm->bits_per_pixel) in match_format()
619 frm++; in match_format()
[all …]
/kernel/linux/linux-5.10/drivers/media/platform/exynos-gsc/
Dgsc-core.c322 static int get_plane_info(struct gsc_frame *frm, u32 addr, u32 *index, u32 *ret_addr) in get_plane_info() argument
324 if (frm->addr.y == addr) { in get_plane_info()
326 *ret_addr = frm->addr.y; in get_plane_info()
327 } else if (frm->addr.cb == addr) { in get_plane_info()
329 *ret_addr = frm->addr.cb; in get_plane_info()
330 } else if (frm->addr.cr == addr) { in get_plane_info()
332 *ret_addr = frm->addr.cr; in get_plane_info()
340 void gsc_set_prefbuf(struct gsc_dev *gsc, struct gsc_frame *frm) in gsc_set_prefbuf() argument
345 f_chk_addr = frm->addr.y; in gsc_set_prefbuf()
346 f_chk_len = frm->payload[0]; in gsc_set_prefbuf()
[all …]
Dgsc-core.h378 void gsc_set_prefbuf(struct gsc_dev *gsc, struct gsc_frame *frm);
/kernel/linux/linux-5.10/drivers/gpu/drm/exynos/
Dexynos5433_drm_decon.c136 u32 frm, pfrm, status, cnt = 2; in decon_get_frame_count() local
142 frm = readl(ctx->addr + DECON_CRFMID); in decon_get_frame_count()
145 pfrm = frm; in decon_get_frame_count()
146 frm = readl(ctx->addr + DECON_CRFMID); in decon_get_frame_count()
147 } while (frm != pfrm && --cnt); in decon_get_frame_count()
152 if (!frm) in decon_get_frame_count()
158 --frm; in decon_get_frame_count()
161 --frm; in decon_get_frame_count()
166 --frm; in decon_get_frame_count()
172 return frm; in decon_get_frame_count()
[all …]
Dexynos_hdmi.c805 union hdmi_infoframe frm; in hdmi_reg_infoframes() local
818 ret = drm_hdmi_avi_infoframe_from_display_mode(&frm.avi, in hdmi_reg_infoframes()
821 ret = hdmi_avi_infoframe_pack(&frm.avi, buf, sizeof(buf)); in hdmi_reg_infoframes()
829 ret = drm_hdmi_vendor_infoframe_from_display_mode(&frm.vendor.hdmi, in hdmi_reg_infoframes()
832 ret = hdmi_vendor_infoframe_pack(&frm.vendor.hdmi, buf, in hdmi_reg_infoframes()
/kernel/linux/linux-5.10/drivers/media/test-drivers/vicodec/
Dcodec-fwht.c776 u32 fwht_encode_frame(struct fwht_raw_frame *frm, in fwht_encode_frame() argument
789 encoding = encode_plane(frm->luma, ref_frm->luma, &rlco, rlco_max, cf, in fwht_encode_frame()
791 frm->luma_alpha_step, is_intra, next_is_intra); in fwht_encode_frame()
796 if (frm->components_num >= 3) { in fwht_encode_frame()
797 u32 chroma_h = height / frm->height_div; in fwht_encode_frame()
798 u32 chroma_w = width / frm->width_div; in fwht_encode_frame()
802 encoding |= encode_plane(frm->cb, ref_frm->cb, &rlco, rlco_max, in fwht_encode_frame()
804 chroma_stride, frm->chroma_step, in fwht_encode_frame()
810 encoding |= encode_plane(frm->cr, ref_frm->cr, &rlco, rlco_max, in fwht_encode_frame()
812 chroma_stride, frm->chroma_step, in fwht_encode_frame()
[all …]
Dcodec-fwht.h138 u32 fwht_encode_frame(struct fwht_raw_frame *frm,
/kernel/linux/linux-5.10/drivers/video/fbdev/kyro/
DSTG4000Reg.h33 #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++) \
/kernel/linux/linux-5.10/drivers/media/usb/zr364xx/
Dzr364xx.c559 struct zr364xx_framei *frm = &cam->buffer.frame[idx]; in zr364xx_read_video_callback() local
575 frm->ulState = ZR364XX_READ_IDLE; in zr364xx_read_video_callback()
580 ptr = pdest = frm->lpvbits; in zr364xx_read_video_callback()
582 if (frm->ulState == ZR364XX_READ_IDLE) { in zr364xx_read_video_callback()
591 frm->ulState = ZR364XX_READ_FRAME; in zr364xx_read_video_callback()
592 frm->cur_size = 0; in zr364xx_read_video_callback()
616 frm->cur_size = ptr - pdest; in zr364xx_read_video_callback()
618 if (frm->cur_size + purb->actual_length > MAX_FRAME_SIZE) { in zr364xx_read_video_callback()
623 pdest += frm->cur_size; in zr364xx_read_video_callback()
625 frm->cur_size += purb->actual_length; in zr364xx_read_video_callback()
[all …]
/kernel/linux/linux-5.10/drivers/usb/gadget/function/
Duvc_configfs.c1199 struct uvcg_frame *frm = to_uvcg_frame(item); in uvcg_frame_dw_frame_interval_show() local
1202 struct mutex *su_mutex = &frm->item.ci_group->cg_subsys->su_mutex; in uvcg_frame_dw_frame_interval_show()
1208 opts_item = frm->item.ci_parent->ci_parent->ci_parent->ci_parent; in uvcg_frame_dw_frame_interval_show()
1212 for (result = 0, i = 0; i < frm->frame.b_frame_interval_type; ++i) { in uvcg_frame_dw_frame_interval_show()
1213 result += sprintf(pg, "%u\n", frm->dw_frame_interval[i]); in uvcg_frame_dw_frame_interval_show()
1414 struct uvcg_frame *frm; in uvcg_format_set_indices() local
1419 frm = to_uvcg_frame(ci); in uvcg_format_set_indices()
1420 frm->frame.b_frame_index = i++; in uvcg_format_set_indices()
1989 struct uvcg_frame *frm; in __uvcg_iter_strm_cls() local
2005 frm = to_uvcg_frame(item); in __uvcg_iter_strm_cls()
[all …]
/kernel/linux/linux-5.10/sound/soc/uniphier/
Daio-compress.c292 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()
/kernel/linux/linux-5.10/drivers/message/fusion/lsi/
Dmpi_lan.h194 #define SET_LAN_FORM(x, frm) \ argument
196 (((frm) << LAN_REPLY_FORM_SHIFT) & \
/kernel/linux/linux-5.10/drivers/media/usb/s2255/
Ds2255drv.c1701 struct s2255_framei *frm; in save_frame() local
1707 frm = &vc->buffer.frame[idx]; in save_frame()
1708 if (frm->ulState == S2255_READ_IDLE) { in save_frame()
1793 frm = &vc->buffer.frame[idx]; in save_frame()
1797 frm->ulState = S2255_READ_IDLE; in save_frame()
1801 if (frm->ulState == S2255_READ_IDLE) { in save_frame()
1802 frm->ulState = S2255_READ_FRAME; in save_frame()
1803 frm->cur_size = 0; in save_frame()
1810 if (frm->lpvbits == NULL) { in save_frame()
1812 frm, dev, dev->cc, idx); in save_frame()
[all …]
/kernel/linux/linux-5.10/drivers/spi/
Dspi-pxa2xx.h82 unsigned int frm; member
Dspi-pxa2xx.c424 pxa2xx_spi_write(drv_data, SSSR, chip->frm); in cs_assert()
1323 chip->frm = spi->chip_select; in setup()
/kernel/linux/linux-5.10/include/linux/
Dsvga.h122 int svga_match_format(const struct svga_fb_format *frm, struct fb_var_screeninfo *var, struct fb_fi…
Dskbuff.h3556 int zerocopy_sg_from_iter(struct sk_buff *skb, struct iov_iter *frm);
/kernel/linux/linux-5.10/drivers/net/caif/
Dcaif_virtio.c218 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()
/kernel/linux/linux-5.10/drivers/gpu/drm/bridge/
Dsil-sii8620.c1100 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()
/kernel/linux/linux-5.10/drivers/staging/media/atomisp/pci/
Dsh_css.c3640 int frm; in create_host_video_pipeline() local
3642 for (frm = 0; frm < NUM_TNR_FRAMES; frm++) { in create_host_video_pipeline()
3643 video_stage->args.tnr_frames[frm] = in create_host_video_pipeline()
3644 pipe->pipe_settings.video.tnr_frames[frm]; in create_host_video_pipeline()
3646 for (frm = 0; frm < MAX_NUM_VIDEO_DELAY_FRAMES; frm++) { in create_host_video_pipeline()
3647 video_stage->args.delay_frames[frm] = in create_host_video_pipeline()
3648 pipe->pipe_settings.video.delay_frames[frm]; in create_host_video_pipeline()
/kernel/linux/linux-5.10/drivers/net/wireless/ath/ath11k/
Dwmi.h3878 u8 *frm; member

12