Lines Matching refs:pvr2_hdw

53 static struct pvr2_hdw *unit_pointers[PVR_NUM] = {[ 0 ... PVR_NUM-1 ] = NULL};
101 typedef void (*pvr2_subdev_update_func)(struct pvr2_hdw *,
314 static int pvr2_hdw_set_input(struct pvr2_hdw *hdw,int v);
315 static void pvr2_hdw_state_sched(struct pvr2_hdw *);
316 static int pvr2_hdw_state_eval(struct pvr2_hdw *);
317 static void pvr2_hdw_set_cur_freq(struct pvr2_hdw *,unsigned long);
319 static int pvr2_hdw_wait(struct pvr2_hdw *,int state);
320 static int pvr2_hdw_untrip_unlocked(struct pvr2_hdw *);
321 static void pvr2_hdw_state_log_state(struct pvr2_hdw *);
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);
329 static int pvr2_issue_simple_cmd(struct pvr2_hdw *,u32);
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 = cptr->hdw;
357 struct pvr2_hdw *hdw = cptr->hdw;
385 struct pvr2_hdw *hdw = cptr->hdw;
394 struct pvr2_hdw *hdw = cptr->hdw;
402 struct pvr2_hdw *hdw = cptr->hdw;
685 struct pvr2_hdw *hdw = cptr->hdw;
707 struct pvr2_hdw *hdw = cptr->hdw;
757 struct pvr2_hdw *hdw = cptr->hdw;
845 struct pvr2_hdw *hdw = cptr->hdw;
883 struct pvr2_hdw *hdw = cptr->hdw;
905 struct pvr2_hdw *hdw = cptr->hdw;
915 struct pvr2_hdw *hdw = cptr->hdw;
1280 struct usb_device *pvr2_hdw_get_dev(struct pvr2_hdw *hdw)
1286 unsigned long pvr2_hdw_get_sn(struct pvr2_hdw *hdw)
1292 const char *pvr2_hdw_get_bus_info(struct pvr2_hdw *hdw)
1298 const char *pvr2_hdw_get_device_identifier(struct pvr2_hdw *hdw)
1304 unsigned long pvr2_hdw_get_cur_freq(struct pvr2_hdw *hdw)
1311 static void pvr2_hdw_set_cur_freq(struct pvr2_hdw *hdw,unsigned long val)
1338 int pvr2_hdw_get_unit_number(struct pvr2_hdw *hdw)
1350 static int pvr2_locate_firmware(struct pvr2_hdw *hdw,
1406 static int pvr2_upload_firmware1(struct pvr2_hdw *hdw)
1500 int pvr2_upload_firmware2(struct pvr2_hdw *hdw)
1656 static int pvr2_decoder_enable(struct pvr2_hdw *hdw,int enablefl)
1683 int pvr2_hdw_get_state(struct pvr2_hdw *hdw)
1689 static int pvr2_hdw_untrip_unlocked(struct pvr2_hdw *hdw)
1699 int pvr2_hdw_untrip(struct pvr2_hdw *hdw)
1712 int pvr2_hdw_get_streaming(struct pvr2_hdw *hdw)
1718 int pvr2_hdw_set_streaming(struct pvr2_hdw *hdw,int enable_flag)
1742 int pvr2_hdw_set_stream_type(struct pvr2_hdw *hdw,enum pvr2_config config)
1759 static int get_default_tuner_type(struct pvr2_hdw *hdw)
1773 static v4l2_std_id get_default_standard(struct pvr2_hdw *hdw)
1785 static unsigned int get_default_error_tolerance(struct pvr2_hdw *hdw)
1796 static int pvr2_hdw_check_firmware(struct pvr2_hdw *hdw)
1859 static void pvr2_hdw_setup_std(struct pvr2_hdw *hdw)
1943 static void pvr2_hdw_cx25840_vbi_hack(struct pvr2_hdw *hdw)
1972 static int pvr2_hdw_load_subdev(struct pvr2_hdw *hdw,
2060 static void pvr2_hdw_load_modules(struct pvr2_hdw *hdw)
2083 static void pvr2_hdw_setup_low(struct pvr2_hdw *hdw)
2257 static void pvr2_hdw_setup(struct pvr2_hdw *hdw)
2322 int pvr2_hdw_initialize(struct pvr2_hdw *hdw,
2346 struct pvr2_hdw *pvr2_hdw_create(struct usb_interface *intf,
2350 struct pvr2_hdw *hdw = NULL;
2628 static void pvr2_hdw_remove_usb_stuff(struct pvr2_hdw *hdw)
2660 void pvr2_hdw_set_v4l2_dev(struct pvr2_hdw *hdw, struct video_device *vdev)
2666 void pvr2_hdw_destroy(struct pvr2_hdw *hdw)
2700 int pvr2_hdw_dev_ok(struct pvr2_hdw *hdw)
2707 void pvr2_hdw_disconnect(struct pvr2_hdw *hdw)
2720 unsigned int pvr2_hdw_get_ctrl_count(struct pvr2_hdw *hdw)
2727 struct pvr2_ctrl *pvr2_hdw_get_ctrl_by_index(struct pvr2_hdw *hdw,
2736 struct pvr2_ctrl *pvr2_hdw_get_ctrl_by_id(struct pvr2_hdw *hdw,
2754 struct pvr2_ctrl *pvr2_hdw_get_ctrl_v4l(struct pvr2_hdw *hdw,unsigned int ctl_id)
2772 struct pvr2_ctrl *pvr2_hdw_get_ctrl_nextv4l(struct pvr2_hdw *hdw,
2806 static void pvr2_subdev_set_control(struct pvr2_hdw *hdw, int id,
2826 static v4l2_std_id pvr2_hdw_get_detected_std(struct pvr2_hdw *hdw)
2837 static void pvr2_subdev_update(struct pvr2_hdw *hdw)
2973 static int pvr2_hdw_commit_setup(struct pvr2_hdw *hdw)
3022 static int pvr2_hdw_commit_execute(struct pvr2_hdw *hdw)
3182 int pvr2_hdw_commit_ctl(struct pvr2_hdw *hdw)
3196 struct pvr2_hdw *hdw = container_of(work,struct pvr2_hdw,workpoll);
3206 static int pvr2_hdw_wait(struct pvr2_hdw *hdw,int state)
3216 const char *pvr2_hdw_get_driver_name(struct pvr2_hdw *hdw)
3222 const char *pvr2_hdw_get_desc(struct pvr2_hdw *hdw)
3228 const char *pvr2_hdw_get_type(struct pvr2_hdw *hdw)
3234 int pvr2_hdw_is_hsm(struct pvr2_hdw *hdw)
3250 void pvr2_hdw_execute_tuner_poll(struct pvr2_hdw *hdw)
3258 static int pvr2_hdw_check_cropcap(struct pvr2_hdw *hdw)
3272 int pvr2_hdw_get_cropcap(struct pvr2_hdw *hdw, struct v4l2_cropcap *pp)
3286 int pvr2_hdw_get_tuner_status(struct pvr2_hdw *hdw,struct v4l2_tuner *vtp)
3301 struct pvr2_stream *pvr2_hdw_get_video_stream(struct pvr2_hdw *hp)
3307 void pvr2_hdw_trigger_module_log(struct pvr2_hdw *hdw)
3326 static u8 *pvr2_full_eeprom_fetch(struct pvr2_hdw *hdw)
3396 void pvr2_hdw_cpufw_set_enabled(struct pvr2_hdw *hdw,
3473 int pvr2_hdw_cpufw_get_enabled(struct pvr2_hdw *hdw)
3479 int pvr2_hdw_cpufw_get(struct pvr2_hdw *hdw,unsigned int offs,
3516 int pvr2_hdw_v4l_get_minor_number(struct pvr2_hdw *hdw,
3529 void pvr2_hdw_v4l_store_minor_number(struct pvr2_hdw *hdw,
3543 struct pvr2_hdw *hdw = urb->context;
3552 struct pvr2_hdw *hdw = urb->context;
3560 struct pvr2_hdw *hdw;
3566 struct pvr2_hdw *hdw = timer->hdw;
3582 static int pvr2_send_request_ex(struct pvr2_hdw *hdw,
3815 int pvr2_send_request(struct pvr2_hdw *hdw,
3825 static int pvr2_issue_simple_cmd(struct pvr2_hdw *hdw,u32 cmdcode)
3885 int pvr2_write_register(struct pvr2_hdw *hdw, u16 reg, u32 data)
3906 static int pvr2_read_register(struct pvr2_hdw *hdw, u16 reg, u32 *data)
3930 void pvr2_hdw_render_useless(struct pvr2_hdw *hdw)
3944 void pvr2_hdw_device_reset(struct pvr2_hdw *hdw)
3966 void pvr2_hdw_cpureset_assert(struct pvr2_hdw *hdw,int val)
4000 int pvr2_hdw_cmd_deep_reset(struct pvr2_hdw *hdw)
4006 int pvr2_hdw_cmd_powerup(struct pvr2_hdw *hdw)
4013 int pvr2_hdw_cmd_decoder_reset(struct pvr2_hdw *hdw)
4029 static int pvr2_hdw_cmd_hcw_demod_reset(struct pvr2_hdw *hdw, int onoff)
4053 static int pvr2_hdw_cmd_onair_fe_power_ctrl(struct pvr2_hdw *hdw, int onoff)
4062 static int pvr2_hdw_cmd_onair_digital_path_ctrl(struct pvr2_hdw *hdw,
4071 static void pvr2_hdw_cmd_modeswitch(struct pvr2_hdw *hdw,int digitalFl)
4107 static void pvr2_led_ctrl_hauppauge(struct pvr2_hdw *hdw, int onoff)
4124 typedef void (*led_method_func)(struct pvr2_hdw *,int);
4132 static void pvr2_led_ctrl(struct pvr2_hdw *hdw,int onoff)
4153 static int pvr2_hdw_cmd_usbstream(struct pvr2_hdw *hdw,int runFl)
4196 static int state_eval_pathway_ok(struct pvr2_hdw *hdw)
4214 static int state_eval_encoder_ok(struct pvr2_hdw *hdw)
4240 static int state_eval_encoder_config(struct pvr2_hdw *hdw)
4306 static int state_check_disable_encoder_run(struct pvr2_hdw *hdw)
4351 static int state_check_enable_encoder_run(struct pvr2_hdw *hdw)
4397 static int state_eval_encoder_run(struct pvr2_hdw *hdw)
4424 struct pvr2_hdw *hdw = from_timer(hdw, t, quiescent_timer);
4435 struct pvr2_hdw *hdw = from_timer(hdw, t, decoder_stabilization_timer);
4446 struct pvr2_hdw *hdw = from_timer(hdw, t, encoder_wait_timer);
4457 struct pvr2_hdw *hdw = from_timer(hdw, t, encoder_run_timer);
4468 static int state_eval_decoder_run(struct pvr2_hdw *hdw)
4543 static int state_eval_usbstream_run(struct pvr2_hdw *hdw)
4592 static int state_eval_pipeline_config(struct pvr2_hdw *hdw)
4604 static int state_update_pipeline_state(struct pvr2_hdw *hdw)
4625 typedef int (*state_eval_func)(struct pvr2_hdw *);
4640 static int pvr2_hdw_state_update(struct pvr2_hdw *hdw)
4705 static unsigned int pvr2_hdw_report_unlocked(struct pvr2_hdw *hdw,int which,
4816 static unsigned int pvr2_hdw_report_clients(struct pvr2_hdw *hdw,
4856 unsigned int pvr2_hdw_state_report(struct pvr2_hdw *hdw,
4877 static void pvr2_hdw_state_log_state(struct pvr2_hdw *hdw)
4906 static int pvr2_hdw_state_eval(struct pvr2_hdw *hdw)
4969 static void pvr2_hdw_state_sched(struct pvr2_hdw *hdw)
4978 int pvr2_hdw_gpio_get_dir(struct pvr2_hdw *hdw,u32 *dp)
4984 int pvr2_hdw_gpio_get_out(struct pvr2_hdw *hdw,u32 *dp)
4990 int pvr2_hdw_gpio_get_in(struct pvr2_hdw *hdw,u32 *dp)
4996 int pvr2_hdw_gpio_chg_dir(struct pvr2_hdw *hdw,u32 msk,u32 val)
5016 int pvr2_hdw_gpio_chg_out(struct pvr2_hdw *hdw,u32 msk,u32 val)
5036 void pvr2_hdw_status_poll(struct pvr2_hdw *hdw)
5059 unsigned int pvr2_hdw_get_input_available(struct pvr2_hdw *hdw)
5065 unsigned int pvr2_hdw_get_input_allowed(struct pvr2_hdw *hdw)
5071 static int pvr2_hdw_set_input(struct pvr2_hdw *hdw,int v)
5093 int pvr2_hdw_set_input_allowed(struct pvr2_hdw *hdw,
5134 static int pvr2_hdw_get_eeprom_addr(struct pvr2_hdw *hdw)