/kernel/linux/linux-5.10/drivers/media/pci/cx18/ |
H A D | cx18-scb.c | 13 void cx18_init_scb(struct cx18 *cx) in cx18_init_scb() argument 15 cx18_setup_page(cx, SCB_OFFSET); in cx18_init_scb() 16 cx18_memset_io(cx, cx->scb, 0, 0x10000); in cx18_init_scb() 18 cx18_writel(cx, IRQ_APU_TO_CPU, &cx->scb->apu2cpu_irq); in cx18_init_scb() 19 cx18_writel(cx, IRQ_CPU_TO_APU_ACK, &cx->scb->cpu2apu_irq_ack); in cx18_init_scb() 20 cx18_writel(cx, IRQ_HPU_TO_CPU, &cx in cx18_init_scb() [all...] |
H A D | cx18-driver.c | 283 static void cx18_iounmap(struct cx18 *cx) in cx18_iounmap() argument 285 if (!cx) in cx18_iounmap() 289 if (cx->enc_mem) { in cx18_iounmap() 291 iounmap(cx->enc_mem); in cx18_iounmap() 292 cx->enc_mem = NULL; in cx18_iounmap() 296 static void cx18_eeprom_dump(struct cx18 *cx, unsigned char *eedata, int len) in cx18_eeprom_dump() argument 311 void cx18_read_eeprom(struct cx18 *cx, struct tveeprom *tv) in cx18_read_eeprom() argument 323 c->adapter = &cx->i2c_adap[0]; in cx18_read_eeprom() 329 switch (cx->card->type) { in cx18_read_eeprom() 338 cx18_eeprom_dump(cx, eedat in cx18_read_eeprom() 352 cx18_process_eeprom(struct cx18 *cx) cx18_process_eeprom() argument 443 cx18_parse_std(struct cx18 *cx) cx18_parse_std() argument 525 cx18_process_options(struct cx18 *cx) cx18_process_options() argument 687 cx18_create_in_workq(struct cx18 *cx) cx18_create_in_workq() argument 699 cx18_init_in_work_orders(struct cx18 *cx) cx18_init_in_work_orders() argument 714 cx18_init_struct1(struct cx18 *cx) cx18_init_struct1() argument 771 cx18_init_struct2(struct cx18 *cx) cx18_init_struct2() argument 796 cx18_setup_pci(struct cx18 *cx, struct pci_dev *pci_dev, const struct pci_device_id *pci_id) cx18_setup_pci() argument 841 cx18_init_subdevs(struct cx18 *cx) cx18_init_subdevs() argument 893 struct cx18 *cx; cx18_probe() local 1135 cx18_init_on_first_open(struct cx18 *cx) cx18_init_on_first_open() argument 1235 cx18_cancel_in_work_orders(struct cx18 *cx) cx18_cancel_in_work_orders() argument 1242 cx18_cancel_out_work_orders(struct cx18 *cx) cx18_cancel_out_work_orders() argument 1253 struct cx18 *cx = to_cx18(v4l2_dev); cx18_remove() local [all...] |
H A D | cx18-av-audio.c | 13 static int set_audclk_freq(struct cx18 *cx, u32 freq) in set_audclk_freq() argument 15 struct cx18_av_state *state = &cx->av_state; in set_audclk_freq() 63 cx18_av_write4(cx, 0x108, 0x200d040f); in set_audclk_freq() 67 cx18_av_write4(cx, 0x10c, 0x002be2fe); in set_audclk_freq() 71 cx18_av_write4(cx, 0x110, 0x0176740c); in set_audclk_freq() 75 cx18_av_write4(cx, 0x900, 0x0801f77f); in set_audclk_freq() 76 cx18_av_write4(cx, 0x904, 0x0801f77f); in set_audclk_freq() 77 cx18_av_write4(cx, 0x90c, 0x0801f77f); in set_audclk_freq() 80 cx18_av_write(cx, 0x127, 0x60); in set_audclk_freq() 83 cx18_av_write4(cx, in set_audclk_freq() 289 cx18_av_audio_set_path(struct cx18 *cx) cx18_av_audio_set_path() argument 331 set_volume(struct cx18 *cx, int volume) set_volume() argument 347 set_bass(struct cx18 *cx, int bass) set_bass() argument 353 set_treble(struct cx18 *cx, int treble) set_treble() argument 359 set_balance(struct cx18 *cx, int balance) set_balance() argument 375 set_mute(struct cx18 *cx, int mute) set_mute() argument 404 struct cx18 *cx = v4l2_get_subdevdata(sd); cx18_av_s_clock_freq() local 431 struct cx18 *cx = v4l2_get_subdevdata(sd); cx18_av_audio_s_ctrl() local [all...] |
H A D | cx18-gpio.c | 38 static void gpio_write(struct cx18 *cx) in gpio_write() argument 40 u32 dir_lo = cx->gpio_dir & 0xffff; in gpio_write() 41 u32 val_lo = cx->gpio_val & 0xffff; in gpio_write() 42 u32 dir_hi = cx->gpio_dir >> 16; in gpio_write() 43 u32 val_hi = cx->gpio_val >> 16; in gpio_write() 45 cx18_write_reg_expect(cx, dir_lo << 16, in gpio_write() 47 cx18_write_reg_expect(cx, (dir_lo << 16) | val_lo, in gpio_write() 49 cx18_write_reg_expect(cx, dir_hi << 16, in gpio_write() 51 cx18_write_reg_expect(cx, (dir_hi << 16) | val_hi, in gpio_write() 55 static void gpio_update(struct cx18 *cx, u3 argument 66 gpio_reset_seq(struct cx18 *cx, u32 active_lo, u32 active_hi, unsigned int assert_msecs, unsigned int recovery_msecs) gpio_reset_seq() argument 96 struct cx18 *cx = v4l2_get_subdevdata(sd); gpiomux_log_status() local 107 struct cx18 *cx = v4l2_get_subdevdata(sd); gpiomux_s_radio() local 121 struct cx18 *cx = v4l2_get_subdevdata(sd); gpiomux_s_std() local 147 struct cx18 *cx = v4l2_get_subdevdata(sd); gpiomux_s_audio_routing() local 195 struct cx18 *cx = v4l2_get_subdevdata(sd); resetctrl_log_status() local 206 struct cx18 *cx = v4l2_get_subdevdata(sd); resetctrl_reset() local 254 cx18_gpio_init(struct cx18 *cx) cx18_gpio_init() argument 280 cx18_gpio_register(struct cx18 *cx, u32 hw) cx18_gpio_register() argument 310 struct cx18 *cx = to_cx18((struct v4l2_device *)data); cx18_reset_ir_gpio() local 328 struct cx18 *cx = cb_data->cx; cx18_reset_tuner_gpio() local [all...] |
H A D | cx18-io.h | 24 static inline u32 cx18_raw_readl(struct cx18 *cx, const void __iomem *addr) in cx18_raw_readl() argument 30 void cx18_raw_writel_noretry(struct cx18 *cx, u32 val, void __iomem *addr) in cx18_raw_writel_noretry() argument 35 static inline void cx18_raw_writel(struct cx18 *cx, u32 val, void __iomem *addr) in cx18_raw_writel() argument 39 cx18_raw_writel_noretry(cx, val, addr); in cx18_raw_writel() 40 if (val == cx18_raw_readl(cx, addr)) in cx18_raw_writel() 46 static inline u32 cx18_readl(struct cx18 *cx, const void __iomem *addr) in cx18_readl() argument 52 void cx18_writel_noretry(struct cx18 *cx, u32 val, void __iomem *addr) in cx18_writel_noretry() argument 57 static inline void cx18_writel(struct cx18 *cx, u32 val, void __iomem *addr) in cx18_writel() argument 61 cx18_writel_noretry(cx, val, addr); in cx18_writel() 62 if (val == cx18_readl(cx, add in cx18_writel() 68 cx18_writel_expect(struct cx18 *cx, u32 val, void __iomem *addr, u32 eval, u32 mask) cx18_writel_expect() argument 84 cx18_readw(struct cx18 *cx, const void __iomem *addr) cx18_readw() argument 90 cx18_writew_noretry(struct cx18 *cx, u16 val, void __iomem *addr) cx18_writew_noretry() argument 95 cx18_writew(struct cx18 *cx, u16 val, void __iomem *addr) cx18_writew() argument 105 cx18_readb(struct cx18 *cx, const void __iomem *addr) cx18_readb() argument 111 cx18_writeb_noretry(struct cx18 *cx, u8 val, void __iomem *addr) cx18_writeb_noretry() argument 116 cx18_writeb(struct cx18 *cx, u8 val, void __iomem *addr) cx18_writeb() argument 127 cx18_memcpy_fromio(struct cx18 *cx, void *to, const void __iomem *from, unsigned int len) cx18_memcpy_fromio() argument 137 cx18_write_reg_noretry(struct cx18 *cx, u32 val, u32 reg) cx18_write_reg_noretry() argument 142 cx18_write_reg(struct cx18 *cx, u32 val, u32 reg) cx18_write_reg() argument 147 cx18_write_reg_expect(struct cx18 *cx, u32 val, u32 reg, u32 eval, u32 mask) cx18_write_reg_expect() argument 153 cx18_read_reg(struct cx18 *cx, u32 reg) cx18_read_reg() argument 160 cx18_write_enc(struct cx18 *cx, u32 val, u32 addr) cx18_write_enc() argument 165 cx18_read_enc(struct cx18 *cx, u32 addr) cx18_read_enc() argument [all...] |
H A 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() argument 73 struct IR_i2c_init_data *init_data = &cx->ir_i2c_init_data; in cx18_i2c_new_ir() 86 init_data->name = cx->card_name; in cx18_i2c_new_ir() 95 int cx18_i2c_register(struct cx18 *cx, unsigned idx) in cx18_i2c_register() argument 99 struct i2c_adapter *adap = &cx->i2c_adap[bus]; in cx18_i2c_register() 105 sd = v4l2_i2c_new_subdev(&cx->v4l2_dev, in cx18_i2c_register() 106 adap, type, 0, cx->card_i2c->radio); in cx18_i2c_register() 109 sd = v4l2_i2c_new_subdev(&cx->v4l2_dev, in cx18_i2c_register() 110 adap, type, 0, cx->card_i2c->demod); in cx18_i2c_register() 113 sd = v4l2_i2c_new_subdev(&cx in cx18_i2c_register() 136 cx18_find_hw(struct cx18 *cx, u32 hw) cx18_find_hw() argument 154 struct cx18 *cx = ((struct cx18_i2c_algo_callback_data *)data)->cx; cx18_setscl() local 167 struct cx18 *cx = ((struct cx18_i2c_algo_callback_data *)data)->cx; cx18_setsda() local 180 struct cx18 *cx = ((struct cx18_i2c_algo_callback_data *)data)->cx; cx18_getscl() local 189 struct cx18 *cx = ((struct cx18_i2c_algo_callback_data *)data)->cx; cx18_getsda() local 217 init_cx18_i2c(struct cx18 *cx) init_cx18_i2c() argument 288 exit_cx18_i2c(struct cx18 *cx) exit_cx18_i2c() argument [all...] |
H A D | cx18-streams.c | 110 struct cx18 *cx = s->cx; in cx18_prepare_buffer() local 126 buf->tvnorm != cx->std) { in cx18_prepare_buffer() 131 buf->tvnorm = cx->std; in cx18_prepare_buffer() 153 buf->tvnorm = cx->std; in cx18_prepare_buffer() 185 struct cx18 *cx = s->cx; in buffer_setup() local 187 *size = 2 * cx->cxhdl.width * cx->cxhdl.height; in buffer_setup() 207 struct cx18 *cx in buffer_prepare() local 241 cx18_stream_init(struct cx18 *cx, int type) cx18_stream_init() argument 296 cx18_prep_dev(struct cx18 *cx, int type) cx18_prep_dev() argument 371 cx18_streams_setup(struct cx18 *cx) cx18_streams_setup() argument 395 cx18_reg_dev(struct cx18 *cx, int type) cx18_reg_dev() argument 463 cx18_streams_register(struct cx18 *cx) cx18_streams_register() argument 485 cx18_streams_cleanup(struct cx18 *cx, int unregister) cx18_streams_cleanup() argument 539 struct cx18 *cx = s->cx; cx18_vbi_setup() local 647 cx18_stream_rotate_idx_mdls(struct cx18 *cx) cx18_stream_rotate_idx_mdls() argument 677 struct cx18 *cx = s->cx; _cx18_stream_put_mdl_fw() local 772 struct cx18 *cx = s->cx; cx18_start_v4l2_encode_stream() local 946 cx18_stop_all_captures(struct cx18 *cx) cx18_stop_all_captures() argument 962 struct cx18 *cx = s->cx; cx18_stop_v4l2_encode_stream() local 1010 cx18_find_handle(struct cx18 *cx) cx18_find_handle() argument 1024 cx18_handle_to_stream(struct cx18 *cx, u32 handle) cx18_handle_to_stream() argument [all...] |
H A D | cx18-ioctl.c | 138 struct cx18 *cx = id->cx; in cx18_g_fmt_vid_cap() local 139 struct cx18_stream *s = &cx->streams[id->type]; in cx18_g_fmt_vid_cap() 142 pixfmt->width = cx->cxhdl.width; in cx18_g_fmt_vid_cap() 143 pixfmt->height = cx->cxhdl.height; in cx18_g_fmt_vid_cap() 161 struct cx18 *cx = fh2id(fh)->cx; in cx18_g_fmt_vbi_cap() local 168 vbifmt->start[0] = cx->vbi.start[0]; in cx18_g_fmt_vbi_cap() 169 vbifmt->start[1] = cx->vbi.start[1]; in cx18_g_fmt_vbi_cap() 170 vbifmt->count[0] = vbifmt->count[1] = cx in cx18_g_fmt_vbi_cap() 180 struct cx18 *cx = fh2id(fh)->cx; cx18_g_fmt_sliced_vbi_cap() local 206 struct cx18 *cx = id->cx; cx18_try_fmt_vid_cap() local 235 struct cx18 *cx = fh2id(fh)->cx; cx18_try_fmt_sliced_vbi_cap() local 255 struct cx18 *cx = id->cx; cx18_s_fmt_vid_cap() local 298 struct cx18 *cx = id->cx; cx18_s_fmt_vbi_cap() local 328 struct cx18 *cx = id->cx; cx18_s_fmt_sliced_vbi_cap() local 359 struct cx18 *cx = fh2id(fh)->cx; cx18_g_register() local 373 struct cx18 *cx = fh2id(fh)->cx; cx18_s_register() local 388 struct cx18 *cx = id->cx; cx18_querycap() local 400 struct cx18 *cx = fh2id(fh)->cx; cx18_enumaudio() local 407 struct cx18 *cx = fh2id(fh)->cx; cx18_g_audio() local 415 struct cx18 *cx = fh2id(fh)->cx; cx18_s_audio() local 426 struct cx18 *cx = fh2id(fh)->cx; cx18_enum_input() local 435 struct cx18 *cx = fh2id(fh)->cx; cx18_g_pixelaspect() local 448 struct cx18 *cx = fh2id(fh)->cx; cx18_g_selection() local 498 struct cx18 *cx = fh2id(fh)->cx; cx18_g_input() local 507 struct cx18 *cx = id->cx; cx18_s_input() local 544 struct cx18 *cx = fh2id(fh)->cx; cx18_g_frequency() local 556 struct cx18 *cx = id->cx; cx18_s_frequency() local 570 struct cx18 *cx = fh2id(fh)->cx; cx18_g_std() local 579 struct cx18 *cx = id->cx; cx18_s_std() local 615 struct cx18 *cx = id->cx; cx18_s_tuner() local 626 struct cx18 *cx = fh2id(fh)->cx; cx18_g_tuner() local 643 struct cx18 *cx = fh2id(fh)->cx; cx18_g_sliced_vbi_cap() local 764 struct cx18 *cx = fh2id(fh)->cx; cx18_g_enc_index() local 811 struct cx18 *cx = id->cx; cx18_vb_queue() local 830 struct cx18 *cx = id->cx; cx18_streamon() local 851 struct cx18 *cx = id->cx; cx18_streamoff() local 869 struct cx18 *cx = id->cx; cx18_reqbufs() local 883 struct cx18 *cx = id->cx; cx18_querybuf() local 896 struct cx18 *cx = id->cx; cx18_qbuf() local 909 struct cx18 *cx = id->cx; cx18_dqbuf() local 923 struct cx18 *cx = id->cx; cx18_encoder_cmd() local 981 struct cx18 *cx = fh2id(fh)->cx; cx18_try_encoder_cmd() local 1013 struct cx18 *cx = fh2id(fh)->cx; cx18_log_status() local 1057 struct cx18 *cx = fh2id(fh)->cx; cx18_default() local [all...] |
H A D | cx18-firmware.c | 87 static int load_cpu_fw_direct(const char *fn, u8 __iomem *mem, struct cx18 *cx) in load_cpu_fw_direct() argument 95 if (request_firmware(&fw, fn, &cx->pci_dev->dev)) { in load_cpu_fw_direct() 104 cx18_setup_page(cx, i); in load_cpu_fw_direct() 107 cx18_raw_writel(cx, *src, dst); in load_cpu_fw_direct() 108 if (cx18_raw_readl(cx, dst) != *src) { in load_cpu_fw_direct() 111 cx18_setup_page(cx, 0); in load_cpu_fw_direct() 118 if (!test_bit(CX18_F_I_LOADED_FW, &cx->i_flags)) in load_cpu_fw_direct() 122 cx18_setup_page(cx, SCB_OFFSET); in load_cpu_fw_direct() 126 static int load_apu_fw_direct(const char *fn, u8 __iomem *dst, struct cx18 *cx, in load_apu_fw_direct() argument 139 if (request_firmware(&fw, fn, &cx in load_apu_fw_direct() 199 cx18_halt_firmware(struct cx18 *cx) cx18_halt_firmware() argument 208 cx18_init_power(struct cx18 *cx, int lowpwr) cx18_init_power() argument 317 cx18_init_memory(struct cx18 *cx) cx18_init_memory() argument 368 cx18_firmware_init(struct cx18 *cx) cx18_firmware_init() argument [all...] |
H A D | cx18-io.c | 13 void cx18_memset_io(struct cx18 *cx, void __iomem *addr, int val, size_t count) in cx18_memset_io() argument 21 cx18_writeb(cx, (u8) val, dst); in cx18_memset_io() 26 cx18_writew(cx, val2, dst); in cx18_memset_io() 31 cx18_writel(cx, val4, dst); in cx18_memset_io() 36 cx18_writew(cx, val2, dst); in cx18_memset_io() 41 cx18_writeb(cx, (u8) val, dst); in cx18_memset_io() 44 void cx18_sw1_irq_enable(struct cx18 *cx, u32 val) in cx18_sw1_irq_enable() argument 46 cx18_write_reg_expect(cx, val, SW1_INT_STATUS, ~val, val); in cx18_sw1_irq_enable() 47 cx->sw1_irq_mask = cx18_read_reg(cx, SW1_INT_ENABLE_PC in cx18_sw1_irq_enable() 51 cx18_sw1_irq_disable(struct cx18 *cx, u32 val) cx18_sw1_irq_disable() argument 57 cx18_sw2_irq_enable(struct cx18 *cx, u32 val) cx18_sw2_irq_enable() argument 64 cx18_sw2_irq_disable(struct cx18 *cx, u32 val) cx18_sw2_irq_disable() argument 70 cx18_sw2_irq_disable_cpu(struct cx18 *cx, u32 val) cx18_sw2_irq_disable_cpu() argument 77 cx18_setup_page(struct cx18 *cx, u32 addr) cx18_setup_page() argument [all...] |
H A D | cx18-av-core.c | 15 int cx18_av_write(struct cx18 *cx, u16 addr, u8 value) in cx18_av_write() argument 20 u32 x = cx18_read_reg(cx, reg); in cx18_av_write() 23 cx18_write_reg(cx, x, reg); 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() argument 31 u32 x = cx18_read_reg(cx, reg); in cx18_av_write_expect() 34 cx18_write_reg_expect(cx, x, reg, in cx18_av_write_expect() 39 int cx18_av_write4(struct cx18 *cx, u16 addr, u32 value) in cx18_av_write4() argument 41 cx18_write_reg(cx, value, 0xc40000 + addr); 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() argument 48 cx18_write_reg_expect(cx, valu in cx18_av_write4_expect() 52 cx18_av_write4_noretry(struct cx18 *cx, u16 addr, u32 value) cx18_av_write4_noretry() argument 58 cx18_av_read(struct cx18 *cx, u16 addr) cx18_av_read() argument 66 cx18_av_read4(struct cx18 *cx, u16 addr) cx18_av_read4() argument 71 cx18_av_and_or(struct cx18 *cx, u16 addr, unsigned and_mask, u8 or_value) cx18_av_and_or() argument 79 cx18_av_and_or4(struct cx18 *cx, u16 addr, u32 and_mask, u32 or_value) cx18_av_and_or4() argument 87 cx18_av_init(struct cx18 *cx) cx18_av_init() argument 116 struct cx18 *cx = v4l2_get_subdevdata(sd); cx18_av_initialize() local 273 cx18_av_std_setup(struct cx18 *cx) cx18_av_std_setup() argument 516 input_change(struct cx18 *cx) input_change() argument 564 struct cx18 *cx = v4l2_get_subdevdata(sd); cx18_av_s_frequency() local 569 set_input(struct cx18 *cx, enum cx18_av_video_input vid_input, enum cx18_av_audio_input aud_input) set_input() argument 746 struct cx18 *cx = v4l2_get_subdevdata(sd); cx18_av_s_video_routing() local 754 struct cx18 *cx = v4l2_get_subdevdata(sd); cx18_av_s_audio_routing() local 761 struct cx18 *cx = v4l2_get_subdevdata(sd); cx18_av_g_tuner() local 798 struct cx18 *cx = v4l2_get_subdevdata(sd); cx18_av_s_tuner() local 843 struct cx18 *cx = v4l2_get_subdevdata(sd); cx18_av_s_std() local 906 struct cx18 *cx = v4l2_get_subdevdata(sd); cx18_av_s_ctrl() local 938 struct cx18 *cx = v4l2_get_subdevdata(sd); cx18_av_set_fmt() local 1011 struct cx18 *cx = v4l2_get_subdevdata(sd); cx18_av_s_stream() local 1024 log_video_status(struct cx18 *cx) log_video_status() argument 1065 log_audio_status(struct cx18 *cx) log_audio_status() argument 1216 struct cx18 *cx = v4l2_get_subdevdata(sd); cx18_av_log_status() local 1226 struct cx18 *cx = v4l2_get_subdevdata(sd); cx18_av_g_register() local 1238 struct cx18 *cx = v4l2_get_subdevdata(sd); cx18_av_s_register() local 1299 cx18_av_probe(struct cx18 *cx) cx18_av_probe() argument [all...] |
H A D | cx18-fileops.c | 32 struct cx18 *cx = id->cx; in cx18_claim_stream() local 33 struct cx18_stream *s = &cx->streams[type]; in cx18_claim_stream() 73 s_assoc = &cx->streams[CX18_ENC_STREAM_TYPE_IDX]; in cx18_claim_stream() 74 if (cx->vbi.insert_mpeg && !cx18_raw_vbi(cx)) in cx18_claim_stream() 75 s_assoc = &cx->streams[CX18_ENC_STREAM_TYPE_VBI]; in cx18_claim_stream() 91 struct cx18 *cx = s->cx; in cx18_release_stream() local 125 s_assoc = &cx in cx18_release_stream() 146 cx18_dualwatch(struct cx18 *cx) cx18_dualwatch() argument 172 struct cx18 *cx = s->cx; cx18_get_mdl() local 244 cx18_setup_sliced_vbi_mdl(struct cx18 *cx) cx18_setup_sliced_vbi_mdl() argument 262 struct cx18 *cx = s->cx; cx18_copy_buf_to_user() local 408 struct cx18 *cx = s->cx; cx18_read() local 474 struct cx18 *cx = s->cx; cx18_read_pos() local 484 struct cx18 *cx = id->cx; cx18_start_capture() local 575 struct cx18 *cx = id->cx; cx18_v4l2_read() local 600 struct cx18 *cx = id->cx; cx18_v4l2_enc_poll() local 649 struct cx18 *cx = id->cx; cx18_v4l2_mmap() local 700 struct cx18 *cx = id->cx; cx18_stop_capture() local 742 struct cx18 *cx = id->cx; cx18_v4l2_close() local 782 struct cx18 *cx = s->cx; cx18_serialized_open() local 834 struct cx18 *cx = s->cx; cx18_v4l2_open() local 848 cx18_mute(struct cx18 *cx) cx18_mute() argument 861 cx18_unmute(struct cx18 *cx) cx18_unmute() argument [all...] |
H A D | cx18-av-firmware.c | 22 static int cx18_av_verifyfw(struct cx18 *cx, const struct firmware *fw) in cx18_av_verifyfw() argument 24 struct v4l2_subdev *sd = &cx->av_state.sd; in cx18_av_verifyfw() 32 dl_control = cx18_av_read4(cx, CXADEC_DL_CTL); in cx18_av_verifyfw() 36 cx18_av_write4_noretry(cx, CXADEC_DL_CTL, dl_control); in cx18_av_verifyfw() 37 dl_control = cx18_av_read4(cx, CXADEC_DL_CTL); in cx18_av_verifyfw() 42 dl_control = cx18_av_read4(cx, CXADEC_DL_CTL); in cx18_av_verifyfw() 55 dl_control = cx18_av_read4(cx, CXADEC_DL_CTL); in cx18_av_verifyfw() 63 int cx18_av_loadfw(struct cx18 *cx) in cx18_av_loadfw() argument 65 struct v4l2_subdev *sd = &cx->av_state.sd; in cx18_av_loadfw() 73 if (request_firmware(&fw, FWFILE, &cx in cx18_av_loadfw() [all...] |
/kernel/linux/linux-6.6/drivers/media/pci/cx18/ |
H A D | cx18-scb.c | 13 void cx18_init_scb(struct cx18 *cx) in cx18_init_scb() argument 15 cx18_setup_page(cx, SCB_OFFSET); in cx18_init_scb() 16 cx18_memset_io(cx, cx->scb, 0, 0x10000); in cx18_init_scb() 18 cx18_writel(cx, IRQ_APU_TO_CPU, &cx->scb->apu2cpu_irq); in cx18_init_scb() 19 cx18_writel(cx, IRQ_CPU_TO_APU_ACK, &cx->scb->cpu2apu_irq_ack); in cx18_init_scb() 20 cx18_writel(cx, IRQ_HPU_TO_CPU, &cx in cx18_init_scb() [all...] |
H A D | cx18-driver.c | 282 static void cx18_iounmap(struct cx18 *cx) in cx18_iounmap() argument 284 if (!cx) in cx18_iounmap() 288 if (cx->enc_mem) { in cx18_iounmap() 290 iounmap(cx->enc_mem); in cx18_iounmap() 291 cx->enc_mem = NULL; in cx18_iounmap() 295 static void cx18_eeprom_dump(struct cx18 *cx, unsigned char *eedata, int len) in cx18_eeprom_dump() argument 310 void cx18_read_eeprom(struct cx18 *cx, struct tveeprom *tv) in cx18_read_eeprom() argument 322 c->adapter = &cx->i2c_adap[0]; in cx18_read_eeprom() 328 switch (cx->card->type) { in cx18_read_eeprom() 337 cx18_eeprom_dump(cx, eedat in cx18_read_eeprom() 351 cx18_process_eeprom(struct cx18 *cx) cx18_process_eeprom() argument 442 cx18_parse_std(struct cx18 *cx) cx18_parse_std() argument 524 cx18_process_options(struct cx18 *cx) cx18_process_options() argument 686 cx18_create_in_workq(struct cx18 *cx) cx18_create_in_workq() argument 698 cx18_init_in_work_orders(struct cx18 *cx) cx18_init_in_work_orders() argument 713 cx18_init_struct1(struct cx18 *cx) cx18_init_struct1() argument 770 cx18_init_struct2(struct cx18 *cx) cx18_init_struct2() argument 795 cx18_setup_pci(struct cx18 *cx, struct pci_dev *pci_dev, const struct pci_device_id *pci_id) cx18_setup_pci() argument 840 cx18_init_subdevs(struct cx18 *cx) cx18_init_subdevs() argument 892 struct cx18 *cx; cx18_probe() local 1134 cx18_init_on_first_open(struct cx18 *cx) cx18_init_on_first_open() argument 1234 cx18_cancel_in_work_orders(struct cx18 *cx) cx18_cancel_in_work_orders() argument 1241 cx18_cancel_out_work_orders(struct cx18 *cx) cx18_cancel_out_work_orders() argument 1252 struct cx18 *cx = to_cx18(v4l2_dev); cx18_remove() local [all...] |
H A D | cx18-av-audio.c | 13 static int set_audclk_freq(struct cx18 *cx, u32 freq) in set_audclk_freq() argument 15 struct cx18_av_state *state = &cx->av_state; in set_audclk_freq() 63 cx18_av_write4(cx, 0x108, 0x200d040f); in set_audclk_freq() 67 cx18_av_write4(cx, 0x10c, 0x002be2fe); in set_audclk_freq() 71 cx18_av_write4(cx, 0x110, 0x0176740c); in set_audclk_freq() 75 cx18_av_write4(cx, 0x900, 0x0801f77f); in set_audclk_freq() 76 cx18_av_write4(cx, 0x904, 0x0801f77f); in set_audclk_freq() 77 cx18_av_write4(cx, 0x90c, 0x0801f77f); in set_audclk_freq() 80 cx18_av_write(cx, 0x127, 0x60); in set_audclk_freq() 83 cx18_av_write4(cx, in set_audclk_freq() 289 cx18_av_audio_set_path(struct cx18 *cx) cx18_av_audio_set_path() argument 331 set_volume(struct cx18 *cx, int volume) set_volume() argument 347 set_bass(struct cx18 *cx, int bass) set_bass() argument 353 set_treble(struct cx18 *cx, int treble) set_treble() argument 359 set_balance(struct cx18 *cx, int balance) set_balance() argument 375 set_mute(struct cx18 *cx, int mute) set_mute() argument 404 struct cx18 *cx = v4l2_get_subdevdata(sd); cx18_av_s_clock_freq() local 431 struct cx18 *cx = v4l2_get_subdevdata(sd); cx18_av_audio_s_ctrl() local [all...] |
H A D | cx18-gpio.c | 38 static void gpio_write(struct cx18 *cx) in gpio_write() argument 40 u32 dir_lo = cx->gpio_dir & 0xffff; in gpio_write() 41 u32 val_lo = cx->gpio_val & 0xffff; in gpio_write() 42 u32 dir_hi = cx->gpio_dir >> 16; in gpio_write() 43 u32 val_hi = cx->gpio_val >> 16; in gpio_write() 45 cx18_write_reg_expect(cx, dir_lo << 16, in gpio_write() 47 cx18_write_reg_expect(cx, (dir_lo << 16) | val_lo, in gpio_write() 49 cx18_write_reg_expect(cx, dir_hi << 16, in gpio_write() 51 cx18_write_reg_expect(cx, (dir_hi << 16) | val_hi, in gpio_write() 55 static void gpio_update(struct cx18 *cx, u3 argument 66 gpio_reset_seq(struct cx18 *cx, u32 active_lo, u32 active_hi, unsigned int assert_msecs, unsigned int recovery_msecs) gpio_reset_seq() argument 96 struct cx18 *cx = v4l2_get_subdevdata(sd); gpiomux_log_status() local 107 struct cx18 *cx = v4l2_get_subdevdata(sd); gpiomux_s_radio() local 121 struct cx18 *cx = v4l2_get_subdevdata(sd); gpiomux_s_std() local 147 struct cx18 *cx = v4l2_get_subdevdata(sd); gpiomux_s_audio_routing() local 195 struct cx18 *cx = v4l2_get_subdevdata(sd); resetctrl_log_status() local 206 struct cx18 *cx = v4l2_get_subdevdata(sd); resetctrl_reset() local 254 cx18_gpio_init(struct cx18 *cx) cx18_gpio_init() argument 280 cx18_gpio_register(struct cx18 *cx, u32 hw) cx18_gpio_register() argument 310 struct cx18 *cx = to_cx18(data); cx18_reset_ir_gpio() local 328 struct cx18 *cx = cb_data->cx; cx18_reset_tuner_gpio() local [all...] |
H A D | cx18-io.h | 24 static inline u32 cx18_raw_readl(struct cx18 *cx, const void __iomem *addr) in cx18_raw_readl() argument 30 void cx18_raw_writel_noretry(struct cx18 *cx, u32 val, void __iomem *addr) in cx18_raw_writel_noretry() argument 35 static inline void cx18_raw_writel(struct cx18 *cx, u32 val, void __iomem *addr) in cx18_raw_writel() argument 39 cx18_raw_writel_noretry(cx, val, addr); in cx18_raw_writel() 40 if (val == cx18_raw_readl(cx, addr)) in cx18_raw_writel() 46 static inline u32 cx18_readl(struct cx18 *cx, const void __iomem *addr) in cx18_readl() argument 52 void cx18_writel_noretry(struct cx18 *cx, u32 val, void __iomem *addr) in cx18_writel_noretry() argument 57 static inline void cx18_writel(struct cx18 *cx, u32 val, void __iomem *addr) in cx18_writel() argument 61 cx18_writel_noretry(cx, val, addr); in cx18_writel() 62 if (val == cx18_readl(cx, add in cx18_writel() 68 cx18_writel_expect(struct cx18 *cx, u32 val, void __iomem *addr, u32 eval, u32 mask) cx18_writel_expect() argument 84 cx18_readw(struct cx18 *cx, const void __iomem *addr) cx18_readw() argument 90 cx18_writew_noretry(struct cx18 *cx, u16 val, void __iomem *addr) cx18_writew_noretry() argument 95 cx18_writew(struct cx18 *cx, u16 val, void __iomem *addr) cx18_writew() argument 105 cx18_readb(struct cx18 *cx, const void __iomem *addr) cx18_readb() argument 111 cx18_writeb_noretry(struct cx18 *cx, u8 val, void __iomem *addr) cx18_writeb_noretry() argument 116 cx18_writeb(struct cx18 *cx, u8 val, void __iomem *addr) cx18_writeb() argument 127 cx18_memcpy_fromio(struct cx18 *cx, void *to, const void __iomem *from, unsigned int len) cx18_memcpy_fromio() argument 137 cx18_write_reg_noretry(struct cx18 *cx, u32 val, u32 reg) cx18_write_reg_noretry() argument 142 cx18_write_reg(struct cx18 *cx, u32 val, u32 reg) cx18_write_reg() argument 147 cx18_write_reg_expect(struct cx18 *cx, u32 val, u32 reg, u32 eval, u32 mask) cx18_write_reg_expect() argument 153 cx18_read_reg(struct cx18 *cx, u32 reg) cx18_read_reg() argument 160 cx18_write_enc(struct cx18 *cx, u32 val, u32 addr) cx18_write_enc() argument 165 cx18_read_enc(struct cx18 *cx, u32 addr) cx18_read_enc() argument [all...] |
H A 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() argument 73 struct IR_i2c_init_data *init_data = &cx->ir_i2c_init_data; in cx18_i2c_new_ir() 86 init_data->name = cx->card_name; in cx18_i2c_new_ir() 95 int cx18_i2c_register(struct cx18 *cx, unsigned idx) in cx18_i2c_register() argument 99 struct i2c_adapter *adap = &cx->i2c_adap[bus]; in cx18_i2c_register() 105 sd = v4l2_i2c_new_subdev(&cx->v4l2_dev, in cx18_i2c_register() 106 adap, type, 0, cx->card_i2c->radio); in cx18_i2c_register() 109 sd = v4l2_i2c_new_subdev(&cx->v4l2_dev, in cx18_i2c_register() 110 adap, type, 0, cx->card_i2c->demod); in cx18_i2c_register() 113 sd = v4l2_i2c_new_subdev(&cx in cx18_i2c_register() 136 cx18_find_hw(struct cx18 *cx, u32 hw) cx18_find_hw() argument 154 struct cx18 *cx = ((struct cx18_i2c_algo_callback_data *)data)->cx; cx18_setscl() local 167 struct cx18 *cx = ((struct cx18_i2c_algo_callback_data *)data)->cx; cx18_setsda() local 180 struct cx18 *cx = ((struct cx18_i2c_algo_callback_data *)data)->cx; cx18_getscl() local 189 struct cx18 *cx = ((struct cx18_i2c_algo_callback_data *)data)->cx; cx18_getsda() local 217 init_cx18_i2c(struct cx18 *cx) init_cx18_i2c() argument 288 exit_cx18_i2c(struct cx18 *cx) exit_cx18_i2c() argument [all...] |
H A D | cx18-streams.c | 108 struct cx18 *cx = s->cx; in cx18_queue_setup() local 116 szimage = cx->cxhdl.height * 720 * 3 / 2; in cx18_queue_setup() 118 szimage = cx->cxhdl.height * 720 * 2; in cx18_queue_setup() 155 struct cx18 *cx = s->cx; in cx18_buf_prepare() local 163 size = cx->cxhdl.height * 720 * 3 / 2; in cx18_buf_prepare() 165 size = cx->cxhdl.height * 720 * 2; in cx18_buf_prepare() 235 static int cx18_stream_init(struct cx18 *cx, int type) in cx18_stream_init() argument 237 struct cx18_stream *s = &cx in cx18_stream_init() 302 cx18_prep_dev(struct cx18 *cx, int type) cx18_prep_dev() argument 383 cx18_streams_setup(struct cx18 *cx) cx18_streams_setup() argument 407 cx18_reg_dev(struct cx18 *cx, int type) cx18_reg_dev() argument 475 cx18_streams_register(struct cx18 *cx) cx18_streams_register() argument 497 cx18_streams_cleanup(struct cx18 *cx, int unregister) cx18_streams_cleanup() argument 551 struct cx18 *cx = s->cx; cx18_vbi_setup() local 659 cx18_stream_rotate_idx_mdls(struct cx18 *cx) cx18_stream_rotate_idx_mdls() argument 689 struct cx18 *cx = s->cx; _cx18_stream_put_mdl_fw() local 784 struct cx18 *cx = s->cx; cx18_start_v4l2_encode_stream() local 958 cx18_stop_all_captures(struct cx18 *cx) cx18_stop_all_captures() argument 974 struct cx18 *cx = s->cx; cx18_stop_v4l2_encode_stream() local 1022 cx18_find_handle(struct cx18 *cx) cx18_find_handle() argument 1036 cx18_handle_to_stream(struct cx18 *cx, u32 handle) cx18_handle_to_stream() argument [all...] |
H A D | cx18-fileops.c | 32 struct cx18 *cx = id->cx; in cx18_claim_stream() local 33 struct cx18_stream *s = &cx->streams[type]; in cx18_claim_stream() 73 s_assoc = &cx->streams[CX18_ENC_STREAM_TYPE_IDX]; in cx18_claim_stream() 74 if (cx->vbi.insert_mpeg && !cx18_raw_vbi(cx)) in cx18_claim_stream() 75 s_assoc = &cx->streams[CX18_ENC_STREAM_TYPE_VBI]; in cx18_claim_stream() 91 struct cx18 *cx = s->cx; in cx18_release_stream() local 125 s_assoc = &cx in cx18_release_stream() 146 cx18_dualwatch(struct cx18 *cx) cx18_dualwatch() argument 172 struct cx18 *cx = s->cx; cx18_get_mdl() local 244 cx18_setup_sliced_vbi_mdl(struct cx18 *cx) cx18_setup_sliced_vbi_mdl() argument 262 struct cx18 *cx = s->cx; cx18_copy_buf_to_user() local 408 struct cx18 *cx = s->cx; cx18_read() local 474 struct cx18 *cx = s->cx; cx18_read_pos() local 484 struct cx18 *cx = id->cx; cx18_start_capture() local 575 struct cx18 *cx = id->cx; cx18_v4l2_read() local 594 struct cx18 *cx = id->cx; cx18_v4l2_enc_poll() local 642 struct cx18 *cx = s->cx; cx18_stop_capture() local 683 struct cx18 *cx = id->cx; cx18_v4l2_close() local 729 struct cx18 *cx = s->cx; cx18_serialized_open() local 781 struct cx18 *cx = s->cx; cx18_v4l2_open() local 795 cx18_mute(struct cx18 *cx) cx18_mute() argument 808 cx18_unmute(struct cx18 *cx) cx18_unmute() argument [all...] |
H A D | cx18-firmware.c | 87 static int load_cpu_fw_direct(const char *fn, u8 __iomem *mem, struct cx18 *cx) in load_cpu_fw_direct() argument 95 if (request_firmware(&fw, fn, &cx->pci_dev->dev)) { in load_cpu_fw_direct() 104 cx18_setup_page(cx, i); in load_cpu_fw_direct() 107 cx18_raw_writel(cx, *src, dst); in load_cpu_fw_direct() 108 if (cx18_raw_readl(cx, dst) != *src) { in load_cpu_fw_direct() 111 cx18_setup_page(cx, 0); in load_cpu_fw_direct() 118 if (!test_bit(CX18_F_I_LOADED_FW, &cx->i_flags)) in load_cpu_fw_direct() 122 cx18_setup_page(cx, SCB_OFFSET); in load_cpu_fw_direct() 126 static int load_apu_fw_direct(const char *fn, u8 __iomem *dst, struct cx18 *cx, in load_apu_fw_direct() argument 139 if (request_firmware(&fw, fn, &cx in load_apu_fw_direct() 199 cx18_halt_firmware(struct cx18 *cx) cx18_halt_firmware() argument 208 cx18_init_power(struct cx18 *cx, int lowpwr) cx18_init_power() argument 317 cx18_init_memory(struct cx18 *cx) cx18_init_memory() argument 368 cx18_firmware_init(struct cx18 *cx) cx18_firmware_init() argument [all...] |
H A D | cx18-io.c | 13 void cx18_memset_io(struct cx18 *cx, void __iomem *addr, int val, size_t count) in cx18_memset_io() argument 21 cx18_writeb(cx, (u8) val, dst); in cx18_memset_io() 26 cx18_writew(cx, val2, dst); in cx18_memset_io() 31 cx18_writel(cx, val4, dst); in cx18_memset_io() 36 cx18_writew(cx, val2, dst); in cx18_memset_io() 41 cx18_writeb(cx, (u8) val, dst); in cx18_memset_io() 44 void cx18_sw1_irq_enable(struct cx18 *cx, u32 val) in cx18_sw1_irq_enable() argument 46 cx18_write_reg_expect(cx, val, SW1_INT_STATUS, ~val, val); in cx18_sw1_irq_enable() 47 cx->sw1_irq_mask = cx18_read_reg(cx, SW1_INT_ENABLE_PC in cx18_sw1_irq_enable() 51 cx18_sw1_irq_disable(struct cx18 *cx, u32 val) cx18_sw1_irq_disable() argument 57 cx18_sw2_irq_enable(struct cx18 *cx, u32 val) cx18_sw2_irq_enable() argument 64 cx18_sw2_irq_disable(struct cx18 *cx, u32 val) cx18_sw2_irq_disable() argument 70 cx18_sw2_irq_disable_cpu(struct cx18 *cx, u32 val) cx18_sw2_irq_disable_cpu() argument 77 cx18_setup_page(struct cx18 *cx, u32 addr) cx18_setup_page() argument [all...] |
H A D | cx18-ioctl.c | 56 struct cx18 *cx = id->cx; in cx18_g_fmt_vid_cap() local 57 struct cx18_stream *s = &cx->streams[id->type]; in cx18_g_fmt_vid_cap() 60 pixfmt->width = cx->cxhdl.width; in cx18_g_fmt_vid_cap() 61 pixfmt->height = cx->cxhdl.height; in cx18_g_fmt_vid_cap() 80 struct cx18 *cx = id->cx; in cx18_try_fmt_vid_cap() local 88 h = min(h, cx->is_50hz ? 576 : 480); in cx18_try_fmt_vid_cap() 89 h = max(h, (cx->is_50hz ? 576 : 480) / 8); in cx18_try_fmt_vid_cap() 125 struct cx18 *cx in cx18_s_fmt_vid_cap() local 264 struct cx18 *cx = fh2id(fh)->cx; cx18_g_fmt_vbi_cap() local 283 struct cx18 *cx = fh2id(fh)->cx; cx18_g_fmt_sliced_vbi_cap() local 314 struct cx18 *cx = fh2id(fh)->cx; cx18_try_fmt_sliced_vbi_cap() local 334 struct cx18 *cx = id->cx; cx18_s_fmt_vbi_cap() local 364 struct cx18 *cx = id->cx; cx18_s_fmt_sliced_vbi_cap() local 395 struct cx18 *cx = fh2id(fh)->cx; cx18_g_register() local 409 struct cx18 *cx = fh2id(fh)->cx; cx18_s_register() local 424 struct cx18 *cx = id->cx; cx18_querycap() local 434 struct cx18 *cx = fh2id(fh)->cx; cx18_enumaudio() local 441 struct cx18 *cx = fh2id(fh)->cx; cx18_g_audio() local 449 struct cx18 *cx = fh2id(fh)->cx; cx18_s_audio() local 460 struct cx18 *cx = fh2id(fh)->cx; cx18_enum_input() local 469 struct cx18 *cx = fh2id(fh)->cx; cx18_g_pixelaspect() local 482 struct cx18 *cx = fh2id(fh)->cx; cx18_g_selection() local 518 struct cx18 *cx = fh2id(fh)->cx; cx18_g_input() local 527 struct cx18 *cx = id->cx; cx18_s_input() local 564 struct cx18 *cx = fh2id(fh)->cx; cx18_g_frequency() local 576 struct cx18 *cx = id->cx; cx18_s_frequency() local 590 struct cx18 *cx = fh2id(fh)->cx; cx18_g_std() local 599 struct cx18 *cx = id->cx; cx18_s_std() local 648 struct cx18 *cx = id->cx; cx18_s_tuner() local 659 struct cx18 *cx = fh2id(fh)->cx; cx18_g_tuner() local 676 struct cx18 *cx = fh2id(fh)->cx; cx18_g_sliced_vbi_cap() local 797 struct cx18 *cx = fh2id(fh)->cx; cx18_g_enc_index() local 845 struct cx18 *cx = id->cx; cx18_encoder_cmd() local 903 struct cx18 *cx = fh2id(fh)->cx; cx18_try_encoder_cmd() local 935 struct cx18 *cx = fh2id(fh)->cx; cx18_log_status() local 979 struct cx18 *cx = fh2id(fh)->cx; cx18_default() local [all...] |
H A D | cx18-av-core.c | 15 int cx18_av_write(struct cx18 *cx, u16 addr, u8 value) in cx18_av_write() argument 20 u32 x = cx18_read_reg(cx, reg); in cx18_av_write() 23 cx18_write_reg(cx, x, reg); 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() argument 31 u32 x = cx18_read_reg(cx, reg); in cx18_av_write_expect() 34 cx18_write_reg_expect(cx, x, reg, in cx18_av_write_expect() 39 int cx18_av_write4(struct cx18 *cx, u16 addr, u32 value) in cx18_av_write4() argument 41 cx18_write_reg(cx, value, 0xc40000 + addr); 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() argument 48 cx18_write_reg_expect(cx, valu in cx18_av_write4_expect() 52 cx18_av_write4_noretry(struct cx18 *cx, u16 addr, u32 value) cx18_av_write4_noretry() argument 58 cx18_av_read(struct cx18 *cx, u16 addr) cx18_av_read() argument 66 cx18_av_read4(struct cx18 *cx, u16 addr) cx18_av_read4() argument 71 cx18_av_and_or(struct cx18 *cx, u16 addr, unsigned and_mask, u8 or_value) cx18_av_and_or() argument 79 cx18_av_and_or4(struct cx18 *cx, u16 addr, u32 and_mask, u32 or_value) cx18_av_and_or4() argument 87 cx18_av_init(struct cx18 *cx) cx18_av_init() argument 116 struct cx18 *cx = v4l2_get_subdevdata(sd); cx18_av_initialize() local 273 cx18_av_std_setup(struct cx18 *cx) cx18_av_std_setup() argument 516 input_change(struct cx18 *cx) input_change() argument 564 struct cx18 *cx = v4l2_get_subdevdata(sd); cx18_av_s_frequency() local 569 set_input(struct cx18 *cx, enum cx18_av_video_input vid_input, enum cx18_av_audio_input aud_input) set_input() argument 746 struct cx18 *cx = v4l2_get_subdevdata(sd); cx18_av_s_video_routing() local 754 struct cx18 *cx = v4l2_get_subdevdata(sd); cx18_av_s_audio_routing() local 761 struct cx18 *cx = v4l2_get_subdevdata(sd); cx18_av_g_tuner() local 798 struct cx18 *cx = v4l2_get_subdevdata(sd); cx18_av_s_tuner() local 843 struct cx18 *cx = v4l2_get_subdevdata(sd); cx18_av_s_std() local 906 struct cx18 *cx = v4l2_get_subdevdata(sd); cx18_av_s_ctrl() local 938 struct cx18 *cx = v4l2_get_subdevdata(sd); cx18_av_set_fmt() local 1011 struct cx18 *cx = v4l2_get_subdevdata(sd); cx18_av_s_stream() local 1024 log_video_status(struct cx18 *cx) log_video_status() argument 1065 log_audio_status(struct cx18 *cx) log_audio_status() argument 1216 struct cx18 *cx = v4l2_get_subdevdata(sd); cx18_av_log_status() local 1226 struct cx18 *cx = v4l2_get_subdevdata(sd); cx18_av_g_register() local 1238 struct cx18 *cx = v4l2_get_subdevdata(sd); cx18_av_s_register() local 1299 cx18_av_probe(struct cx18 *cx) cx18_av_probe() argument [all...] |