Home
last modified time | relevance | path

Searched refs:codec (Results 1 – 25 of 41) sorted by relevance

12

/drivers/media/video/zoran/
Dvideocodec.c59 struct videocodec *codec; member
64 const struct videocodec *codec; member
81 struct videocodec *codec; in videocodec_attach() local
103 if ((master->flags & h->codec->flags) == master->flags) { in videocodec_attach()
105 h->codec->name); in videocodec_attach()
107 if (!try_module_get(h->codec->owner)) in videocodec_attach()
110 codec = kmemdup(h->codec, sizeof(struct videocodec), in videocodec_attach()
112 if (!codec) { in videocodec_attach()
119 snprintf(codec->name, sizeof(codec->name), in videocodec_attach()
120 "%s[%d]", codec->name, h->attached); in videocodec_attach()
[all …]
Dzr36016.c80 if (ptr->codec->master_data->readreg) in zr36016_read()
82 (ptr->codec->master_data-> in zr36016_read()
83 readreg(ptr->codec, reg)) & 0xFF; in zr36016_read()
104 if (ptr->codec->master_data->writereg) { in zr36016_write()
105 ptr->codec->master_data->writereg(ptr->codec, reg, value); in zr36016_write()
123 if ((ptr->codec->master_data->writereg) && in zr36016_readi()
124 (ptr->codec->master_data->readreg)) { in zr36016_readi()
125 ptr->codec->master_data->writereg(ptr->codec, ZR016_IADDR, reg & 0x0F); // ADDR in zr36016_readi()
126 value = (ptr->codec->master_data->readreg(ptr->codec, ZR016_IDATA)) & 0xFF; // DATA in zr36016_readi()
147 if (ptr->codec->master_data->writereg) { in zr36016_writei()
[all …]
Dvideocodec.h274 int (*setup) (struct videocodec * codec);
275 int (*unset) (struct videocodec * codec);
279 int (*set_mode) (struct videocodec * codec,
282 int (*set_video) (struct videocodec * codec,
287 int (*control) (struct videocodec * codec,
294 int (*setup_interrupt) (struct videocodec * codec,
296 int (*handle_interrupt) (struct videocodec * codec,
300 long (*put_image) (struct videocodec * codec,
307 long (*get_image) (struct videocodec * codec,
325 __u32(*readreg) (struct videocodec * codec,
[all …]
Dzr36050.c78 if (ptr->codec->master_data->readreg) in zr36050_read()
79 value = (ptr->codec->master_data->readreg(ptr->codec, in zr36050_read()
101 if (ptr->codec->master_data->writereg) in zr36050_write()
102 ptr->codec->master_data->writereg(ptr->codec, reg, value); in zr36050_write()
585 zr36050_set_mode (struct videocodec *codec, in zr36050_set_mode() argument
588 struct zr36050 *ptr = (struct zr36050 *) codec->data; in zr36050_set_mode()
603 zr36050_set_video (struct videocodec *codec, in zr36050_set_video() argument
608 struct zr36050 *ptr = (struct zr36050 *) codec->data; in zr36050_set_video()
645 zr36050_control (struct videocodec *codec, in zr36050_control() argument
650 struct zr36050 *ptr = (struct zr36050 *) codec->data; in zr36050_control()
[all …]
Dzr36060.c82 if (ptr->codec->master_data->readreg) in zr36060_read()
83 value = (ptr->codec->master_data->readreg(ptr->codec, in zr36060_read()
104 if (ptr->codec->master_data->writereg) in zr36060_write()
105 ptr->codec->master_data->writereg(ptr->codec, reg, value); in zr36060_write()
576 zr36060_set_mode (struct videocodec *codec, in zr36060_set_mode() argument
579 struct zr36060 *ptr = (struct zr36060 *) codec->data; in zr36060_set_mode()
594 zr36060_set_video (struct videocodec *codec, in zr36060_set_video() argument
599 struct zr36060 *ptr = (struct zr36060 *) codec->data; in zr36060_set_video()
754 zr36060_control (struct videocodec *codec, in zr36060_control() argument
759 struct zr36060 *ptr = (struct zr36060 *) codec->data; in zr36060_control()
[all …]
Dzoran_card.c151 zr36060_read (struct videocodec *codec, in zr36060_read() argument
154 struct zoran *zr = (struct zoran *) codec->master_data->data; in zr36060_read()
168 zr36060_write (struct videocodec *codec, in zr36060_write() argument
172 struct zoran *zr = (struct zoran *) codec->master_data->data; in zr36060_write()
185 zr36050_read (struct videocodec *codec, in zr36050_read() argument
188 struct zoran *zr = (struct zoran *) codec->master_data->data; in zr36050_read()
201 zr36050_write (struct videocodec *codec, in zr36050_write() argument
205 struct zoran *zr = (struct zoran *) codec->master_data->data; in zr36050_write()
217 zr36016_read (struct videocodec *codec, in zr36016_read() argument
220 struct zoran *zr = (struct zoran *) codec->master_data->data; in zr36016_read()
[all …]
Dzoran_device.c1005 zr->codec->control(zr->codec, CODEC_S_JPEG_APP_DATA, in zr36057_enable_jpg()
1010 zr->codec->control(zr->codec, CODEC_S_JPEG_COM_DATA, in zr36057_enable_jpg()
1014 zr->codec->control(zr->codec, CODEC_S_JPEG_TDS_BYTE, in zr36057_enable_jpg()
1016 zr->codec->set_video(zr->codec, zr->timing, &cap, in zr36057_enable_jpg()
1018 zr->codec->set_mode(zr->codec, CODEC_DO_COMPRESSION); in zr36057_enable_jpg()
1055 zr->codec->set_video(zr->codec, zr->timing, &cap, in zr36057_enable_jpg()
1057 zr->codec->set_mode(zr->codec, CODEC_DO_EXPANSION); in zr36057_enable_jpg()
1213 zr->codec->set_mode(zr->codec, mode); in zoran_restart()
Dzoran_card.h52 void zr36016_write(struct videocodec *codec, u16 reg, u32 val);
Dzr36016.h35 struct videocodec *codec; member
Dzr36050.h37 struct videocodec *codec; member
Dzr36060.h37 struct videocodec *codec; member
/drivers/media/video/usbvision/
Dusbvision-cards.c37 .codec = CODEC_SAA7113,
51 .codec = CODEC_SAA7113,
67 .codec = CODEC_SAA7111,
81 .codec = CODEC_SAA7113,
97 .codec = CODEC_SAA7111,
113 .codec = CODEC_SAA7111,
127 .codec = CODEC_SAA7113,
143 .codec = CODEC_SAA7111,
157 .codec = CODEC_SAA7111,
173 .codec = CODEC_SAA7113,
[all …]
Dusbvision-core.c1757 if (usbvision_device_data[usbvision->dev_model].codec == CODEC_WEBCAM) { in usbvision_set_output()
1966 } else if (usbvision_device_data[usbvision->dev_model].codec == CODEC_SAA7113) { in usbvision_set_input()
2014 if (usbvision_device_data[usbvision->dev_model].codec == CODEC_WEBCAM) { in usbvision_set_input()
2054 } else if (usbvision_device_data[usbvision->dev_model].codec == CODEC_SAA7113) { in usbvision_set_input()
2153 if (usbvision_device_data[usbvision->dev_model].codec == CODEC_WEBCAM) { in usbvision_power_on()
2290 if (usbvision_device_data[usbvision->dev_model].codec == CODEC_WEBCAM) in usbvision_setup()
2490 switch (usbvision_device_data[usbvision->dev_model].codec) { in usbvision_muxsel()
/drivers/media/video/s5p-mfc/
Ds5p_mfc_enc.c1276 p->codec.h264.cpb_size = ctrl->val; in s5p_mfc_enc_s_ctrl()
1293 p->codec.h264.profile = in s5p_mfc_enc_s_ctrl()
1297 p->codec.h264.profile = in s5p_mfc_enc_s_ctrl()
1301 p->codec.h264.profile = in s5p_mfc_enc_s_ctrl()
1309 p->codec.h264.level_v4l2 = ctrl->val; in s5p_mfc_enc_s_ctrl()
1310 p->codec.h264.level = h264_level(ctrl->val); in s5p_mfc_enc_s_ctrl()
1311 if (p->codec.h264.level < 0) { in s5p_mfc_enc_s_ctrl()
1313 ret = p->codec.h264.level; in s5p_mfc_enc_s_ctrl()
1317 p->codec.mpeg4.level_v4l2 = ctrl->val; in s5p_mfc_enc_s_ctrl()
1318 p->codec.mpeg4.level = mpeg4_level(ctrl->val); in s5p_mfc_enc_s_ctrl()
[all …]
/drivers/input/touchscreen/
Dwm97xx-core.c144 wm->codec->aux_prepare(wm); in wm97xx_read_aux_adc()
150 rc = wm->codec->poll_sample(wm, adcsel, &auxval); in wm97xx_read_aux_adc()
155 wm->codec->dig_restore(wm); in wm97xx_read_aux_adc()
163 wm->codec->dig_enable(wm, false); in wm97xx_read_aux_adc()
416 rc = wm->codec->poll_touch(wm, &data); in wm97xx_read_samples()
470 BUG_ON(!wm->codec); in wm97xx_ts_reader()
501 wm->codec->acc_enable(wm, 1); in wm97xx_ts_input_open()
502 wm->codec->dig_enable(wm, 1); in wm97xx_ts_input_open()
568 wm->codec->dig_enable(wm, 0); in wm97xx_ts_input_close()
570 wm->codec->acc_enable(wm, 0); in wm97xx_ts_input_close()
[all …]
/drivers/media/video/hdpvr/
Dhdpvr-control.c142 enum v4l2_mpeg_audio_encoding codec) in hdpvr_set_audio() argument
150 if (codec == V4L2_MPEG_AUDIO_ENCODING_AAC) in hdpvr_set_audio()
152 else if (codec == V4L2_MPEG_AUDIO_ENCODING_AC3) in hdpvr_set_audio()
157 codec); in hdpvr_set_audio()
Dhdpvr.h288 enum v4l2_mpeg_audio_encoding codec);
/drivers/video/omap2/dss/
Dhdmi.c565 struct snd_soc_codec *codec = rtd->codec; in hdmi_audio_trigger() local
566 struct platform_device *pdev = to_platform_device(codec->dev); in hdmi_audio_trigger()
567 struct hdmi_ip_data *ip_data = snd_soc_codec_get_drvdata(codec); in hdmi_audio_trigger()
597 struct snd_soc_codec *codec = rtd->codec; in hdmi_audio_hw_params() local
598 struct hdmi_ip_data *ip_data = snd_soc_codec_get_drvdata(codec); in hdmi_audio_hw_params()
740 static int hdmi_audio_codec_probe(struct snd_soc_codec *codec) in hdmi_audio_codec_probe() argument
744 snd_soc_codec_set_drvdata(codec, priv); in hdmi_audio_codec_probe()
/drivers/staging/media/solo6x10/
DKconfig2 tristate "Softlogic 6x10 MPEG codec cards"
7 This driver supports the Softlogic based MPEG-4 and h.264 codec
/drivers/mfd/
Dtwl4030-audio.c209 if (pdata->codec) { in twl4030_audio_probe()
212 cell->platform_data = pdata->codec; in twl4030_audio_probe()
213 cell->pdata_size = sizeof(*pdata->codec); in twl4030_audio_probe()
Dtwl6040-core.c575 if (pdata->codec) { in twl6040_probe()
584 cell->platform_data = pdata->codec; in twl6040_probe()
585 cell->pdata_size = sizeof(*pdata->codec); in twl6040_probe()
/drivers/video/
Dsh_mobile_hdmi.c242 static unsigned int sh_hdmi_snd_read(struct snd_soc_codec *codec, in sh_hdmi_snd_read() argument
245 struct sh_hdmi *hdmi = snd_soc_codec_get_drvdata(codec); in sh_hdmi_snd_read()
250 static int sh_hdmi_snd_write(struct snd_soc_codec *codec, in sh_hdmi_snd_write() argument
254 struct sh_hdmi *hdmi = snd_soc_codec_get_drvdata(codec); in sh_hdmi_snd_write()
274 static int sh_hdmi_snd_probe(struct snd_soc_codec *codec) in sh_hdmi_snd_probe() argument
276 dev_info(codec->dev, "SH Mobile HDMI Audio Codec"); in sh_hdmi_snd_probe()
/drivers/isdn/mISDN/
Dl1oip_core.c249 static u_int codec[MAX_CARDS]; variable
262 module_param_array(codec, uint, NULL, S_IRUGO | S_IWUSR);
1158 l1oip_socket_send(hc, hc->codec, bch->slot, 0, in handle_bmsg()
1325 switch (codec[l1oip_cnt]) { in init_card()
1333 codec[l1oip_cnt]); in init_card()
1336 hc->codec = codec[l1oip_cnt]; in init_card()
1339 __func__, hc->codec); in init_card()
Dl1oip.h59 int codec; /* codec to use for transmis. */ member
/drivers/media/rc/
DMakefile15 obj-$(CONFIG_IR_LIRC_CODEC) += ir-lirc-codec.o

12