Lines Matching refs:hdw

112 	struct pvr2_hdw *hdw = fh->channel.mc_head->hdw;  in pvr2_querycap()  local
115 strscpy(cap->bus_info, pvr2_hdw_get_bus_info(hdw), in pvr2_querycap()
117 strscpy(cap->card, pvr2_hdw_get_desc(hdw), sizeof(cap->card)); in pvr2_querycap()
127 struct pvr2_hdw *hdw = fh->channel.mc_head->hdw; in pvr2_g_std() local
132 pvr2_hdw_get_ctrl_by_id(hdw, PVR2_CID_STDCUR), &val); in pvr2_g_std()
140 struct pvr2_hdw *hdw = fh->channel.mc_head->hdw; in pvr2_s_std() local
144 pvr2_hdw_get_ctrl_by_id(hdw, PVR2_CID_STDCUR), std); in pvr2_s_std()
145 pvr2_hdw_commit_ctl(hdw); in pvr2_s_std()
152 struct pvr2_hdw *hdw = fh->channel.mc_head->hdw; in pvr2_querystd() local
157 pvr2_hdw_get_ctrl_by_id(hdw, PVR2_CID_STDDETECT), &val); in pvr2_querystd()
165 struct pvr2_hdw *hdw = fh->channel.mc_head->hdw; in pvr2_enum_input() local
171 cptr = pvr2_hdw_get_ctrl_by_id(hdw, PVR2_CID_INPUT); in pvr2_enum_input()
213 struct pvr2_hdw *hdw = fh->channel.mc_head->hdw; in pvr2_g_input() local
219 cptr = pvr2_hdw_get_ctrl_by_id(hdw, PVR2_CID_INPUT); in pvr2_g_input()
235 struct pvr2_hdw *hdw = fh->channel.mc_head->hdw; in pvr2_s_input() local
241 pvr2_hdw_get_ctrl_by_id(hdw, PVR2_CID_INPUT), in pvr2_s_input()
243 pvr2_hdw_commit_ctl(hdw); in pvr2_s_input()
290 struct pvr2_hdw *hdw = fh->channel.mc_head->hdw; in pvr2_g_tuner() local
295 pvr2_hdw_execute_tuner_poll(hdw); in pvr2_g_tuner()
296 return pvr2_hdw_get_tuner_status(hdw, vt); in pvr2_g_tuner()
302 struct pvr2_hdw *hdw = fh->channel.mc_head->hdw; in pvr2_s_tuner() local
309 pvr2_hdw_get_ctrl_by_id(hdw, PVR2_CID_AUDIOMODE), in pvr2_s_tuner()
311 pvr2_hdw_commit_ctl(hdw); in pvr2_s_tuner()
318 struct pvr2_hdw *hdw = fh->channel.mc_head->hdw; in pvr2_s_frequency() local
325 ret = pvr2_hdw_get_tuner_status(hdw, &vt); in pvr2_s_frequency()
328 ctrlp = pvr2_hdw_get_ctrl_by_id(hdw, PVR2_CID_INPUT); in pvr2_s_frequency()
345 pvr2_hdw_get_ctrl_by_id(hdw,PVR2_CID_FREQUENCY),fv); in pvr2_s_frequency()
346 pvr2_hdw_commit_ctl(hdw); in pvr2_s_frequency()
353 struct pvr2_hdw *hdw = fh->channel.mc_head->hdw; in pvr2_g_frequency() local
359 ret = pvr2_hdw_get_tuner_status(hdw, &vt); in pvr2_g_frequency()
363 pvr2_hdw_get_ctrl_by_id(hdw, PVR2_CID_FREQUENCY), in pvr2_g_frequency()
368 pvr2_hdw_get_ctrl_by_id(hdw, PVR2_CID_INPUT), in pvr2_g_frequency()
395 struct pvr2_hdw *hdw = fh->channel.mc_head->hdw; in pvr2_g_fmt_vid_cap() local
401 pvr2_hdw_get_ctrl_by_id(hdw, PVR2_CID_HRES), in pvr2_g_fmt_vid_cap()
406 pvr2_hdw_get_ctrl_by_id(hdw, PVR2_CID_VRES), in pvr2_g_fmt_vid_cap()
415 struct pvr2_hdw *hdw = fh->channel.mc_head->hdw; in pvr2_try_fmt_vid_cap() local
421 hcp = pvr2_hdw_get_ctrl_by_id(hdw, PVR2_CID_HRES); in pvr2_try_fmt_vid_cap()
422 vcp = pvr2_hdw_get_ctrl_by_id(hdw, PVR2_CID_VRES); in pvr2_try_fmt_vid_cap()
453 struct pvr2_hdw *hdw = fh->channel.mc_head->hdw; in pvr2_s_fmt_vid_cap() local
459 hcp = pvr2_hdw_get_ctrl_by_id(hdw, PVR2_CID_HRES); in pvr2_s_fmt_vid_cap()
460 vcp = pvr2_hdw_get_ctrl_by_id(hdw, PVR2_CID_VRES); in pvr2_s_fmt_vid_cap()
463 pvr2_hdw_commit_ctl(hdw); in pvr2_s_fmt_vid_cap()
470 struct pvr2_hdw *hdw = fh->channel.mc_head->hdw; in pvr2_streamon() local
480 ret = pvr2_hdw_set_stream_type(hdw, pdi->config); in pvr2_streamon()
483 return pvr2_hdw_set_streaming(hdw, !0); in pvr2_streamon()
489 struct pvr2_hdw *hdw = fh->channel.mc_head->hdw; in pvr2_streamoff() local
497 return pvr2_hdw_set_streaming(hdw, 0); in pvr2_streamoff()
504 struct pvr2_hdw *hdw = fh->channel.mc_head->hdw; in pvr2_queryctrl() local
510 hdw, (vc->id & ~V4L2_CTRL_FLAG_NEXT_CTRL)); in pvr2_queryctrl()
514 cptr = pvr2_hdw_get_ctrl_v4l(hdw, vc->id); in pvr2_queryctrl()
562 struct pvr2_hdw *hdw = fh->channel.mc_head->hdw; in pvr2_querymenu() local
566 ret = pvr2_ctrl_get_valname(pvr2_hdw_get_ctrl_v4l(hdw, vm->id), in pvr2_querymenu()
577 struct pvr2_hdw *hdw = fh->channel.mc_head->hdw; in pvr2_g_ctrl() local
581 ret = pvr2_ctrl_get_value(pvr2_hdw_get_ctrl_v4l(hdw, vc->id), in pvr2_g_ctrl()
590 struct pvr2_hdw *hdw = fh->channel.mc_head->hdw; in pvr2_s_ctrl() local
593 ret = pvr2_ctrl_set_value(pvr2_hdw_get_ctrl_v4l(hdw, vc->id), in pvr2_s_ctrl()
595 pvr2_hdw_commit_ctl(hdw); in pvr2_s_ctrl()
603 struct pvr2_hdw *hdw = fh->channel.mc_head->hdw; in pvr2_g_ext_ctrls() local
613 cptr = pvr2_hdw_get_ctrl_v4l(hdw, ctrl->id); in pvr2_g_ext_ctrls()
638 struct pvr2_hdw *hdw = fh->channel.mc_head->hdw; in pvr2_s_ext_ctrls() local
647 pvr2_hdw_get_ctrl_v4l(hdw, ctrl->id), in pvr2_s_ext_ctrls()
655 pvr2_hdw_commit_ctl(hdw); in pvr2_s_ext_ctrls()
663 struct pvr2_hdw *hdw = fh->channel.mc_head->hdw; in pvr2_try_ext_ctrls() local
672 pctl = pvr2_hdw_get_ctrl_v4l(hdw, ctrl->id); in pvr2_try_ext_ctrls()
685 struct pvr2_hdw *hdw = fh->channel.mc_head->hdw; in pvr2_g_pixelaspect() local
691 ret = pvr2_hdw_get_cropcap(hdw, &cap); in pvr2_g_pixelaspect()
701 struct pvr2_hdw *hdw = fh->channel.mc_head->hdw; in pvr2_g_selection() local
714 pvr2_hdw_get_ctrl_by_id(hdw, PVR2_CID_CROPL), &val); in pvr2_g_selection()
719 pvr2_hdw_get_ctrl_by_id(hdw, PVR2_CID_CROPT), &val); in pvr2_g_selection()
724 pvr2_hdw_get_ctrl_by_id(hdw, PVR2_CID_CROPW), &val); in pvr2_g_selection()
729 pvr2_hdw_get_ctrl_by_id(hdw, PVR2_CID_CROPH), &val); in pvr2_g_selection()
735 ret = pvr2_hdw_get_cropcap(hdw, &cap); in pvr2_g_selection()
739 ret = pvr2_hdw_get_cropcap(hdw, &cap); in pvr2_g_selection()
752 struct pvr2_hdw *hdw = fh->channel.mc_head->hdw; in pvr2_s_selection() local
759 pvr2_hdw_get_ctrl_by_id(hdw, PVR2_CID_CROPL), in pvr2_s_selection()
764 pvr2_hdw_get_ctrl_by_id(hdw, PVR2_CID_CROPT), in pvr2_s_selection()
769 pvr2_hdw_get_ctrl_by_id(hdw, PVR2_CID_CROPW), in pvr2_s_selection()
774 pvr2_hdw_get_ctrl_by_id(hdw, PVR2_CID_CROPH), in pvr2_s_selection()
777 pvr2_hdw_commit_ctl(hdw); in pvr2_s_selection()
784 struct pvr2_hdw *hdw = fh->channel.mc_head->hdw; in pvr2_log_status() local
786 pvr2_hdw_trigger_module_log(hdw); in pvr2_log_status()
826 struct pvr2_hdw *hdw = dip->v4lp->channel.mc_head->hdw; in pvr2_v4l2_dev_destroy() local
840 pvr2_hdw_v4l_store_minor_number(hdw,dip->minor_type,-1); in pvr2_v4l2_dev_destroy()
911 struct pvr2_hdw *hdw = fhp->channel.mc_head->hdw; in pvr2_v4l2_release() local
917 pvr2_hdw_set_streaming(hdw,0); in pvr2_v4l2_release()
951 struct pvr2_hdw *hdw; in pvr2_v4l2_open() local
959 hdw = vp->channel.hdw; in pvr2_v4l2_open()
963 if (!pvr2_hdw_dev_ok(hdw)) { in pvr2_v4l2_open()
1004 input_mask &= pvr2_hdw_get_input_available(hdw); in pvr2_v4l2_open()
1029 fhp->fw_mode_flag = pvr2_hdw_cpufw_get_enabled(hdw); in pvr2_v4l2_open()
1047 struct pvr2_hdw *hdw; in pvr2_v4l2_iosetup() local
1070 hdw = fh->channel.mc_head->hdw; in pvr2_v4l2_iosetup()
1073 pvr2_hdw_set_stream_type(hdw,fh->pdi->config); in pvr2_v4l2_iosetup()
1074 if ((ret = pvr2_hdw_set_streaming(hdw,!0)) < 0) return ret; in pvr2_v4l2_iosetup()
1086 struct pvr2_hdw *hdw = fh->channel.mc_head->hdw; in pvr2_v4l2_read() local
1098 c2 = pvr2_hdw_cpufw_get(hdw,offs,tbuf,c1); in pvr2_v4l2_read()
1188 struct pvr2_hdw *hdw; in pvr2_v4l2_dev_init() local
1194 hdw = vp->channel.mc_head->hdw; in pvr2_v4l2_dev_init()
1230 pvr2_hdw_get_ctrl_by_id(hdw, in pvr2_v4l2_dev_init()
1236 unit_number = pvr2_hdw_get_unit_number(hdw); in pvr2_v4l2_dev_init()
1240 pvr2_hdw_set_v4l2_dev(hdw, &dip->devbase); in pvr2_v4l2_dev_init()
1253 pvr2_hdw_v4l_store_minor_number(hdw, in pvr2_v4l2_dev_init()
1273 if (pvr2_hdw_get_input_available(vp->channel.mc_head->hdw) & in pvr2_v4l2_create()