Lines Matching refs:cx231xx

146 struct cx231xx;
179 int (*isoc_copy) (struct cx231xx *dev, struct urb *urb);
213 int (*bulk_copy) (struct cx231xx *dev, struct urb *urb);
444 struct cx231xx *dev;
511 struct cx231xx *dev;
559 struct cx231xx { struct
658 int (*cx231xx_read_ctrl_reg) (struct cx231xx *dev, u8 req, u16 reg, argument
660 int (*cx231xx_write_ctrl_reg) (struct cx231xx *dev, u8 req, u16 reg, argument
664 int (*cx231xx_gpio_i2c_read) (struct cx231xx *dev, u8 dev_addr, argument
666 int (*cx231xx_gpio_i2c_write) (struct cx231xx *dev, u8 dev_addr, argument
669 int (*cx231xx_set_analog_freq) (struct cx231xx *dev, u32 freq); argument
670 int (*cx231xx_reset_analog_tuner) (struct cx231xx *dev); argument
717 #define cx25840_call(cx231xx, o, f, args...) \ argument
718 v4l2_subdev_call(cx231xx->sd_cx25840, o, f, ##args)
719 #define tuner_call(cx231xx, o, f, args...) \ argument
720 v4l2_subdev_call(cx231xx->sd_tuner, o, f, ##args)
728 int (*init) (struct cx231xx *);
729 int (*fini) (struct cx231xx *);
733 int cx231xx_set_analog_freq(struct cx231xx *dev, u32 freq);
734 int cx231xx_reset_analog_tuner(struct cx231xx *dev);
737 void cx231xx_do_i2c_scan(struct cx231xx *dev, int i2c_port);
740 int cx231xx_i2c_mux_create(struct cx231xx *dev);
741 int cx231xx_i2c_mux_register(struct cx231xx *dev, int mux_no);
742 void cx231xx_i2c_mux_unregister(struct cx231xx *dev);
743 struct i2c_adapter *cx231xx_get_i2c_adap(struct cx231xx *dev, int i2c_port);
746 int cx231xx_read_i2c_master(struct cx231xx *dev, u8 dev_addr, u16 saddr,
748 int cx231xx_write_i2c_master(struct cx231xx *dev, u8 dev_addr, u16 saddr,
750 int cx231xx_read_i2c_data(struct cx231xx *dev, u8 dev_addr,
752 int cx231xx_write_i2c_data(struct cx231xx *dev, u8 dev_addr,
754 int cx231xx_reg_mask_write(struct cx231xx *dev, u8 dev_addr, u8 size,
757 int cx231xx_read_modify_write_i2c_dword(struct cx231xx *dev, u8 dev_addr,
762 void initGPIO(struct cx231xx *dev);
763 void uninitGPIO(struct cx231xx *dev);
765 int cx231xx_afe_init_super_block(struct cx231xx *dev, u32 ref_count);
766 int cx231xx_afe_init_channels(struct cx231xx *dev);
767 int cx231xx_afe_setup_AFE_for_baseband(struct cx231xx *dev);
768 int cx231xx_afe_set_input_mux(struct cx231xx *dev, u32 input_mux);
769 int cx231xx_afe_set_mode(struct cx231xx *dev, enum AFE_MODE mode);
770 int cx231xx_afe_update_power_control(struct cx231xx *dev,
772 int cx231xx_afe_adjust_ref_count(struct cx231xx *dev, u32 video_input);
775 int cx231xx_i2s_blk_initialize(struct cx231xx *dev);
776 int cx231xx_i2s_blk_update_power_control(struct cx231xx *dev,
778 int cx231xx_i2s_blk_set_audio_input(struct cx231xx *dev, u8 audio_input);
781 int cx231xx_dif_configure_C2HH_for_low_IF(struct cx231xx *dev, u32 mode,
783 void cx231xx_set_Colibri_For_LowIF(struct cx231xx *dev, u32 if_freq,
786 void cx231xx_set_DIF_bandpass(struct cx231xx *dev, u32 if_freq,
788 void cx231xx_Setup_AFE_for_LowIF(struct cx231xx *dev);
789 void reset_s5h1432_demod(struct cx231xx *dev);
790 void cx231xx_dump_HH_reg(struct cx231xx *dev);
791 void update_HH_register_after_set_DIF(struct cx231xx *dev);
795 int cx231xx_dif_set_standard(struct cx231xx *dev, u32 standard);
796 int cx231xx_tuner_pre_channel_change(struct cx231xx *dev);
797 int cx231xx_tuner_post_channel_change(struct cx231xx *dev);
804 int cx231xx_do_copy(struct cx231xx *dev, struct cx231xx_dmaqueue *dma_q,
806 void cx231xx_reset_video_buffer(struct cx231xx *dev,
808 u8 cx231xx_is_buffer_done(struct cx231xx *dev, struct cx231xx_dmaqueue *dma_q);
809 u32 cx231xx_copy_video_line(struct cx231xx *dev, struct cx231xx_dmaqueue *dma_q,
811 u32 cx231xx_get_video_line(struct cx231xx *dev, struct cx231xx_dmaqueue *dma_q,
817 u32 cx231xx_request_buffers(struct cx231xx *dev, u32 count);
818 void cx231xx_queue_unusedframes(struct cx231xx *dev);
819 void cx231xx_release_buffers(struct cx231xx *dev);
822 int cx231xx_read_ctrl_reg(struct cx231xx *dev, u8 req, u16 reg,
826 int cx231xx_write_ctrl_reg(struct cx231xx *dev, u8 req, u16 reg,
828 int cx231xx_mode_register(struct cx231xx *dev, u16 address, u32 mode);
830 int cx231xx_send_vendor_cmd(struct cx231xx *dev,
836 int cx231xx_send_gpio_cmd(struct cx231xx *dev, u32 gpio_bit, u8 *gpio_val,
838 int cx231xx_set_gpio_value(struct cx231xx *dev, int pin_number, int pin_value);
839 int cx231xx_set_gpio_direction(struct cx231xx *dev, int pin_number,
842 int cx231xx_gpio_i2c_start(struct cx231xx *dev);
843 int cx231xx_gpio_i2c_end(struct cx231xx *dev);
844 int cx231xx_gpio_i2c_write_byte(struct cx231xx *dev, u8 data);
845 int cx231xx_gpio_i2c_read_byte(struct cx231xx *dev, u8 *buf);
846 int cx231xx_gpio_i2c_read_ack(struct cx231xx *dev);
847 int cx231xx_gpio_i2c_write_ack(struct cx231xx *dev);
848 int cx231xx_gpio_i2c_write_nak(struct cx231xx *dev);
850 int cx231xx_gpio_i2c_read(struct cx231xx *dev, u8 dev_addr, u8 *buf, u8 len);
851 int cx231xx_gpio_i2c_write(struct cx231xx *dev, u8 dev_addr, u8 *buf, u8 len);
854 int cx231xx_set_audio_decoder_input(struct cx231xx *dev,
857 int cx231xx_capture_start(struct cx231xx *dev, int start, u8 media_type);
858 int cx231xx_set_video_alternate(struct cx231xx *dev);
859 int cx231xx_set_alt_setting(struct cx231xx *dev, u8 index, u8 alt);
860 int is_fw_load(struct cx231xx *dev);
861 int cx231xx_check_fw(struct cx231xx *dev);
862 int cx231xx_init_isoc(struct cx231xx *dev, int max_packets,
864 int (*isoc_copy) (struct cx231xx *dev,
866 int cx231xx_init_bulk(struct cx231xx *dev, int max_packets,
868 int (*bulk_copy) (struct cx231xx *dev,
870 void cx231xx_stop_TS1(struct cx231xx *dev);
871 void cx231xx_start_TS1(struct cx231xx *dev);
872 void cx231xx_uninit_isoc(struct cx231xx *dev);
873 void cx231xx_uninit_bulk(struct cx231xx *dev);
874 int cx231xx_set_mode(struct cx231xx *dev, enum cx231xx_mode set_mode);
875 int cx231xx_unmute_audio(struct cx231xx *dev);
876 int cx231xx_ep5_bulkout(struct cx231xx *dev, u8 *firmware, u16 size);
877 void cx231xx_disable656(struct cx231xx *dev);
878 void cx231xx_enable656(struct cx231xx *dev);
879 int cx231xx_demod_reset(struct cx231xx *dev);
880 int cx231xx_gpio_set(struct cx231xx *dev, struct cx231xx_reg_seq *gpio);
883 void cx231xx_release_resources(struct cx231xx *dev);
884 void cx231xx_release_analog_resources(struct cx231xx *dev);
885 int cx231xx_register_analog_devices(struct cx231xx *dev);
886 void cx231xx_remove_from_devlist(struct cx231xx *dev);
887 void cx231xx_add_into_devlist(struct cx231xx *dev);
888 void cx231xx_init_extension(struct cx231xx *dev);
889 void cx231xx_close_extension(struct cx231xx *dev);
892 int cx231xx_dev_init(struct cx231xx *dev);
893 void cx231xx_dev_uninit(struct cx231xx *dev);
894 void cx231xx_config_i2c(struct cx231xx *dev);
895 int cx231xx_config(struct cx231xx *dev);
898 int cx231xx_start_stream(struct cx231xx *dev, u32 ep_mask);
899 int cx231xx_stop_stream(struct cx231xx *dev, u32 ep_mask);
901 int cx231xx_initialize_stream_xfer(struct cx231xx *dev, u32 media_type);
904 int cx231xx_set_power_mode(struct cx231xx *dev, enum AV_MODE mode);
905 int cx231xx_power_suspend(struct cx231xx *dev);
908 int cx231xx_init_ctrl_pin_status(struct cx231xx *dev);
909 int cx231xx_set_agc_analog_digital_mux_select(struct cx231xx *dev,
911 int cx231xx_enable_i2c_port_3(struct cx231xx *dev, bool is_port_3);
914 void video_mux(struct cx231xx *dev, int index);
915 int cx231xx_set_video_input_mux(struct cx231xx *dev, u8 input);
916 int cx231xx_set_decoder_video_input(struct cx231xx *dev, u8 pin_type, u8 input);
917 int cx231xx_do_mode_ctrl_overrides(struct cx231xx *dev);
918 int cx231xx_set_audio_input(struct cx231xx *dev, u8 input);
923 void cx231xx_init_extension(struct cx231xx *dev);
924 void cx231xx_close_extension(struct cx231xx *dev);
925 void cx231xx_v4l2_create_entities(struct cx231xx *dev);
945 extern void cx231xx_pre_card_setup(struct cx231xx *dev);
946 extern void cx231xx_card_setup(struct cx231xx *dev);
953 extern int cx231xx_417_register(struct cx231xx *dev);
954 extern void cx231xx_417_unregister(struct cx231xx *dev);
959 int cx231xx_ir_init(struct cx231xx *dev);
960 void cx231xx_ir_exit(struct cx231xx *dev);
962 static inline int cx231xx_ir_init(struct cx231xx *dev) in cx231xx_ir_init()
966 static inline void cx231xx_ir_exit(struct cx231xx *dev) {} in cx231xx_ir_exit()
969 static inline unsigned int norm_maxw(struct cx231xx *dev) in norm_maxw()
977 static inline unsigned int norm_maxh(struct cx231xx *dev) in norm_maxh()