/linux-2.6.39/drivers/media/video/cx18/ |
D | Makefile | 1 cx18-objs := cx18-driver.o cx18-cards.o cx18-i2c.o cx18-firmware.o cx18-gpio.o \ 2 cx18-queue.o cx18-streams.o cx18-fileops.o cx18-ioctl.o cx18-controls.o \ 3 cx18-mailbox.o cx18-vbi.o cx18-audio.o cx18-video.o cx18-irq.o \ 4 cx18-av-core.o cx18-av-audio.o cx18-av-firmware.o cx18-av-vbi.o cx18-scb.o \ 5 cx18-dvb.o cx18-io.o 6 cx18-alsa-objs := cx18-alsa-main.o cx18-alsa-pcm.o 8 obj-$(CONFIG_VIDEO_CX18) += cx18.o 9 obj-$(CONFIG_VIDEO_CX18_ALSA) += cx18-alsa.o
|
D | cx18-io.h | 38 static inline u32 cx18_raw_readl(struct cx18 *cx, const void __iomem *addr) in cx18_raw_readl() 44 void cx18_raw_writel_noretry(struct cx18 *cx, u32 val, void __iomem *addr) in cx18_raw_writel_noretry() 49 static inline void cx18_raw_writel(struct cx18 *cx, u32 val, void __iomem *addr) in cx18_raw_writel() 60 static inline u32 cx18_readl(struct cx18 *cx, const void __iomem *addr) in cx18_readl() 66 void cx18_writel_noretry(struct cx18 *cx, u32 val, void __iomem *addr) in cx18_writel_noretry() 71 static inline void cx18_writel(struct cx18 *cx, u32 val, void __iomem *addr) in cx18_writel() 82 void cx18_writel_expect(struct cx18 *cx, u32 val, void __iomem *addr, in cx18_writel_expect() 98 static inline u16 cx18_readw(struct cx18 *cx, const void __iomem *addr) in cx18_readw() 104 void cx18_writew_noretry(struct cx18 *cx, u16 val, void __iomem *addr) in cx18_writew_noretry() 109 static inline void cx18_writew(struct cx18 *cx, u16 val, void __iomem *addr) in cx18_writew() [all …]
|
D | cx18-streams.h | 25 u32 cx18_find_handle(struct cx18 *cx); 26 struct cx18_stream *cx18_handle_to_stream(struct cx18 *cx, u32 handle); 27 int cx18_streams_setup(struct cx18 *cx); 28 int cx18_streams_register(struct cx18 *cx); 29 void cx18_streams_cleanup(struct cx18 *cx, int unregister); 32 void cx18_stream_rotate_idx_mdls(struct cx18 *cx); 62 void cx18_stop_all_captures(struct cx18 *cx);
|
D | cx18-av-core.h | 31 struct cx18; 359 int cx18_av_write(struct cx18 *cx, u16 addr, u8 value); 360 int cx18_av_write4(struct cx18 *cx, u16 addr, u32 value); 361 int cx18_av_write4_noretry(struct cx18 *cx, u16 addr, u32 value); 362 int cx18_av_write_expect(struct cx18 *cx, u16 addr, u8 value, u8 eval, u8 mask); 363 int cx18_av_write4_expect(struct cx18 *cx, u16 addr, u32 value, u32 eval, 365 u8 cx18_av_read(struct cx18 *cx, u16 addr); 366 u32 cx18_av_read4(struct cx18 *cx, u16 addr); 367 int cx18_av_and_or(struct cx18 *cx, u16 addr, unsigned mask, u8 value); 368 int cx18_av_and_or4(struct cx18 *cx, u16 addr, u32 mask, u32 value); [all …]
|
D | cx18-controls.c | 35 struct cx18 *cx = container_of(cxhdl, struct cx18, cxhdl); in cx18_s_stream_vbi_fmt() 94 struct cx18 *cx = container_of(cxhdl, struct cx18, cxhdl); in cx18_s_video_encoding() 109 struct cx18 *cx = container_of(cxhdl, struct cx18, cxhdl); in cx18_s_audio_sampling_freq() 120 struct cx18 *cx = container_of(cxhdl, struct cx18, cxhdl); in cx18_s_audio_mode()
|
D | cx18-gpio.c | 52 static void gpio_write(struct cx18 *cx) in gpio_write() 69 static void gpio_update(struct cx18 *cx, u32 mask, u32 data) in gpio_update() 80 static void gpio_reset_seq(struct cx18 *cx, u32 active_lo, u32 active_hi, in gpio_reset_seq() 110 struct cx18 *cx = v4l2_get_subdevdata(sd); in gpiomux_log_status() 121 struct cx18 *cx = v4l2_get_subdevdata(sd); in gpiomux_s_radio() 135 struct cx18 *cx = v4l2_get_subdevdata(sd); in gpiomux_s_std() 161 struct cx18 *cx = v4l2_get_subdevdata(sd); in gpiomux_s_audio_routing() 205 struct cx18 *cx = v4l2_get_subdevdata(sd); in resetctrl_log_status() 216 struct cx18 *cx = v4l2_get_subdevdata(sd); in resetctrl_reset() 264 void cx18_gpio_init(struct cx18 *cx) in cx18_gpio_init() [all …]
|
D | cx18-io.c | 27 void cx18_memset_io(struct cx18 *cx, void __iomem *addr, int val, size_t count) in cx18_memset_io() 58 void cx18_sw1_irq_enable(struct cx18 *cx, u32 val) in cx18_sw1_irq_enable() 65 void cx18_sw1_irq_disable(struct cx18 *cx, u32 val) in cx18_sw1_irq_disable() 71 void cx18_sw2_irq_enable(struct cx18 *cx, u32 val) in cx18_sw2_irq_enable() 78 void cx18_sw2_irq_disable(struct cx18 *cx, u32 val) in cx18_sw2_irq_disable() 84 void cx18_sw2_irq_disable_cpu(struct cx18 *cx, u32 val) in cx18_sw2_irq_disable_cpu() 91 void cx18_setup_page(struct cx18 *cx, u32 addr) in cx18_setup_page()
|
D | cx18-firmware.h | 22 int cx18_firmware_init(struct cx18 *cx); 23 void cx18_halt_firmware(struct cx18 *cx); 24 void cx18_init_memory(struct cx18 *cx); 25 void cx18_init_power(struct cx18 *cx, int lowpwr);
|
D | cx18-mailbox.h | 39 struct cx18; 84 int cx18_api(struct cx18 *cx, u32 cmd, int args, u32 data[]); 85 int cx18_vapi_result(struct cx18 *cx, u32 data[MAX_MB_ARGUMENTS], u32 cmd, 87 int cx18_vapi(struct cx18 *cx, u32 cmd, int args, ...); 91 void cx18_api_epu_cmd_irq(struct cx18 *cx, int rpu);
|
D | cx18-i2c.h | 24 int cx18_i2c_register(struct cx18 *cx, unsigned idx); 25 struct v4l2_subdev *cx18_find_hw(struct cx18 *cx, u32 hw); 28 int init_cx18_i2c(struct cx18 *cx); 29 void exit_cx18_i2c(struct cx18 *cx);
|
D | cx18-ioctl.c | 152 struct cx18 *cx = id->cx; in cx18_g_fmt_vid_cap() 176 struct cx18 *cx = fh2id(fh)->cx; in cx18_g_fmt_vbi_cap() 195 struct cx18 *cx = fh2id(fh)->cx; in cx18_g_fmt_sliced_vbi_cap() 225 struct cx18 *cx = id->cx; in cx18_try_fmt_vid_cap() 255 struct cx18 *cx = fh2id(fh)->cx; in cx18_try_fmt_sliced_vbi_cap() 275 struct cx18 *cx = id->cx; in cx18_s_fmt_vid_cap() 303 struct cx18 *cx = id->cx; in cx18_s_fmt_vbi_cap() 333 struct cx18 *cx = id->cx; in cx18_s_fmt_sliced_vbi_cap() 363 struct cx18 *cx = fh2id(fh)->cx; in cx18_g_chip_ident() 413 static int cx18_cxc(struct cx18 *cx, unsigned int cmd, void *arg) in cx18_cxc() [all …]
|
D | cx18-av-audio.c | 27 static int set_audclk_freq(struct cx18 *cx, u32 freq) in set_audclk_freq() 303 void cx18_av_audio_set_path(struct cx18 *cx) in cx18_av_audio_set_path() 345 static void set_volume(struct cx18 *cx, int volume) in set_volume() 361 static void set_bass(struct cx18 *cx, int bass) in set_bass() 367 static void set_treble(struct cx18 *cx, int treble) in set_treble() 373 static void set_balance(struct cx18 *cx, int balance) in set_balance() 389 static void set_mute(struct cx18 *cx, int mute) in set_mute() 418 struct cx18 *cx = v4l2_get_subdevdata(sd); in cx18_av_s_clock_freq() 445 struct cx18 *cx = v4l2_get_subdevdata(sd); in cx18_av_audio_s_ctrl()
|
D | cx18-av-core.c | 30 int cx18_av_write(struct cx18 *cx, u16 addr, u8 value) in cx18_av_write() 42 int cx18_av_write_expect(struct cx18 *cx, u16 addr, u8 value, u8 eval, u8 mask) in cx18_av_write_expect() 54 int cx18_av_write4(struct cx18 *cx, u16 addr, u32 value) in cx18_av_write4() 61 cx18_av_write4_expect(struct cx18 *cx, u16 addr, u32 value, u32 eval, u32 mask) in cx18_av_write4_expect() 67 int cx18_av_write4_noretry(struct cx18 *cx, u16 addr, u32 value) in cx18_av_write4_noretry() 73 u8 cx18_av_read(struct cx18 *cx, u16 addr) in cx18_av_read() 81 u32 cx18_av_read4(struct cx18 *cx, u16 addr) in cx18_av_read4() 86 int cx18_av_and_or(struct cx18 *cx, u16 addr, unsigned and_mask, in cx18_av_and_or() 94 int cx18_av_and_or4(struct cx18 *cx, u16 addr, u32 and_mask, in cx18_av_and_or4() 102 static void cx18_av_init(struct cx18 *cx) in cx18_av_init() [all …]
|
D | cx18-irq.c | 29 static void xpu_ack(struct cx18 *cx, u32 sw2) in xpu_ack() 37 static void epu_cmd(struct cx18 *cx, u32 sw1) in epu_cmd() 47 struct cx18 *cx = (struct cx18 *)dev_id; in cx18_irq_handler()
|
D | cx18-i2c.c | 86 static int cx18_i2c_new_ir(struct cx18 *cx, struct i2c_adapter *adap, u32 hw, in cx18_i2c_new_ir() 111 int cx18_i2c_register(struct cx18 *cx, unsigned idx) in cx18_i2c_register() 155 struct v4l2_subdev *cx18_find_hw(struct cx18 *cx, u32 hw) in cx18_find_hw() 173 struct cx18 *cx = ((struct cx18_i2c_algo_callback_data *)data)->cx; in cx18_setscl() 186 struct cx18 *cx = ((struct cx18_i2c_algo_callback_data *)data)->cx; in cx18_setsda() 199 struct cx18 *cx = ((struct cx18_i2c_algo_callback_data *)data)->cx; in cx18_getscl() 208 struct cx18 *cx = ((struct cx18_i2c_algo_callback_data *)data)->cx; in cx18_getsda() 236 int init_cx18_i2c(struct cx18 *cx) in init_cx18_i2c() 309 void exit_cx18_i2c(struct cx18 *cx) in exit_cx18_i2c()
|
D | cx18-mailbox.c | 118 static void dump_mb(struct cx18 *cx, struct cx18_mailbox *mb, char *name) in dump_mb() 162 static void cx18_mdl_send_to_alsa(struct cx18 *cx, struct cx18_stream *s, in cx18_mdl_send_to_alsa() 189 static void epu_dma_done(struct cx18 *cx, struct cx18_in_work_order *order) in epu_dma_done() 280 static void epu_debug(struct cx18 *cx, struct cx18_in_work_order *order) in epu_debug() 291 static void epu_cmd(struct cx18 *cx, struct cx18_in_work_order *order) in epu_cmd() 320 void free_in_work_order(struct cx18 *cx, struct cx18_in_work_order *order) in free_in_work_order() 329 struct cx18 *cx = order->cx; in cx18_in_work_handler() 339 static void mb_ack_irq(struct cx18 *cx, struct cx18_in_work_order *order) in mb_ack_irq() 375 static int epu_dma_done_irq(struct cx18 *cx, struct cx18_in_work_order *order) in epu_dma_done_irq() 401 int epu_debug_irq(struct cx18 *cx, struct cx18_in_work_order *order) in epu_debug_irq() [all …]
|
D | cx18-fileops.c | 45 struct cx18 *cx = id->cx; in cx18_claim_stream() 105 struct cx18 *cx = s->cx; in cx18_release_stream() 160 static void cx18_dualwatch(struct cx18 *cx) in cx18_dualwatch() 186 struct cx18 *cx = s->cx; in cx18_get_mdl() 258 static void cx18_setup_sliced_vbi_mdl(struct cx18 *cx) in cx18_setup_sliced_vbi_mdl() 276 struct cx18 *cx = s->cx; in cx18_copy_buf_to_user() 422 struct cx18 *cx = s->cx; in cx18_read() 488 struct cx18 *cx = s->cx; in cx18_read_pos() 498 struct cx18 *cx = id->cx; in cx18_start_capture() 589 struct cx18 *cx = id->cx; in cx18_v4l2_read() [all …]
|
D | cx18-driver.c | 52 int (*cx18_ext_init)(struct cx18 *); 257 struct cx18 *dev = container_of(work, struct cx18, request_module_wk); in request_module_async() 267 static void request_modules(struct cx18 *dev) in request_modules() 273 static void flush_request_modules(struct cx18 *dev) in flush_request_modules() 297 static void cx18_iounmap(struct cx18 *cx) in cx18_iounmap() 310 static void cx18_eeprom_dump(struct cx18 *cx, unsigned char *eedata, int len) in cx18_eeprom_dump() 325 void cx18_read_eeprom(struct cx18 *cx, struct tveeprom *tv) in cx18_read_eeprom() 359 static void cx18_process_eeprom(struct cx18 *cx) in cx18_process_eeprom() 441 static v4l2_std_id cx18_parse_std(struct cx18 *cx) in cx18_parse_std() 523 static void cx18_process_options(struct cx18 *cx) in cx18_process_options() [all …]
|
D | cx18-driver.h | 346 struct cx18; /* forward reference */ 362 struct cx18 *cx; 377 struct cx18 *cx; /* for ease of use */ 412 struct cx18 *cx; 548 struct cx18 *cx; 555 struct cx18 { struct 657 static inline struct cx18 *to_cx18(struct v4l2_device *v4l2_dev) in to_cx18() argument 659 return container_of(v4l2_dev, struct cx18, v4l2_dev); in to_cx18() 663 extern int (*cx18_ext_init)(struct cx18 *); 675 void cx18_read_eeprom(struct cx18 *cx, struct tveeprom *tv); [all …]
|
D | cx18-streams.c | 100 static void cx18_stream_init(struct cx18 *cx, int type) in cx18_stream_init() 137 static int cx18_prep_dev(struct cx18 *cx, int type) in cx18_prep_dev() 216 int cx18_streams_setup(struct cx18 *cx) in cx18_streams_setup() 240 static int cx18_reg_dev(struct cx18 *cx, int type) in cx18_reg_dev() 309 int cx18_streams_register(struct cx18 *cx) in cx18_streams_register() 331 void cx18_streams_cleanup(struct cx18 *cx, int unregister) in cx18_streams_cleanup() 387 struct cx18 *cx = s->cx; in cx18_vbi_setup() 495 void cx18_stream_rotate_idx_mdls(struct cx18 *cx) in cx18_stream_rotate_idx_mdls() 525 struct cx18 *cx = s->cx; in _cx18_stream_put_mdl_fw() 617 struct cx18 *cx = s->cx; in cx18_start_v4l2_encode_stream() [all …]
|
D | cx18-vbi.h | 24 void cx18_process_vbi_data(struct cx18 *cx, struct cx18_mdl *mdl, 26 int cx18_used_line(struct cx18 *cx, int line, int field);
|
D | cx18-gpio.h | 24 void cx18_gpio_init(struct cx18 *cx); 25 int cx18_gpio_register(struct cx18 *cx, u32 hw);
|
D | cx18-alsa-main.c | 117 struct cx18 *cx = to_cx18(cxsc->v4l2_dev); in snd_cx18_card_set_names() 137 struct cx18 *cx = to_cx18(v4l2_dev); in snd_cx18_init() 199 int cx18_alsa_load(struct cx18 *cx) in cx18_alsa_load() 248 struct cx18 *cx = to_cx18(cxsc->v4l2_dev); in snd_cx18_exit()
|
D | cx18-vbi.c | 39 static void copy_vbi_data(struct cx18 *cx, int lines, u32 pts_stamp) in copy_vbi_data() 109 static u32 compress_raw_buf(struct cx18 *cx, u8 *buf, u32 size, u32 hdr_size) in compress_raw_buf() 142 static u32 compress_sliced_buf(struct cx18 *cx, u8 *buf, u32 size, in compress_sliced_buf() 189 static void _cx18_process_vbi_data(struct cx18 *cx, struct cx18_buffer *buf) in _cx18_process_vbi_data() 251 void cx18_process_vbi_data(struct cx18 *cx, struct cx18_mdl *mdl, in cx18_process_vbi_data()
|
/linux-2.6.39/drivers/staging/lirc/ |
D | TODO.lirc_zilog | 17 complete. Testing has shown the cx18 module can be unloaded out from under 19 effects. The cx18 module could then be reloaded and irw properly began 24 to lirc_zilog via struct IR_i2c_init_data. cx18 and ivtv already have routines 35 ivtv cx18 hdpvr pvrusb2 bt8xx cx88 saa7134
|