Lines Matching refs:core

294 #define INPUT(nr) (core->board.input[nr])
372 void (*gate_ctrl)(struct cx88_core *core, int open);
416 #define call_hw(core, grpid, o, f, args...) \ argument
418 if (!core->i2c_rc) { \
419 if (core->gate_ctrl) \
420 core->gate_ctrl(core, 1); \
421 v4l2_device_call_all(&core->v4l2_dev, \
423 if (core->gate_ctrl) \
424 core->gate_ctrl(core, 0); \
428 #define call_all(core, o, f, args...) call_hw(core, 0, o, f, ##args) argument
432 #define wm8775_s_ctrl(core, id, val) \ argument
435 v4l2_ctrl_find(core->sd_wm8775->ctrl_handler, id);\
436 if (ctrl_ && !core->i2c_rc) { \
437 if (core->gate_ctrl) \
438 core->gate_ctrl(core, 1); \
440 if (core->gate_ctrl) \
441 core->gate_ctrl(core, 0); \
445 #define wm8775_g_ctrl(core, id) \ argument
448 v4l2_ctrl_find(core->sd_wm8775->ctrl_handler, id);\
450 if (ctrl_ && !core->i2c_rc) { \
451 if (core->gate_ctrl) \
452 core->gate_ctrl(core, 1); \
454 if (core->gate_ctrl) \
455 core->gate_ctrl(core, 0); \
468 struct cx88_core *core; member
507 struct cx88_core *core; member
536 struct cx88_core *core; member
583 #define cx_read(reg) readl(core->lmmio + ((reg) >> 2))
584 #define cx_write(reg, value) writel((value), core->lmmio + ((reg) >> 2))
585 #define cx_writeb(reg, value) writeb((value), core->bmmio + (reg))
588 writel((readl(core->lmmio + ((reg) >> 2)) & ~(mask)) |\
589 ((value) & (mask)), core->lmmio + ((reg) >> 2))
596 #define cx_sread(sreg) (core->shadow[sreg])
598 (core->shadow[sreg] = value, \
599 writel(core->shadow[sreg], core->lmmio + ((reg) >> 2)))
601 (core->shadow[sreg] = (core->shadow[sreg] & ~(mask)) | \
603 writel(core->shadow[sreg], \
604 core->lmmio + ((reg) >> 2)))
614 int cx88_core_irq(struct cx88_core *core, u32 status);
615 void cx88_wakeup(struct cx88_core *core,
617 void cx88_shutdown(struct cx88_core *core);
618 int cx88_reset(struct cx88_core *core);
630 void cx88_risc_disasm(struct cx88_core *core,
632 int cx88_sram_channel_setup(struct cx88_core *core,
635 void cx88_sram_channel_dump(struct cx88_core *core,
638 int cx88_set_scale(struct cx88_core *core, unsigned int width,
640 int cx88_set_tvnorm(struct cx88_core *core, v4l2_std_id norm);
642 void cx88_vdev_init(struct cx88_core *core,
648 void cx88_core_put(struct cx88_core *core,
651 int cx88_start_audio_dma(struct cx88_core *core);
652 int cx88_stop_audio_dma(struct cx88_core *core);
669 int cx88_i2c_init(struct cx88_core *core, struct pci_dev *pci);
675 int cx88_get_resources(const struct cx88_core *core,
678 void cx88_setup_xc3028(struct cx88_core *core, struct xc2028_ctrl *ctl);
683 void cx88_set_tvaudio(struct cx88_core *core);
684 void cx88_newstation(struct cx88_core *core);
685 void cx88_get_stereo(struct cx88_core *core, struct v4l2_tuner *t);
686 void cx88_set_stereo(struct cx88_core *core, u32 mode, int manual);
699 s32 cx88_dsp_detect_stereo_sap(struct cx88_core *core);
704 int cx88_ir_init(struct cx88_core *core, struct pci_dev *pci);
705 int cx88_ir_fini(struct cx88_core *core);
706 void cx88_ir_irq(struct cx88_core *core);
707 int cx88_ir_start(struct cx88_core *core);
708 void cx88_ir_stop(struct cx88_core *core);
709 void cx88_i2c_init_ir(struct cx88_core *core);
724 int cx88_enum_input(struct cx88_core *core, struct v4l2_input *i);
725 int cx88_set_freq(struct cx88_core *core, const struct v4l2_frequency *f);
726 int cx88_video_mux(struct cx88_core *core, unsigned int input);
727 int cx88_querycap(struct file *file, struct cx88_core *core,