Lines Matching refs:hdw
111 int pvr2_debugifc_print_info(struct pvr2_hdw *hdw,char *buf,unsigned int acnt) in pvr2_debugifc_print_info() argument
116 pvr2_hdw_get_desc(hdw)); in pvr2_debugifc_print_info()
120 ccnt = pvr2_hdw_state_report(hdw,buf,acnt); in pvr2_debugifc_print_info()
127 int pvr2_debugifc_print_status(struct pvr2_hdw *hdw, in pvr2_debugifc_print_status() argument
137 ret = pvr2_hdw_is_hsm(hdw); in pvr2_debugifc_print_status()
143 pvr2_hdw_gpio_get_dir(hdw,&gpio_dir); in pvr2_debugifc_print_status()
144 pvr2_hdw_gpio_get_out(hdw,&gpio_out); in pvr2_debugifc_print_status()
145 pvr2_hdw_gpio_get_in(hdw,&gpio_in); in pvr2_debugifc_print_status()
151 pvr2_hdw_get_streaming(hdw) ? "on" : "off"); in pvr2_debugifc_print_status()
155 sp = pvr2_hdw_get_video_stream(hdw); in pvr2_debugifc_print_status()
174 static int pvr2_debugifc_do1cmd(struct pvr2_hdw *hdw,const char *buf, in pvr2_debugifc_do1cmd() argument
193 pvr2_hdw_cpureset_assert(hdw,!0); in pvr2_debugifc_do1cmd()
194 pvr2_hdw_cpureset_assert(hdw,0); in pvr2_debugifc_do1cmd()
197 pvr2_hdw_device_reset(hdw); in pvr2_debugifc_do1cmd()
199 return pvr2_hdw_cmd_powerup(hdw); in pvr2_debugifc_do1cmd()
201 return pvr2_hdw_cmd_deep_reset(hdw); in pvr2_debugifc_do1cmd()
203 return pvr2_upload_firmware2(hdw); in pvr2_debugifc_do1cmd()
205 return pvr2_hdw_cmd_decoder_reset(hdw); in pvr2_debugifc_do1cmd()
207 return pvr2_hdw_untrip(hdw); in pvr2_debugifc_do1cmd()
209 pvr2_stream_get_stats(pvr2_hdw_get_video_stream(hdw), in pvr2_debugifc_do1cmd()
225 pvr2_hdw_cpufw_set_enabled(hdw, 2, !0); in pvr2_debugifc_do1cmd()
228 pvr2_hdw_cpufw_set_enabled(hdw, 0, !0); in pvr2_debugifc_do1cmd()
231 pvr2_hdw_cpufw_set_enabled(hdw, 1, !0); in pvr2_debugifc_do1cmd()
236 pvr2_hdw_cpufw_set_enabled(hdw,0,!0); in pvr2_debugifc_do1cmd()
239 pvr2_hdw_cpufw_set_enabled(hdw,0,0); in pvr2_debugifc_do1cmd()
272 ret = pvr2_hdw_gpio_chg_dir(hdw,msk,val); in pvr2_debugifc_do1cmd()
274 ret = pvr2_hdw_gpio_chg_out(hdw,msk,val); in pvr2_debugifc_do1cmd()
284 int pvr2_debugifc_docmd(struct pvr2_hdw *hdw,const char *buf, in pvr2_debugifc_docmd() argument
295 ret = pvr2_debugifc_do1cmd(hdw,buf,bcnt); in pvr2_debugifc_docmd()