/kernel/linux/linux-5.10/drivers/media/pci/cx18/ |
H A D | Makefile | 2 cx18-objs := cx18-driver.o cx18-cards.o cx18-i2c.o cx18-firmware.o cx18-gpio.o \ 3 cx18-queue.o cx18-streams.o cx18-fileops.o cx18 [all...] |
H A D | cx18-io.h | 3 * cx18 driver PCI memory mapped IO access routines 12 #include "cx18-driver.h" 24 static inline u32 cx18_raw_readl(struct cx18 *cx, const void __iomem *addr) in cx18_raw_readl() 30 void cx18_raw_writel_noretry(struct cx18 *cx, u32 val, void __iomem *addr) in cx18_raw_writel_noretry() 35 static inline void cx18_raw_writel(struct cx18 *cx, u32 val, void __iomem *addr) in cx18_raw_writel() 46 static inline u32 cx18_readl(struct cx18 *cx, const void __iomem *addr) in cx18_readl() 52 void cx18_writel_noretry(struct cx18 *cx, u32 val, void __iomem *addr) in cx18_writel_noretry() 57 static inline void cx18_writel(struct cx18 *cx, u32 val, void __iomem *addr) in cx18_writel() 68 void cx18_writel_expect(struct cx18 *cx, u32 val, void __iomem *addr, in cx18_writel_expect() 84 static inline u16 cx18_readw(struct cx18 *c [all...] |
H A D | cx18-streams.h | 3 * cx18 init/start/stop/exit stream functions 11 u32 cx18_find_handle(struct cx18 *cx); 12 struct cx18_stream *cx18_handle_to_stream(struct cx18 *cx, u32 handle); 13 int cx18_streams_setup(struct cx18 *cx); 14 int cx18_streams_register(struct cx18 *cx); 15 void cx18_streams_cleanup(struct cx18 *cx, int unregister); 18 void cx18_stream_rotate_idx_mdls(struct cx18 *cx); 48 void cx18_stop_all_captures(struct cx18 *cx);
|
H A D | cx18-controls.c | 3 * cx18 ioctl control functions 12 #include "cx18-driver.h" 13 #include "cx18-cards.h" 14 #include "cx18-ioctl.h" 15 #include "cx18-audio.h" 16 #include "cx18-mailbox.h" 17 #include "cx18-controls.h" 21 struct cx18 *cx = container_of(cxhdl, struct cx18, cxhdl); in cx18_s_stream_vbi_fmt() 77 struct cx18 *c in cx18_s_video_encoding() [all...] |
H A D | cx18-av-core.h | 3 * cx18 ADEC header 17 struct cx18; 344 int cx18_av_write(struct cx18 *cx, u16 addr, u8 value); 345 int cx18_av_write4(struct cx18 *cx, u16 addr, u32 value); 346 int cx18_av_write4_noretry(struct cx18 *cx, u16 addr, u32 value); 347 int cx18_av_write_expect(struct cx18 *cx, u16 addr, u8 value, u8 eval, u8 mask); 348 int cx18_av_write4_expect(struct cx18 *cx, u16 addr, u32 value, u32 eval, 350 u8 cx18_av_read(struct cx18 *cx, u16 addr); 351 u32 cx18_av_read4(struct cx18 *cx, u16 addr); 352 int cx18_av_and_or(struct cx18 *c [all...] |
H A D | cx18-mailbox.h | 3 * cx18 mailbox functions 25 struct cx18; 30 * firmware, but its definition needs to be here, instead of in cx18-scb.h, 70 int cx18_api(struct cx18 *cx, u32 cmd, int args, u32 data[]); 71 int cx18_vapi_result(struct cx18 *cx, u32 data[MAX_MB_ARGUMENTS], u32 cmd, 73 int cx18_vapi(struct cx18 *cx, u32 cmd, int args, ...); 77 void cx18_api_epu_cmd_irq(struct cx18 *cx, int rpu);
|
H A D | cx18-gpio.c | 3 * cx18 gpio functions 11 #include "cx18-driver.h" 12 #include "cx18-io.h" 13 #include "cx18-cards.h" 14 #include "cx18-gpio.h" 38 static void gpio_write(struct cx18 *cx) in gpio_write() 55 static void gpio_update(struct cx18 *cx, u32 mask, u32 data) in gpio_update() 66 static void gpio_reset_seq(struct cx18 *cx, u32 active_lo, u32 active_hi, in gpio_reset_seq() 96 struct cx18 *cx = v4l2_get_subdevdata(sd); in gpiomux_log_status() 107 struct cx18 *c in gpiomux_s_radio() [all...] |
H A D | cx18-io.c | 3 * cx18 driver PCI memory mapped IO access routines 9 #include "cx18-driver.h" 10 #include "cx18-io.h" 11 #include "cx18-irq.h" 13 void cx18_memset_io(struct cx18 *cx, void __iomem *addr, int val, size_t count) in cx18_memset_io() 44 void cx18_sw1_irq_enable(struct cx18 *cx, u32 val) in cx18_sw1_irq_enable() 51 void cx18_sw1_irq_disable(struct cx18 *cx, u32 val) in cx18_sw1_irq_disable() 57 void cx18_sw2_irq_enable(struct cx18 *cx, u32 val) in cx18_sw2_irq_enable() 64 void cx18_sw2_irq_disable(struct cx18 *cx, u32 val) in cx18_sw2_irq_disable() 70 void cx18_sw2_irq_disable_cpu(struct cx18 *c [all...] |
H A D | cx18-ioctl.c | 3 * cx18 ioctl system call 11 #include "cx18-driver.h" 12 #include "cx18-io.h" 13 #include "cx18-version.h" 14 #include "cx18-mailbox.h" 15 #include "cx18-i2c.h" 16 #include "cx18-queue.h" 17 #include "cx18-fileops.h" 18 #include "cx18-vbi.h" 19 #include "cx18 [all...] |
H A D | cx18-irq.c | 3 * cx18 interrupt handling 9 #include "cx18-driver.h" 10 #include "cx18-io.h" 11 #include "cx18-irq.h" 12 #include "cx18-mailbox.h" 13 #include "cx18-scb.h" 15 static void xpu_ack(struct cx18 *cx, u32 sw2) in xpu_ack() 23 static void epu_cmd(struct cx18 *cx, u32 sw1) in epu_cmd() 33 struct cx18 *cx = (struct cx18 *)dev_i in cx18_irq_handler() [all...] |
H A D | cx18-av-core.c | 3 * cx18 ADEC audio functions 11 #include "cx18-driver.h" 12 #include "cx18-io.h" 13 #include "cx18-cards.h" 15 int cx18_av_write(struct cx18 *cx, u16 addr, u8 value) in cx18_av_write() 27 int cx18_av_write_expect(struct cx18 *cx, u16 addr, u8 value, u8 eval, u8 mask) in cx18_av_write_expect() 39 int cx18_av_write4(struct cx18 *cx, u16 addr, u32 value) in cx18_av_write4() 46 cx18_av_write4_expect(struct cx18 *cx, u16 addr, u32 value, u32 eval, u32 mask) in cx18_av_write4_expect() 52 int cx18_av_write4_noretry(struct cx18 *cx, u16 addr, u32 value) in cx18_av_write4_noretry() 58 u8 cx18_av_read(struct cx18 *c [all...] |
H A D | cx18-av-audio.c | 3 * cx18 ADEC audio functions 11 #include "cx18-driver.h" 13 static int set_audclk_freq(struct cx18 *cx, u32 freq) in set_audclk_freq() 289 void cx18_av_audio_set_path(struct cx18 *cx) in cx18_av_audio_set_path() 331 static void set_volume(struct cx18 *cx, int volume) in set_volume() 347 static void set_bass(struct cx18 *cx, int bass) in set_bass() 353 static void set_treble(struct cx18 *cx, int treble) in set_treble() 359 static void set_balance(struct cx18 *cx, int balance) in set_balance() 375 static void set_mute(struct cx18 *cx, int mute) in set_mute() 404 struct cx18 *c in cx18_av_s_clock_freq() [all...] |
H A D | cx18-i2c.c | 3 * cx18 I2C functions 11 #include "cx18-driver.h" 12 #include "cx18-io.h" 13 #include "cx18-cards.h" 14 #include "cx18-gpio.h" 15 #include "cx18-i2c.h" 16 #include "cx18-irq.h" 69 static int cx18_i2c_new_ir(struct cx18 *cx, struct i2c_adapter *adap, u32 hw, in cx18_i2c_new_ir() 95 int cx18_i2c_register(struct cx18 *cx, unsigned idx) in cx18_i2c_register() 136 struct v4l2_subdev *cx18_find_hw(struct cx18 *c [all...] |
/kernel/linux/linux-6.6/drivers/media/pci/cx18/ |
H A D | Makefile | 2 cx18-objs := cx18-driver.o cx18-cards.o cx18-i2c.o cx18-firmware.o cx18-gpio.o \ 3 cx18-queue.o cx18-streams.o cx18-fileops.o cx18 [all...] |
H A D | cx18-io.h | 3 * cx18 driver PCI memory mapped IO access routines 12 #include "cx18-driver.h" 24 static inline u32 cx18_raw_readl(struct cx18 *cx, const void __iomem *addr) in cx18_raw_readl() 30 void cx18_raw_writel_noretry(struct cx18 *cx, u32 val, void __iomem *addr) in cx18_raw_writel_noretry() 35 static inline void cx18_raw_writel(struct cx18 *cx, u32 val, void __iomem *addr) in cx18_raw_writel() 46 static inline u32 cx18_readl(struct cx18 *cx, const void __iomem *addr) in cx18_readl() 52 void cx18_writel_noretry(struct cx18 *cx, u32 val, void __iomem *addr) in cx18_writel_noretry() 57 static inline void cx18_writel(struct cx18 *cx, u32 val, void __iomem *addr) in cx18_writel() 68 void cx18_writel_expect(struct cx18 *cx, u32 val, void __iomem *addr, in cx18_writel_expect() 84 static inline u16 cx18_readw(struct cx18 *c [all...] |
H A D | cx18-streams.h | 3 * cx18 init/start/stop/exit stream functions 11 u32 cx18_find_handle(struct cx18 *cx); 12 struct cx18_stream *cx18_handle_to_stream(struct cx18 *cx, u32 handle); 13 int cx18_streams_setup(struct cx18 *cx); 14 int cx18_streams_register(struct cx18 *cx); 15 void cx18_streams_cleanup(struct cx18 *cx, int unregister); 18 void cx18_stream_rotate_idx_mdls(struct cx18 *cx); 48 void cx18_stop_all_captures(struct cx18 *cx);
|
H A D | cx18-controls.c | 3 * cx18 ioctl control functions 12 #include "cx18-driver.h" 13 #include "cx18-cards.h" 14 #include "cx18-ioctl.h" 15 #include "cx18-audio.h" 16 #include "cx18-mailbox.h" 17 #include "cx18-controls.h" 21 struct cx18 *cx = container_of(cxhdl, struct cx18, cxhdl); in cx18_s_stream_vbi_fmt() 77 struct cx18 *c in cx18_s_video_encoding() [all...] |
H A D | cx18-av-core.h | 3 * cx18 ADEC header 17 struct cx18; 344 int cx18_av_write(struct cx18 *cx, u16 addr, u8 value); 345 int cx18_av_write4(struct cx18 *cx, u16 addr, u32 value); 346 int cx18_av_write4_noretry(struct cx18 *cx, u16 addr, u32 value); 347 int cx18_av_write_expect(struct cx18 *cx, u16 addr, u8 value, u8 eval, u8 mask); 348 int cx18_av_write4_expect(struct cx18 *cx, u16 addr, u32 value, u32 eval, 350 u8 cx18_av_read(struct cx18 *cx, u16 addr); 351 u32 cx18_av_read4(struct cx18 *cx, u16 addr); 352 int cx18_av_and_or(struct cx18 *c [all...] |
H A D | cx18-mailbox.h | 3 * cx18 mailbox functions 25 struct cx18; 30 * firmware, but its definition needs to be here, instead of in cx18-scb.h, 70 int cx18_api(struct cx18 *cx, u32 cmd, int args, u32 data[]); 71 int cx18_vapi_result(struct cx18 *cx, u32 data[MAX_MB_ARGUMENTS], u32 cmd, 73 int cx18_vapi(struct cx18 *cx, u32 cmd, int args, ...); 77 void cx18_api_epu_cmd_irq(struct cx18 *cx, int rpu);
|
H A D | cx18-gpio.c | 3 * cx18 gpio functions 11 #include "cx18-driver.h" 12 #include "cx18-io.h" 13 #include "cx18-cards.h" 14 #include "cx18-gpio.h" 38 static void gpio_write(struct cx18 *cx) in gpio_write() 55 static void gpio_update(struct cx18 *cx, u32 mask, u32 data) in gpio_update() 66 static void gpio_reset_seq(struct cx18 *cx, u32 active_lo, u32 active_hi, in gpio_reset_seq() 96 struct cx18 *cx = v4l2_get_subdevdata(sd); in gpiomux_log_status() 107 struct cx18 *c in gpiomux_s_radio() [all...] |
H A D | cx18-io.c | 3 * cx18 driver PCI memory mapped IO access routines 9 #include "cx18-driver.h" 10 #include "cx18-io.h" 11 #include "cx18-irq.h" 13 void cx18_memset_io(struct cx18 *cx, void __iomem *addr, int val, size_t count) in cx18_memset_io() 44 void cx18_sw1_irq_enable(struct cx18 *cx, u32 val) in cx18_sw1_irq_enable() 51 void cx18_sw1_irq_disable(struct cx18 *cx, u32 val) in cx18_sw1_irq_disable() 57 void cx18_sw2_irq_enable(struct cx18 *cx, u32 val) in cx18_sw2_irq_enable() 64 void cx18_sw2_irq_disable(struct cx18 *cx, u32 val) in cx18_sw2_irq_disable() 70 void cx18_sw2_irq_disable_cpu(struct cx18 *c [all...] |
H A D | cx18-ioctl.c | 3 * cx18 ioctl system call 11 #include "cx18-driver.h" 12 #include "cx18-io.h" 13 #include "cx18-version.h" 14 #include "cx18-mailbox.h" 15 #include "cx18-i2c.h" 16 #include "cx18-queue.h" 17 #include "cx18-fileops.h" 18 #include "cx18-vbi.h" 19 #include "cx18 [all...] |
H A D | cx18-fileops.c | 3 * cx18 file operation functions 11 #include "cx18-driver.h" 12 #include "cx18-fileops.h" 13 #include "cx18-i2c.h" 14 #include "cx18-queue.h" 15 #include "cx18-vbi.h" 16 #include "cx18-audio.h" 17 #include "cx18-mailbox.h" 18 #include "cx18-scb.h" 19 #include "cx18 [all...] |
H A D | cx18-av-core.c | 3 * cx18 ADEC audio functions 11 #include "cx18-driver.h" 12 #include "cx18-io.h" 13 #include "cx18-cards.h" 15 int cx18_av_write(struct cx18 *cx, u16 addr, u8 value) in cx18_av_write() 27 int cx18_av_write_expect(struct cx18 *cx, u16 addr, u8 value, u8 eval, u8 mask) in cx18_av_write_expect() 39 int cx18_av_write4(struct cx18 *cx, u16 addr, u32 value) in cx18_av_write4() 46 cx18_av_write4_expect(struct cx18 *cx, u16 addr, u32 value, u32 eval, u32 mask) in cx18_av_write4_expect() 52 int cx18_av_write4_noretry(struct cx18 *cx, u16 addr, u32 value) in cx18_av_write4_noretry() 58 u8 cx18_av_read(struct cx18 *c [all...] |
H A D | cx18-i2c.c | 3 * cx18 I2C functions 11 #include "cx18-driver.h" 12 #include "cx18-io.h" 13 #include "cx18-cards.h" 14 #include "cx18-gpio.h" 15 #include "cx18-i2c.h" 16 #include "cx18-irq.h" 69 static int cx18_i2c_new_ir(struct cx18 *cx, struct i2c_adapter *adap, u32 hw, in cx18_i2c_new_ir() 95 int cx18_i2c_register(struct cx18 *cx, unsigned idx) in cx18_i2c_register() 136 struct v4l2_subdev *cx18_find_hw(struct cx18 *c [all...] |