• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/media/dvb/ttpci/

Lines Matching refs:av7110

4 #include "av7110.h"
293 * area between PCI bus and av7110,
355 /* used by boot protocol to load firmware into av7110 DRAM */
366 extern int av7110_bootarm(struct av7110 *av7110);
367 extern int av7110_firmversion(struct av7110 *av7110);
372 extern int av7110_wait_msgstate(struct av7110 *av7110, u16 flags);
373 extern int av7110_fw_cmd(struct av7110 *av7110, int type, int com, int num, ...);
374 extern int av7110_fw_request(struct av7110 *av7110, u16 *request_buf,
379 extern int av7110_debiwrite(struct av7110 *av7110, u32 config,
381 extern u32 av7110_debiread(struct av7110 *av7110, u32 config,
387 static inline void iwdebi(struct av7110 *av7110, u32 config, int addr, u32 val, int count)
389 av7110_debiwrite(av7110, config, addr, val, count);
393 static inline void mwdebi(struct av7110 *av7110, u32 config, int addr,
396 memcpy(av7110->debi_virt, val, count);
397 av7110_debiwrite(av7110, config, addr, 0, count);
400 static inline u32 irdebi(struct av7110 *av7110, u32 config, int addr, u32 val, int count)
404 res=av7110_debiread(av7110, config, addr, count);
406 memcpy(av7110->debi_virt, (char *) &res, count);
411 static inline void wdebi(struct av7110 *av7110, u32 config, int addr, u32 val, int count)
415 spin_lock_irqsave(&av7110->debilock, flags);
416 av7110_debiwrite(av7110, config, addr, val, count);
417 spin_unlock_irqrestore(&av7110->debilock, flags);
420 static inline u32 rdebi(struct av7110 *av7110, u32 config, int addr, u32 val, int count)
425 spin_lock_irqsave(&av7110->debilock, flags);
426 res=av7110_debiread(av7110, config, addr, count);
427 spin_unlock_irqrestore(&av7110->debilock, flags);
432 static inline void ARM_ResetMailBox(struct av7110 *av7110)
436 spin_lock_irqsave(&av7110->debilock, flags);
437 av7110_debiread(av7110, DEBINOSWAP, IRQ_RX, 2);
438 av7110_debiwrite(av7110, DEBINOSWAP, IRQ_RX, 0, 2);
439 spin_unlock_irqrestore(&av7110->debilock, flags);
442 static inline void ARM_ClearMailBox(struct av7110 *av7110)
444 iwdebi(av7110, DEBINOSWAP, IRQ_RX, 0, 2);
447 static inline void ARM_ClearIrq(struct av7110 *av7110)
449 irdebi(av7110, DEBINOSWAP, IRQ_RX, 0, 2);
456 static inline int SendDAC(struct av7110 *av7110, u8 addr, u8 data)
458 return av7110_fw_cmd(av7110, COMTYPE_AUDIODAC, AudioDAC, 2, addr, data);
461 static inline int av7710_set_video_mode(struct av7110 *av7110, int mode)
463 return av7110_fw_cmd(av7110, COMTYPE_ENCODER, SetVidMode, 1, mode);
466 static inline int vidcom(struct av7110 *av7110, u32 com, u32 arg)
468 return av7110_fw_cmd(av7110, COMTYPE_MISC, AV7110_FW_VIDEO_COMMAND, 4,
473 static inline int audcom(struct av7110 *av7110, u32 com)
475 return av7110_fw_cmd(av7110, COMTYPE_MISC, AV7110_FW_AUDIO_COMMAND, 2,
479 static inline int Set22K(struct av7110 *av7110, int state)
481 return av7110_fw_cmd(av7110, COMTYPE_AUDIODAC, (state ? ON22K : OFF22K), 0);
485 extern int av7110_diseqc_send(struct av7110 *av7110, int len, u8 *msg, unsigned long burst);
489 extern int av7110_osd_cmd(struct av7110 *av7110, osd_cmd_t *dc);
490 extern int av7110_osd_capability(struct av7110 *av7110, osd_cap_t *cap);