Lines Matching refs:streams

268  * set and the returned number of streams is supported
283 gcam_err(gcam, "got #streams %u > request %u\n",
523 struct gb_camera_stream_config *streams,
555 cfg->width = cpu_to_le16(streams[i].width);
556 cfg->height = cpu_to_le16(streams[i].height);
557 cfg->format = cpu_to_le16(streams[i].format);
591 streams[i].width = le16_to_cpu(cfg->width);
592 streams[i].height = le16_to_cpu(cfg->height);
593 streams[i].format = le16_to_cpu(cfg->format);
594 streams[i].vc = cfg->virtual_channel;
595 streams[i].dt[0] = cfg->data_type[0];
596 streams[i].dt[1] = cfg->data_type[1];
597 streams[i].max_size = le32_to_cpu(cfg->max_size);
609 * When unconfiguring streams release the PM runtime reference
610 * that was acquired when streams were configured. The bundle
622 * Make sure the bundle won't be suspended until streams get
654 unsigned int streams, unsigned int num_frames,
670 req->streams = streams;
785 unsigned int *flags, struct gb_camera_stream *streams,
803 gb_streams[i].width = streams[i].width;
804 gb_streams[i].height = streams[i].height;
806 gb_camera_mbus_to_gb(streams[i].pixel_code);
826 streams[i].width = gb_streams[i].width;
827 streams[i].height = gb_streams[i].height;
828 streams[i].vc = gb_streams[i].vc;
829 streams[i].dt[0] = gb_streams[i].dt[0];
830 streams[i].dt[1] = gb_streams[i].dt[1];
831 streams[i].max_size = gb_streams[i].max_size;
832 streams[i].pixel_code =
843 unsigned int streams, unsigned int num_frames,
848 return gb_camera_capture(gcam, request_id, streams, num_frames,
911 struct gb_camera_stream_config *streams;
918 /* Retrieve number of streams to configure */
939 streams = kcalloc(nstreams, sizeof(*streams), GFP_KERNEL);
940 if (!streams)
944 struct gb_camera_stream_config *stream = &streams[i];
975 ret = gb_camera_configure_streams(gcam, &nstreams, &flags, streams,
983 struct gb_camera_stream_config *stream = &streams[i];
996 kfree(streams);