Home
last modified time | relevance | path

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

/drivers/usb/gadget/udc/
Dfsl_qe_udc.h230 #define frame_get_length(frm) (frm->len) argument
231 #define frame_set_length(frm, leng) (frm->len = leng) argument
232 #define frame_get_data(frm) (frm->data) argument
233 #define frame_set_data(frm, dat) (frm->data = dat) argument
234 #define frame_get_info(frm) (frm->info) argument
235 #define frame_set_info(frm, inf) (frm->info = inf) argument
236 #define frame_get_status(frm) (frm->status) argument
237 #define frame_set_status(frm, stat) (frm->status = stat) argument
238 #define frame_get_privdata(frm) (frm->privdata) argument
239 #define frame_set_privdata(frm, dat) (frm->privdata = dat) argument
[all …]
/drivers/media/platform/s5p-g2d/
Dg2d.c321 struct g2d_frame *frm; in vidioc_g_fmt() local
326 frm = get_frame(ctx, f->type); in vidioc_g_fmt()
327 if (IS_ERR(frm)) in vidioc_g_fmt()
328 return PTR_ERR(frm); in vidioc_g_fmt()
330 f->fmt.pix.width = frm->width; in vidioc_g_fmt()
331 f->fmt.pix.height = frm->height; in vidioc_g_fmt()
333 f->fmt.pix.pixelformat = frm->fmt->fourcc; in vidioc_g_fmt()
334 f->fmt.pix.bytesperline = (frm->width * frm->fmt->depth) >> 3; in vidioc_g_fmt()
335 f->fmt.pix.sizeimage = frm->size; in vidioc_g_fmt()
374 struct g2d_frame *frm; in vidioc_s_fmt() local
[all …]
/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 …]
/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.h382 void gsc_set_prefbuf(struct gsc_dev *gsc, struct gsc_frame *frm);
/drivers/media/usb/zr364xx/
Dzr364xx.c581 struct zr364xx_framei *frm; in zr364xx_read_video_callback() local
587 frm = &cam->buffer.frame[idx]; in zr364xx_read_video_callback()
599 frm->ulState = ZR364XX_READ_IDLE; in zr364xx_read_video_callback()
604 ptr = pdest = frm->lpvbits; in zr364xx_read_video_callback()
606 if (frm->ulState == ZR364XX_READ_IDLE) { in zr364xx_read_video_callback()
615 frm->ulState = ZR364XX_READ_FRAME; in zr364xx_read_video_callback()
616 frm->cur_size = 0; in zr364xx_read_video_callback()
640 frm->cur_size = ptr - pdest; in zr364xx_read_video_callback()
642 if (frm->cur_size + purb->actual_length > MAX_FRAME_SIZE) { in zr364xx_read_video_callback()
648 pdest += frm->cur_size; in zr364xx_read_video_callback()
[all …]
/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++) \
/drivers/usb/gadget/function/
Duvc_configfs.c1024 struct uvcg_frame *frm = to_uvcg_frame(item); in uvcg_frame_dw_frame_interval_show() local
1027 struct mutex *su_mutex = &frm->item.ci_group->cg_subsys->su_mutex; in uvcg_frame_dw_frame_interval_show()
1033 opts_item = frm->item.ci_parent->ci_parent->ci_parent->ci_parent; in uvcg_frame_dw_frame_interval_show()
1037 for (result = 0, i = 0; i < frm->frame.b_frame_interval_type; ++i) { in uvcg_frame_dw_frame_interval_show()
1039 le32_to_cpu(frm->dw_frame_interval[i])); in uvcg_frame_dw_frame_interval_show()
1813 struct uvcg_frame *frm; in __uvcg_iter_strm_cls() local
1829 frm = to_uvcg_frame(item); in __uvcg_iter_strm_cls()
1830 ret = fun(frm, priv2, priv3, j++, UVCG_FRAME); in __uvcg_iter_strm_cls()
1882 struct uvcg_frame *frm = priv1; in __uvcg_cnt_strm() local
1883 int sz = sizeof(frm->dw_frame_interval); in __uvcg_cnt_strm()
[all …]
/drivers/media/usb/s2255/
Ds2255drv.c1732 struct s2255_framei *frm; in save_frame() local
1738 frm = &vc->buffer.frame[idx]; in save_frame()
1739 if (frm->ulState == S2255_READ_IDLE) { in save_frame()
1822 frm = &vc->buffer.frame[idx]; in save_frame()
1826 frm->ulState = S2255_READ_IDLE; in save_frame()
1830 if (frm->ulState == S2255_READ_IDLE) { in save_frame()
1831 frm->ulState = S2255_READ_FRAME; in save_frame()
1832 frm->cur_size = 0; in save_frame()
1839 if (frm->lpvbits == NULL) { in save_frame()
1841 frm, dev, dev->cc, idx); in save_frame()
[all …]
/drivers/message/fusion/lsi/
Dmpi_lan.h193 #define SET_LAN_FORM(x, frm) \ argument
195 (((frm) << LAN_REPLY_FORM_SHIFT) & \
/drivers/spi/
Dspi-pxa2xx.h87 unsigned int frm; member
Dspi-pxa2xx.c383 pxa2xx_spi_write(drv_data, SSSR, chip->frm); in cs_assert()
1301 chip->frm = spi->chip_select; in setup()
/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 memcpy(skb_put(skb, cfpkt_len), frm + cfv->rx_hr, cfpkt_len); in cfv_alloc_and_copy_skb()
Dcaif_spi.c175 static ssize_t print_frame(char *buf, size_t size, char *frm, in print_frame() argument
183 frm[i]); in print_frame()
/drivers/media/platform/atmel/
Datmel-isc.c451 struct isc_buffer *frm, u32 dview) in isc_start_dma() argument
455 addr = vb2_dma_contig_plane_dma_addr(&frm->vb.vb2_buf, 0); in isc_start_dma()