Home
last modified time | relevance | path

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

/linux-5.19.10/drivers/media/common/saa7146/
Dsaa7146_hlp.c563 struct saa7146_format *sfmt = saa7146_format_by_fourcc(dev, pixelformat); in saa7146_set_position() local
609 vdma1.base_page = sfmt->swap; in saa7146_set_position()
707 struct saa7146_format *sfmt = saa7146_format_by_fourcc(dev,buf->fmt->pixelformat); in calculate_video_dma_grab_packed() local
714 int depth = sfmt->depth; in calculate_video_dma_grab_packed()
725 vdma1.base_page = buf->pt[0].dma | ME1 | sfmt->swap; in calculate_video_dma_grab_packed()
832 struct saa7146_format *sfmt = saa7146_format_by_fourcc(dev,buf->fmt->pixelformat); in calculate_video_dma_grab_planar() local
871 switch( sfmt->depth ) { in calculate_video_dma_grab_planar()
920 if( (sfmt->flags & FORMAT_BYTE_SWAP) != 0 ) { in calculate_video_dma_grab_planar()
999 struct saa7146_format *sfmt = saa7146_format_by_fourcc(dev,buf->fmt->pixelformat); in saa7146_set_capture() local
1013 saa7146_set_output_format(dev, sfmt->trans); in saa7146_set_capture()
[all …]
Dsaa7146_video.c202 struct saa7146_format *sfmt = saa7146_format_by_fourcc(dev,buf->fmt->pixelformat); in saa7146_pgtable_build() local
206 if( 0 != IS_PLANAR(sfmt->trans)) { in saa7146_pgtable_build()
216 switch( sfmt->depth ) { in saa7146_pgtable_build()
1078 struct saa7146_format *sfmt; in buffer_prepare() local
1088 sfmt = saa7146_format_by_fourcc(dev,buf->fmt->pixelformat); in buffer_prepare()
1091 if( 0 != IS_PLANAR(sfmt->trans)) { in buffer_prepare()
/linux-5.19.10/sound/sh/
Daica.h54 uint32_t sfmt; /* Sound format */ member
Daica.c337 channel->sfmt = SM_8BIT; in snd_aicapcm_pcm_open()
370 dreamcastcard->channel->sfmt = SM_16BIT; in snd_aicapcm_pcm_prepare()
/linux-5.19.10/drivers/media/platform/samsung/exynos4-is/
Dfimc-capture.c766 struct v4l2_subdev_format sfmt; in fimc_pipeline_try_format() local
767 struct v4l2_mbus_framefmt *mf = &sfmt.format; in fimc_pipeline_try_format()
777 memset(&sfmt, 0, sizeof(sfmt)); in fimc_pipeline_try_format()
778 sfmt.format = *tfmt; in fimc_pipeline_try_format()
779 sfmt.which = set ? V4L2_SUBDEV_FORMAT_ACTIVE : V4L2_SUBDEV_FORMAT_TRY; in fimc_pipeline_try_format()
799 sfmt.pad = 0; in fimc_pipeline_try_format()
800 ret = v4l2_subdev_call(sd, pad, set_fmt, NULL, &sfmt); in fimc_pipeline_try_format()
805 sfmt.pad = me->num_pads - 1; in fimc_pipeline_try_format()
808 &sfmt); in fimc_pipeline_try_format()
813 pad = media_entity_remote_pad(&me->pads[sfmt.pad]); in fimc_pipeline_try_format()
/linux-5.19.10/drivers/media/platform/via/
Dvia-camera.c870 struct v4l2_format sfmt; in viacam_try_fmt_vid_cap() local
872 return viacam_do_try_fmt(cam, &fmt->fmt.pix, &sfmt.fmt.pix); in viacam_try_fmt_vid_cap()
890 struct v4l2_format sfmt; in viacam_s_fmt_vid_cap() local
903 ret = viacam_do_try_fmt(cam, &fmt->fmt.pix, &sfmt.fmt.pix); in viacam_s_fmt_vid_cap()
910 cam->sensor_format = sfmt.fmt.pix; in viacam_s_fmt_vid_cap()
/linux-5.19.10/drivers/media/i2c/m5mols/
Dm5mols_core.c579 struct v4l2_mbus_framefmt *sfmt; in m5mols_set_fmt() local
588 sfmt = __find_format(info, sd_state, fmt->which, type); in m5mols_set_fmt()
589 if (!sfmt) in m5mols_set_fmt()
599 *sfmt = *format; in m5mols_set_fmt()
/linux-5.19.10/sound/soc/sof/
Dsof-priv.h65 #define SOF_DAI_STREAM(sname, scmin, scmax, srates, sfmt) \ argument
67 .rates = srates, .formats = sfmt}
/linux-5.19.10/drivers/firewire/
Dsbp2.c1292 int sfmt = (sbp2_status[0] >> 6) & 0x03; in sbp2_status_to_sense_data() local
1294 if (sfmt == 2 || sfmt == 3) { in sbp2_status_to_sense_data()
1302 sense_data[0] = 0x70 | sfmt | (sbp2_status[1] & 0x80); in sbp2_status_to_sense_data()