• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6.36/drivers/media/video/pvrusb2/

Lines Matching defs:fh

162 	struct pvr2_v4l2_fh *fh = file->private_data;
163 struct pvr2_v4l2 *vp = fh->vhead;
164 struct pvr2_v4l2_dev *pdi = fh->pdi;
165 struct pvr2_hdw *hdw = fh->channel.mc_head->hdw;
185 ret = v4l2_prio_check(&vp->prio, fh->prio);
217 ret = v4l2_prio_change(&vp->prio, &fh->prio, *prio);
259 if (vi->index >= fh->input_cnt) {
263 val = fh->input_map[vi->index];
311 for (idx = 0; idx < fh->input_cnt; idx++) {
312 if (fh->input_map[idx] == val) {
323 if (vi->index >= fh->input_cnt) {
329 fh->input_map[vi->index]);
551 if (!fh->pdi->stream) {
566 if (!fh->pdi->stream) {
1102 static int pvr2_v4l2_iosetup(struct pvr2_v4l2_fh *fh)
1107 if (fh->rhp) return 0;
1109 if (!fh->pdi->stream) {
1117 if ((ret = pvr2_channel_claim_stream(&fh->channel,
1118 fh->pdi->stream)) != 0) {
1123 fh->rhp = pvr2_channel_create_mpeg_stream(fh->pdi->stream);
1124 if (!fh->rhp) {
1125 pvr2_channel_claim_stream(&fh->channel,NULL);
1129 hdw = fh->channel.mc_head->hdw;
1130 sp = fh->pdi->stream->stream;
1131 pvr2_stream_set_callback(sp,(pvr2_stream_callback)pvr2_v4l2_notify,fh);
1132 pvr2_hdw_set_stream_type(hdw,fh->pdi->config);
1134 return pvr2_ioread_set_enabled(fh->rhp,!0);
1141 struct pvr2_v4l2_fh *fh = file->private_data;
1144 if (fh->fw_mode_flag) {
1145 struct pvr2_hdw *hdw = fh->channel.mc_head->hdw;
1177 if (!fh->rhp) {
1178 ret = pvr2_v4l2_iosetup(fh);
1185 ret = pvr2_ioread_read(fh->rhp,buff,count);
1191 fh->wait_data,
1192 pvr2_ioread_avail(fh->rhp) >= 0);
1203 struct pvr2_v4l2_fh *fh = file->private_data;
1206 if (fh->fw_mode_flag) {
1211 if (!fh->rhp) {
1212 ret = pvr2_v4l2_iosetup(fh);
1216 poll_wait(file,&fh->wait_data,wait);
1218 if (pvr2_ioread_avail(fh->rhp) >= 0) {