Lines Matching +full:dsp +full:- +full:gpio3

1 /* SPDX-License-Identifier: GPL-2.0-or-later */
15 #include <linux/i2c-algo-bit.h>
20 #include <media/v4l2-device.h>
21 #include <media/v4l2-fh.h>
24 #include <media/videobuf2-dma-sg.h>
25 #include <media/drv-intf/cx2341x.h>
26 #include <media/videobuf2-dvb.h>
27 #include <media/i2c/ir-kbd-i2c.h>
30 #include "cx88-reg.h"
37 #define UNSET (-1U)
44 /* ----------------------------------------------------------- */
62 /* need "shadow" registers for some write-only ones ... */
85 /* ----------------------------------------------------------- */
98 /* ----------------------------------------------------------- */
108 /* ----------------------------------------------------------- */
109 /* SRAM memory management data (see cx88-core.c) */
136 /* ----------------------------------------------------------- */
248 u32 gpio0, gpio1, gpio2, gpio3; member
295 #define INPUT(nr) (core->board.input[nr])
297 /* ----------------------------------------------------------- */
315 /* common v4l buffer stuff -- must be first */
355 /* config info -- analog */
368 /* config info -- dvb */
401 * cx88-video needs to access cx8802 for hybrid tuner pll access and
405 /* cx88-blackbird needs to access cx8800 for vb2_is_busy() checks */
419 if (!core->i2c_rc) { \
420 if (core->gate_ctrl) \
421 core->gate_ctrl(core, 1); \
422 v4l2_device_call_all(&core->v4l2_dev, \
424 if (core->gate_ctrl) \
425 core->gate_ctrl(core, 0); \
436 v4l2_ctrl_find(core->sd_wm8775->ctrl_handler, id);\
437 if (ctrl_ && !core->i2c_rc) { \
438 if (core->gate_ctrl) \
439 core->gate_ctrl(core, 1); \
441 if (core->gate_ctrl) \
442 core->gate_ctrl(core, 0); \
449 v4l2_ctrl_find(core->sd_wm8775->ctrl_handler, id);\
451 if (ctrl_ && !core->i2c_rc) { \
452 if (core->gate_ctrl) \
453 core->gate_ctrl(core, 1); \
455 if (core->gate_ctrl) \
456 core->gate_ctrl(core, 0); \
461 /* ----------------------------------------------------------- */
496 /* ----------------------------------------------------------- */
498 /* =============> moved to cx88-alsa.c <====================== */
500 /* ----------------------------------------------------------- */
521 /* Callers to the following functions must hold core->lock */
523 /* MPEG 8802 -> mini driver - Driver probe and configuration */
527 /* MPEG 8802 -> mini driver - Access for hardware control */
531 /* MPEG 8802 <- mini driver - Access for hardware control */
576 /* List of attached drivers; must hold core->lock to access */
582 /* ----------------------------------------------------------- */
584 #define cx_read(reg) readl(core->lmmio + ((reg) >> 2))
585 #define cx_write(reg, value) writel((value), core->lmmio + ((reg) >> 2))
586 #define cx_writeb(reg, value) writeb((value), core->bmmio + (reg))
589 writel((readl(core->lmmio + ((reg) >> 2)) & ~(mask)) |\
590 ((value) & (mask)), core->lmmio + ((reg) >> 2))
597 #define cx_sread(sreg) (core->shadow[sreg])
599 (core->shadow[sreg] = value, \
600 writel(core->shadow[sreg], core->lmmio + ((reg) >> 2)))
602 (core->shadow[sreg] = (core->shadow[sreg] & ~(mask)) | \
604 writel(core->shadow[sreg], \
605 core->lmmio + ((reg) >> 2)))
607 /* ----------------------------------------------------------- */
608 /* cx88-core.c */
655 /* ----------------------------------------------------------- */
656 /* cx88-vbi.c */
667 /* ----------------------------------------------------------- */
668 /* cx88-i2c.c */
672 /* ----------------------------------------------------------- */
673 /* cx88-cards.c */
681 /* ----------------------------------------------------------- */
682 /* cx88-tvaudio.c */
693 /* Caller must hold core->lock */
697 /* ----------------------------------------------------------- */
698 /* cx88-dsp.c */
702 /* ----------------------------------------------------------- */
703 /* cx88-input.c */
712 /* ----------------------------------------------------------- */
713 /* cx88-mpeg.c */
723 /* ----------------------------------------------------------- */
724 /* cx88-video.c*/