Lines Matching defs:strm_if

140 		usbvc_stream_if_t	*strm_if;
146 strm_if = usbvcp->usbvc_curr_strm;
148 fmtdesc.index >= strm_if->fmtgrp_cnt) {
154 fmtgrp = &strm_if->format_group[fmtdesc.index];
158 fmtdesc.index, strm_if->fmtgrp_cnt);
196 usbvc_stream_if_t *strm_if;
201 strm_if = usbvcp->usbvc_curr_strm;
204 if (strm_if->start_polling == 1) {
244 usbvc_stream_if_t *strm_if;
256 strm_if = usbvcp->usbvc_curr_strm;
257 if (!strm_if) {
274 if (strm_if->buf_map.buf_cnt) {
281 if (strm_if->start_polling == 1) {
284 strm_if->datain_ph,
287 strm_if->start_polling = 0;
289 usbvc_free_map_bufs(usbvcp, strm_if);
294 if (reqbuf.count == strm_if->buf_map.buf_cnt) {
325 LE_TO_UINT32(strm_if->ctrl_pc.dwMaxVideoFrameSize, 0, bufsize);
327 (uint32_t)usbvc_alloc_map_bufs(usbvcp, strm_if,
439 usbvc_stream_if_t *strm_if;
445 strm_if = usbvcp->usbvc_curr_strm;
446 if (!strm_if) {
463 if (!strm_if->datain_ph) {
464 if (usbvc_open_isoc_pipe(usbvcp, strm_if) !=
476 if (strm_if->start_polling == 1) {
482 if (usbvc_start_isoc_polling(usbvcp, strm_if,
489 strm_if->start_polling = 1;
490 strm_if->stream_on = 1; /* the only place to set this value */
500 usbvc_stream_if_t *strm_if;
506 strm_if = usbvcp->usbvc_curr_strm;
507 if (!strm_if) {
525 strm_if = usbvcp->usbvc_curr_strm;
526 if (strm_if->start_polling == 1) {
528 usb_pipe_stop_isoc_polling(strm_if->datain_ph,
531 strm_if->start_polling = 0;
533 strm_if->stream_on = 0;
641 usbvc_stream_if_t *strm_if;
646 strm_if = usbvcp->usbvc_curr_strm;
649 if (strm_if->start_polling == 1) {
796 usbvc_stream_if_t *strm_if;
808 strm_if = usbvcp->usbvc_curr_strm;
811 "usbvc_v4l2_set_format: strm_if->fmtgrp_cnt=%d",
812 strm_if->fmtgrp_cnt);
815 for (i = 0; i < strm_if->fmtgrp_cnt; i++) {
816 fmtgrp = &strm_if->format_group[i];
843 if (i >= strm_if->fmtgrp_cnt) {
852 fmtgrp = &strm_if->format_group[i];
886 if (usbvc_vs_set_probe_commit(usbvcp, strm_if, &ctrl, VS_PROBE_CONTROL)
895 if (usbvc_vs_get_probe(usbvcp, strm_if, &ctrl_max, GET_MAX) !=
912 if (usbvc_vs_set_probe_commit(usbvcp, strm_if, &ctrl,
919 if (usbvc_vs_get_probe(usbvcp, strm_if, &ctrl_curr, GET_CUR)
932 if (bandwidth <= strm_if->max_isoc_payload) {
942 if (usbvc_vs_get_probe(usbvcp, strm_if, &ctrl_min, GET_MIN) !=
964 if (usbvc_vs_set_probe_commit(usbvcp, strm_if, &ctrl,
978 if (i < strm_if->fmtgrp_cnt) {
979 strm_if->cur_format_group = &strm_if->format_group[i];
990 if (i < strm_if->cur_format_group->frame_cnt) {
991 strm_if->cur_format_group->cur_frame =
992 &strm_if->cur_format_group->frames[i];
1003 * setting to strm_if->ctrl_pc
1005 bcopy(&ctrl_curr, &strm_if->ctrl_pc, sizeof (usbvc_vs_probe_commit_t));
1016 LE_TO_UINT32(strm_if->ctrl_pc.dwMaxVideoFrameSize, 0,
1033 usbvc_stream_if_t *strm_if;
1044 strm_if = usbvcp->usbvc_curr_strm;
1045 fmtgrp = strm_if->cur_format_group;
1069 LE_TO_UINT32(strm_if->ctrl_pc.dwMaxVideoFrameSize, 0,
1582 usbvc_stream_if_t *strm_if;
1589 strm_if = usbvcp->usbvc_curr_strm;
1591 if (!strm_if->cur_format_group ||
1592 !strm_if->cur_format_group->cur_frame) {
1596 (void *)strm_if->cur_format_group);
1603 cur_fmt = strm_if->cur_format_group;
1673 bcopy(&strm_if->ctrl_pc, &ctrl, sizeof (usbvc_vs_probe_commit_t));
1690 if (usbvc_vs_set_probe_commit(usbvcp, strm_if, &ctrl, VS_PROBE_CONTROL)
1699 if (usbvc_vs_set_probe_commit(usbvcp, strm_if, &ctrl, VS_COMMIT_CONTROL)
1707 bcopy(&ctrl, &strm_if->ctrl_pc, sizeof (usbvc_vs_probe_commit_t));
1719 strm_if->buf_read_num = parm->parm.capture.readbuffers;
1721 parm->parm.capture.readbuffers = strm_if->buf_read_num;
1732 usbvc_stream_if_t *strm_if;
1738 strm_if = usbvcp->usbvc_curr_strm;
1741 parm->parm.capture.readbuffers = strm_if->buf_read.buf_cnt;
1744 LE_TO_UINT32(strm_if->ctrl_pc.dwFrameInterval, 0, n);