Home
last modified time | relevance | path

Searched refs:av7110 (Results 1 – 16 of 16) sorted by relevance

/linux-6.12.1/drivers/staging/media/av7110/
Dav7110.c99 static void restart_feeds(struct av7110 *av7110);
113 static void init_av7110_av(struct av7110 *av7110) in init_av7110_av() argument
116 struct saa7146_dev *dev = av7110->dev; in init_av7110_av()
119 av7110->adac_type = DVB_ADAC_TI; in init_av7110_av()
120 ret = av7110_set_volume(av7110, av7110->mixer.volume_left, av7110->mixer.volume_right); in init_av7110_av()
124 ret = av7110_fw_cmd(av7110, COMTYPE_ENCODER, SetMonitorType, in init_av7110_av()
125 1, (u16)av7110->display_ar); in init_av7110_av()
128 ret = av7110_fw_cmd(av7110, COMTYPE_ENCODER, SetPanScanType, in init_av7110_av()
129 1, av7110->display_panscan); in init_av7110_av()
133 ret = av7110_fw_cmd(av7110, COMTYPE_ENCODER, SetWSSConfig, 2, 2, wss_cfg_4_3); in init_av7110_av()
[all …]
Dav7110_hw.c45 int av7110_debiwrite(struct av7110 *av7110, u32 config, in av7110_debiwrite() argument
48 struct saa7146_dev *dev = av7110->dev; in av7110_debiwrite()
54 if (saa7146_wait_for_debi_done(av7110->dev, 0) < 0) { in av7110_debiwrite()
62 saa7146_write(dev, DEBI_AD, av7110->debi_bus); in av7110_debiwrite()
68 u32 av7110_debiread(struct av7110 *av7110, u32 config, int addr, unsigned int count) in av7110_debiread() argument
70 struct saa7146_dev *dev = av7110->dev; in av7110_debiread()
77 if (saa7146_wait_for_debi_done(av7110->dev, 0) < 0) { in av7110_debiread()
81 saa7146_write(dev, DEBI_AD, av7110->debi_bus); in av7110_debiread()
88 if (saa7146_wait_for_debi_done(av7110->dev, 0) < 0) { in av7110_debiread()
100 void av7110_reset_arm(struct av7110 *av7110)
[all …]
Dav7110_av.c76 static int write_ts_to_decoder(struct av7110 *av7110, int type, const u8 *buf, size_t len);
104 int av7110_av_start_record(struct av7110 *av7110, int av, in av7110_av_start_record() argument
110 dprintk(2, "av7110:%p, dvb_demux_feed:%p\n", av7110, dvbdmxfeed); in av7110_av_start_record()
112 if (av7110->playing || (av7110->rec_mode & av)) in av7110_av_start_record()
114 av7110_fw_cmd(av7110, COMTYPE_REC_PLAY, __Stop, 0); in av7110_av_start_record()
116 av7110->rec_mode |= av; in av7110_av_start_record()
118 switch (av7110->rec_mode) { in av7110_av_start_record()
120 dvb_filter_pes2ts_init(&av7110->p2t[0], in av7110_av_start_record()
124 ret = av7110_fw_cmd(av7110, COMTYPE_REC_PLAY, __Record, 2, AudioPES, 0); in av7110_av_start_record()
128 dvb_filter_pes2ts_init(&av7110->p2t[1], in av7110_av_start_record()
[all …]
Dav7110_v4l.c28 int msp_writereg(struct av7110 *av7110, u8 dev, u16 reg, u16 val) in msp_writereg() argument
33 switch (av7110->adac_type) { in msp_writereg()
44 if (i2c_transfer(&av7110->i2c_adap, &msgs, 1) != 1) { in msp_writereg()
45 dprintk(1, "failed @ card %d, %u = %u\n", av7110->dvb_adapter.num, reg, val); in msp_writereg()
51 static int msp_readreg(struct av7110 *av7110, u8 dev, u16 reg, u16 *val) in msp_readreg() argument
60 switch (av7110->adac_type) { in msp_readreg()
73 if (i2c_transfer(&av7110->i2c_adap, &msgs[0], 2) != 2) { in msp_readreg()
74 dprintk(1, "failed @ card %d, %u\n", av7110->dvb_adapter.num, reg); in msp_readreg()
123 struct av7110 *av7110 = dev->ext_priv; in ves1820_writereg() local
129 if (i2c_transfer(&av7110->i2c_adap, &msg, 1) != 1) in ves1820_writereg()
[all …]
Dav7110_hw.h360 int av7110_bootarm(struct av7110 *av7110);
361 int av7110_firmversion(struct av7110 *av7110);
366 int av7110_wait_msgstate(struct av7110 *av7110, u16 flags);
367 int av7110_fw_cmd(struct av7110 *av7110, int type, int com, int num, ...);
368 int av7110_fw_request(struct av7110 *av7110, u16 *request_buf,
372 int av7110_debiwrite(struct av7110 *av7110, u32 config,
374 u32 av7110_debiread(struct av7110 *av7110, u32 config,
379 static inline void iwdebi(struct av7110 *av7110, u32 config, int addr, u32 val, unsigned int count) in iwdebi() argument
381 av7110_debiwrite(av7110, config, addr, val, count); in iwdebi()
385 static inline void mwdebi(struct av7110 *av7110, u32 config, int addr, in mwdebi() argument
[all …]
Dav7110_av.h5 struct av7110;
7 int av7110_set_vidmode(struct av7110 *av7110,
14 int av7110_set_volume(struct av7110 *av7110, unsigned int volleft,
16 int av7110_av_stop(struct av7110 *av7110, int av);
17 int av7110_av_start_record(struct av7110 *av7110, int av,
19 int av7110_av_start_play(struct av7110 *av7110, int av);
21 void dvb_video_add_event(struct av7110 *av7110, struct video_event *event);
26 int av7110_av_register(struct av7110 *av7110);
27 void av7110_av_unregister(struct av7110 *av7110);
28 int av7110_av_init(struct av7110 *av7110);
[all …]
Dav7110_ir.c21 void av7110_ir_handler(struct av7110 *av7110, u32 ircom) in av7110_ir_handler() argument
23 struct rc_dev *rcdev = av7110->ir.rcdev; in av7110_ir_handler()
31 switch (av7110->ir.ir_config) { in av7110_ir_handler()
62 dprintk(2, "unknown ir config %d\n", av7110->ir.ir_config); in av7110_ir_handler()
70 int av7110_set_ir_config(struct av7110 *av7110) in av7110_set_ir_config() argument
72 dprintk(4, "ir config = %08x\n", av7110->ir.ir_config); in av7110_set_ir_config()
74 return av7110_fw_cmd(av7110, COMTYPE_PIDFILTER, SetIR, 1, in av7110_set_ir_config()
75 av7110->ir.ir_config); in av7110_set_ir_config()
80 struct av7110 *av7110 = rcdev->priv; in change_protocol() local
87 if (FW_VERSION(av7110->arm_app) >= 0x2620) in change_protocol()
[all …]
Dav7110_ca.c27 void CI_handle(struct av7110 *av7110, u8 *data, u16 len) in CI_handle() argument
31 dprintk(8, "av7110:%p\n", av7110); in CI_handle()
44 av7110->ci_slot[slot_num].flags = 0; in CI_handle()
47 av7110->ci_slot[slot_num].flags |= CA_CI_MODULE_PRESENT; in CI_handle()
50 av7110->ci_slot[slot_num].flags |= CA_CI_MODULE_READY; in CI_handle()
204 struct av7110 *av7110 = dvbdev->priv; in dvb_ca_open() local
207 dprintk(8, "av7110:%p\n", av7110); in dvb_ca_open()
211 ci_ll_flush(&av7110->ci_rbuffer, &av7110->ci_wbuffer); in dvb_ca_open()
218 struct av7110 *av7110 = dvbdev->priv; in dvb_ca_poll() local
219 struct dvb_ringbuffer *rbuf = &av7110->ci_rbuffer; in dvb_ca_poll()
[all …]
Dav7110.h82 struct av7110;
94 struct av7110 { struct
267 void (*recover)(struct av7110 *av7110); argument
289 int ChangePIDs(struct av7110 *av7110, u16 vpid, u16 apid, u16 ttpid, argument
292 void av7110_ir_handler(struct av7110 *av7110, u32 ircom);
293 int av7110_set_ir_config(struct av7110 *av7110);
294 int av7110_ir_init(struct av7110 *av7110);
295 void av7110_ir_exit(struct av7110 *av7110);
303 int i2c_writereg(struct av7110 *av7110, u8 id, u8 reg, u8 val);
304 u8 i2c_readreg(struct av7110 *av7110, u8 id, u8 reg);
[all …]
Dav7110_ca.h5 struct av7110;
7 void CI_handle(struct av7110 *av7110, u8 *data, u16 len);
10 int av7110_ca_register(struct av7110 *av7110);
11 void av7110_ca_unregister(struct av7110 *av7110);
12 int av7110_ca_init(struct av7110 *av7110);
13 void av7110_ca_exit(struct av7110 *av7110);
DMakefile6 dvb-ttpci-objs := av7110_hw.o av7110_v4l.o av7110_av.o av7110_ca.o av7110.o \
DKconfig29 "<kerneldir>/scripts/get_dvb_firmware av7110" to
/linux-6.12.1/drivers/staging/media/
DMakefile13 obj-$(CONFIG_DVB_AV7110) += av7110/
DKconfig25 source "drivers/staging/media/av7110/Kconfig"
/linux-6.12.1/scripts/
Dget_dvb_firmware140 sub av7110 { subroutine
/linux-6.12.1/Documentation/admin-guide/media/
Ddvb_intro.rst86 other device nodes are found only on devices that use the av7110