| /kernel/linux/linux-4.19/drivers/media/pci/cx18/ |
| D | cx18-io.h | 33 static inline u32 cx18_raw_readl(struct cx18 *cx, const void __iomem *addr) in cx18_raw_readl() 39 void cx18_raw_writel_noretry(struct cx18 *cx, u32 val, void __iomem *addr) in cx18_raw_writel_noretry() 44 static inline void cx18_raw_writel(struct cx18 *cx, u32 val, void __iomem *addr) in cx18_raw_writel() 55 static inline u32 cx18_readl(struct cx18 *cx, const void __iomem *addr) in cx18_readl() 61 void cx18_writel_noretry(struct cx18 *cx, u32 val, void __iomem *addr) in cx18_writel_noretry() 66 static inline void cx18_writel(struct cx18 *cx, u32 val, void __iomem *addr) in cx18_writel() 77 void cx18_writel_expect(struct cx18 *cx, u32 val, void __iomem *addr, in cx18_writel_expect() 93 static inline u16 cx18_readw(struct cx18 *cx, const void __iomem *addr) in cx18_readw() 99 void cx18_writew_noretry(struct cx18 *cx, u16 val, void __iomem *addr) in cx18_writew_noretry() 104 static inline void cx18_writew(struct cx18 *cx, u16 val, void __iomem *addr) in cx18_writew() [all …]
|
| D | cx18-ioctl.c | 147 struct cx18 *cx = id->cx; in cx18_g_fmt_vid_cap() local 170 struct cx18 *cx = fh2id(fh)->cx; in cx18_g_fmt_vbi_cap() local 189 struct cx18 *cx = fh2id(fh)->cx; in cx18_g_fmt_sliced_vbi_cap() local 215 struct cx18 *cx = id->cx; in cx18_try_fmt_vid_cap() local 244 struct cx18 *cx = fh2id(fh)->cx; in cx18_try_fmt_sliced_vbi_cap() local 264 struct cx18 *cx = id->cx; in cx18_s_fmt_vid_cap() local 307 struct cx18 *cx = id->cx; in cx18_s_fmt_vbi_cap() local 337 struct cx18 *cx = id->cx; in cx18_s_fmt_sliced_vbi_cap() local 368 struct cx18 *cx = fh2id(fh)->cx; in cx18_g_register() local 382 struct cx18 *cx = fh2id(fh)->cx; in cx18_s_register() local [all …]
|
| D | cx18-gpio.c | 47 static void gpio_write(struct cx18 *cx) in gpio_write() 64 static void gpio_update(struct cx18 *cx, u32 mask, u32 data) in gpio_update() 75 static void gpio_reset_seq(struct cx18 *cx, u32 active_lo, u32 active_hi, in gpio_reset_seq() 105 struct cx18 *cx = v4l2_get_subdevdata(sd); in gpiomux_log_status() local 116 struct cx18 *cx = v4l2_get_subdevdata(sd); in gpiomux_s_radio() local 130 struct cx18 *cx = v4l2_get_subdevdata(sd); in gpiomux_s_std() local 156 struct cx18 *cx = v4l2_get_subdevdata(sd); in gpiomux_s_audio_routing() local 204 struct cx18 *cx = v4l2_get_subdevdata(sd); in resetctrl_log_status() local 215 struct cx18 *cx = v4l2_get_subdevdata(sd); in resetctrl_reset() local 263 void cx18_gpio_init(struct cx18 *cx) in cx18_gpio_init() [all …]
|
| D | cx18-av-core.c | 24 int cx18_av_write(struct cx18 *cx, u16 addr, u8 value) in cx18_av_write() 36 int cx18_av_write_expect(struct cx18 *cx, u16 addr, u8 value, u8 eval, u8 mask) in cx18_av_write_expect() 48 int cx18_av_write4(struct cx18 *cx, u16 addr, u32 value) in cx18_av_write4() 55 cx18_av_write4_expect(struct cx18 *cx, u16 addr, u32 value, u32 eval, u32 mask) in cx18_av_write4_expect() 61 int cx18_av_write4_noretry(struct cx18 *cx, u16 addr, u32 value) in cx18_av_write4_noretry() 67 u8 cx18_av_read(struct cx18 *cx, u16 addr) in cx18_av_read() 75 u32 cx18_av_read4(struct cx18 *cx, u16 addr) in cx18_av_read4() 80 int cx18_av_and_or(struct cx18 *cx, u16 addr, unsigned and_mask, in cx18_av_and_or() 88 int cx18_av_and_or4(struct cx18 *cx, u16 addr, u32 and_mask, in cx18_av_and_or4() 96 static void cx18_av_init(struct cx18 *cx) in cx18_av_init() [all …]
|
| D | cx18-av-audio.c | 22 static int set_audclk_freq(struct cx18 *cx, u32 freq) in set_audclk_freq() 298 void cx18_av_audio_set_path(struct cx18 *cx) in cx18_av_audio_set_path() 340 static void set_volume(struct cx18 *cx, int volume) in set_volume() 356 static void set_bass(struct cx18 *cx, int bass) in set_bass() 362 static void set_treble(struct cx18 *cx, int treble) in set_treble() 368 static void set_balance(struct cx18 *cx, int balance) in set_balance() 384 static void set_mute(struct cx18 *cx, int mute) in set_mute() 413 struct cx18 *cx = v4l2_get_subdevdata(sd); in cx18_av_s_clock_freq() local 440 struct cx18 *cx = v4l2_get_subdevdata(sd); in cx18_av_audio_s_ctrl() local
|
| D | cx18-fileops.c | 41 struct cx18 *cx = id->cx; in cx18_claim_stream() local 100 struct cx18 *cx = s->cx; in cx18_release_stream() local 155 static void cx18_dualwatch(struct cx18 *cx) in cx18_dualwatch() 181 struct cx18 *cx = s->cx; in cx18_get_mdl() local 253 static void cx18_setup_sliced_vbi_mdl(struct cx18 *cx) in cx18_setup_sliced_vbi_mdl() 271 struct cx18 *cx = s->cx; in cx18_copy_buf_to_user() local 417 struct cx18 *cx = s->cx; in cx18_read() local 483 struct cx18 *cx = s->cx; in cx18_read_pos() local 493 struct cx18 *cx = id->cx; in cx18_start_capture() local 584 struct cx18 *cx = id->cx; in cx18_v4l2_read() local [all …]
|
| D | cx18-driver.c | 292 static void cx18_iounmap(struct cx18 *cx) in cx18_iounmap() 305 static void cx18_eeprom_dump(struct cx18 *cx, unsigned char *eedata, int len) in cx18_eeprom_dump() 320 void cx18_read_eeprom(struct cx18 *cx, struct tveeprom *tv) in cx18_read_eeprom() 361 static void cx18_process_eeprom(struct cx18 *cx) in cx18_process_eeprom() 452 static v4l2_std_id cx18_parse_std(struct cx18 *cx) in cx18_parse_std() 534 static void cx18_process_options(struct cx18 *cx) in cx18_process_options() 696 static int cx18_create_in_workq(struct cx18 *cx) in cx18_create_in_workq() 708 static void cx18_init_in_work_orders(struct cx18 *cx) in cx18_init_in_work_orders() 723 static int cx18_init_struct1(struct cx18 *cx) in cx18_init_struct1() 780 static void cx18_init_struct2(struct cx18 *cx) in cx18_init_struct2() [all …]
|
| D | cx18-io.c | 22 void cx18_memset_io(struct cx18 *cx, void __iomem *addr, int val, size_t count) in cx18_memset_io() 53 void cx18_sw1_irq_enable(struct cx18 *cx, u32 val) in cx18_sw1_irq_enable() 60 void cx18_sw1_irq_disable(struct cx18 *cx, u32 val) in cx18_sw1_irq_disable() 66 void cx18_sw2_irq_enable(struct cx18 *cx, u32 val) in cx18_sw2_irq_enable() 73 void cx18_sw2_irq_disable(struct cx18 *cx, u32 val) in cx18_sw2_irq_disable() 79 void cx18_sw2_irq_disable_cpu(struct cx18 *cx, u32 val) in cx18_sw2_irq_disable_cpu() 86 void cx18_setup_page(struct cx18 *cx, u32 addr) in cx18_setup_page()
|
| D | cx18-mailbox.c | 114 static void dump_mb(struct cx18 *cx, struct cx18_mailbox *mb, char *name) in dump_mb() 212 static void cx18_mdl_send_to_alsa(struct cx18 *cx, struct cx18_stream *s, in cx18_mdl_send_to_alsa() 239 static void epu_dma_done(struct cx18 *cx, struct cx18_in_work_order *order) in epu_dma_done() 332 static void epu_debug(struct cx18 *cx, struct cx18_in_work_order *order) in epu_debug() 343 static void epu_cmd(struct cx18 *cx, struct cx18_in_work_order *order) in epu_cmd() 372 void free_in_work_order(struct cx18 *cx, struct cx18_in_work_order *order) in free_in_work_order() 381 struct cx18 *cx = order->cx; in cx18_in_work_handler() local 391 static void mb_ack_irq(struct cx18 *cx, struct cx18_in_work_order *order) in mb_ack_irq() 425 static int epu_dma_done_irq(struct cx18 *cx, struct cx18_in_work_order *order) in epu_dma_done_irq() 453 int epu_debug_irq(struct cx18 *cx, struct cx18_in_work_order *order) in epu_debug_irq() [all …]
|
| D | cx18-streams.c | 119 struct cx18 *cx = s->cx; in cx18_prepare_buffer() local 194 struct cx18 *cx = s->cx; in buffer_setup() local 216 struct cx18 *cx = s->cx; in buffer_prepare() local 250 static void cx18_stream_init(struct cx18 *cx, int type) in cx18_stream_init() 305 static int cx18_prep_dev(struct cx18 *cx, int type) in cx18_prep_dev() 380 int cx18_streams_setup(struct cx18 *cx) in cx18_streams_setup() 404 static int cx18_reg_dev(struct cx18 *cx, int type) in cx18_reg_dev() 471 int cx18_streams_register(struct cx18 *cx) in cx18_streams_register() 493 void cx18_streams_cleanup(struct cx18 *cx, int unregister) in cx18_streams_cleanup() 547 struct cx18 *cx = s->cx; in cx18_vbi_setup() local [all …]
|
| D | cx18-i2c.c | 78 static int cx18_i2c_new_ir(struct cx18 *cx, struct i2c_adapter *adap, u32 hw, in cx18_i2c_new_ir() 104 int cx18_i2c_register(struct cx18 *cx, unsigned idx) in cx18_i2c_register() 145 struct v4l2_subdev *cx18_find_hw(struct cx18 *cx, u32 hw) in cx18_find_hw() 163 struct cx18 *cx = ((struct cx18_i2c_algo_callback_data *)data)->cx; in cx18_setscl() local 176 struct cx18 *cx = ((struct cx18_i2c_algo_callback_data *)data)->cx; in cx18_setsda() local 189 struct cx18 *cx = ((struct cx18_i2c_algo_callback_data *)data)->cx; in cx18_getscl() local 198 struct cx18 *cx = ((struct cx18_i2c_algo_callback_data *)data)->cx; in cx18_getsda() local 226 int init_cx18_i2c(struct cx18 *cx) in init_cx18_i2c() 297 void exit_cx18_i2c(struct cx18 *cx) in exit_cx18_i2c()
|
| D | cx18-controls.c | 30 struct cx18 *cx = container_of(cxhdl, struct cx18, cxhdl); in cx18_s_stream_vbi_fmt() local 86 struct cx18 *cx = container_of(cxhdl, struct cx18, cxhdl); in cx18_s_video_encoding() local 104 struct cx18 *cx = container_of(cxhdl, struct cx18, cxhdl); in cx18_s_audio_sampling_freq() local 115 struct cx18 *cx = container_of(cxhdl, struct cx18, cxhdl); in cx18_s_audio_mode() local
|
| D | cx18-dvb.c | 135 struct cx18 *cx = stream->cx; in yuan_mpc718_mt352_reqfw() local 248 struct cx18 *cx; in cx18_dvb_start_feed() local 319 struct cx18 *cx; in cx18_dvb_stop_feed() local 343 struct cx18 *cx = stream->cx; in cx18_dvb_register() local 435 struct cx18 *cx = stream->cx; in cx18_dvb_unregister() local 467 struct cx18 *cx = stream->cx; in dvb_register() local
|
| /kernel/linux/linux-5.10/drivers/media/pci/cx18/ |
| D | cx18-io.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 *cx, const void __iomem *addr) in cx18_readw() 90 void cx18_writew_noretry(struct cx18 *cx, u16 val, void __iomem *addr) in cx18_writew_noretry() 95 static inline void cx18_writew(struct cx18 *cx, u16 val, void __iomem *addr) in cx18_writew() [all …]
|
| D | cx18-ioctl.c | 138 struct cx18 *cx = id->cx; in cx18_g_fmt_vid_cap() local 161 struct cx18 *cx = fh2id(fh)->cx; in cx18_g_fmt_vbi_cap() local 180 struct cx18 *cx = fh2id(fh)->cx; in cx18_g_fmt_sliced_vbi_cap() local 206 struct cx18 *cx = id->cx; in cx18_try_fmt_vid_cap() local 235 struct cx18 *cx = fh2id(fh)->cx; in cx18_try_fmt_sliced_vbi_cap() local 255 struct cx18 *cx = id->cx; in cx18_s_fmt_vid_cap() local 298 struct cx18 *cx = id->cx; in cx18_s_fmt_vbi_cap() local 328 struct cx18 *cx = id->cx; in cx18_s_fmt_sliced_vbi_cap() local 359 struct cx18 *cx = fh2id(fh)->cx; in cx18_g_register() local 373 struct cx18 *cx = fh2id(fh)->cx; in cx18_s_register() local [all …]
|
| D | cx18-gpio.c | 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() local 107 struct cx18 *cx = v4l2_get_subdevdata(sd); in gpiomux_s_radio() local 121 struct cx18 *cx = v4l2_get_subdevdata(sd); in gpiomux_s_std() local 147 struct cx18 *cx = v4l2_get_subdevdata(sd); in gpiomux_s_audio_routing() local 195 struct cx18 *cx = v4l2_get_subdevdata(sd); in resetctrl_log_status() local 206 struct cx18 *cx = v4l2_get_subdevdata(sd); in resetctrl_reset() local 254 void cx18_gpio_init(struct cx18 *cx) in cx18_gpio_init() [all …]
|
| D | cx18-av-core.c | 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 *cx, u16 addr) in cx18_av_read() 66 u32 cx18_av_read4(struct cx18 *cx, u16 addr) in cx18_av_read4() 71 int cx18_av_and_or(struct cx18 *cx, u16 addr, unsigned and_mask, in cx18_av_and_or() 79 int cx18_av_and_or4(struct cx18 *cx, u16 addr, u32 and_mask, in cx18_av_and_or4() 87 static void cx18_av_init(struct cx18 *cx) in cx18_av_init() [all …]
|
| D | cx18-av-audio.c | 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 *cx = v4l2_get_subdevdata(sd); in cx18_av_s_clock_freq() local 431 struct cx18 *cx = v4l2_get_subdevdata(sd); in cx18_av_audio_s_ctrl() local
|
| D | cx18-fileops.c | 32 struct cx18 *cx = id->cx; in cx18_claim_stream() local 91 struct cx18 *cx = s->cx; in cx18_release_stream() local 146 static void cx18_dualwatch(struct cx18 *cx) in cx18_dualwatch() 172 struct cx18 *cx = s->cx; in cx18_get_mdl() local 244 static void cx18_setup_sliced_vbi_mdl(struct cx18 *cx) in cx18_setup_sliced_vbi_mdl() 262 struct cx18 *cx = s->cx; in cx18_copy_buf_to_user() local 408 struct cx18 *cx = s->cx; in cx18_read() local 474 struct cx18 *cx = s->cx; in cx18_read_pos() local 484 struct cx18 *cx = id->cx; in cx18_start_capture() local 575 struct cx18 *cx = id->cx; in cx18_v4l2_read() local [all …]
|
| D | cx18-driver.c | 283 static void cx18_iounmap(struct cx18 *cx) in cx18_iounmap() 296 static void cx18_eeprom_dump(struct cx18 *cx, unsigned char *eedata, int len) in cx18_eeprom_dump() 311 void cx18_read_eeprom(struct cx18 *cx, struct tveeprom *tv) in cx18_read_eeprom() 352 static void cx18_process_eeprom(struct cx18 *cx) in cx18_process_eeprom() 443 static v4l2_std_id cx18_parse_std(struct cx18 *cx) in cx18_parse_std() 525 static void cx18_process_options(struct cx18 *cx) in cx18_process_options() 687 static int cx18_create_in_workq(struct cx18 *cx) in cx18_create_in_workq() 699 static void cx18_init_in_work_orders(struct cx18 *cx) in cx18_init_in_work_orders() 714 static int cx18_init_struct1(struct cx18 *cx) in cx18_init_struct1() 771 static void cx18_init_struct2(struct cx18 *cx) in cx18_init_struct2() [all …]
|
| D | cx18-io.c | 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 *cx, u32 val) in cx18_sw2_irq_disable_cpu() 77 void cx18_setup_page(struct cx18 *cx, u32 addr) in cx18_setup_page()
|
| D | cx18-mailbox.c | 105 static void dump_mb(struct cx18 *cx, struct cx18_mailbox *mb, char *name) in dump_mb() 203 static void cx18_mdl_send_to_alsa(struct cx18 *cx, struct cx18_stream *s, in cx18_mdl_send_to_alsa() 230 static void epu_dma_done(struct cx18 *cx, struct cx18_in_work_order *order) in epu_dma_done() 323 static void epu_debug(struct cx18 *cx, struct cx18_in_work_order *order) in epu_debug() 334 static void epu_cmd(struct cx18 *cx, struct cx18_in_work_order *order) in epu_cmd() 363 void free_in_work_order(struct cx18 *cx, struct cx18_in_work_order *order) in free_in_work_order() 372 struct cx18 *cx = order->cx; in cx18_in_work_handler() local 382 static void mb_ack_irq(struct cx18 *cx, struct cx18_in_work_order *order) in mb_ack_irq() 416 static int epu_dma_done_irq(struct cx18 *cx, struct cx18_in_work_order *order) in epu_dma_done_irq() 444 int epu_debug_irq(struct cx18 *cx, struct cx18_in_work_order *order) in epu_debug_irq() [all …]
|
| D | cx18-streams.c | 110 struct cx18 *cx = s->cx; in cx18_prepare_buffer() local 185 struct cx18 *cx = s->cx; in buffer_setup() local 207 struct cx18 *cx = s->cx; in buffer_prepare() local 241 static void cx18_stream_init(struct cx18 *cx, int type) in cx18_stream_init() 296 static int cx18_prep_dev(struct cx18 *cx, int type) in cx18_prep_dev() 371 int cx18_streams_setup(struct cx18 *cx) in cx18_streams_setup() 395 static int cx18_reg_dev(struct cx18 *cx, int type) in cx18_reg_dev() 463 int cx18_streams_register(struct cx18 *cx) in cx18_streams_register() 485 void cx18_streams_cleanup(struct cx18 *cx, int unregister) in cx18_streams_cleanup() 539 struct cx18 *cx = s->cx; in cx18_vbi_setup() local [all …]
|
| D | cx18-i2c.c | 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 *cx, u32 hw) in cx18_find_hw() 154 struct cx18 *cx = ((struct cx18_i2c_algo_callback_data *)data)->cx; in cx18_setscl() local 167 struct cx18 *cx = ((struct cx18_i2c_algo_callback_data *)data)->cx; in cx18_setsda() local 180 struct cx18 *cx = ((struct cx18_i2c_algo_callback_data *)data)->cx; in cx18_getscl() local 189 struct cx18 *cx = ((struct cx18_i2c_algo_callback_data *)data)->cx; in cx18_getsda() local 217 int init_cx18_i2c(struct cx18 *cx) in init_cx18_i2c() 288 void exit_cx18_i2c(struct cx18 *cx) in exit_cx18_i2c()
|
| D | cx18-controls.c | 21 struct cx18 *cx = container_of(cxhdl, struct cx18, cxhdl); in cx18_s_stream_vbi_fmt() local 77 struct cx18 *cx = container_of(cxhdl, struct cx18, cxhdl); in cx18_s_video_encoding() local 95 struct cx18 *cx = container_of(cxhdl, struct cx18, cxhdl); in cx18_s_audio_sampling_freq() local 106 struct cx18 *cx = container_of(cxhdl, struct cx18, cxhdl); in cx18_s_audio_mode() local
|