| H A D | pvrusb2-hdw.c | 18 #include "pvrusb2-hdw.h" 21 #include "pvrusb2-hdw-internal.h" 314 static int pvr2_hdw_set_input(struct pvr2_hdw *hdw,int v); 322 static int pvr2_hdw_cmd_usbstream(struct pvr2_hdw *hdw,int runFl); 323 static int pvr2_hdw_commit_setup(struct pvr2_hdw *hdw); 324 static int pvr2_hdw_get_eeprom_addr(struct pvr2_hdw *hdw); 330 static int pvr2_send_request_ex(struct pvr2_hdw *hdw, 334 static int pvr2_hdw_check_cropcap(struct pvr2_hdw *hdw); 335 static v4l2_std_id pvr2_hdw_get_detected_std(struct pvr2_hdw *hdw); 346 struct pvr2_hdw *hdw in ctrl_channelfreq_get() local 357 struct pvr2_hdw *hdw = cptr->hdw; ctrl_channelfreq_set() local 385 struct pvr2_hdw *hdw = cptr->hdw; ctrl_channelprog_set() local 394 struct pvr2_hdw *hdw = cptr->hdw; ctrl_channel_get() local 402 struct pvr2_hdw *hdw = cptr->hdw; ctrl_channel_set() local 685 struct pvr2_hdw *hdw = cptr->hdw; ctrl_freq_max_get() local 707 struct pvr2_hdw *hdw = cptr->hdw; ctrl_freq_min_get() local 757 struct pvr2_hdw *hdw = cptr->hdw; ctrl_cx2341x_set() local 845 struct pvr2_hdw *hdw = cptr->hdw; ctrl_stdavail_set() local 883 struct pvr2_hdw *hdw = cptr->hdw; ctrl_stdcur_set() local 905 struct pvr2_hdw *hdw = cptr->hdw; ctrl_signal_get() local 915 struct pvr2_hdw *hdw = cptr->hdw; ctrl_audio_modes_present_get() local 1280 pvr2_hdw_get_dev(struct pvr2_hdw * hdw) pvr2_hdw_get_dev() argument 1286 pvr2_hdw_get_sn(struct pvr2_hdw * hdw) pvr2_hdw_get_sn() argument 1292 pvr2_hdw_get_bus_info(struct pvr2_hdw * hdw) pvr2_hdw_get_bus_info() argument 1298 pvr2_hdw_get_device_identifier(struct pvr2_hdw * hdw) pvr2_hdw_get_device_identifier() argument 1304 pvr2_hdw_get_cur_freq(struct pvr2_hdw * hdw) pvr2_hdw_get_cur_freq() argument 1311 pvr2_hdw_set_cur_freq(struct pvr2_hdw * hdw,unsigned long val) pvr2_hdw_set_cur_freq() argument 1338 pvr2_hdw_get_unit_number(struct pvr2_hdw * hdw) pvr2_hdw_get_unit_number() argument 1350 pvr2_locate_firmware(struct pvr2_hdw * hdw,const struct firmware ** fw_entry,const char * fwtypename,unsigned int fwcount,const char * fwnames[]) pvr2_locate_firmware() argument 1406 pvr2_upload_firmware1(struct pvr2_hdw * hdw) pvr2_upload_firmware1() argument 1500 pvr2_upload_firmware2(struct pvr2_hdw * hdw) pvr2_upload_firmware2() argument 1656 pvr2_decoder_enable(struct pvr2_hdw * hdw,int enablefl) pvr2_decoder_enable() argument 1683 pvr2_hdw_get_state(struct pvr2_hdw * hdw) pvr2_hdw_get_state() argument 1689 pvr2_hdw_untrip_unlocked(struct pvr2_hdw * hdw) pvr2_hdw_untrip_unlocked() argument 1699 pvr2_hdw_untrip(struct pvr2_hdw * hdw) pvr2_hdw_untrip() argument 1712 pvr2_hdw_get_streaming(struct pvr2_hdw * hdw) pvr2_hdw_get_streaming() argument 1718 pvr2_hdw_set_streaming(struct pvr2_hdw * hdw,int enable_flag) pvr2_hdw_set_streaming() argument 1742 pvr2_hdw_set_stream_type(struct pvr2_hdw * hdw,enum pvr2_config config) pvr2_hdw_set_stream_type() argument 1759 get_default_tuner_type(struct pvr2_hdw * hdw) get_default_tuner_type() argument 1773 get_default_standard(struct pvr2_hdw * hdw) get_default_standard() argument 1785 get_default_error_tolerance(struct pvr2_hdw * hdw) get_default_error_tolerance() argument 1796 pvr2_hdw_check_firmware(struct pvr2_hdw * hdw) pvr2_hdw_check_firmware() argument 1859 pvr2_hdw_setup_std(struct pvr2_hdw * hdw) pvr2_hdw_setup_std() argument 1943 pvr2_hdw_cx25840_vbi_hack(struct pvr2_hdw * hdw) pvr2_hdw_cx25840_vbi_hack() argument 1972 pvr2_hdw_load_subdev(struct pvr2_hdw * hdw,const struct pvr2_device_client_desc * cd) pvr2_hdw_load_subdev() argument 2060 pvr2_hdw_load_modules(struct pvr2_hdw * hdw) pvr2_hdw_load_modules() argument 2083 pvr2_hdw_setup_low(struct pvr2_hdw * hdw) pvr2_hdw_setup_low() argument 2257 pvr2_hdw_setup(struct pvr2_hdw * hdw) pvr2_hdw_setup() argument 2322 pvr2_hdw_initialize(struct pvr2_hdw * hdw,void (* callback_func)(void *),void * callback_data) pvr2_hdw_initialize() argument 2350 struct pvr2_hdw *hdw = NULL; pvr2_hdw_create() local 2626 pvr2_hdw_remove_usb_stuff(struct pvr2_hdw * hdw) pvr2_hdw_remove_usb_stuff() argument 2658 pvr2_hdw_set_v4l2_dev(struct pvr2_hdw * hdw,struct video_device * vdev) pvr2_hdw_set_v4l2_dev() argument 2664 pvr2_hdw_destroy(struct pvr2_hdw * hdw) pvr2_hdw_destroy() argument 2698 pvr2_hdw_dev_ok(struct pvr2_hdw * hdw) pvr2_hdw_dev_ok() argument 2705 pvr2_hdw_disconnect(struct pvr2_hdw * hdw) pvr2_hdw_disconnect() argument 2718 pvr2_hdw_get_ctrl_count(struct pvr2_hdw * hdw) pvr2_hdw_get_ctrl_count() argument 2725 pvr2_hdw_get_ctrl_by_index(struct pvr2_hdw * hdw,unsigned int idx) pvr2_hdw_get_ctrl_by_index() argument 2734 pvr2_hdw_get_ctrl_by_id(struct pvr2_hdw * hdw,unsigned int ctl_id) pvr2_hdw_get_ctrl_by_id() argument 2752 pvr2_hdw_get_ctrl_v4l(struct pvr2_hdw * hdw,unsigned int ctl_id) pvr2_hdw_get_ctrl_v4l() argument 2770 pvr2_hdw_get_ctrl_nextv4l(struct pvr2_hdw * hdw,unsigned int ctl_id) pvr2_hdw_get_ctrl_nextv4l() argument 2804 pvr2_subdev_set_control(struct pvr2_hdw * hdw,int id,const char * name,int val) pvr2_subdev_set_control() argument 2819 PVR2_SUBDEV_SET_CONTROL(hdw,id,lab) global() argument 2824 pvr2_hdw_get_detected_std(struct pvr2_hdw * hdw) pvr2_hdw_get_detected_std() argument 2835 pvr2_subdev_update(struct pvr2_hdw * hdw) pvr2_subdev_update() argument 2971 pvr2_hdw_commit_setup(struct pvr2_hdw * hdw) pvr2_hdw_commit_setup() argument 3020 pvr2_hdw_commit_execute(struct pvr2_hdw * hdw) pvr2_hdw_commit_execute() argument 3180 pvr2_hdw_commit_ctl(struct pvr2_hdw * hdw) pvr2_hdw_commit_ctl() argument 3194 struct pvr2_hdw *hdw = container_of(work,struct pvr2_hdw,workpoll); pvr2_hdw_worker_poll() local 3204 pvr2_hdw_wait(struct pvr2_hdw * hdw,int state) pvr2_hdw_wait() argument 3214 pvr2_hdw_get_driver_name(struct pvr2_hdw * hdw) pvr2_hdw_get_driver_name() argument 3220 pvr2_hdw_get_desc(struct pvr2_hdw * hdw) pvr2_hdw_get_desc() argument 3226 pvr2_hdw_get_type(struct pvr2_hdw * hdw) pvr2_hdw_get_type() argument 3232 pvr2_hdw_is_hsm(struct pvr2_hdw * hdw) pvr2_hdw_is_hsm() argument 3248 pvr2_hdw_execute_tuner_poll(struct pvr2_hdw * hdw) pvr2_hdw_execute_tuner_poll() argument 3256 pvr2_hdw_check_cropcap(struct pvr2_hdw * hdw) pvr2_hdw_check_cropcap() argument 3270 pvr2_hdw_get_cropcap(struct pvr2_hdw * hdw,struct v4l2_cropcap * pp) pvr2_hdw_get_cropcap() argument 3284 pvr2_hdw_get_tuner_status(struct pvr2_hdw * hdw,struct v4l2_tuner * vtp) pvr2_hdw_get_tuner_status() argument 3305 pvr2_hdw_trigger_module_log(struct pvr2_hdw * hdw) pvr2_hdw_trigger_module_log() argument 3324 pvr2_full_eeprom_fetch(struct pvr2_hdw * hdw) pvr2_full_eeprom_fetch() argument 3394 pvr2_hdw_cpufw_set_enabled(struct pvr2_hdw * hdw,int mode,int enable_flag) pvr2_hdw_cpufw_set_enabled() argument 3471 pvr2_hdw_cpufw_get_enabled(struct pvr2_hdw * hdw) pvr2_hdw_cpufw_get_enabled() argument 3477 pvr2_hdw_cpufw_get(struct pvr2_hdw * hdw,unsigned int offs,char * buf,unsigned int cnt) pvr2_hdw_cpufw_get() argument 3514 pvr2_hdw_v4l_get_minor_number(struct pvr2_hdw * hdw,enum pvr2_v4l_type index) pvr2_hdw_v4l_get_minor_number() argument 3527 pvr2_hdw_v4l_store_minor_number(struct pvr2_hdw * hdw,enum pvr2_v4l_type index,int v) pvr2_hdw_v4l_store_minor_number() argument 3541 struct pvr2_hdw *hdw = urb->context; pvr2_ctl_write_complete() local 3550 struct pvr2_hdw *hdw = urb->context; pvr2_ctl_read_complete() local 3558 struct pvr2_hdw *hdw; global() member 3564 struct pvr2_hdw *hdw = timer->hdw; pvr2_ctl_timeout() local 3580 pvr2_send_request_ex(struct pvr2_hdw * hdw,unsigned int timeout,int probe_fl,void * write_data,unsigned int write_len,void * read_data,unsigned int read_len) pvr2_send_request_ex() argument 3818 pvr2_send_request(struct pvr2_hdw * hdw,void * write_data,unsigned int write_len,void * read_data,unsigned int read_len) pvr2_send_request() argument 3828 pvr2_issue_simple_cmd(struct pvr2_hdw * hdw,u32 cmdcode) pvr2_issue_simple_cmd() argument 3888 pvr2_write_register(struct pvr2_hdw * hdw,u16 reg,u32 data) pvr2_write_register() argument 3909 pvr2_read_register(struct pvr2_hdw * hdw,u16 reg,u32 * data) pvr2_read_register() argument 3933 pvr2_hdw_render_useless(struct pvr2_hdw * hdw) pvr2_hdw_render_useless() argument 3947 pvr2_hdw_device_reset(struct pvr2_hdw * hdw) pvr2_hdw_device_reset() argument 3969 pvr2_hdw_cpureset_assert(struct pvr2_hdw * hdw,int val) pvr2_hdw_cpureset_assert() argument 4003 pvr2_hdw_cmd_deep_reset(struct pvr2_hdw * hdw) pvr2_hdw_cmd_deep_reset() argument 4009 pvr2_hdw_cmd_powerup(struct pvr2_hdw * hdw) pvr2_hdw_cmd_powerup() argument 4016 pvr2_hdw_cmd_decoder_reset(struct pvr2_hdw * hdw) pvr2_hdw_cmd_decoder_reset() argument 4032 pvr2_hdw_cmd_hcw_demod_reset(struct pvr2_hdw * hdw,int onoff) pvr2_hdw_cmd_hcw_demod_reset() argument 4056 pvr2_hdw_cmd_onair_fe_power_ctrl(struct pvr2_hdw * hdw,int onoff) pvr2_hdw_cmd_onair_fe_power_ctrl() argument 4065 pvr2_hdw_cmd_onair_digital_path_ctrl(struct pvr2_hdw * hdw,int onoff) pvr2_hdw_cmd_onair_digital_path_ctrl() argument 4074 pvr2_hdw_cmd_modeswitch(struct pvr2_hdw * hdw,int digitalFl) pvr2_hdw_cmd_modeswitch() argument 4110 pvr2_led_ctrl_hauppauge(struct pvr2_hdw * hdw,int onoff) pvr2_led_ctrl_hauppauge() argument 4135 pvr2_led_ctrl(struct pvr2_hdw * hdw,int onoff) pvr2_led_ctrl() argument 4156 pvr2_hdw_cmd_usbstream(struct pvr2_hdw * hdw,int runFl) pvr2_hdw_cmd_usbstream() argument 4199 state_eval_pathway_ok(struct pvr2_hdw * hdw) state_eval_pathway_ok() argument 4217 state_eval_encoder_ok(struct pvr2_hdw * hdw) state_eval_encoder_ok() argument 4243 state_eval_encoder_config(struct pvr2_hdw * hdw) state_eval_encoder_config() argument 4309 state_check_disable_encoder_run(struct pvr2_hdw * hdw) state_check_disable_encoder_run() argument 4354 state_check_enable_encoder_run(struct pvr2_hdw * hdw) state_check_enable_encoder_run() argument 4400 state_eval_encoder_run(struct pvr2_hdw * hdw) state_eval_encoder_run() argument 4427 struct pvr2_hdw *hdw = timer_container_of(hdw, t, quiescent_timer); pvr2_hdw_quiescent_timeout() local 4438 struct pvr2_hdw *hdw = timer_container_of(hdw, t, pvr2_hdw_decoder_stabilization_timeout() local 4450 struct pvr2_hdw *hdw = timer_container_of(hdw, t, encoder_wait_timer); pvr2_hdw_encoder_wait_timeout() local 4461 struct pvr2_hdw *hdw = timer_container_of(hdw, t, encoder_run_timer); pvr2_hdw_encoder_run_timeout() local 4472 state_eval_decoder_run(struct pvr2_hdw * hdw) state_eval_decoder_run() argument 4547 state_eval_usbstream_run(struct pvr2_hdw * hdw) state_eval_usbstream_run() argument 4596 state_eval_pipeline_config(struct pvr2_hdw * hdw) state_eval_pipeline_config() argument 4608 state_update_pipeline_state(struct pvr2_hdw * hdw) state_update_pipeline_state() argument 4644 pvr2_hdw_state_update(struct pvr2_hdw * hdw) pvr2_hdw_state_update() argument 4709 pvr2_hdw_report_unlocked(struct pvr2_hdw * hdw,int which,char * buf,unsigned int acnt) pvr2_hdw_report_unlocked() argument 4820 pvr2_hdw_report_clients(struct pvr2_hdw * hdw,char * buf,unsigned int acnt) pvr2_hdw_report_clients() argument 4860 pvr2_hdw_state_report(struct pvr2_hdw * hdw,char * buf,unsigned int acnt) pvr2_hdw_state_report() argument 4881 pvr2_hdw_state_log_state(struct pvr2_hdw * hdw) pvr2_hdw_state_log_state() argument 4910 pvr2_hdw_state_eval(struct pvr2_hdw * hdw) pvr2_hdw_state_eval() argument 4973 pvr2_hdw_state_sched(struct pvr2_hdw * hdw) pvr2_hdw_state_sched() argument 4982 pvr2_hdw_gpio_get_dir(struct pvr2_hdw * hdw,u32 * dp) pvr2_hdw_gpio_get_dir() argument 4988 pvr2_hdw_gpio_get_out(struct pvr2_hdw * hdw,u32 * dp) pvr2_hdw_gpio_get_out() argument 4994 pvr2_hdw_gpio_get_in(struct pvr2_hdw * hdw,u32 * dp) pvr2_hdw_gpio_get_in() argument 5000 pvr2_hdw_gpio_chg_dir(struct pvr2_hdw * hdw,u32 msk,u32 val) pvr2_hdw_gpio_chg_dir() argument 5020 pvr2_hdw_gpio_chg_out(struct pvr2_hdw * hdw,u32 msk,u32 val) pvr2_hdw_gpio_chg_out() argument 5040 pvr2_hdw_status_poll(struct pvr2_hdw * hdw) pvr2_hdw_status_poll() argument 5063 pvr2_hdw_get_input_available(struct pvr2_hdw * hdw) pvr2_hdw_get_input_available() argument 5069 pvr2_hdw_get_input_allowed(struct pvr2_hdw * hdw) pvr2_hdw_get_input_allowed() argument 5075 pvr2_hdw_set_input(struct pvr2_hdw * hdw,int v) pvr2_hdw_set_input() argument 5097 pvr2_hdw_set_input_allowed(struct pvr2_hdw * hdw,unsigned int change_mask,unsigned int change_val) pvr2_hdw_set_input_allowed() argument 5138 pvr2_hdw_get_eeprom_addr(struct pvr2_hdw * hdw) pvr2_hdw_get_eeprom_addr() argument [all...] |