Home
last modified time | relevance | path

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

/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 = in videocodec_attach()
112 if (!codec) { in videocodec_attach()
118 memcpy(codec, h->codec, sizeof(struct videocodec)); in videocodec_attach()
120 snprintf(codec->name, sizeof(codec->name), in videocodec_attach()
[all …]
Dzr36016.c85 if (ptr->codec->master_data->readreg) in zr36016_read()
87 (ptr->codec->master_data-> in zr36016_read()
88 readreg(ptr->codec, reg)) & 0xFF; in zr36016_read()
109 if (ptr->codec->master_data->writereg) { in zr36016_write()
110 ptr->codec->master_data->writereg(ptr->codec, reg, value); in zr36016_write()
128 if ((ptr->codec->master_data->writereg) && in zr36016_readi()
129 (ptr->codec->master_data->readreg)) { in zr36016_readi()
130 ptr->codec->master_data->writereg(ptr->codec, ZR016_IADDR, reg & 0x0F); // ADDR in zr36016_readi()
131 value = (ptr->codec->master_data->readreg(ptr->codec, ZR016_IDATA)) & 0xFF; // DATA in zr36016_readi()
152 if (ptr->codec->master_data->writereg) { in zr36016_writei()
[all …]
Dvideocodec.h279 int (*setup) (struct videocodec * codec);
280 int (*unset) (struct videocodec * codec);
284 int (*set_mode) (struct videocodec * codec,
287 int (*set_video) (struct videocodec * codec,
292 int (*control) (struct videocodec * codec,
299 int (*setup_interrupt) (struct videocodec * codec,
301 int (*handle_interrupt) (struct videocodec * codec,
305 long (*put_image) (struct videocodec * codec,
312 long (*get_image) (struct videocodec * codec,
330 __u32(*readreg) (struct videocodec * codec,
[all …]
Dzr36050.c82 if (ptr->codec->master_data->readreg) in zr36050_read()
83 value = (ptr->codec->master_data->readreg(ptr->codec, in zr36050_read()
105 if (ptr->codec->master_data->writereg) in zr36050_write()
106 ptr->codec->master_data->writereg(ptr->codec, reg, value); in zr36050_write()
589 zr36050_set_mode (struct videocodec *codec, in zr36050_set_mode() argument
592 struct zr36050 *ptr = (struct zr36050 *) codec->data; in zr36050_set_mode()
607 zr36050_set_video (struct videocodec *codec, in zr36050_set_video() argument
612 struct zr36050 *ptr = (struct zr36050 *) codec->data; in zr36050_set_video()
649 zr36050_control (struct videocodec *codec, in zr36050_control() argument
654 struct zr36050 *ptr = (struct zr36050 *) codec->data; in zr36050_control()
[all …]
Dzr36060.c86 if (ptr->codec->master_data->readreg) in zr36060_read()
87 value = (ptr->codec->master_data->readreg(ptr->codec, in zr36060_read()
108 if (ptr->codec->master_data->writereg) in zr36060_write()
109 ptr->codec->master_data->writereg(ptr->codec, reg, value); in zr36060_write()
580 zr36060_set_mode (struct videocodec *codec, in zr36060_set_mode() argument
583 struct zr36060 *ptr = (struct zr36060 *) codec->data; in zr36060_set_mode()
598 zr36060_set_video (struct videocodec *codec, in zr36060_set_video() argument
603 struct zr36060 *ptr = (struct zr36060 *) codec->data; in zr36060_set_video()
758 zr36060_control (struct videocodec *codec, in zr36060_control() argument
763 struct zr36060 *ptr = (struct zr36060 *) codec->data; in zr36060_control()
[all …]
Dzoran_card.c174 zr36060_read (struct videocodec *codec, in zr36060_read() argument
177 struct zoran *zr = (struct zoran *) codec->master_data->data; in zr36060_read()
191 zr36060_write (struct videocodec *codec, in zr36060_write() argument
195 struct zoran *zr = (struct zoran *) codec->master_data->data; in zr36060_write()
208 zr36050_read (struct videocodec *codec, in zr36050_read() argument
211 struct zoran *zr = (struct zoran *) codec->master_data->data; in zr36050_read()
224 zr36050_write (struct videocodec *codec, in zr36050_write() argument
228 struct zoran *zr = (struct zoran *) codec->master_data->data; in zr36050_write()
240 zr36016_read (struct videocodec *codec, in zr36016_read() argument
243 struct zoran *zr = (struct zoran *) codec->master_data->data; in zr36016_read()
[all …]
Dzoran_device.c1020 zr->codec->control(zr->codec, CODEC_S_JPEG_APP_DATA, in zr36057_enable_jpg()
1025 zr->codec->control(zr->codec, CODEC_S_JPEG_COM_DATA, in zr36057_enable_jpg()
1029 zr->codec->control(zr->codec, CODEC_S_JPEG_TDS_BYTE, in zr36057_enable_jpg()
1031 zr->codec->set_video(zr->codec, zr->timing, &cap, in zr36057_enable_jpg()
1033 zr->codec->set_mode(zr->codec, CODEC_DO_COMPRESSION); in zr36057_enable_jpg()
1070 zr->codec->set_video(zr->codec, zr->timing, &cap, in zr36057_enable_jpg()
1072 zr->codec->set_mode(zr->codec, CODEC_DO_EXPANSION); in zr36057_enable_jpg()
1358 zr->codec->set_mode(zr->codec, mode); in error_handler()
Dzoran_card.h51 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
DKconfig22 zr36050 MJPEG codec and zr36016 VFE.
Dzoran.h389 struct videocodec *codec; /* video codec */ member
Dzoran_driver.c1063 zr->codec->control(zr->codec, CODEC_G_STATUS, in jpg_sync()
/drivers/input/touchscreen/
Dwm97xx-core.c141 wm->codec->aux_prepare(wm); in wm97xx_read_aux_adc()
145 wm->codec->poll_sample(wm, adcsel, &auxval); in wm97xx_read_aux_adc()
150 wm->codec->dig_restore(wm); in wm97xx_read_aux_adc()
405 rc = wm->codec->poll_touch(wm, &data); in wm97xx_read_samples()
457 BUG_ON(!wm->codec); in wm97xx_ts_reader()
488 wm->codec->acc_enable(wm, 1); in wm97xx_ts_input_open()
489 wm->codec->dig_enable(wm, 1); in wm97xx_ts_input_open()
555 wm->codec->dig_enable(wm, 0); in wm97xx_ts_input_close()
557 wm->codec->acc_enable(wm, 0); in wm97xx_ts_input_close()
589 wm->codec = &wm9705_codec; in wm97xx_probe()
[all …]
DKconfig257 The UCB1400 is an AC97 audio codec. The touchscreen interface
/drivers/isdn/mISDN/
Dl1oip_core.c248 static u_int codec[MAX_CARDS]; variable
261 module_param_array(codec, uint, NULL, S_IRUGO | S_IWUSR);
1164 l1oip_socket_send(hc, hc->codec, bch->slot, 0, in handle_bmsg()
1329 switch (codec[l1oip_cnt]) { in init_card()
1337 codec[l1oip_cnt]); in init_card()
1340 hc->codec = codec[l1oip_cnt]; in init_card()
1343 __func__, hc->codec); in init_card()
Dl1oip.h59 int codec; /* codec to use for transmis. */ member
/drivers/mfd/
DKconfig67 The UCB1400 is an AC97 audio codec.
106 high speed USB OTG transceiver, an audio codec (on most
Dwm8350-core.c1463 &(wm8350->codec.pdev)); in wm8350_device_init()
1493 platform_device_unregister(wm8350->codec.pdev); in wm8350_device_exit()
/drivers/telephony/
Dixj.c6002 j->caplist[j->caps].captype = codec; in add_caps()
6007 j->caplist[j->caps].captype = codec; in add_caps()
6012 j->caplist[j->caps].captype = codec; in add_caps()
6017 j->caplist[j->caps].captype = codec; in add_caps()
6023 j->caplist[j->caps].captype = codec; in add_caps()
6030 j->caplist[j->caps].captype = codec; in add_caps()
6035 j->caplist[j->caps].captype = codec; in add_caps()
6040 j->caplist[j->caps].captype = codec; in add_caps()
6045 j->caplist[j->caps].captype = codec; in add_caps()
6053 j->caplist[j->caps].captype = codec; in add_caps()
[all …]
/drivers/media/video/
DKconfig215 tristate "Texas Instruments TLV320AIC23B audio codec"
218 Support for the Texas Instruments TLV320AIC23B audio codec.
/drivers/isdn/hardware/eicon/
Dmessage.c3425 word codec; in manufacturer_req() local
3453 codec = GET_WORD(m_parms[0].info); in manufacturer_req()
3470 switch(codec) in manufacturer_req()
3504 if(!codec) in manufacturer_req()