Home
last modified time | relevance | path

Searched refs:sfmt (Results 1 – 8 of 8) sorted by relevance

/Linux-v4.19/drivers/media/common/saa7146/
Dsaa7146_hlp.c562 struct saa7146_format *sfmt = saa7146_format_by_fourcc(dev, pixelformat); in saa7146_set_position() local
608 vdma1.base_page = sfmt->swap; in saa7146_set_position()
706 struct saa7146_format *sfmt = saa7146_format_by_fourcc(dev,buf->fmt->pixelformat); in calculate_video_dma_grab_packed() local
713 int depth = sfmt->depth; in calculate_video_dma_grab_packed()
724 vdma1.base_page = buf->pt[0].dma | ME1 | sfmt->swap; in calculate_video_dma_grab_packed()
831 struct saa7146_format *sfmt = saa7146_format_by_fourcc(dev,buf->fmt->pixelformat); in calculate_video_dma_grab_planar() local
870 switch( sfmt->depth ) { in calculate_video_dma_grab_planar()
919 if( (sfmt->flags & FORMAT_BYTE_SWAP) != 0 ) { in calculate_video_dma_grab_planar()
998 struct saa7146_format *sfmt = saa7146_format_by_fourcc(dev,buf->fmt->pixelformat); in saa7146_set_capture() local
1012 saa7146_set_output_format(dev, sfmt->trans); in saa7146_set_capture()
[all …]
Dsaa7146_video.c212 struct saa7146_format *sfmt = saa7146_format_by_fourcc(dev,buf->fmt->pixelformat); in saa7146_pgtable_build() local
216 if( 0 != IS_PLANAR(sfmt->trans)) { in saa7146_pgtable_build()
226 switch( sfmt->depth ) { in saa7146_pgtable_build()
1102 struct saa7146_format *sfmt; in buffer_prepare() local
1112 sfmt = saa7146_format_by_fourcc(dev,buf->fmt->pixelformat); in buffer_prepare()
1115 if( 0 != IS_PLANAR(sfmt->trans)) { in buffer_prepare()
/Linux-v4.19/sound/sh/
Daica.h67 uint32_t sfmt; /* Sound format */ member
Daica.c361 channel->sfmt = SM_8BIT; in snd_aicapcm_pcm_open()
411 dreamcastcard->channel->sfmt = SM_16BIT; in snd_aicapcm_pcm_prepare()
/Linux-v4.19/drivers/media/platform/exynos4-is/
Dfimc-capture.c783 struct v4l2_subdev_format sfmt; in fimc_pipeline_try_format() local
784 struct v4l2_mbus_framefmt *mf = &sfmt.format; in fimc_pipeline_try_format()
794 memset(&sfmt, 0, sizeof(sfmt)); in fimc_pipeline_try_format()
795 sfmt.format = *tfmt; in fimc_pipeline_try_format()
796 sfmt.which = set ? V4L2_SUBDEV_FORMAT_ACTIVE : V4L2_SUBDEV_FORMAT_TRY; in fimc_pipeline_try_format()
816 sfmt.pad = 0; in fimc_pipeline_try_format()
817 ret = v4l2_subdev_call(sd, pad, set_fmt, NULL, &sfmt); in fimc_pipeline_try_format()
822 sfmt.pad = me->num_pads - 1; in fimc_pipeline_try_format()
825 &sfmt); in fimc_pipeline_try_format()
830 pad = media_entity_remote_pad(&me->pads[sfmt.pad]); in fimc_pipeline_try_format()
/Linux-v4.19/drivers/media/i2c/m5mols/
Dm5mols_core.c580 struct v4l2_mbus_framefmt *sfmt; in m5mols_set_fmt() local
589 sfmt = __find_format(info, cfg, fmt->which, type); in m5mols_set_fmt()
590 if (!sfmt) in m5mols_set_fmt()
600 *sfmt = *format; in m5mols_set_fmt()
/Linux-v4.19/drivers/media/platform/
Dvia-camera.c931 struct v4l2_format sfmt; in viacam_try_fmt_vid_cap() local
935 ret = viacam_do_try_fmt(cam, &fmt->fmt.pix, &sfmt.fmt.pix); in viacam_try_fmt_vid_cap()
957 struct v4l2_format sfmt; in viacam_s_fmt_vid_cap() local
973 ret = viacam_do_try_fmt(cam, &fmt->fmt.pix, &sfmt.fmt.pix); in viacam_s_fmt_vid_cap()
980 cam->sensor_format = sfmt.fmt.pix; in viacam_s_fmt_vid_cap()
/Linux-v4.19/drivers/firewire/
Dsbp2.c1308 int sfmt = (sbp2_status[0] >> 6) & 0x03; in sbp2_status_to_sense_data() local
1310 if (sfmt == 2 || sfmt == 3) { in sbp2_status_to_sense_data()
1318 sense_data[0] = 0x70 | sfmt | (sbp2_status[1] & 0x80); in sbp2_status_to_sense_data()