video             207 drivers/acpi/acpi_video.c 	struct acpi_video_bus *video;
video             215 drivers/acpi/acpi_video.c static void acpi_video_device_rebind(struct acpi_video_bus *video);
video             216 drivers/acpi/acpi_video.c static void acpi_video_device_bind(struct acpi_video_bus *video,
video             218 drivers/acpi/acpi_video.c static int acpi_video_device_enumerate(struct acpi_video_bus *video);
video             264 drivers/acpi/acpi_video.c 	struct acpi_video_device *video = acpi_driver_data(device);
video             266 drivers/acpi/acpi_video.c 	*state = video->brightness->count - ACPI_VIDEO_FIRST_LEVEL - 1;
video             274 drivers/acpi/acpi_video.c 	struct acpi_video_device *video = acpi_driver_data(device);
video             278 drivers/acpi/acpi_video.c 	if (acpi_video_device_lcd_get_level_current(video, &level, false))
video             280 drivers/acpi/acpi_video.c 	for (offset = ACPI_VIDEO_FIRST_LEVEL; offset < video->brightness->count;
video             282 drivers/acpi/acpi_video.c 		if (level == video->brightness->levels[offset]) {
video             283 drivers/acpi/acpi_video.c 			*state = video->brightness->count - offset - 1;
video             294 drivers/acpi/acpi_video.c 	struct acpi_video_device *video = acpi_driver_data(device);
video             297 drivers/acpi/acpi_video.c 	if (state >= video->brightness->count - ACPI_VIDEO_FIRST_LEVEL)
video             300 drivers/acpi/acpi_video.c 	state = video->brightness->count - state;
video             301 drivers/acpi/acpi_video.c 	level = video->brightness->levels[state - 1];
video             302 drivers/acpi/acpi_video.c 	return acpi_video_device_lcd_set_level(video, level);
video             710 drivers/acpi/acpi_video.c acpi_video_bus_DOS(struct acpi_video_bus *video, int bios_flag, int lcd_flag)
video             714 drivers/acpi/acpi_video.c 	if (!video->cap._DOS)
video             719 drivers/acpi/acpi_video.c 	video->dos_setting = (lcd_flag << 2) | bios_flag;
video             720 drivers/acpi/acpi_video.c 	status = acpi_execute_simple_method(video->device->handle, "_DOS",
video            1040 drivers/acpi/acpi_video.c static void acpi_video_bus_find_cap(struct acpi_video_bus *video)
video            1042 drivers/acpi/acpi_video.c 	if (acpi_has_method(video->device->handle, "_DOS"))
video            1043 drivers/acpi/acpi_video.c 		video->cap._DOS = 1;
video            1044 drivers/acpi/acpi_video.c 	if (acpi_has_method(video->device->handle, "_DOD"))
video            1045 drivers/acpi/acpi_video.c 		video->cap._DOD = 1;
video            1046 drivers/acpi/acpi_video.c 	if (acpi_has_method(video->device->handle, "_ROM"))
video            1047 drivers/acpi/acpi_video.c 		video->cap._ROM = 1;
video            1048 drivers/acpi/acpi_video.c 	if (acpi_has_method(video->device->handle, "_GPD"))
video            1049 drivers/acpi/acpi_video.c 		video->cap._GPD = 1;
video            1050 drivers/acpi/acpi_video.c 	if (acpi_has_method(video->device->handle, "_SPD"))
video            1051 drivers/acpi/acpi_video.c 		video->cap._SPD = 1;
video            1052 drivers/acpi/acpi_video.c 	if (acpi_has_method(video->device->handle, "_VPO"))
video            1053 drivers/acpi/acpi_video.c 		video->cap._VPO = 1;
video            1061 drivers/acpi/acpi_video.c static int acpi_video_bus_check(struct acpi_video_bus *video)
video            1066 drivers/acpi/acpi_video.c 	if (!video)
video            1069 drivers/acpi/acpi_video.c 	dev = acpi_get_pci_dev(video->device->handle);
video            1080 drivers/acpi/acpi_video.c 	if (video->cap._DOS || video->cap._DOD) {
video            1081 drivers/acpi/acpi_video.c 		if (!video->cap._DOS) {
video            1084 drivers/acpi/acpi_video.c 				acpi_device_bid(video->device));
video            1086 drivers/acpi/acpi_video.c 		video->flags.multihead = 1;
video            1091 drivers/acpi/acpi_video.c 	if (video->cap._ROM) {
video            1092 drivers/acpi/acpi_video.c 		video->flags.rom = 1;
video            1097 drivers/acpi/acpi_video.c 	if (video->cap._GPD && video->cap._SPD && video->cap._VPO) {
video            1098 drivers/acpi/acpi_video.c 		video->flags.post = 1;
video            1113 drivers/acpi/acpi_video.c acpi_video_get_device_attr(struct acpi_video_bus *video, unsigned long device_id)
video            1118 drivers/acpi/acpi_video.c 	for (i = 0; i < video->attached_count; i++) {
video            1119 drivers/acpi/acpi_video.c 		ids = &video->attached_array[i];
video            1128 drivers/acpi/acpi_video.c acpi_video_get_device_type(struct acpi_video_bus *video,
video            1134 drivers/acpi/acpi_video.c 	for (i = 0; i < video->attached_count; i++) {
video            1135 drivers/acpi/acpi_video.c 		ids = &video->attached_array[i];
video            1145 drivers/acpi/acpi_video.c 			      struct acpi_video_bus *video)
video            1167 drivers/acpi/acpi_video.c 	data->video = video;
video            1172 drivers/acpi/acpi_video.c 	attribute = acpi_video_get_device_attr(video, device_id);
video            1196 drivers/acpi/acpi_video.c 		device_type = acpi_video_get_device_type(video, device_id);
video            1213 drivers/acpi/acpi_video.c 	acpi_video_device_bind(video, data);
video            1216 drivers/acpi/acpi_video.c 	mutex_lock(&video->device_list_lock);
video            1217 drivers/acpi/acpi_video.c 	list_add_tail(&data->entry, &video->video_device_list);
video            1218 drivers/acpi/acpi_video.c 	mutex_unlock(&video->device_list_lock);
video            1235 drivers/acpi/acpi_video.c static void acpi_video_device_rebind(struct acpi_video_bus *video)
video            1239 drivers/acpi/acpi_video.c 	mutex_lock(&video->device_list_lock);
video            1241 drivers/acpi/acpi_video.c 	list_for_each_entry(dev, &video->video_device_list, entry)
video            1242 drivers/acpi/acpi_video.c 		acpi_video_device_bind(video, dev);
video            1244 drivers/acpi/acpi_video.c 	mutex_unlock(&video->device_list_lock);
video            1261 drivers/acpi/acpi_video.c acpi_video_device_bind(struct acpi_video_bus *video,
video            1267 drivers/acpi/acpi_video.c 	for (i = 0; i < video->attached_count; i++) {
video            1268 drivers/acpi/acpi_video.c 		ids = &video->attached_array[i];
video            1278 drivers/acpi/acpi_video.c 	struct acpi_video_bus *video = device->video;
video            1286 drivers/acpi/acpi_video.c 	if (!video->attached_count || video->child_count > 8)
video            1289 drivers/acpi/acpi_video.c 	for (i = 0; i < video->attached_count; i++) {
video            1290 drivers/acpi/acpi_video.c 		if ((video->attached_array[i].value.int_val & 0xfff) ==
video            1309 drivers/acpi/acpi_video.c static int acpi_video_device_enumerate(struct acpi_video_bus *video)
video            1319 drivers/acpi/acpi_video.c 	if (!video->cap._DOD)
video            1322 drivers/acpi/acpi_video.c 	status = acpi_evaluate_object(video->device->handle, "_DOD", NULL, &buffer);
video            1363 drivers/acpi/acpi_video.c 	kfree(video->attached_array);
video            1365 drivers/acpi/acpi_video.c 	video->attached_array = active_list;
video            1366 drivers/acpi/acpi_video.c 	video->attached_count = count;
video            1456 drivers/acpi/acpi_video.c 	struct acpi_video_bus *video;
video            1465 drivers/acpi/acpi_video.c 	video = acpi_driver_data(device);
video            1467 drivers/acpi/acpi_video.c 	for (i = 0; i < video->attached_count; i++) {
video            1468 drivers/acpi/acpi_video.c 		video_device = video->attached_array[i].bind_info;
video            1522 drivers/acpi/acpi_video.c acpi_video_bus_get_devices(struct acpi_video_bus *video,
video            1533 drivers/acpi/acpi_video.c 	acpi_video_device_enumerate(video);
video            1537 drivers/acpi/acpi_video.c 		status = acpi_video_bus_get_one_device(dev, video);
video            1542 drivers/acpi/acpi_video.c 		video->child_count++;
video            1553 drivers/acpi/acpi_video.c static int acpi_video_bus_start_devices(struct acpi_video_bus *video)
video            1555 drivers/acpi/acpi_video.c 	return acpi_video_bus_DOS(video, 0,
video            1559 drivers/acpi/acpi_video.c static int acpi_video_bus_stop_devices(struct acpi_video_bus *video)
video            1561 drivers/acpi/acpi_video.c 	return acpi_video_bus_DOS(video, 0,
video            1567 drivers/acpi/acpi_video.c 	struct acpi_video_bus *video = acpi_driver_data(device);
video            1571 drivers/acpi/acpi_video.c 	if (!video || !video->input)
video            1574 drivers/acpi/acpi_video.c 	input = video->input;
video            1584 drivers/acpi/acpi_video.c 		acpi_video_device_enumerate(video);
video            1585 drivers/acpi/acpi_video.c 		acpi_video_device_rebind(video);
video            1641 drivers/acpi/acpi_video.c 	bus = video_device->video;
video            1694 drivers/acpi/acpi_video.c 	struct acpi_video_bus *video;
video            1705 drivers/acpi/acpi_video.c 	video = container_of(nb, struct acpi_video_bus, pm_nb);
video            1707 drivers/acpi/acpi_video.c 	dev_info(&video->device->dev, "Restoring backlight state\n");
video            1709 drivers/acpi/acpi_video.c 	for (i = 0; i < video->attached_count; i++) {
video            1710 drivers/acpi/acpi_video.c 		video_device = video->attached_array[i].bind_info;
video            1818 drivers/acpi/acpi_video.c static void acpi_video_run_bcl_for_osi(struct acpi_video_bus *video)
video            1823 drivers/acpi/acpi_video.c 	mutex_lock(&video->device_list_lock);
video            1824 drivers/acpi/acpi_video.c 	list_for_each_entry(dev, &video->video_device_list, entry) {
video            1828 drivers/acpi/acpi_video.c 	mutex_unlock(&video->device_list_lock);
video            1847 drivers/acpi/acpi_video.c static int acpi_video_bus_register_backlight(struct acpi_video_bus *video)
video            1851 drivers/acpi/acpi_video.c 	if (video->backlight_registered)
video            1854 drivers/acpi/acpi_video.c 	acpi_video_run_bcl_for_osi(video);
video            1859 drivers/acpi/acpi_video.c 	mutex_lock(&video->device_list_lock);
video            1860 drivers/acpi/acpi_video.c 	list_for_each_entry(dev, &video->video_device_list, entry) {
video            1864 drivers/acpi/acpi_video.c 	mutex_unlock(&video->device_list_lock);
video            1866 drivers/acpi/acpi_video.c 	video->backlight_registered = true;
video            1868 drivers/acpi/acpi_video.c 	video->pm_nb.notifier_call = acpi_video_resume;
video            1869 drivers/acpi/acpi_video.c 	video->pm_nb.priority = 0;
video            1870 drivers/acpi/acpi_video.c 	return register_pm_notifier(&video->pm_nb);
video            1892 drivers/acpi/acpi_video.c static int acpi_video_bus_unregister_backlight(struct acpi_video_bus *video)
video            1897 drivers/acpi/acpi_video.c 	if (!video->backlight_registered)
video            1900 drivers/acpi/acpi_video.c 	error = unregister_pm_notifier(&video->pm_nb);
video            1902 drivers/acpi/acpi_video.c 	mutex_lock(&video->device_list_lock);
video            1903 drivers/acpi/acpi_video.c 	list_for_each_entry(dev, &video->video_device_list, entry)
video            1905 drivers/acpi/acpi_video.c 	mutex_unlock(&video->device_list_lock);
video            1907 drivers/acpi/acpi_video.c 	video->backlight_registered = false;
video            1925 drivers/acpi/acpi_video.c static int acpi_video_bus_add_notify_handler(struct acpi_video_bus *video)
video            1931 drivers/acpi/acpi_video.c 	video->input = input = input_allocate_device();
video            1937 drivers/acpi/acpi_video.c 	error = acpi_video_bus_start_devices(video);
video            1941 drivers/acpi/acpi_video.c 	snprintf(video->phys, sizeof(video->phys),
video            1942 drivers/acpi/acpi_video.c 			"%s/video/input0", acpi_device_hid(video->device));
video            1944 drivers/acpi/acpi_video.c 	input->name = acpi_device_name(video->device);
video            1945 drivers/acpi/acpi_video.c 	input->phys = video->phys;
video            1948 drivers/acpi/acpi_video.c 	input->dev.parent = &video->device->dev;
video            1963 drivers/acpi/acpi_video.c 	mutex_lock(&video->device_list_lock);
video            1964 drivers/acpi/acpi_video.c 	list_for_each_entry(dev, &video->video_device_list, entry)
video            1966 drivers/acpi/acpi_video.c 	mutex_unlock(&video->device_list_lock);
video            1971 drivers/acpi/acpi_video.c 	acpi_video_bus_stop_devices(video);
video            1974 drivers/acpi/acpi_video.c 	video->input = NULL;
video            1988 drivers/acpi/acpi_video.c static void acpi_video_bus_remove_notify_handler(struct acpi_video_bus *video)
video            1992 drivers/acpi/acpi_video.c 	mutex_lock(&video->device_list_lock);
video            1993 drivers/acpi/acpi_video.c 	list_for_each_entry(dev, &video->video_device_list, entry)
video            1995 drivers/acpi/acpi_video.c 	mutex_unlock(&video->device_list_lock);
video            1997 drivers/acpi/acpi_video.c 	acpi_video_bus_stop_devices(video);
video            1998 drivers/acpi/acpi_video.c 	input_unregister_device(video->input);
video            1999 drivers/acpi/acpi_video.c 	video->input = NULL;
video            2002 drivers/acpi/acpi_video.c static int acpi_video_bus_put_devices(struct acpi_video_bus *video)
video            2006 drivers/acpi/acpi_video.c 	mutex_lock(&video->device_list_lock);
video            2007 drivers/acpi/acpi_video.c 	list_for_each_entry_safe(dev, next, &video->video_device_list, entry) {
video            2011 drivers/acpi/acpi_video.c 	mutex_unlock(&video->device_list_lock);
video            2020 drivers/acpi/acpi_video.c 	struct acpi_video_bus *video;
video            2038 drivers/acpi/acpi_video.c 	video = kzalloc(sizeof(struct acpi_video_bus), GFP_KERNEL);
video            2039 drivers/acpi/acpi_video.c 	if (!video)
video            2055 drivers/acpi/acpi_video.c 	video->device = device;
video            2058 drivers/acpi/acpi_video.c 	device->driver_data = video;
video            2060 drivers/acpi/acpi_video.c 	acpi_video_bus_find_cap(video);
video            2061 drivers/acpi/acpi_video.c 	error = acpi_video_bus_check(video);
video            2065 drivers/acpi/acpi_video.c 	mutex_init(&video->device_list_lock);
video            2066 drivers/acpi/acpi_video.c 	INIT_LIST_HEAD(&video->video_device_list);
video            2068 drivers/acpi/acpi_video.c 	error = acpi_video_bus_get_devices(video, device);
video            2074 drivers/acpi/acpi_video.c 	       video->flags.multihead ? "yes" : "no",
video            2075 drivers/acpi/acpi_video.c 	       video->flags.rom ? "yes" : "no",
video            2076 drivers/acpi/acpi_video.c 	       video->flags.post ? "yes" : "no");
video            2078 drivers/acpi/acpi_video.c 	list_add_tail(&video->entry, &video_bus_head);
video            2081 drivers/acpi/acpi_video.c 	acpi_video_bus_register_backlight(video);
video            2082 drivers/acpi/acpi_video.c 	acpi_video_bus_add_notify_handler(video);
video            2087 drivers/acpi/acpi_video.c 	acpi_video_bus_put_devices(video);
video            2088 drivers/acpi/acpi_video.c 	kfree(video->attached_array);
video            2090 drivers/acpi/acpi_video.c 	kfree(video);
video            2098 drivers/acpi/acpi_video.c 	struct acpi_video_bus *video = NULL;
video            2104 drivers/acpi/acpi_video.c 	video = acpi_driver_data(device);
video            2106 drivers/acpi/acpi_video.c 	acpi_video_bus_remove_notify_handler(video);
video            2107 drivers/acpi/acpi_video.c 	acpi_video_bus_unregister_backlight(video);
video            2108 drivers/acpi/acpi_video.c 	acpi_video_bus_put_devices(video);
video            2111 drivers/acpi/acpi_video.c 	list_del(&video->entry);
video            2114 drivers/acpi/acpi_video.c 	kfree(video->attached_array);
video            2115 drivers/acpi/acpi_video.c 	kfree(video);
video            2236 drivers/acpi/acpi_video.c 	struct acpi_video_bus *video;
video            2241 drivers/acpi/acpi_video.c 		list_for_each_entry(video, &video_bus_head, entry)
video            2242 drivers/acpi/acpi_video.c 			acpi_video_bus_unregister_backlight(video);
video             516 drivers/dma/ipu/ipu_idmac.c 	calc_resize_coeffs(params->video.in_height,
video             517 drivers/dma/ipu/ipu_idmac.c 			    params->video.out_height,
video             522 drivers/dma/ipu/ipu_idmac.c 	calc_resize_coeffs(params->video.in_width,
video             523 drivers/dma/ipu/ipu_idmac.c 			    params->video.out_width,
video             528 drivers/dma/ipu/ipu_idmac.c 	in_fmt = format_to_colorspace(params->video.in_pixel_fmt);
video             529 drivers/dma/ipu/ipu_idmac.c 	out_fmt = format_to_colorspace(params->video.out_pixel_fmt);
video             842 drivers/dma/ipu/ipu_idmac.c 		struct idmac_video_param *video = &ichan->params.video;
video             853 drivers/dma/ipu/ipu_idmac.c 						 video->out_pixel_fmt,
video             854 drivers/dma/ipu/ipu_idmac.c 						 video->out_width,
video             855 drivers/dma/ipu/ipu_idmac.c 						 video->out_height,
video             856 drivers/dma/ipu/ipu_idmac.c 						 video->out_stride,
video             150 drivers/gpu/drm/amd/display/dc/dc.h 		} video;
video             139 drivers/gpu/drm/amd/display/dc/dc_hw_types.h 		} video;
video             164 drivers/gpu/drm/amd/display/dc/dc_hw_types.h 		} video;
video            1493 drivers/gpu/drm/bridge/analogix/analogix_dp_core.c 	struct video_info *video = &dp->video_info;
video            1498 drivers/gpu/drm/bridge/analogix/analogix_dp_core.c 	video->interlaced = !!(mode->flags & DRM_MODE_FLAG_INTERLACE);
video            1499 drivers/gpu/drm/bridge/analogix/analogix_dp_core.c 	video->v_sync_polarity = !!(mode->flags & DRM_MODE_FLAG_NVSYNC);
video            1500 drivers/gpu/drm/bridge/analogix/analogix_dp_core.c 	video->h_sync_polarity = !!(mode->flags & DRM_MODE_FLAG_NHSYNC);
video            1506 drivers/gpu/drm/bridge/analogix/analogix_dp_core.c 		video->dynamic_range = CEA;
video            1507 drivers/gpu/drm/bridge/analogix/analogix_dp_core.c 		video->ycbcr_coeff = COLOR_YCBCR601;
video            1509 drivers/gpu/drm/bridge/analogix/analogix_dp_core.c 		video->dynamic_range = CEA;
video            1510 drivers/gpu/drm/bridge/analogix/analogix_dp_core.c 		video->ycbcr_coeff = COLOR_YCBCR709;
video            1512 drivers/gpu/drm/bridge/analogix/analogix_dp_core.c 		video->dynamic_range = VESA;
video            1513 drivers/gpu/drm/bridge/analogix/analogix_dp_core.c 		video->ycbcr_coeff = COLOR_YCBCR709;
video            1519 drivers/gpu/drm/bridge/analogix/analogix_dp_core.c 		video->color_depth = COLOR_12;
video            1522 drivers/gpu/drm/bridge/analogix/analogix_dp_core.c 		video->color_depth = COLOR_10;
video            1525 drivers/gpu/drm/bridge/analogix/analogix_dp_core.c 		video->color_depth = COLOR_8;
video            1528 drivers/gpu/drm/bridge/analogix/analogix_dp_core.c 		video->color_depth = COLOR_6;
video            1531 drivers/gpu/drm/bridge/analogix/analogix_dp_core.c 		video->color_depth = COLOR_8;
video            1535 drivers/gpu/drm/bridge/analogix/analogix_dp_core.c 		video->color_space = COLOR_YCBCR444;
video            1537 drivers/gpu/drm/bridge/analogix/analogix_dp_core.c 		video->color_space = COLOR_YCBCR422;
video            1539 drivers/gpu/drm/bridge/analogix/analogix_dp_core.c 		video->color_space = COLOR_RGB;
video            1549 drivers/gpu/drm/bridge/analogix/analogix_dp_core.c 			     &video->color_space);
video            1551 drivers/gpu/drm/bridge/analogix/analogix_dp_core.c 			     &video->dynamic_range);
video            1553 drivers/gpu/drm/bridge/analogix/analogix_dp_core.c 			     &video->ycbcr_coeff);
video            1555 drivers/gpu/drm/bridge/analogix/analogix_dp_core.c 			     &video->color_depth);
video            1557 drivers/gpu/drm/bridge/analogix/analogix_dp_core.c 		video->h_sync_polarity = true;
video            1559 drivers/gpu/drm/bridge/analogix/analogix_dp_core.c 		video->v_sync_polarity = true;
video            1561 drivers/gpu/drm/bridge/analogix/analogix_dp_core.c 		video->interlaced = true;
video            3851 drivers/gpu/drm/drm_edid.c 	const u8 *db, *hdmi = NULL, *video = NULL;
video            3866 drivers/gpu/drm/drm_edid.c 				video = db + 1;
video            3868 drivers/gpu/drm/drm_edid.c 				modes += do_cea_modes(connector, video, dbl);
video            3888 drivers/gpu/drm/drm_edid.c 		modes += do_hdmi_vsdb_modes(connector, hdmi, hdmi_len, video,
video            1803 drivers/gpu/drm/i2c/tda998x_drv.c 	u32 video;
video            1957 drivers/gpu/drm/i2c/tda998x_drv.c 		ret = of_property_read_u32(np, "video-ports", &video);
video            1959 drivers/gpu/drm/i2c/tda998x_drv.c 			priv->vip_cntrl_0 = video >> 16;
video            1960 drivers/gpu/drm/i2c/tda998x_drv.c 			priv->vip_cntrl_1 = video >> 8;
video            1961 drivers/gpu/drm/i2c/tda998x_drv.c 			priv->vip_cntrl_2 = video;
video             546 drivers/gpu/drm/rockchip/cdn-dp-core.c 	struct video_info *video = &dp->video_info;
video             550 drivers/gpu/drm/rockchip/cdn-dp-core.c 		video->color_depth = 10;
video             553 drivers/gpu/drm/rockchip/cdn-dp-core.c 		video->color_depth = 6;
video             556 drivers/gpu/drm/rockchip/cdn-dp-core.c 		video->color_depth = 8;
video             560 drivers/gpu/drm/rockchip/cdn-dp-core.c 	video->color_fmt = PXL_RGB;
video             561 drivers/gpu/drm/rockchip/cdn-dp-core.c 	video->v_sync_polarity = !!(mode->flags & DRM_MODE_FLAG_NVSYNC);
video             562 drivers/gpu/drm/rockchip/cdn-dp-core.c 	video->h_sync_polarity = !!(mode->flags & DRM_MODE_FLAG_NHSYNC);
video             583 drivers/gpu/drm/rockchip/cdn-dp-reg.c static int cdn_dp_get_msa_misc(struct video_info *video,
video             589 drivers/gpu/drm/rockchip/cdn-dp-reg.c 	switch (video->color_fmt) {
video             606 drivers/gpu/drm/rockchip/cdn-dp-reg.c 	switch (video->color_depth) {
video             625 drivers/gpu/drm/rockchip/cdn-dp-reg.c 		   ((video->color_fmt == Y_ONLY) ? (1 << 14) : 0);
video             632 drivers/gpu/drm/rockchip/cdn-dp-reg.c 	struct video_info *video = &dp->video_info;
video             639 drivers/gpu/drm/rockchip/cdn-dp-reg.c 	bit_per_pix = (video->color_fmt == YCBCR_4_2_2) ?
video             640 drivers/gpu/drm/rockchip/cdn-dp-reg.c 		      (video->color_depth * 2) : (video->color_depth * 3);
video             688 drivers/gpu/drm/rockchip/cdn-dp-reg.c 	switch (video->color_depth) {
video             706 drivers/gpu/drm/rockchip/cdn-dp-reg.c 	val += video->color_fmt << 8;
video             711 drivers/gpu/drm/rockchip/cdn-dp-reg.c 	val = video->h_sync_polarity ? DP_FRAMER_SP_HSP : 0;
video             712 drivers/gpu/drm/rockchip/cdn-dp-reg.c 	val |= video->v_sync_polarity ? DP_FRAMER_SP_VSP : 0;
video             734 drivers/gpu/drm/rockchip/cdn-dp-reg.c 	val |= (mode->hdisplay << 16) | (video->h_sync_polarity << 15);
video             746 drivers/gpu/drm/rockchip/cdn-dp-reg.c 	val |= (mode->vdisplay << 16) | (video->v_sync_polarity << 15);
video             751 drivers/gpu/drm/rockchip/cdn-dp-reg.c 	val = cdn_dp_get_msa_misc(video, mode);
video             663 drivers/media/dvb-frontends/au8522_decoder.c 	.video = &au8522_video_ops,
video             779 drivers/media/i2c/ad9389b.c 	.video = &ad9389b_video_ops,
video             331 drivers/media/i2c/adv7170.c 	.video = &adv7170_video_ops,
video             386 drivers/media/i2c/adv7175.c 	.video = &adv7175_video_ops,
video             868 drivers/media/i2c/adv7180.c 	.video = &adv7180_video_ops,
video             520 drivers/media/i2c/adv7183.c 	.video = &adv7183_video_ops,
video             362 drivers/media/i2c/adv7343.c 	.video	= &adv7343_video_ops,
video             349 drivers/media/i2c/adv7393.c 	.video	= &adv7393_video_ops,
video             397 drivers/media/i2c/adv748x/adv748x-afe.c 	.video = &adv748x_afe_video_ops,
video             129 drivers/media/i2c/adv748x/adv748x-csi2.c 	return v4l2_subdev_call(src, video, s_stream, enable);
video             227 drivers/media/i2c/adv748x/adv748x-csi2.c 	.video = &adv748x_csi2_video_ops,
video             611 drivers/media/i2c/adv748x/adv748x-hdmi.c 	.video = &adv748x_video_ops_hdmi,
video            1449 drivers/media/i2c/adv7511-v4l2.c 	.video = &adv7511_video_ops,
video            2705 drivers/media/i2c/adv7604.c 	.video = &adv76xx_video_ops,
video            3309 drivers/media/i2c/adv7842.c 	.video = &adv7842_video_ops,
video             225 drivers/media/i2c/ak881x.c 	.video	= &ak881x_subdev_video_ops,
video             378 drivers/media/i2c/bt819.c 	.video = &bt819_video_ops,
video             179 drivers/media/i2c/bt856.c 	.video = &bt856_video_ops,
video             173 drivers/media/i2c/bt866.c 	.video = &bt866_video_ops,
video            5776 drivers/media/i2c/cx25840/cx25840-core.c 	.video = &cx25840_video_ops,
video            1362 drivers/media/i2c/et8ek8/et8ek8_driver.c 	.video = &et8ek8_video_ops,
video             852 drivers/media/i2c/imx214.c 	.video = &imx214_video_ops,
video            1088 drivers/media/i2c/imx258.c 	.video = &imx258_video_ops,
video            1805 drivers/media/i2c/imx274.c 	.video = &imx274_video_ops,
video            2251 drivers/media/i2c/imx319.c 	.video = &imx319_video_ops,
video            1551 drivers/media/i2c/imx355.c 	.video = &imx355_video_ops,
video             647 drivers/media/i2c/ks0127.c 	.video = &ks0127_video_ops,
video             125 drivers/media/i2c/m52790.c 	.video = &m52790_video_ops,
video             924 drivers/media/i2c/m5mols/m5mols_core.c 	.video		= &m5mols_video_ops,
video             312 drivers/media/i2c/ml86v7667.c 	.video = &ml86v7667_subdev_video_ops,
video             652 drivers/media/i2c/msp3400-driver.c 	.video = &msp_video_ops,
video             724 drivers/media/i2c/mt9m001.c 	.video	= &mt9m001_subdev_video_ops,
video             692 drivers/media/i2c/mt9m032.c 	.video = &mt9m032_video_ops,
video            1175 drivers/media/i2c/mt9m111.c 	.video	= &mt9m111_subdev_video_ops,
video             991 drivers/media/i2c/mt9p031.c 	.video  = &mt9p031_subdev_video_ops,
video             841 drivers/media/i2c/mt9t001.c 	.video = &mt9t001_subdev_video_ops,
video            1022 drivers/media/i2c/mt9t112.c 	.video	= &mt9t112_subdev_video_ops,
video             472 drivers/media/i2c/mt9v011.c 	.video = &mt9v011_video_ops,
video             970 drivers/media/i2c/mt9v032.c 	.video	= &mt9v032_subdev_video_ops,
video             985 drivers/media/i2c/mt9v111.c 	.video	= &mt9v111_video_ops,
video             676 drivers/media/i2c/noon010pc30.c 	.video	= &noon010_video_ops,
video            1575 drivers/media/i2c/ov13858.c 	.video = &ov13858_video_ops,
video            1151 drivers/media/i2c/ov2640.c 	.video	= &ov2640_subdev_video_ops,
video            1307 drivers/media/i2c/ov2659.c 	.video = &ov2659_subdev_video_ops,
video             891 drivers/media/i2c/ov2680.c 	.video	= &ov2680_video_ops,
video             598 drivers/media/i2c/ov2685.c 	.video	= &ov2685_video_ops,
video            2900 drivers/media/i2c/ov5640.c 	.video = &ov5640_video_ops,
video            1048 drivers/media/i2c/ov5645.c 	.video = &ov5645_video_ops,
video             472 drivers/media/i2c/ov5647.c 	.video		= &ov5647_subdev_video_ops,
video            2429 drivers/media/i2c/ov5670.c 	.video = &ov5670_video_ops,
video             972 drivers/media/i2c/ov5675.c 	.video = &ov5675_video_ops,
video            1099 drivers/media/i2c/ov5695.c 	.video	= &ov5695_video_ops,
video             973 drivers/media/i2c/ov6650.c 	.video	= &ov6650_video_ops,
video            1250 drivers/media/i2c/ov7251.c 	.video = &ov7251_video_ops,
video            1749 drivers/media/i2c/ov7670.c 	.video = &ov7670_video_ops,
video            1347 drivers/media/i2c/ov772x.c 	.video	= &ov772x_subdev_video_ops,
video             887 drivers/media/i2c/ov7740.c 	.video	= &ov7740_subdev_video_ops,
video            1063 drivers/media/i2c/ov8856.c 	.video = &ov8856_video_ops,
video             675 drivers/media/i2c/ov9640.c 	.video	= &ov9640_video_ops,
video            1401 drivers/media/i2c/ov9650.c 	.video = &ov965x_video_ops,
video            1255 drivers/media/i2c/rj54n1cb0c.c 	.video	= &rj54n1_subdev_video_ops,
video            1540 drivers/media/i2c/s5c73m3/s5c73m3-core.c 	.video	= &s5c73m3_oif_video_ops,
video             836 drivers/media/i2c/s5k4ecgx.c 	.video = &s5k4ecgx_video_ops,
video            1791 drivers/media/i2c/s5k5baf.c 	.video = &s5k5baf_video_ops,
video            1497 drivers/media/i2c/s5k6aa.c 	.video = &s5k6aa_video_ops,
video             658 drivers/media/i2c/saa6752hs.c 	.video = &saa6752hs_video_ops,
video             356 drivers/media/i2c/saa7110.c 	.video = &saa7110_video_ops,
video            1622 drivers/media/i2c/saa7115.c 	.video = &saa711x_video_ops,
video             705 drivers/media/i2c/saa7127.c 	.video = &saa7127_video_ops,
video            1221 drivers/media/i2c/saa717x.c 	.video = &saa717x_video_ops,
video             287 drivers/media/i2c/saa7185.c 	.video = &saa7185_video_ops,
video            2686 drivers/media/i2c/smiapp/smiapp-core.c 	.video = &smiapp_video_ops,
video             329 drivers/media/i2c/sony-btf-mpx.c 	.video = &sony_btf_mpx_video_ops,
video             787 drivers/media/i2c/st-mipid02.c 	.video = &mipid02_video_ops,
video            1855 drivers/media/i2c/tc358743.c 	.video = &tc358743_video_ops,
video            2029 drivers/media/i2c/tda1997x.c 	.video = &tda1997x_video_ops,
video             116 drivers/media/i2c/tea6415c.c 	.video = &tea6415c_video_ops,
video             322 drivers/media/i2c/ths7303.c 	.video	= &ths7303_video_ops,
video             435 drivers/media/i2c/ths8200.c 	.video = &ths8200_video_ops,
video            1929 drivers/media/i2c/tvaudio.c 	.video = &tvaudio_video_ops,
video             954 drivers/media/i2c/tvp514x.c 	.video = &tvp514x_video_ops,
video            1437 drivers/media/i2c/tvp5150.c 	.video = &tvp5150_video_ops,
video             876 drivers/media/i2c/tvp7002.c 	.video = &tvp7002_video_ops,
video             343 drivers/media/i2c/tw2804.c 	.video = &tw2804_video_ops,
video             187 drivers/media/i2c/tw9903.c 	.video = &tw9903_video_ops,
video             157 drivers/media/i2c/tw9906.c 	.video = &tw9906_video_ops,
video             923 drivers/media/i2c/tw9910.c 	.video	= &tw9910_subdev_video_ops,
video             179 drivers/media/i2c/upd64031a.c 	.video = &upd64031a_video_ops,
video             150 drivers/media/i2c/upd64083.c 	.video = &upd64083_video_ops,
video             129 drivers/media/i2c/vp27smpx.c 	.video = &vp27smpx_video_ops,
video             452 drivers/media/i2c/vpx3220.c 	.video = &vpx3220_video_ops,
video             737 drivers/media/i2c/vs6624.c 	.video = &vs6624_video_ops,
video            1154 drivers/media/pci/bt8xx/bttv-driver.c 	bttv_call_all(btv, video, s_std, id);
video            4279 drivers/media/pci/bt8xx/bttv-driver.c 	btv->state.video = btv->curr;
video            4338 drivers/media/pci/bt8xx/bttv-driver.c 	btv->curr = btv->state.video;
video             347 drivers/media/pci/bt8xx/bttvp.h 	struct bttv_buffer_set video;
video             519 drivers/media/pci/cobalt/cobalt-driver.c 		err = v4l2_subdev_call(s[i].sd, video, s_routing,
video             644 drivers/media/pci/cobalt/cobalt-driver.c 		v4l2_subdev_call(s->sd, video, s_stream, 1);
video             640 drivers/media/pci/cobalt/cobalt-v4l2.c 			video, s_dv_timings, timings);
video             660 drivers/media/pci/cobalt/cobalt-v4l2.c 			video, g_dv_timings, timings);
video             673 drivers/media/pci/cobalt/cobalt-v4l2.c 			video, query_dv_timings, timings);
video             964 drivers/media/pci/cobalt/cobalt-v4l2.c 			video, g_input_status, &inp->status);
video             990 drivers/media/pci/cobalt/cobalt-v4l2.c 	return v4l2_subdev_call(s->sd, video, s_routing,
video            1082 drivers/media/pci/cobalt/cobalt-v4l2.c 		err = v4l2_subdev_call(s->sd, video, g_dv_timings, &timings);
video            1101 drivers/media/pci/cobalt/cobalt-v4l2.c 		err = v4l2_subdev_call(s->sd, video, g_dv_timings, &timings);
video            1245 drivers/media/pci/cobalt/cobalt-v4l2.c 		v4l2_subdev_call(s->sd, video, s_dv_timings, &s->timings);
video            1294 drivers/media/pci/cx18/cx18-av-core.c 	.video = &cx18_av_video_ops,
video             756 drivers/media/pci/cx18/cx18-fileops.c 		cx18_call_all(cx, video, s_std, cx->std);
video             187 drivers/media/pci/cx18/cx18-gpio.c 	.video = &gpiomux_video_ops,
video             598 drivers/media/pci/cx18/cx18-ioctl.c 	cx18_call_all(cx, video, s_std, cx->std);
video              16 drivers/media/pci/cx18/cx18-video.c 	v4l2_subdev_call(cx->sd_av, video, s_routing,
video             132 drivers/media/pci/cx23885/cx23885-video.c 	call_all(dev, video, s_std, norm);
video             246 drivers/media/pci/cx23885/cx23885-video.c 	v4l2_subdev_call(dev->sd_cx25840, video, s_routing,
video             752 drivers/media/pci/cx23885/cx23885-video.c 		call_all(dev, video, g_input_status, &i->status);
video            1003 drivers/media/pci/cx23885/cx23885-video.c 		call_all(dev, video, s_std, dev->tvnorm);
video             993 drivers/media/pci/cx88/cx88-core.c 	call_all(core, video, s_std, norm);
video            1012 drivers/media/pci/intel/ipu3/ipu3-cio2.c 	r = v4l2_subdev_call(q->sensor, video, s_stream, 1);
video            1037 drivers/media/pci/intel/ipu3/ipu3-cio2.c 	if (v4l2_subdev_call(q->sensor, video, s_stream, 0))
video             954 drivers/media/pci/ivtv/ivtv-driver.c 		v4l2_subdev_call(itv->sd_video, video, s_crystal_freq,
video            1240 drivers/media/pci/ivtv/ivtv-driver.c 		ivtv_call_all(itv, video, s_std_output, itv->std);
video            1244 drivers/media/pci/ivtv/ivtv-driver.c 		ivtv_call_hw(itv, IVTV_HW_SAA7127, video, s_stream, 0);
video            1364 drivers/media/pci/ivtv/ivtv-driver.c 		ivtv_call_hw(itv, IVTV_HW_SAA7127, video, s_stream, 1);
video            1413 drivers/media/pci/ivtv/ivtv-driver.c 			ivtv_call_hw(itv, IVTV_HW_SAA7127, video, s_stream, 0);
video             885 drivers/media/pci/ivtv/ivtv-fileops.c 		ivtv_call_all(itv, video, s_std, itv->std);
video             889 drivers/media/pci/ivtv/ivtv-fileops.c 			ivtv_call_hw(itv, IVTV_HW_SAA711X, video, s_crystal_freq,
video            1014 drivers/media/pci/ivtv/ivtv-fileops.c 			ivtv_call_hw(itv, IVTV_HW_SAA711X, video, s_crystal_freq,
video             274 drivers/media/pci/ivtv/ivtv-firmware.c 		ivtv_call_hw(itv, IVTV_HW_SAA7127, video, s_routing,
video             311 drivers/media/pci/ivtv/ivtv-firmware.c 		ivtv_call_hw(itv, IVTV_HW_SAA7127, video, s_routing,
video             325 drivers/media/pci/ivtv/ivtv-gpio.c 	.video = &subdev_video_ops,
video            1051 drivers/media/pci/ivtv/ivtv-ioctl.c 	ivtv_call_hw(itv, IVTV_HW_SAA7127, video, s_routing,
video            1113 drivers/media/pci/ivtv/ivtv-ioctl.c 	ivtv_call_all(itv, video, s_std, itv->std);
video            1126 drivers/media/pci/ivtv/ivtv-ioctl.c 	ivtv_call_all(itv, video, s_std_output, itv->std_out);
video              56 drivers/media/pci/ivtv/ivtv-routing.c 	v4l2_subdev_call(itv->sd_video, video, s_routing,
video              70 drivers/media/pci/ivtv/ivtv-routing.c 		ivtv_call_hw(itv, IVTV_HW_GPIO, video, s_routing,
video              84 drivers/media/pci/ivtv/ivtv-routing.c 		ivtv_call_hw(itv, IVTV_HW_UPD64031A, video, s_routing,
video             104 drivers/media/pci/ivtv/ivtv-routing.c 		ivtv_call_hw(itv, IVTV_HW_UPD6408X, video, s_routing,
video             629 drivers/media/pci/ivtv/ivtv-streams.c 		v4l2_subdev_call(itv->sd_video, video, s_stream, 0);
video             632 drivers/media/pci/ivtv/ivtv-streams.c 		v4l2_subdev_call(itv->sd_video, video, s_stream, 1);
video             911 drivers/media/pci/ivtv/ivtvfb.c 		ivtv_call_hw(itv, IVTV_HW_SAA7127, video, s_stream, 1);
video             917 drivers/media/pci/ivtv/ivtvfb.c 		ivtv_call_hw(itv, IVTV_HW_SAA7127, video, s_stream, 1);
video             920 drivers/media/pci/ivtv/ivtvfb.c 		ivtv_call_hw(itv, IVTV_HW_SAA7127, video, s_stream, 0);
video             402 drivers/media/pci/saa7134/saa7134-go7007.c 	.video = &saa7134_go7007_video_ops,
video             455 drivers/media/pci/saa7134/saa7134-video.c 	saa_call_all(dev, video, s_std, dev->tvnorm->id);
video             458 drivers/media/pci/saa7134/saa7134-video.c 	saa_call_empress(dev, video, s_std, dev->tvnorm->id);
video             349 drivers/media/pci/saa7146/mxb.c 	saa7111a_call(mxb, video, s_std, std);
video             353 drivers/media/pci/saa7146/mxb.c 	saa7111a_call(mxb, video, s_routing, SAA7115_COMPOSITE0,
video             371 drivers/media/pci/saa7146/mxb.c 	saa7111a_call(mxb, video, s_std, std);
video             372 drivers/media/pci/saa7146/mxb.c 	tuner_call(mxb, video, s_std, std);
video             375 drivers/media/pci/saa7146/mxb.c 	tea6415c_call(mxb, video, s_routing, 3, 17, 0);
video             378 drivers/media/pci/saa7146/mxb.c 	tea6415c_call(mxb, video, s_routing, 3, 13, 0);
video             491 drivers/media/pci/saa7146/mxb.c 		err = tea6415c_call(mxb, video, s_routing, 3, 17, 0);
video             495 drivers/media/pci/saa7146/mxb.c 			err = tea6415c_call(mxb, video, s_routing, 3, 13, 0);
video             509 drivers/media/pci/saa7146/mxb.c 		err = tea6415c_call(mxb, video, s_routing, 1, 17, 0);
video             517 drivers/media/pci/saa7146/mxb.c 	if (saa7111a_call(mxb, video, s_routing, i, SAA7111_FMT_CCIR, 0))
video             571 drivers/media/pci/saa7146/mxb.c 	return call_all(dev, video, querystd, norm);
video             763 drivers/media/pci/saa7146/mxb.c 		saa7111a_call(mxb, video, s_std, std);
video             765 drivers/media/pci/saa7146/mxb.c 			tuner_call(mxb, video, s_std, std);
video             775 drivers/media/pci/saa7146/mxb.c 		saa7111a_call(mxb, video, s_std, std);
video             777 drivers/media/pci/saa7146/mxb.c 			tuner_call(mxb, video, s_std, std);
video             436 drivers/media/pci/sta2x11/sta2x11_vip.c 		v4l2_subdev_call(vip->decoder, video, querystd, &std);
video             449 drivers/media/pci/sta2x11/sta2x11_vip.c 	return v4l2_subdev_call(vip->decoder, video, s_std, std);
video             484 drivers/media/pci/sta2x11/sta2x11_vip.c 	return v4l2_subdev_call(vip->decoder, video, querystd, std);
video             519 drivers/media/pci/sta2x11/sta2x11_vip.c 	ret = v4l2_subdev_call(vip->decoder, video, s_routing, i, 0, 0);
video            1765 drivers/media/platform/am437x/am437x-vpfe.c 			ret = v4l2_subdev_call(sdinfo->sd, video,
video            1818 drivers/media/platform/am437x/am437x-vpfe.c 					 video, querystd, std_id);
video            1845 drivers/media/platform/am437x/am437x-vpfe.c 					 video, s_std, std_id);
video            2006 drivers/media/platform/am437x/am437x-vpfe.c 	ret = v4l2_subdev_call(sdinfo->sd, video, s_stream, 1);
video            2042 drivers/media/platform/am437x/am437x-vpfe.c 	ret = v4l2_subdev_call(sdinfo->sd, video, s_stream, 0);
video             402 drivers/media/platform/aspeed-video.c static void aspeed_video_update(struct aspeed_video *video, u32 reg, u32 clear,
video             405 drivers/media/platform/aspeed-video.c 	u32 t = readl(video->base + reg);
video             410 drivers/media/platform/aspeed-video.c 	writel(t, video->base + reg);
video             411 drivers/media/platform/aspeed-video.c 	dev_dbg(video->dev, "update %03x[%08x -> %08x]\n", reg, before,
video             412 drivers/media/platform/aspeed-video.c 		readl(video->base + reg));
video             415 drivers/media/platform/aspeed-video.c static u32 aspeed_video_read(struct aspeed_video *video, u32 reg)
video             417 drivers/media/platform/aspeed-video.c 	u32 t = readl(video->base + reg);
video             419 drivers/media/platform/aspeed-video.c 	dev_dbg(video->dev, "read %03x[%08x]\n", reg, t);
video             423 drivers/media/platform/aspeed-video.c static void aspeed_video_write(struct aspeed_video *video, u32 reg, u32 val)
video             425 drivers/media/platform/aspeed-video.c 	writel(val, video->base + reg);
video             426 drivers/media/platform/aspeed-video.c 	dev_dbg(video->dev, "write %03x[%08x]\n", reg,
video             427 drivers/media/platform/aspeed-video.c 		readl(video->base + reg));
video             430 drivers/media/platform/aspeed-video.c static int aspeed_video_start_frame(struct aspeed_video *video)
video             435 drivers/media/platform/aspeed-video.c 	u32 seq_ctrl = aspeed_video_read(video, VE_SEQ_CTRL);
video             437 drivers/media/platform/aspeed-video.c 	if (video->v4l2_input_status) {
video             438 drivers/media/platform/aspeed-video.c 		dev_dbg(video->dev, "No signal; don't start frame\n");
video             444 drivers/media/platform/aspeed-video.c 		dev_dbg(video->dev, "Engine busy; don't start frame\n");
video             448 drivers/media/platform/aspeed-video.c 	spin_lock_irqsave(&video->lock, flags);
video             449 drivers/media/platform/aspeed-video.c 	buf = list_first_entry_or_null(&video->buffers,
video             452 drivers/media/platform/aspeed-video.c 		spin_unlock_irqrestore(&video->lock, flags);
video             453 drivers/media/platform/aspeed-video.c 		dev_dbg(video->dev, "No buffers; don't start frame\n");
video             457 drivers/media/platform/aspeed-video.c 	set_bit(VIDEO_FRAME_INPRG, &video->flags);
video             459 drivers/media/platform/aspeed-video.c 	spin_unlock_irqrestore(&video->lock, flags);
video             461 drivers/media/platform/aspeed-video.c 	aspeed_video_write(video, VE_COMP_PROC_OFFSET, 0);
video             462 drivers/media/platform/aspeed-video.c 	aspeed_video_write(video, VE_COMP_OFFSET, 0);
video             463 drivers/media/platform/aspeed-video.c 	aspeed_video_write(video, VE_COMP_ADDR, addr);
video             465 drivers/media/platform/aspeed-video.c 	aspeed_video_update(video, VE_INTERRUPT_CTRL, 0,
video             468 drivers/media/platform/aspeed-video.c 	aspeed_video_update(video, VE_SEQ_CTRL, 0,
video             474 drivers/media/platform/aspeed-video.c static void aspeed_video_enable_mode_detect(struct aspeed_video *video)
video             477 drivers/media/platform/aspeed-video.c 	aspeed_video_update(video, VE_INTERRUPT_CTRL, 0,
video             481 drivers/media/platform/aspeed-video.c 	aspeed_video_update(video, VE_SEQ_CTRL, 0, VE_SEQ_CTRL_TRIG_MODE_DET);
video             484 drivers/media/platform/aspeed-video.c static void aspeed_video_off(struct aspeed_video *video)
video             486 drivers/media/platform/aspeed-video.c 	if (!test_bit(VIDEO_CLOCKS_ON, &video->flags))
video             490 drivers/media/platform/aspeed-video.c 	aspeed_video_write(video, VE_INTERRUPT_CTRL, 0);
video             491 drivers/media/platform/aspeed-video.c 	aspeed_video_write(video, VE_INTERRUPT_STATUS, 0xffffffff);
video             494 drivers/media/platform/aspeed-video.c 	clk_disable(video->vclk);
video             495 drivers/media/platform/aspeed-video.c 	clk_disable(video->eclk);
video             497 drivers/media/platform/aspeed-video.c 	clear_bit(VIDEO_CLOCKS_ON, &video->flags);
video             500 drivers/media/platform/aspeed-video.c static void aspeed_video_on(struct aspeed_video *video)
video             502 drivers/media/platform/aspeed-video.c 	if (test_bit(VIDEO_CLOCKS_ON, &video->flags))
video             506 drivers/media/platform/aspeed-video.c 	clk_enable(video->eclk);
video             507 drivers/media/platform/aspeed-video.c 	clk_enable(video->vclk);
video             509 drivers/media/platform/aspeed-video.c 	set_bit(VIDEO_CLOCKS_ON, &video->flags);
video             512 drivers/media/platform/aspeed-video.c static void aspeed_video_bufs_done(struct aspeed_video *video,
video             518 drivers/media/platform/aspeed-video.c 	spin_lock_irqsave(&video->lock, flags);
video             519 drivers/media/platform/aspeed-video.c 	list_for_each_entry(buf, &video->buffers, link)
video             521 drivers/media/platform/aspeed-video.c 	INIT_LIST_HEAD(&video->buffers);
video             522 drivers/media/platform/aspeed-video.c 	spin_unlock_irqrestore(&video->lock, flags);
video             525 drivers/media/platform/aspeed-video.c static void aspeed_video_irq_res_change(struct aspeed_video *video, ulong delay)
video             527 drivers/media/platform/aspeed-video.c 	dev_dbg(video->dev, "Resolution changed; resetting\n");
video             529 drivers/media/platform/aspeed-video.c 	set_bit(VIDEO_RES_CHANGE, &video->flags);
video             530 drivers/media/platform/aspeed-video.c 	clear_bit(VIDEO_FRAME_INPRG, &video->flags);
video             532 drivers/media/platform/aspeed-video.c 	aspeed_video_off(video);
video             533 drivers/media/platform/aspeed-video.c 	aspeed_video_bufs_done(video, VB2_BUF_STATE_ERROR);
video             535 drivers/media/platform/aspeed-video.c 	schedule_delayed_work(&video->res_work, delay);
video             540 drivers/media/platform/aspeed-video.c 	struct aspeed_video *video = arg;
video             541 drivers/media/platform/aspeed-video.c 	u32 sts = aspeed_video_read(video, VE_INTERRUPT_STATUS);
video             548 drivers/media/platform/aspeed-video.c 		aspeed_video_irq_res_change(video, 0);
video             553 drivers/media/platform/aspeed-video.c 		if (test_bit(VIDEO_RES_DETECT, &video->flags)) {
video             554 drivers/media/platform/aspeed-video.c 			aspeed_video_update(video, VE_INTERRUPT_CTRL,
video             556 drivers/media/platform/aspeed-video.c 			aspeed_video_write(video, VE_INTERRUPT_STATUS,
video             559 drivers/media/platform/aspeed-video.c 			set_bit(VIDEO_MODE_DETECT_DONE, &video->flags);
video             560 drivers/media/platform/aspeed-video.c 			wake_up_interruptible_all(&video->wait);
video             566 drivers/media/platform/aspeed-video.c 			aspeed_video_irq_res_change(video,
video             574 drivers/media/platform/aspeed-video.c 		u32 frame_size = aspeed_video_read(video,
video             577 drivers/media/platform/aspeed-video.c 		spin_lock(&video->lock);
video             578 drivers/media/platform/aspeed-video.c 		clear_bit(VIDEO_FRAME_INPRG, &video->flags);
video             579 drivers/media/platform/aspeed-video.c 		buf = list_first_entry_or_null(&video->buffers,
video             585 drivers/media/platform/aspeed-video.c 			if (!list_is_last(&buf->link, &video->buffers)) {
video             587 drivers/media/platform/aspeed-video.c 				buf->vb.sequence = video->sequence++;
video             594 drivers/media/platform/aspeed-video.c 		spin_unlock(&video->lock);
video             596 drivers/media/platform/aspeed-video.c 		aspeed_video_update(video, VE_SEQ_CTRL,
video             600 drivers/media/platform/aspeed-video.c 		aspeed_video_update(video, VE_INTERRUPT_CTRL,
video             602 drivers/media/platform/aspeed-video.c 		aspeed_video_write(video, VE_INTERRUPT_STATUS,
video             605 drivers/media/platform/aspeed-video.c 		if (test_bit(VIDEO_STREAMING, &video->flags) && buf)
video             606 drivers/media/platform/aspeed-video.c 			aspeed_video_start_frame(video);
video             622 drivers/media/platform/aspeed-video.c static void aspeed_video_check_and_set_polarity(struct aspeed_video *video)
video             630 drivers/media/platform/aspeed-video.c 		sts = aspeed_video_read(video, VE_MODE_DETECT_STATUS);
video             647 drivers/media/platform/aspeed-video.c 			video->detected_timings.polarities &=
video             650 drivers/media/platform/aspeed-video.c 			video->detected_timings.polarities |=
video             656 drivers/media/platform/aspeed-video.c 			video->detected_timings.polarities &=
video             659 drivers/media/platform/aspeed-video.c 			video->detected_timings.polarities |=
video             664 drivers/media/platform/aspeed-video.c 			aspeed_video_update(video, VE_CTRL, 0, ctrl);
video             668 drivers/media/platform/aspeed-video.c static bool aspeed_video_alloc_buf(struct aspeed_video *video,
video             672 drivers/media/platform/aspeed-video.c 	addr->virt = dma_alloc_coherent(video->dev, size, &addr->dma,
video             681 drivers/media/platform/aspeed-video.c static void aspeed_video_free_buf(struct aspeed_video *video,
video             684 drivers/media/platform/aspeed-video.c 	dma_free_coherent(video->dev, addr->size, addr->virt, addr->dma);
video             696 drivers/media/platform/aspeed-video.c static void aspeed_video_calc_compressed_size(struct aspeed_video *video,
video             706 drivers/media/platform/aspeed-video.c 	video->max_compressed_size = UINT_MAX;
video             715 drivers/media/platform/aspeed-video.c 			if (size < video->max_compressed_size) {
video             717 drivers/media/platform/aspeed-video.c 				video->max_compressed_size = size;
video             722 drivers/media/platform/aspeed-video.c 	aspeed_video_write(video, VE_STREAM_BUF_SIZE,
video             725 drivers/media/platform/aspeed-video.c 	dev_dbg(video->dev, "Max compressed size: %x\n",
video             726 drivers/media/platform/aspeed-video.c 		video->max_compressed_size);
video             731 drivers/media/platform/aspeed-video.c static void aspeed_video_get_resolution(struct aspeed_video *video)
video             740 drivers/media/platform/aspeed-video.c 	struct v4l2_bt_timings *det = &video->detected_timings;
video             744 drivers/media/platform/aspeed-video.c 	video->v4l2_input_status = V4L2_IN_ST_NO_SIGNAL;
video             753 drivers/media/platform/aspeed-video.c 		set_bit(VIDEO_RES_DETECT, &video->flags);
video             754 drivers/media/platform/aspeed-video.c 		aspeed_video_update(video, VE_CTRL,
video             756 drivers/media/platform/aspeed-video.c 		aspeed_video_enable_mode_detect(video);
video             758 drivers/media/platform/aspeed-video.c 		rc = wait_event_interruptible_timeout(video->wait,
video             759 drivers/media/platform/aspeed-video.c 						      res_check(video),
video             762 drivers/media/platform/aspeed-video.c 			dev_dbg(video->dev, "Timed out; first mode detect\n");
video             763 drivers/media/platform/aspeed-video.c 			clear_bit(VIDEO_RES_DETECT, &video->flags);
video             768 drivers/media/platform/aspeed-video.c 		aspeed_video_update(video, VE_SEQ_CTRL,
video             771 drivers/media/platform/aspeed-video.c 		aspeed_video_check_and_set_polarity(video);
video             773 drivers/media/platform/aspeed-video.c 		aspeed_video_enable_mode_detect(video);
video             775 drivers/media/platform/aspeed-video.c 		rc = wait_event_interruptible_timeout(video->wait,
video             776 drivers/media/platform/aspeed-video.c 						      res_check(video),
video             778 drivers/media/platform/aspeed-video.c 		clear_bit(VIDEO_RES_DETECT, &video->flags);
video             780 drivers/media/platform/aspeed-video.c 			dev_dbg(video->dev, "Timed out; second mode detect\n");
video             784 drivers/media/platform/aspeed-video.c 		src_lr_edge = aspeed_video_read(video, VE_SRC_LR_EDGE_DET);
video             785 drivers/media/platform/aspeed-video.c 		src_tb_edge = aspeed_video_read(video, VE_SRC_TB_EDGE_DET);
video             786 drivers/media/platform/aspeed-video.c 		mds = aspeed_video_read(video, VE_MODE_DETECT_STATUS);
video             787 drivers/media/platform/aspeed-video.c 		sync = aspeed_video_read(video, VE_SYNC_STATUS);
video             789 drivers/media/platform/aspeed-video.c 		video->frame_bottom = (src_tb_edge & VE_SRC_TB_EDGE_DET_BOT) >>
video             791 drivers/media/platform/aspeed-video.c 		video->frame_top = src_tb_edge & VE_SRC_TB_EDGE_DET_TOP;
video             792 drivers/media/platform/aspeed-video.c 		det->vfrontporch = video->frame_top;
video             794 drivers/media/platform/aspeed-video.c 			VE_MODE_DETECT_V_LINES_SHF) - video->frame_bottom;
video             797 drivers/media/platform/aspeed-video.c 		if (video->frame_top > video->frame_bottom)
video             800 drivers/media/platform/aspeed-video.c 		video->frame_right = (src_lr_edge & VE_SRC_LR_EDGE_DET_RT) >>
video             802 drivers/media/platform/aspeed-video.c 		video->frame_left = src_lr_edge & VE_SRC_LR_EDGE_DET_LEFT;
video             803 drivers/media/platform/aspeed-video.c 		det->hfrontporch = video->frame_left;
video             805 drivers/media/platform/aspeed-video.c 			video->frame_right;
video             807 drivers/media/platform/aspeed-video.c 		if (video->frame_left > video->frame_right)
video             814 drivers/media/platform/aspeed-video.c 		dev_dbg(video->dev, "Invalid resolution detected\n");
video             818 drivers/media/platform/aspeed-video.c 	det->height = (video->frame_bottom - video->frame_top) + 1;
video             819 drivers/media/platform/aspeed-video.c 	det->width = (video->frame_right - video->frame_left) + 1;
video             820 drivers/media/platform/aspeed-video.c 	video->v4l2_input_status = 0;
video             826 drivers/media/platform/aspeed-video.c 	aspeed_video_update(video, VE_INTERRUPT_CTRL, 0,
video             828 drivers/media/platform/aspeed-video.c 	aspeed_video_update(video, VE_SEQ_CTRL, 0,
video             831 drivers/media/platform/aspeed-video.c 	dev_dbg(video->dev, "Got resolution: %dx%d\n", det->width,
video             835 drivers/media/platform/aspeed-video.c static void aspeed_video_set_resolution(struct aspeed_video *video)
video             837 drivers/media/platform/aspeed-video.c 	struct v4l2_bt_timings *act = &video->active_timings;
video             841 drivers/media/platform/aspeed-video.c 	aspeed_video_calc_compressed_size(video, size);
video             843 drivers/media/platform/aspeed-video.c 	if (video->active_timings.width == 1680) {
video             852 drivers/media/platform/aspeed-video.c 		aspeed_video_write(video, VE_CAP_WINDOW,
video             854 drivers/media/platform/aspeed-video.c 		size += (1728 - 1680) * video->active_timings.height;
video             856 drivers/media/platform/aspeed-video.c 		aspeed_video_write(video, VE_CAP_WINDOW,
video             859 drivers/media/platform/aspeed-video.c 	aspeed_video_write(video, VE_COMP_WINDOW,
video             861 drivers/media/platform/aspeed-video.c 	aspeed_video_write(video, VE_SRC_SCANLINE_OFFSET, act->width * 4);
video             865 drivers/media/platform/aspeed-video.c 		aspeed_video_write(video, VE_TGS_0,
video             867 drivers/media/platform/aspeed-video.c 					      video->frame_left - 1) |
video             869 drivers/media/platform/aspeed-video.c 					      video->frame_right));
video             870 drivers/media/platform/aspeed-video.c 		aspeed_video_write(video, VE_TGS_1,
video             871 drivers/media/platform/aspeed-video.c 				   FIELD_PREP(VE_TGS_FIRST, video->frame_top) |
video             873 drivers/media/platform/aspeed-video.c 					      video->frame_bottom + 1));
video             874 drivers/media/platform/aspeed-video.c 		aspeed_video_update(video, VE_CTRL, 0, VE_CTRL_INT_DE);
video             876 drivers/media/platform/aspeed-video.c 		aspeed_video_update(video, VE_CTRL, 0, VE_CTRL_DIRECT_FETCH);
video             881 drivers/media/platform/aspeed-video.c 	if (size != video->srcs[0].size) {
video             882 drivers/media/platform/aspeed-video.c 		if (video->srcs[0].size)
video             883 drivers/media/platform/aspeed-video.c 			aspeed_video_free_buf(video, &video->srcs[0]);
video             884 drivers/media/platform/aspeed-video.c 		if (video->srcs[1].size)
video             885 drivers/media/platform/aspeed-video.c 			aspeed_video_free_buf(video, &video->srcs[1]);
video             887 drivers/media/platform/aspeed-video.c 		if (!aspeed_video_alloc_buf(video, &video->srcs[0], size))
video             889 drivers/media/platform/aspeed-video.c 		if (!aspeed_video_alloc_buf(video, &video->srcs[1], size))
video             892 drivers/media/platform/aspeed-video.c 		aspeed_video_write(video, VE_SRC0_ADDR, video->srcs[0].dma);
video             893 drivers/media/platform/aspeed-video.c 		aspeed_video_write(video, VE_SRC1_ADDR, video->srcs[1].dma);
video             899 drivers/media/platform/aspeed-video.c 	dev_err(video->dev, "Failed to allocate source buffers\n");
video             901 drivers/media/platform/aspeed-video.c 	if (video->srcs[0].size)
video             902 drivers/media/platform/aspeed-video.c 		aspeed_video_free_buf(video, &video->srcs[0]);
video             905 drivers/media/platform/aspeed-video.c static void aspeed_video_init_regs(struct aspeed_video *video)
video             908 drivers/media/platform/aspeed-video.c 		FIELD_PREP(VE_COMP_CTRL_DCT_LUM, video->jpeg_quality) |
video             909 drivers/media/platform/aspeed-video.c 		FIELD_PREP(VE_COMP_CTRL_DCT_CHR, video->jpeg_quality | 0x10);
video             913 drivers/media/platform/aspeed-video.c 	if (video->frame_rate)
video             914 drivers/media/platform/aspeed-video.c 		ctrl |= FIELD_PREP(VE_CTRL_FRC, video->frame_rate);
video             916 drivers/media/platform/aspeed-video.c 	if (video->yuv420)
video             920 drivers/media/platform/aspeed-video.c 	aspeed_video_write(video, VE_PROTECTION_KEY, VE_PROTECTION_KEY_UNLOCK);
video             923 drivers/media/platform/aspeed-video.c 	aspeed_video_write(video, VE_INTERRUPT_CTRL, 0);
video             924 drivers/media/platform/aspeed-video.c 	aspeed_video_write(video, VE_INTERRUPT_STATUS, 0xffffffff);
video             927 drivers/media/platform/aspeed-video.c 	aspeed_video_write(video, VE_COMP_PROC_OFFSET, 0);
video             928 drivers/media/platform/aspeed-video.c 	aspeed_video_write(video, VE_COMP_OFFSET, 0);
video             930 drivers/media/platform/aspeed-video.c 	aspeed_video_write(video, VE_JPEG_ADDR, video->jpeg.dma);
video             933 drivers/media/platform/aspeed-video.c 	aspeed_video_write(video, VE_SEQ_CTRL, seq_ctrl);
video             934 drivers/media/platform/aspeed-video.c 	aspeed_video_write(video, VE_CTRL, ctrl);
video             935 drivers/media/platform/aspeed-video.c 	aspeed_video_write(video, VE_COMP_CTRL, comp_ctrl);
video             938 drivers/media/platform/aspeed-video.c 	aspeed_video_write(video, VE_SCALING_FACTOR, 0x10001000);
video             939 drivers/media/platform/aspeed-video.c 	aspeed_video_write(video, VE_SCALING_FILTER0, 0x00200000);
video             940 drivers/media/platform/aspeed-video.c 	aspeed_video_write(video, VE_SCALING_FILTER1, 0x00200000);
video             941 drivers/media/platform/aspeed-video.c 	aspeed_video_write(video, VE_SCALING_FILTER2, 0x00200000);
video             942 drivers/media/platform/aspeed-video.c 	aspeed_video_write(video, VE_SCALING_FILTER3, 0x00200000);
video             945 drivers/media/platform/aspeed-video.c 	aspeed_video_write(video, VE_MODE_DETECT, 0x22666500);
video             948 drivers/media/platform/aspeed-video.c static void aspeed_video_start(struct aspeed_video *video)
video             950 drivers/media/platform/aspeed-video.c 	aspeed_video_on(video);
video             952 drivers/media/platform/aspeed-video.c 	aspeed_video_init_regs(video);
video             955 drivers/media/platform/aspeed-video.c 	aspeed_video_get_resolution(video);
video             958 drivers/media/platform/aspeed-video.c 	video->active_timings = video->detected_timings;
video             959 drivers/media/platform/aspeed-video.c 	aspeed_video_set_resolution(video);
video             961 drivers/media/platform/aspeed-video.c 	video->pix_fmt.width = video->active_timings.width;
video             962 drivers/media/platform/aspeed-video.c 	video->pix_fmt.height = video->active_timings.height;
video             963 drivers/media/platform/aspeed-video.c 	video->pix_fmt.sizeimage = video->max_compressed_size;
video             966 drivers/media/platform/aspeed-video.c static void aspeed_video_stop(struct aspeed_video *video)
video             968 drivers/media/platform/aspeed-video.c 	set_bit(VIDEO_STOPPED, &video->flags);
video             969 drivers/media/platform/aspeed-video.c 	cancel_delayed_work_sync(&video->res_work);
video             971 drivers/media/platform/aspeed-video.c 	aspeed_video_off(video);
video             973 drivers/media/platform/aspeed-video.c 	if (video->srcs[0].size)
video             974 drivers/media/platform/aspeed-video.c 		aspeed_video_free_buf(video, &video->srcs[0]);
video             976 drivers/media/platform/aspeed-video.c 	if (video->srcs[1].size)
video             977 drivers/media/platform/aspeed-video.c 		aspeed_video_free_buf(video, &video->srcs[1]);
video             979 drivers/media/platform/aspeed-video.c 	video->v4l2_input_status = V4L2_IN_ST_NO_SIGNAL;
video             980 drivers/media/platform/aspeed-video.c 	video->flags = 0;
video            1008 drivers/media/platform/aspeed-video.c 	struct aspeed_video *video = video_drvdata(file);
video            1010 drivers/media/platform/aspeed-video.c 	f->fmt.pix = video->pix_fmt;
video            1018 drivers/media/platform/aspeed-video.c 	struct aspeed_video *video = video_drvdata(file);
video            1026 drivers/media/platform/aspeed-video.c 	inp->status = video->v4l2_input_status;
video            1049 drivers/media/platform/aspeed-video.c 	struct aspeed_video *video = video_drvdata(file);
video            1054 drivers/media/platform/aspeed-video.c 	if (!video->frame_rate)
video            1057 drivers/media/platform/aspeed-video.c 		a->parm.capture.timeperframe.denominator = video->frame_rate;
video            1066 drivers/media/platform/aspeed-video.c 	struct aspeed_video *video = video_drvdata(file);
video            1081 drivers/media/platform/aspeed-video.c 	if (video->frame_rate != frame_rate) {
video            1082 drivers/media/platform/aspeed-video.c 		video->frame_rate = frame_rate;
video            1083 drivers/media/platform/aspeed-video.c 		aspeed_video_update(video, VE_CTRL, VE_CTRL_FRC,
video            1093 drivers/media/platform/aspeed-video.c 	struct aspeed_video *video = video_drvdata(file);
video            1101 drivers/media/platform/aspeed-video.c 	fsize->discrete.width = video->pix_fmt.width;
video            1102 drivers/media/platform/aspeed-video.c 	fsize->discrete.height = video->pix_fmt.height;
video            1111 drivers/media/platform/aspeed-video.c 	struct aspeed_video *video = video_drvdata(file);
video            1116 drivers/media/platform/aspeed-video.c 	if (fival->width != video->detected_timings.width ||
video            1117 drivers/media/platform/aspeed-video.c 	    fival->height != video->detected_timings.height)
video            1137 drivers/media/platform/aspeed-video.c 	struct aspeed_video *video = video_drvdata(file);
video            1139 drivers/media/platform/aspeed-video.c 	if (timings->bt.width == video->active_timings.width &&
video            1140 drivers/media/platform/aspeed-video.c 	    timings->bt.height == video->active_timings.height)
video            1143 drivers/media/platform/aspeed-video.c 	if (vb2_is_busy(&video->queue))
video            1146 drivers/media/platform/aspeed-video.c 	video->active_timings = timings->bt;
video            1148 drivers/media/platform/aspeed-video.c 	aspeed_video_set_resolution(video);
video            1150 drivers/media/platform/aspeed-video.c 	video->pix_fmt.width = timings->bt.width;
video            1151 drivers/media/platform/aspeed-video.c 	video->pix_fmt.height = timings->bt.height;
video            1152 drivers/media/platform/aspeed-video.c 	video->pix_fmt.sizeimage = video->max_compressed_size;
video            1162 drivers/media/platform/aspeed-video.c 	struct aspeed_video *video = video_drvdata(file);
video            1165 drivers/media/platform/aspeed-video.c 	timings->bt = video->active_timings;
video            1174 drivers/media/platform/aspeed-video.c 	struct aspeed_video *video = video_drvdata(file);
video            1182 drivers/media/platform/aspeed-video.c 		if (test_bit(VIDEO_RES_CHANGE, &video->flags))
video            1185 drivers/media/platform/aspeed-video.c 		rc = wait_event_interruptible(video->wait,
video            1187 drivers/media/platform/aspeed-video.c 							&video->flags));
video            1193 drivers/media/platform/aspeed-video.c 	timings->bt = video->detected_timings;
video            1195 drivers/media/platform/aspeed-video.c 	return video->v4l2_input_status ? -ENOLINK : 0;
video            1261 drivers/media/platform/aspeed-video.c static void aspeed_video_update_jpeg_quality(struct aspeed_video *video)
video            1263 drivers/media/platform/aspeed-video.c 	u32 comp_ctrl = FIELD_PREP(VE_COMP_CTRL_DCT_LUM, video->jpeg_quality) |
video            1264 drivers/media/platform/aspeed-video.c 		FIELD_PREP(VE_COMP_CTRL_DCT_CHR, video->jpeg_quality | 0x10);
video            1266 drivers/media/platform/aspeed-video.c 	aspeed_video_update(video, VE_COMP_CTRL,
video            1271 drivers/media/platform/aspeed-video.c static void aspeed_video_update_subsampling(struct aspeed_video *video)
video            1273 drivers/media/platform/aspeed-video.c 	if (video->jpeg.virt)
video            1274 drivers/media/platform/aspeed-video.c 		aspeed_video_init_jpeg_table(video->jpeg.virt, video->yuv420);
video            1276 drivers/media/platform/aspeed-video.c 	if (video->yuv420)
video            1277 drivers/media/platform/aspeed-video.c 		aspeed_video_update(video, VE_SEQ_CTRL, 0, VE_SEQ_CTRL_YUV420);
video            1279 drivers/media/platform/aspeed-video.c 		aspeed_video_update(video, VE_SEQ_CTRL, VE_SEQ_CTRL_YUV420, 0);
video            1284 drivers/media/platform/aspeed-video.c 	struct aspeed_video *video = container_of(ctrl->handler,
video            1290 drivers/media/platform/aspeed-video.c 		video->jpeg_quality = ctrl->val;
video            1291 drivers/media/platform/aspeed-video.c 		aspeed_video_update_jpeg_quality(video);
video            1295 drivers/media/platform/aspeed-video.c 			video->yuv420 = true;
video            1296 drivers/media/platform/aspeed-video.c 			aspeed_video_update_subsampling(video);
video            1298 drivers/media/platform/aspeed-video.c 			video->yuv420 = false;
video            1299 drivers/media/platform/aspeed-video.c 			aspeed_video_update_subsampling(video);
video            1316 drivers/media/platform/aspeed-video.c 	struct aspeed_video *video = container_of(dwork, struct aspeed_video,
video            1318 drivers/media/platform/aspeed-video.c 	u32 input_status = video->v4l2_input_status;
video            1320 drivers/media/platform/aspeed-video.c 	aspeed_video_on(video);
video            1323 drivers/media/platform/aspeed-video.c 	if (test_bit(VIDEO_STOPPED, &video->flags))
video            1326 drivers/media/platform/aspeed-video.c 	aspeed_video_init_regs(video);
video            1328 drivers/media/platform/aspeed-video.c 	aspeed_video_get_resolution(video);
video            1330 drivers/media/platform/aspeed-video.c 	if (video->detected_timings.width != video->active_timings.width ||
video            1331 drivers/media/platform/aspeed-video.c 	    video->detected_timings.height != video->active_timings.height ||
video            1332 drivers/media/platform/aspeed-video.c 	    input_status != video->v4l2_input_status) {
video            1338 drivers/media/platform/aspeed-video.c 		v4l2_event_queue(&video->vdev, &ev);
video            1339 drivers/media/platform/aspeed-video.c 	} else if (test_bit(VIDEO_STREAMING, &video->flags)) {
video            1341 drivers/media/platform/aspeed-video.c 		aspeed_video_start_frame(video);
video            1345 drivers/media/platform/aspeed-video.c 	clear_bit(VIDEO_RES_CHANGE, &video->flags);
video            1346 drivers/media/platform/aspeed-video.c 	wake_up_interruptible_all(&video->wait);
video            1352 drivers/media/platform/aspeed-video.c 	struct aspeed_video *video = video_drvdata(file);
video            1354 drivers/media/platform/aspeed-video.c 	mutex_lock(&video->video_lock);
video            1358 drivers/media/platform/aspeed-video.c 		mutex_unlock(&video->video_lock);
video            1363 drivers/media/platform/aspeed-video.c 		aspeed_video_start(video);
video            1365 drivers/media/platform/aspeed-video.c 	mutex_unlock(&video->video_lock);
video            1373 drivers/media/platform/aspeed-video.c 	struct aspeed_video *video = video_drvdata(file);
video            1375 drivers/media/platform/aspeed-video.c 	mutex_lock(&video->video_lock);
video            1378 drivers/media/platform/aspeed-video.c 		aspeed_video_stop(video);
video            1382 drivers/media/platform/aspeed-video.c 	mutex_unlock(&video->video_lock);
video            1403 drivers/media/platform/aspeed-video.c 	struct aspeed_video *video = vb2_get_drv_priv(q);
video            1406 drivers/media/platform/aspeed-video.c 		if (sizes[0] < video->max_compressed_size)
video            1413 drivers/media/platform/aspeed-video.c 	sizes[0] = video->max_compressed_size;
video            1420 drivers/media/platform/aspeed-video.c 	struct aspeed_video *video = vb2_get_drv_priv(vb->vb2_queue);
video            1422 drivers/media/platform/aspeed-video.c 	if (vb2_plane_size(vb, 0) < video->max_compressed_size)
video            1432 drivers/media/platform/aspeed-video.c 	struct aspeed_video *video = vb2_get_drv_priv(q);
video            1434 drivers/media/platform/aspeed-video.c 	video->sequence = 0;
video            1436 drivers/media/platform/aspeed-video.c 	rc = aspeed_video_start_frame(video);
video            1438 drivers/media/platform/aspeed-video.c 		aspeed_video_bufs_done(video, VB2_BUF_STATE_QUEUED);
video            1442 drivers/media/platform/aspeed-video.c 	set_bit(VIDEO_STREAMING, &video->flags);
video            1449 drivers/media/platform/aspeed-video.c 	struct aspeed_video *video = vb2_get_drv_priv(q);
video            1451 drivers/media/platform/aspeed-video.c 	clear_bit(VIDEO_STREAMING, &video->flags);
video            1453 drivers/media/platform/aspeed-video.c 	rc = wait_event_timeout(video->wait,
video            1454 drivers/media/platform/aspeed-video.c 				!test_bit(VIDEO_FRAME_INPRG, &video->flags),
video            1457 drivers/media/platform/aspeed-video.c 		dev_dbg(video->dev, "Timed out when stopping streaming\n");
video            1463 drivers/media/platform/aspeed-video.c 		aspeed_video_off(video);
video            1464 drivers/media/platform/aspeed-video.c 		aspeed_video_on(video);
video            1466 drivers/media/platform/aspeed-video.c 		aspeed_video_init_regs(video);
video            1468 drivers/media/platform/aspeed-video.c 		aspeed_video_get_resolution(video);
video            1471 drivers/media/platform/aspeed-video.c 	aspeed_video_bufs_done(video, VB2_BUF_STATE_ERROR);
video            1477 drivers/media/platform/aspeed-video.c 	struct aspeed_video *video = vb2_get_drv_priv(vb->vb2_queue);
video            1482 drivers/media/platform/aspeed-video.c 	spin_lock_irqsave(&video->lock, flags);
video            1483 drivers/media/platform/aspeed-video.c 	empty = list_empty(&video->buffers);
video            1484 drivers/media/platform/aspeed-video.c 	list_add_tail(&avb->link, &video->buffers);
video            1485 drivers/media/platform/aspeed-video.c 	spin_unlock_irqrestore(&video->lock, flags);
video            1487 drivers/media/platform/aspeed-video.c 	if (test_bit(VIDEO_STREAMING, &video->flags) &&
video            1488 drivers/media/platform/aspeed-video.c 	    !test_bit(VIDEO_FRAME_INPRG, &video->flags) && empty)
video            1489 drivers/media/platform/aspeed-video.c 		aspeed_video_start_frame(video);
video            1502 drivers/media/platform/aspeed-video.c static int aspeed_video_setup_video(struct aspeed_video *video)
video            1506 drivers/media/platform/aspeed-video.c 	struct v4l2_device *v4l2_dev = &video->v4l2_dev;
video            1507 drivers/media/platform/aspeed-video.c 	struct vb2_queue *vbq = &video->queue;
video            1508 drivers/media/platform/aspeed-video.c 	struct video_device *vdev = &video->vdev;
video            1511 drivers/media/platform/aspeed-video.c 	video->pix_fmt.pixelformat = V4L2_PIX_FMT_JPEG;
video            1512 drivers/media/platform/aspeed-video.c 	video->pix_fmt.field = V4L2_FIELD_NONE;
video            1513 drivers/media/platform/aspeed-video.c 	video->pix_fmt.colorspace = V4L2_COLORSPACE_SRGB;
video            1514 drivers/media/platform/aspeed-video.c 	video->pix_fmt.quantization = V4L2_QUANTIZATION_FULL_RANGE;
video            1515 drivers/media/platform/aspeed-video.c 	video->v4l2_input_status = V4L2_IN_ST_NO_SIGNAL;
video            1517 drivers/media/platform/aspeed-video.c 	rc = v4l2_device_register(video->dev, v4l2_dev);
video            1519 drivers/media/platform/aspeed-video.c 		dev_err(video->dev, "Failed to register v4l2 device\n");
video            1523 drivers/media/platform/aspeed-video.c 	v4l2_ctrl_handler_init(&video->ctrl_handler, 2);
video            1524 drivers/media/platform/aspeed-video.c 	v4l2_ctrl_new_std(&video->ctrl_handler, &aspeed_video_ctrl_ops,
video            1527 drivers/media/platform/aspeed-video.c 	v4l2_ctrl_new_std_menu(&video->ctrl_handler, &aspeed_video_ctrl_ops,
video            1532 drivers/media/platform/aspeed-video.c 	if (video->ctrl_handler.error) {
video            1533 drivers/media/platform/aspeed-video.c 		v4l2_ctrl_handler_free(&video->ctrl_handler);
video            1536 drivers/media/platform/aspeed-video.c 		dev_err(video->dev, "Failed to init controls: %d\n",
video            1537 drivers/media/platform/aspeed-video.c 			video->ctrl_handler.error);
video            1541 drivers/media/platform/aspeed-video.c 	v4l2_dev->ctrl_handler = &video->ctrl_handler;
video            1546 drivers/media/platform/aspeed-video.c 	vbq->lock = &video->video_lock;
video            1549 drivers/media/platform/aspeed-video.c 	vbq->drv_priv = video;
video            1556 drivers/media/platform/aspeed-video.c 		v4l2_ctrl_handler_free(&video->ctrl_handler);
video            1559 drivers/media/platform/aspeed-video.c 		dev_err(video->dev, "Failed to init vb2 queue\n");
video            1573 drivers/media/platform/aspeed-video.c 	vdev->lock = &video->video_lock;
video            1575 drivers/media/platform/aspeed-video.c 	video_set_drvdata(vdev, video);
video            1579 drivers/media/platform/aspeed-video.c 		v4l2_ctrl_handler_free(&video->ctrl_handler);
video            1582 drivers/media/platform/aspeed-video.c 		dev_err(video->dev, "Failed to register video device\n");
video            1589 drivers/media/platform/aspeed-video.c static int aspeed_video_init(struct aspeed_video *video)
video            1593 drivers/media/platform/aspeed-video.c 	struct device *dev = video->dev;
video            1602 drivers/media/platform/aspeed-video.c 				       IRQF_ONESHOT, DEVICE_NAME, video);
video            1608 drivers/media/platform/aspeed-video.c 	video->eclk = devm_clk_get(dev, "eclk");
video            1609 drivers/media/platform/aspeed-video.c 	if (IS_ERR(video->eclk)) {
video            1611 drivers/media/platform/aspeed-video.c 		return PTR_ERR(video->eclk);
video            1614 drivers/media/platform/aspeed-video.c 	rc = clk_prepare(video->eclk);
video            1618 drivers/media/platform/aspeed-video.c 	video->vclk = devm_clk_get(dev, "vclk");
video            1619 drivers/media/platform/aspeed-video.c 	if (IS_ERR(video->vclk)) {
video            1621 drivers/media/platform/aspeed-video.c 		rc = PTR_ERR(video->vclk);
video            1625 drivers/media/platform/aspeed-video.c 	rc = clk_prepare(video->vclk);
video            1637 drivers/media/platform/aspeed-video.c 	if (!aspeed_video_alloc_buf(video, &video->jpeg,
video            1644 drivers/media/platform/aspeed-video.c 	aspeed_video_init_jpeg_table(video->jpeg.virt, video->yuv420);
video            1650 drivers/media/platform/aspeed-video.c 	clk_unprepare(video->vclk);
video            1652 drivers/media/platform/aspeed-video.c 	clk_unprepare(video->eclk);
video            1661 drivers/media/platform/aspeed-video.c 	struct aspeed_video *video =
video            1662 drivers/media/platform/aspeed-video.c 		devm_kzalloc(&pdev->dev, sizeof(*video), GFP_KERNEL);
video            1664 drivers/media/platform/aspeed-video.c 	if (!video)
video            1667 drivers/media/platform/aspeed-video.c 	video->frame_rate = 30;
video            1668 drivers/media/platform/aspeed-video.c 	video->dev = &pdev->dev;
video            1669 drivers/media/platform/aspeed-video.c 	spin_lock_init(&video->lock);
video            1670 drivers/media/platform/aspeed-video.c 	mutex_init(&video->video_lock);
video            1671 drivers/media/platform/aspeed-video.c 	init_waitqueue_head(&video->wait);
video            1672 drivers/media/platform/aspeed-video.c 	INIT_DELAYED_WORK(&video->res_work, aspeed_video_resolution_work);
video            1673 drivers/media/platform/aspeed-video.c 	INIT_LIST_HEAD(&video->buffers);
video            1677 drivers/media/platform/aspeed-video.c 	video->base = devm_ioremap_resource(video->dev, res);
video            1679 drivers/media/platform/aspeed-video.c 	if (IS_ERR(video->base))
video            1680 drivers/media/platform/aspeed-video.c 		return PTR_ERR(video->base);
video            1682 drivers/media/platform/aspeed-video.c 	rc = aspeed_video_init(video);
video            1686 drivers/media/platform/aspeed-video.c 	rc = aspeed_video_setup_video(video);
video            1697 drivers/media/platform/aspeed-video.c 	struct aspeed_video *video = to_aspeed_video(v4l2_dev);
video            1699 drivers/media/platform/aspeed-video.c 	aspeed_video_off(video);
video            1701 drivers/media/platform/aspeed-video.c 	clk_unprepare(video->vclk);
video            1702 drivers/media/platform/aspeed-video.c 	clk_unprepare(video->eclk);
video            1704 drivers/media/platform/aspeed-video.c 	video_unregister_device(&video->vdev);
video            1706 drivers/media/platform/aspeed-video.c 	vb2_queue_release(&video->queue);
video            1708 drivers/media/platform/aspeed-video.c 	v4l2_ctrl_handler_free(&video->ctrl_handler);
video            1712 drivers/media/platform/aspeed-video.c 	dma_free_coherent(video->dev, VE_JPEG_HEADER_SIZE, video->jpeg.virt,
video            1713 drivers/media/platform/aspeed-video.c 			  video->jpeg.dma);
video             777 drivers/media/platform/atmel/atmel-isc-base.c 	ret = v4l2_subdev_call(isc->current_subdev->sd, video, s_stream, 1);
video             816 drivers/media/platform/atmel/atmel-isc-base.c 	v4l2_subdev_call(isc->current_subdev->sd, video, s_stream, 0);
video             850 drivers/media/platform/atmel/atmel-isc-base.c 	ret = v4l2_subdev_call(isc->current_subdev->sd, video, s_stream, 0);
video             428 drivers/media/platform/atmel/atmel-isi.c 	ret = v4l2_subdev_call(isi->entity.subdev, video, s_stream, 1);
video             456 drivers/media/platform/atmel/atmel-isi.c 	v4l2_subdev_call(isi->entity.subdev, video, s_stream, 0);
video             482 drivers/media/platform/atmel/atmel-isi.c 	ret = v4l2_subdev_call(isi->entity.subdev, video, s_stream, 0);
video             139 drivers/media/platform/cadence/cdns-csi2rx.c 	ret = v4l2_subdev_call(csi2rx->source_subdev, video, s_stream, true);
video             202 drivers/media/platform/cadence/cdns-csi2rx.c 	if (v4l2_subdev_call(csi2rx->source_subdev, video, s_stream, false))
video             245 drivers/media/platform/cadence/cdns-csi2rx.c 	.video		= &csi2rx_video_ops,
video             430 drivers/media/platform/cadence/cdns-csi2tx.c 	.video		= &csi2tx_video_ops,
video             231 drivers/media/platform/davinci/vpbe.c 	ret = v4l2_subdev_call(vpbe_dev->encoders[sd_index], video,
video             321 drivers/media/platform/davinci/vpbe.c 	ret = v4l2_subdev_call(vpbe_dev->encoders[sd_index], video,
video             325 drivers/media/platform/davinci/vpbe.c 		ret = v4l2_subdev_call(vpbe_dev->amp, video,
video             422 drivers/media/platform/davinci/vpbe.c 	ret = v4l2_subdev_call(vpbe_dev->encoders[sd_index], video,
video             556 drivers/media/platform/davinci/vpbe_venc.c 	.video = &venc_video_ops,
video             644 drivers/media/platform/davinci/vpfe_capture.c 							 video, s_stream, 0);
video            1063 drivers/media/platform/davinci/vpfe_capture.c 		ret = v4l2_subdev_call(sd, video, s_routing, input, output, 0);
video            1104 drivers/media/platform/davinci/vpfe_capture.c 					 video, querystd, std_id);
video            1131 drivers/media/platform/davinci/vpfe_capture.c 					 video, s_std, std_id);
video            1411 drivers/media/platform/davinci/vpfe_capture.c 					video, s_stream, 1);
video            1507 drivers/media/platform/davinci/vpfe_capture.c 					video, s_stream, 0);
video             188 drivers/media/platform/davinci/vpif_capture.c 	ret = v4l2_subdev_call(ch->sd, video, s_stream, 1);
video             278 drivers/media/platform/davinci/vpif_capture.c 	ret = v4l2_subdev_call(ch->sd, video, s_stream, 0);
video             465 drivers/media/platform/davinci/vpif_capture.c 	struct video_obj *vid_ch = &ch->video;
video             560 drivers/media/platform/davinci/vpif_capture.c 	struct video_obj *vid_ch = &(ch->video);
video             736 drivers/media/platform/davinci/vpif_capture.c 		ret = v4l2_subdev_call(sd, video, s_routing,
video             770 drivers/media/platform/davinci/vpif_capture.c 	ret = v4l2_subdev_call(ch->sd, video, querystd, std_id);
video             806 drivers/media/platform/davinci/vpif_capture.c 	*std = ch->video.stdid;
video             840 drivers/media/platform/davinci/vpif_capture.c 	ch->video.stdid = std_id;
video             841 drivers/media/platform/davinci/vpif_capture.c 	memset(&ch->video.dv_timings, 0, sizeof(ch->video.dv_timings));
video             850 drivers/media/platform/davinci/vpif_capture.c 	ret = v4l2_subdev_call(ch->sd, video, s_std, std_id);
video            1147 drivers/media/platform/davinci/vpif_capture.c 	ret = v4l2_subdev_call(ch->sd, video, query_dv_timings, timings);
video            1169 drivers/media/platform/davinci/vpif_capture.c 	struct video_obj *vid_ch = &ch->video;
video            1192 drivers/media/platform/davinci/vpif_capture.c 	ret = v4l2_subdev_call(ch->sd, video, s_dv_timings, timings);
video            1265 drivers/media/platform/davinci/vpif_capture.c 	struct video_obj *vid_ch = &ch->video;
video            1430 drivers/media/platform/davinci/vpif_capture.c 		ch->video.stdid = V4L2_STD_525_60;
video            1431 drivers/media/platform/davinci/vpif_capture.c 		memset(&ch->video.dv_timings, 0, sizeof(ch->video.dv_timings));
video              96 drivers/media/platform/davinci/vpif_capture.h 	struct video_obj video;
video             431 drivers/media/platform/davinci/vpif_display.c 	struct video_obj *vid_ch = &ch->video;
video             460 drivers/media/platform/davinci/vpif_display.c 	struct video_obj *vid_ch = &ch->video;
video             505 drivers/media/platform/davinci/vpif_display.c 	struct video_obj *vid_ch = &ch->video;
video             701 drivers/media/platform/davinci/vpif_display.c 	ch->video.stdid = std_id;
video             702 drivers/media/platform/davinci/vpif_display.c 	memset(&ch->video.dv_timings, 0, sizeof(ch->video.dv_timings));
video             709 drivers/media/platform/davinci/vpif_display.c 	ret = v4l2_device_call_until_err(&vpif_obj.v4l2_dev, 1, video,
video             716 drivers/media/platform/davinci/vpif_display.c 	ret = v4l2_device_call_until_err(&vpif_obj.v4l2_dev, 1, video,
video             739 drivers/media/platform/davinci/vpif_display.c 	*std = ch->video.stdid;
video             823 drivers/media/platform/davinci/vpif_display.c 		ret = v4l2_subdev_call(sd, video, s_routing, input, output, 0);
video             915 drivers/media/platform/davinci/vpif_display.c 	struct video_obj *vid_ch = &ch->video;
video             938 drivers/media/platform/davinci/vpif_display.c 	ret = v4l2_subdev_call(ch->sd, video, s_dv_timings, timings);
video            1012 drivers/media/platform/davinci/vpif_display.c 	struct video_obj *vid_ch = &ch->video;
video            1177 drivers/media/platform/davinci/vpif_display.c 		ch->video.stdid = V4L2_STD_525_60;
video            1178 drivers/media/platform/davinci/vpif_display.c 		memset(&ch->video.dv_timings, 0, sizeof(ch->video.dv_timings));
video             113 drivers/media/platform/davinci/vpif_display.h 	struct video_obj video;
video             229 drivers/media/platform/exynos4-is/fimc-capture.c 			v4l2_subdev_call(csis, video, s_rx_buffer,
video              82 drivers/media/platform/exynos4-is/fimc-isp-video.c 	struct fimc_is_video *video = &isp->video_capture;
video              94 drivers/media/platform/exynos4-is/fimc-isp-video.c 	dma->buffer_number = video->reqbufs_count;
video              95 drivers/media/platform/exynos4-is/fimc-isp-video.c 	dma->dma_out_mask = video->buf_mask;
video              97 drivers/media/platform/exynos4-is/fimc-isp-video.c 	isp_dbg(2, &video->ve.vdev,
video              99 drivers/media/platform/exynos4-is/fimc-isp-video.c 		video->buf_count, video->format->memplanes,
video             111 drivers/media/platform/exynos4-is/fimc-isp-video.c 	ret = fimc_pipeline_call(&video->ve, set_stream, 1);
video             154 drivers/media/platform/exynos4-is/fimc-isp-video.c 	struct fimc_is_video *video = &isp->video_capture;
video             157 drivers/media/platform/exynos4-is/fimc-isp-video.c 	if (video->format == NULL)
video             160 drivers/media/platform/exynos4-is/fimc-isp-video.c 	for (i = 0; i < video->format->memplanes; i++) {
video             161 drivers/media/platform/exynos4-is/fimc-isp-video.c 		unsigned long size = video->pixfmt.plane_fmt[i].sizeimage;
video             164 drivers/media/platform/exynos4-is/fimc-isp-video.c 			v4l2_err(&video->ve.vdev,
video             177 drivers/media/platform/exynos4-is/fimc-isp-video.c 		for (i = 0; i < video->buf_count; i++)
video             178 drivers/media/platform/exynos4-is/fimc-isp-video.c 			if (video->buffers[i]->dma_addr[0] == dma_addr)
video             190 drivers/media/platform/exynos4-is/fimc-isp-video.c 	struct fimc_is_video *video = &isp->video_capture;
video             198 drivers/media/platform/exynos4-is/fimc-isp-video.c 		video->buf_mask |= BIT(ivb->index);
video             201 drivers/media/platform/exynos4-is/fimc-isp-video.c 		unsigned int num_planes = video->format->memplanes;
video             203 drivers/media/platform/exynos4-is/fimc-isp-video.c 		ivb->index = video->buf_count;
video             204 drivers/media/platform/exynos4-is/fimc-isp-video.c 		video->buffers[ivb->index] = ivb;
video             213 drivers/media/platform/exynos4-is/fimc-isp-video.c 			isp_dbg(2, &video->ve.vdev,
video             219 drivers/media/platform/exynos4-is/fimc-isp-video.c 		if (++video->buf_count < video->reqbufs_count)
video             222 drivers/media/platform/exynos4-is/fimc-isp-video.c 		video->buf_mask = (1UL << video->buf_count) - 1;
video             236 drivers/media/platform/exynos4-is/fimc-isp-video.c 	struct fimc_is_video *video = &is->isp.video_capture;
video             244 drivers/media/platform/exynos4-is/fimc-isp-video.c 	buf_index = (is->i2h_cmd.args[1] - 1) % video->buf_count;
video             245 drivers/media/platform/exynos4-is/fimc-isp-video.c 	vbuf = &video->buffers[buf_index]->vb;
video             250 drivers/media/platform/exynos4-is/fimc-isp-video.c 	video->buf_mask &= ~BIT(buf_index);
video             251 drivers/media/platform/exynos4-is/fimc-isp-video.c 	fimc_is_hw_set_isp_buf_mask(is, video->buf_mask);
video             516 drivers/media/platform/exynos4-is/fimc-isp-video.c 	struct fimc_is_video *video = &isp->video_capture;
video             523 drivers/media/platform/exynos4-is/fimc-isp-video.c 	media_pipeline_stop(&video->ve.vdev.entity);
video             524 drivers/media/platform/exynos4-is/fimc-isp-video.c 	video->streaming = 0;
video             432 drivers/media/platform/exynos4-is/fimc-isp.c 	.video = &fimc_is_subdev_video_ops,
video            1353 drivers/media/platform/exynos4-is/fimc-lite.c 	.video = &fimc_lite_subdev_video_ops,
video             333 drivers/media/platform/exynos4-is/media-dev.c 		ret = v4l2_subdev_call(p->subdevs[idx], video, s_stream, on);
video             344 drivers/media/platform/exynos4-is/media-dev.c 		v4l2_subdev_call(p->subdevs[idx], video, s_stream, !on);
video             668 drivers/media/platform/exynos4-is/mipi-csis.c 	.video = &s5pcsis_video_ops,
video             902 drivers/media/platform/fsl-viu.c 	decoder_call(fh->dev, video, querystd, std_id);
video             911 drivers/media/platform/fsl-viu.c 	decoder_call(fh->dev, video, s_std, id);
video             951 drivers/media/platform/fsl-viu.c 	decoder_call(fh->dev, video, s_routing, i, 0, 0);
video             696 drivers/media/platform/omap3isp/isp.c 	entity = &pipe->output->video.entity;
video             709 drivers/media/platform/omap3isp/isp.c 		ret = v4l2_subdev_call(subdev, video, s_stream, mode);
video             714 drivers/media/platform/omap3isp/isp.c 			v4l2_subdev_call(&isp->isp_aewb.subdev, video,
video             716 drivers/media/platform/omap3isp/isp.c 			v4l2_subdev_call(&isp->isp_af.subdev, video,
video             718 drivers/media/platform/omap3isp/isp.c 			v4l2_subdev_call(&isp->isp_hist.subdev, video,
video             789 drivers/media/platform/omap3isp/isp.c 	entity = &pipe->output->video.entity;
video             804 drivers/media/platform/omap3isp/isp.c 					 video, s_stream, 0);
video             806 drivers/media/platform/omap3isp/isp.c 					 video, s_stream, 0);
video             808 drivers/media/platform/omap3isp/isp.c 					 video, s_stream, 0);
video             811 drivers/media/platform/omap3isp/isp.c 		ret = v4l2_subdev_call(subdev, video, s_stream, 0);
video            1212 drivers/media/platform/omap3isp/isp.c 		struct isp_video *video = pipe->output;
video            1214 drivers/media/platform/omap3isp/isp.c 		spin_lock_irqsave(&video->irqlock, flags);
video            1215 drivers/media/platform/omap3isp/isp.c 		if (video->dmaqueue_flags & ISP_VIDEO_DMAQUEUE_UNDERRUN) {
video            1216 drivers/media/platform/omap3isp/isp.c 			spin_unlock_irqrestore(&video->irqlock, flags);
video            1221 drivers/media/platform/omap3isp/isp.c 		spin_unlock_irqrestore(&video->irqlock, flags);
video            1757 drivers/media/platform/omap3isp/isp.c 			&isp->isp_csi2a.video_out.video.entity, 0, 0);
video            1762 drivers/media/platform/omap3isp/isp.c 			&isp->isp_ccp2.video_in.video.entity, 0,
video            1769 drivers/media/platform/omap3isp/isp.c 			&isp->isp_ccdc.video_out.video.entity, 0, 0);
video            1774 drivers/media/platform/omap3isp/isp.c 			&isp->isp_prev.video_in.video.entity, 0,
video            1781 drivers/media/platform/omap3isp/isp.c 			&isp->isp_prev.video_out.video.entity, 0, 0);
video            1786 drivers/media/platform/omap3isp/isp.c 			&isp->isp_res.video_in.video.entity, 0,
video            1793 drivers/media/platform/omap3isp/isp.c 			&isp->isp_res.video_out.video.entity, 0, 0);
video            1783 drivers/media/platform/omap3isp/ispccdc.c static int ccdc_video_queue(struct isp_video *video, struct isp_buffer *buffer)
video            1785 drivers/media/platform/omap3isp/ispccdc.c 	struct isp_ccdc_device *ccdc = &video->isp->isp_ccdc;
video            2481 drivers/media/platform/omap3isp/ispccdc.c 	.video = &ccdc_v4l2_video_ops,
video             911 drivers/media/platform/omap3isp/ispccp2.c 	.video = &ccp2_sd_video_ops,
video             930 drivers/media/platform/omap3isp/ispccp2.c static int ccp2_video_queue(struct isp_video *video, struct isp_buffer *buffer)
video             932 drivers/media/platform/omap3isp/ispccp2.c 	struct isp_ccp2_device *ccp2 = &video->isp->isp_ccp2;
video             798 drivers/media/platform/omap3isp/ispcsi2.c static int csi2_queue(struct isp_video *video, struct isp_buffer *buffer)
video             800 drivers/media/platform/omap3isp/ispcsi2.c 	struct isp_device *isp = video->isp;
video            1111 drivers/media/platform/omap3isp/ispcsi2.c 	.video = &csi2_video_ops,
video             281 drivers/media/platform/omap3isp/isph3a_aewb.c 	.video = &h3a_aewb_subdev_video_ops,
video             346 drivers/media/platform/omap3isp/isph3a_af.c 	.video = &h3a_af_subdev_video_ops,
video             468 drivers/media/platform/omap3isp/isphist.c 	.video = &hist_subdev_video_ops,
video            1555 drivers/media/platform/omap3isp/isppreview.c static int preview_video_queue(struct isp_video *video,
video            1558 drivers/media/platform/omap3isp/isppreview.c 	struct isp_prev_device *prev = &video->isp->isp_prev;
video            1560 drivers/media/platform/omap3isp/isppreview.c 	if (video->type == V4L2_BUF_TYPE_VIDEO_OUTPUT)
video            1563 drivers/media/platform/omap3isp/isppreview.c 	if (video->type == V4L2_BUF_TYPE_VIDEO_CAPTURE)
video            2117 drivers/media/platform/omap3isp/isppreview.c 	.video = &preview_v4l2_video_ops,
video            1086 drivers/media/platform/omap3isp/ispresizer.c static int resizer_video_queue(struct isp_video *video,
video            1089 drivers/media/platform/omap3isp/ispresizer.c 	struct isp_res_device *res = &video->isp->isp_res;
video            1091 drivers/media/platform/omap3isp/ispresizer.c 	if (video->type == V4L2_BUF_TYPE_VIDEO_OUTPUT)
video            1106 drivers/media/platform/omap3isp/ispresizer.c 	if (video->type == V4L2_BUF_TYPE_VIDEO_CAPTURE)
video            1596 drivers/media/platform/omap3isp/ispresizer.c 	.video = &resizer_v4l2_video_ops,
video            1759 drivers/media/platform/omap3isp/ispresizer.c 	res->video_out.video.entity.flags |= MEDIA_ENT_FL_DEFAULT;
video             140 drivers/media/platform/omap3isp/ispvideo.c static unsigned int isp_video_mbus_to_pix(const struct isp_video *video,
video             166 drivers/media/platform/omap3isp/ispvideo.c 	if (video->bpl_max)
video             167 drivers/media/platform/omap3isp/ispvideo.c 		bpl = clamp(bpl, min_bpl, video->bpl_max);
video             171 drivers/media/platform/omap3isp/ispvideo.c 	if (!video->bpl_zero_padding || bpl != min_bpl)
video             172 drivers/media/platform/omap3isp/ispvideo.c 		bpl = ALIGN(bpl, video->bpl_alignment);
video             206 drivers/media/platform/omap3isp/ispvideo.c isp_video_remote_subdev(struct isp_video *video, u32 *pad)
video             210 drivers/media/platform/omap3isp/ispvideo.c 	remote = media_entity_remote_pad(&video->pad);
video             222 drivers/media/platform/omap3isp/ispvideo.c static int isp_video_get_graph_data(struct isp_video *video,
video             226 drivers/media/platform/omap3isp/ispvideo.c 	struct media_entity *entity = &video->video.entity;
video             248 drivers/media/platform/omap3isp/ispvideo.c 		if (entity == &video->video.entity)
video             255 drivers/media/platform/omap3isp/ispvideo.c 		if (__video->type != video->type)
video             263 drivers/media/platform/omap3isp/ispvideo.c 	if (video->type == V4L2_BUF_TYPE_VIDEO_CAPTURE) {
video             265 drivers/media/platform/omap3isp/ispvideo.c 		pipe->output = video;
video             270 drivers/media/platform/omap3isp/ispvideo.c 		pipe->input = video;
video             278 drivers/media/platform/omap3isp/ispvideo.c __isp_video_get_format(struct isp_video *video, struct v4l2_format *format)
video             285 drivers/media/platform/omap3isp/ispvideo.c 	subdev = isp_video_remote_subdev(video, &pad);
video             292 drivers/media/platform/omap3isp/ispvideo.c 	mutex_lock(&video->mutex);
video             294 drivers/media/platform/omap3isp/ispvideo.c 	mutex_unlock(&video->mutex);
video             299 drivers/media/platform/omap3isp/ispvideo.c 	format->type = video->type;
video             300 drivers/media/platform/omap3isp/ispvideo.c 	return isp_video_mbus_to_pix(video, &fmt.format, &format->fmt.pix);
video             304 drivers/media/platform/omap3isp/ispvideo.c isp_video_check_format(struct isp_video *video, struct isp_video_fh *vfh)
video             310 drivers/media/platform/omap3isp/ispvideo.c 	ret = __isp_video_get_format(video, &format);
video             334 drivers/media/platform/omap3isp/ispvideo.c 	struct isp_video *video = vfh->video;
video             342 drivers/media/platform/omap3isp/ispvideo.c 	*count = min(*count, video->capture_mem / PAGE_ALIGN(sizes[0]));
video             352 drivers/media/platform/omap3isp/ispvideo.c 	struct isp_video *video = vfh->video;
video             361 drivers/media/platform/omap3isp/ispvideo.c 	if (unlikely(video->error))
video             366 drivers/media/platform/omap3isp/ispvideo.c 		dev_dbg(video->isp->dev,
video             392 drivers/media/platform/omap3isp/ispvideo.c 	struct isp_video *video = vfh->video;
video             393 drivers/media/platform/omap3isp/ispvideo.c 	struct isp_pipeline *pipe = to_isp_pipeline(&video->video.entity);
video             399 drivers/media/platform/omap3isp/ispvideo.c 	spin_lock_irqsave(&video->irqlock, flags);
video             401 drivers/media/platform/omap3isp/ispvideo.c 	if (unlikely(video->error)) {
video             403 drivers/media/platform/omap3isp/ispvideo.c 		spin_unlock_irqrestore(&video->irqlock, flags);
video             407 drivers/media/platform/omap3isp/ispvideo.c 	empty = list_empty(&video->dmaqueue);
video             408 drivers/media/platform/omap3isp/ispvideo.c 	list_add_tail(&buffer->irqlist, &video->dmaqueue);
video             410 drivers/media/platform/omap3isp/ispvideo.c 	spin_unlock_irqrestore(&video->irqlock, flags);
video             413 drivers/media/platform/omap3isp/ispvideo.c 		if (video->type == V4L2_BUF_TYPE_VIDEO_CAPTURE)
video             420 drivers/media/platform/omap3isp/ispvideo.c 		video->ops->queue(video, buffer);
video             421 drivers/media/platform/omap3isp/ispvideo.c 		video->dmaqueue_flags |= ISP_VIDEO_DMAQUEUE_QUEUED;
video             445 drivers/media/platform/omap3isp/ispvideo.c static void omap3isp_video_return_buffers(struct isp_video *video,
video             448 drivers/media/platform/omap3isp/ispvideo.c 	while (!list_empty(&video->dmaqueue)) {
video             451 drivers/media/platform/omap3isp/ispvideo.c 		buf = list_first_entry(&video->dmaqueue,
video             462 drivers/media/platform/omap3isp/ispvideo.c 	struct isp_video *video = vfh->video;
video             463 drivers/media/platform/omap3isp/ispvideo.c 	struct isp_pipeline *pipe = to_isp_pipeline(&video->video.entity);
video             477 drivers/media/platform/omap3isp/ispvideo.c 		spin_lock_irqsave(&video->irqlock, flags);
video             478 drivers/media/platform/omap3isp/ispvideo.c 		omap3isp_video_return_buffers(video, VB2_BUF_STATE_QUEUED);
video             479 drivers/media/platform/omap3isp/ispvideo.c 		spin_unlock_irqrestore(&video->irqlock, flags);
video             483 drivers/media/platform/omap3isp/ispvideo.c 	spin_lock_irqsave(&video->irqlock, flags);
video             484 drivers/media/platform/omap3isp/ispvideo.c 	if (list_empty(&video->dmaqueue))
video             485 drivers/media/platform/omap3isp/ispvideo.c 		video->dmaqueue_flags |= ISP_VIDEO_DMAQUEUE_UNDERRUN;
video             486 drivers/media/platform/omap3isp/ispvideo.c 	spin_unlock_irqrestore(&video->irqlock, flags);
video             514 drivers/media/platform/omap3isp/ispvideo.c struct isp_buffer *omap3isp_video_buffer_next(struct isp_video *video)
video             516 drivers/media/platform/omap3isp/ispvideo.c 	struct isp_pipeline *pipe = to_isp_pipeline(&video->video.entity);
video             521 drivers/media/platform/omap3isp/ispvideo.c 	spin_lock_irqsave(&video->irqlock, flags);
video             522 drivers/media/platform/omap3isp/ispvideo.c 	if (WARN_ON(list_empty(&video->dmaqueue))) {
video             523 drivers/media/platform/omap3isp/ispvideo.c 		spin_unlock_irqrestore(&video->irqlock, flags);
video             527 drivers/media/platform/omap3isp/ispvideo.c 	buf = list_first_entry(&video->dmaqueue, struct isp_buffer,
video             530 drivers/media/platform/omap3isp/ispvideo.c 	spin_unlock_irqrestore(&video->irqlock, flags);
video             540 drivers/media/platform/omap3isp/ispvideo.c 	if (video == pipe->output && !pipe->do_propagation)
video             552 drivers/media/platform/omap3isp/ispvideo.c 	if (video->type == V4L2_BUF_TYPE_VIDEO_CAPTURE && pipe->error) {
video             561 drivers/media/platform/omap3isp/ispvideo.c 	spin_lock_irqsave(&video->irqlock, flags);
video             563 drivers/media/platform/omap3isp/ispvideo.c 	if (list_empty(&video->dmaqueue)) {
video             566 drivers/media/platform/omap3isp/ispvideo.c 		spin_unlock_irqrestore(&video->irqlock, flags);
video             568 drivers/media/platform/omap3isp/ispvideo.c 		if (video->type == V4L2_BUF_TYPE_VIDEO_CAPTURE)
video             577 drivers/media/platform/omap3isp/ispvideo.c 		if (video->pipe.stream_state == ISP_PIPELINE_STREAM_CONTINUOUS)
video             578 drivers/media/platform/omap3isp/ispvideo.c 			video->dmaqueue_flags |= ISP_VIDEO_DMAQUEUE_UNDERRUN;
video             583 drivers/media/platform/omap3isp/ispvideo.c 	if (video->type == V4L2_BUF_TYPE_VIDEO_CAPTURE && pipe->input != NULL) {
video             589 drivers/media/platform/omap3isp/ispvideo.c 	buf = list_first_entry(&video->dmaqueue, struct isp_buffer,
video             592 drivers/media/platform/omap3isp/ispvideo.c 	spin_unlock_irqrestore(&video->irqlock, flags);
video             604 drivers/media/platform/omap3isp/ispvideo.c void omap3isp_video_cancel_stream(struct isp_video *video)
video             608 drivers/media/platform/omap3isp/ispvideo.c 	spin_lock_irqsave(&video->irqlock, flags);
video             609 drivers/media/platform/omap3isp/ispvideo.c 	omap3isp_video_return_buffers(video, VB2_BUF_STATE_ERROR);
video             610 drivers/media/platform/omap3isp/ispvideo.c 	video->error = true;
video             611 drivers/media/platform/omap3isp/ispvideo.c 	spin_unlock_irqrestore(&video->irqlock, flags);
video             624 drivers/media/platform/omap3isp/ispvideo.c void omap3isp_video_resume(struct isp_video *video, int continuous)
video             628 drivers/media/platform/omap3isp/ispvideo.c 	if (continuous && video->type == V4L2_BUF_TYPE_VIDEO_CAPTURE) {
video             629 drivers/media/platform/omap3isp/ispvideo.c 		mutex_lock(&video->queue_lock);
video             630 drivers/media/platform/omap3isp/ispvideo.c 		vb2_discard_done(video->queue);
video             631 drivers/media/platform/omap3isp/ispvideo.c 		mutex_unlock(&video->queue_lock);
video             634 drivers/media/platform/omap3isp/ispvideo.c 	if (!list_empty(&video->dmaqueue)) {
video             635 drivers/media/platform/omap3isp/ispvideo.c 		buf = list_first_entry(&video->dmaqueue,
video             637 drivers/media/platform/omap3isp/ispvideo.c 		video->ops->queue(video, buf);
video             638 drivers/media/platform/omap3isp/ispvideo.c 		video->dmaqueue_flags |= ISP_VIDEO_DMAQUEUE_QUEUED;
video             641 drivers/media/platform/omap3isp/ispvideo.c 			video->dmaqueue_flags |= ISP_VIDEO_DMAQUEUE_UNDERRUN;
video             652 drivers/media/platform/omap3isp/ispvideo.c 	struct isp_video *video = video_drvdata(file);
video             655 drivers/media/platform/omap3isp/ispvideo.c 	strscpy(cap->card, video->video.name, sizeof(cap->card));
video             669 drivers/media/platform/omap3isp/ispvideo.c 	struct isp_video *video = video_drvdata(file);
video             671 drivers/media/platform/omap3isp/ispvideo.c 	if (format->type != video->type)
video             674 drivers/media/platform/omap3isp/ispvideo.c 	mutex_lock(&video->mutex);
video             676 drivers/media/platform/omap3isp/ispvideo.c 	mutex_unlock(&video->mutex);
video             685 drivers/media/platform/omap3isp/ispvideo.c 	struct isp_video *video = video_drvdata(file);
video             688 drivers/media/platform/omap3isp/ispvideo.c 	if (format->type != video->type)
video             698 drivers/media/platform/omap3isp/ispvideo.c 		if (video->type == V4L2_BUF_TYPE_VIDEO_OUTPUT)
video             711 drivers/media/platform/omap3isp/ispvideo.c 		if (video != &video->isp->isp_ccdc.video_out)
video             730 drivers/media/platform/omap3isp/ispvideo.c 	isp_video_mbus_to_pix(video, &fmt, &format->fmt.pix);
video             732 drivers/media/platform/omap3isp/ispvideo.c 	mutex_lock(&video->mutex);
video             734 drivers/media/platform/omap3isp/ispvideo.c 	mutex_unlock(&video->mutex);
video             742 drivers/media/platform/omap3isp/ispvideo.c 	struct isp_video *video = video_drvdata(file);
video             748 drivers/media/platform/omap3isp/ispvideo.c 	if (format->type != video->type)
video             751 drivers/media/platform/omap3isp/ispvideo.c 	subdev = isp_video_remote_subdev(video, &pad);
video             763 drivers/media/platform/omap3isp/ispvideo.c 	isp_video_mbus_to_pix(video, &fmt.format, &format->fmt.pix);
video             770 drivers/media/platform/omap3isp/ispvideo.c 	struct isp_video *video = video_drvdata(file);
video             784 drivers/media/platform/omap3isp/ispvideo.c 		if (video->type == V4L2_BUF_TYPE_VIDEO_OUTPUT)
video             790 drivers/media/platform/omap3isp/ispvideo.c 		if (video->type == V4L2_BUF_TYPE_VIDEO_CAPTURE)
video             796 drivers/media/platform/omap3isp/ispvideo.c 	subdev = isp_video_remote_subdev(video, &pad);
video             827 drivers/media/platform/omap3isp/ispvideo.c 	struct isp_video *video = video_drvdata(file);
video             840 drivers/media/platform/omap3isp/ispvideo.c 		if (video->type == V4L2_BUF_TYPE_VIDEO_OUTPUT)
video             844 drivers/media/platform/omap3isp/ispvideo.c 		if (video->type == V4L2_BUF_TYPE_VIDEO_CAPTURE)
video             850 drivers/media/platform/omap3isp/ispvideo.c 	subdev = isp_video_remote_subdev(video, &pad);
video             855 drivers/media/platform/omap3isp/ispvideo.c 	mutex_lock(&video->mutex);
video             857 drivers/media/platform/omap3isp/ispvideo.c 	mutex_unlock(&video->mutex);
video             868 drivers/media/platform/omap3isp/ispvideo.c 	struct isp_video *video = video_drvdata(file);
video             870 drivers/media/platform/omap3isp/ispvideo.c 	if (video->type != V4L2_BUF_TYPE_VIDEO_OUTPUT ||
video             871 drivers/media/platform/omap3isp/ispvideo.c 	    video->type != a->type)
video             886 drivers/media/platform/omap3isp/ispvideo.c 	struct isp_video *video = video_drvdata(file);
video             888 drivers/media/platform/omap3isp/ispvideo.c 	if (video->type != V4L2_BUF_TYPE_VIDEO_OUTPUT ||
video             889 drivers/media/platform/omap3isp/ispvideo.c 	    video->type != a->type)
video             904 drivers/media/platform/omap3isp/ispvideo.c 	struct isp_video *video = video_drvdata(file);
video             907 drivers/media/platform/omap3isp/ispvideo.c 	mutex_lock(&video->queue_lock);
video             909 drivers/media/platform/omap3isp/ispvideo.c 	mutex_unlock(&video->queue_lock);
video             918 drivers/media/platform/omap3isp/ispvideo.c 	struct isp_video *video = video_drvdata(file);
video             921 drivers/media/platform/omap3isp/ispvideo.c 	mutex_lock(&video->queue_lock);
video             923 drivers/media/platform/omap3isp/ispvideo.c 	mutex_unlock(&video->queue_lock);
video             932 drivers/media/platform/omap3isp/ispvideo.c 	struct isp_video *video = video_drvdata(file);
video             935 drivers/media/platform/omap3isp/ispvideo.c 	mutex_lock(&video->queue_lock);
video             936 drivers/media/platform/omap3isp/ispvideo.c 	ret = vb2_qbuf(&vfh->queue, video->video.v4l2_dev->mdev, b);
video             937 drivers/media/platform/omap3isp/ispvideo.c 	mutex_unlock(&video->queue_lock);
video             946 drivers/media/platform/omap3isp/ispvideo.c 	struct isp_video *video = video_drvdata(file);
video             949 drivers/media/platform/omap3isp/ispvideo.c 	mutex_lock(&video->queue_lock);
video             951 drivers/media/platform/omap3isp/ispvideo.c 	mutex_unlock(&video->queue_lock);
video             956 drivers/media/platform/omap3isp/ispvideo.c static int isp_video_check_external_subdevs(struct isp_video *video,
video             959 drivers/media/platform/omap3isp/ispvideo.c 	struct isp_device *isp = video->isp;
video            1023 drivers/media/platform/omap3isp/ispvideo.c 	ret = v4l2_g_ext_ctrls(pipe->external->ctrl_handler, &video->video,
video            1083 drivers/media/platform/omap3isp/ispvideo.c 	struct isp_video *video = video_drvdata(file);
video            1089 drivers/media/platform/omap3isp/ispvideo.c 	if (type != video->type)
video            1092 drivers/media/platform/omap3isp/ispvideo.c 	mutex_lock(&video->stream_lock);
video            1097 drivers/media/platform/omap3isp/ispvideo.c 	pipe = video->video.entity.pipe
video            1098 drivers/media/platform/omap3isp/ispvideo.c 	     ? to_isp_pipeline(&video->video.entity) : &video->pipe;
video            1100 drivers/media/platform/omap3isp/ispvideo.c 	ret = media_entity_enum_init(&pipe->ent_enum, &video->isp->media_dev);
video            1105 drivers/media/platform/omap3isp/ispvideo.c 	pipe->l3_ick = clk_get_rate(video->isp->clock[ISP_CLK_L3_ICK]);
video            1108 drivers/media/platform/omap3isp/ispvideo.c 	ret = media_pipeline_start(&video->video.entity, &pipe->pipe);
video            1115 drivers/media/platform/omap3isp/ispvideo.c 	ret = isp_video_check_format(video, vfh);
video            1119 drivers/media/platform/omap3isp/ispvideo.c 	video->bpl_padding = ret;
video            1120 drivers/media/platform/omap3isp/ispvideo.c 	video->bpl_value = vfh->format.fmt.pix.bytesperline;
video            1122 drivers/media/platform/omap3isp/ispvideo.c 	ret = isp_video_get_graph_data(video, pipe);
video            1126 drivers/media/platform/omap3isp/ispvideo.c 	if (video->type == V4L2_BUF_TYPE_VIDEO_CAPTURE)
video            1131 drivers/media/platform/omap3isp/ispvideo.c 	ret = isp_video_check_external_subdevs(video, pipe);
video            1146 drivers/media/platform/omap3isp/ispvideo.c 	if (video->type == V4L2_BUF_TYPE_VIDEO_OUTPUT)
video            1149 drivers/media/platform/omap3isp/ispvideo.c 	video->queue = &vfh->queue;
video            1150 drivers/media/platform/omap3isp/ispvideo.c 	INIT_LIST_HEAD(&video->dmaqueue);
video            1154 drivers/media/platform/omap3isp/ispvideo.c 	mutex_lock(&video->queue_lock);
video            1156 drivers/media/platform/omap3isp/ispvideo.c 	mutex_unlock(&video->queue_lock);
video            1160 drivers/media/platform/omap3isp/ispvideo.c 	mutex_unlock(&video->stream_lock);
video            1165 drivers/media/platform/omap3isp/ispvideo.c 	media_pipeline_stop(&video->video.entity);
video            1175 drivers/media/platform/omap3isp/ispvideo.c 	INIT_LIST_HEAD(&video->dmaqueue);
video            1176 drivers/media/platform/omap3isp/ispvideo.c 	video->queue = NULL;
video            1181 drivers/media/platform/omap3isp/ispvideo.c 	mutex_unlock(&video->stream_lock);
video            1190 drivers/media/platform/omap3isp/ispvideo.c 	struct isp_video *video = video_drvdata(file);
video            1191 drivers/media/platform/omap3isp/ispvideo.c 	struct isp_pipeline *pipe = to_isp_pipeline(&video->video.entity);
video            1196 drivers/media/platform/omap3isp/ispvideo.c 	if (type != video->type)
video            1199 drivers/media/platform/omap3isp/ispvideo.c 	mutex_lock(&video->stream_lock);
video            1202 drivers/media/platform/omap3isp/ispvideo.c 	mutex_lock(&video->queue_lock);
video            1204 drivers/media/platform/omap3isp/ispvideo.c 	mutex_unlock(&video->queue_lock);
video            1210 drivers/media/platform/omap3isp/ispvideo.c 	if (video->type == V4L2_BUF_TYPE_VIDEO_CAPTURE)
video            1223 drivers/media/platform/omap3isp/ispvideo.c 	omap3isp_video_cancel_stream(video);
video            1225 drivers/media/platform/omap3isp/ispvideo.c 	mutex_lock(&video->queue_lock);
video            1227 drivers/media/platform/omap3isp/ispvideo.c 	mutex_unlock(&video->queue_lock);
video            1228 drivers/media/platform/omap3isp/ispvideo.c 	video->queue = NULL;
video            1229 drivers/media/platform/omap3isp/ispvideo.c 	video->error = false;
video            1232 drivers/media/platform/omap3isp/ispvideo.c 	media_pipeline_stop(&video->video.entity);
video            1237 drivers/media/platform/omap3isp/ispvideo.c 	mutex_unlock(&video->stream_lock);
video            1296 drivers/media/platform/omap3isp/ispvideo.c 	struct isp_video *video = video_drvdata(file);
video            1305 drivers/media/platform/omap3isp/ispvideo.c 	v4l2_fh_init(&handle->vfh, &video->video);
video            1309 drivers/media/platform/omap3isp/ispvideo.c 	if (omap3isp_get(video->isp) == NULL) {
video            1314 drivers/media/platform/omap3isp/ispvideo.c 	ret = v4l2_pipeline_pm_use(&video->video.entity, 1);
video            1316 drivers/media/platform/omap3isp/ispvideo.c 		omap3isp_put(video->isp);
video            1321 drivers/media/platform/omap3isp/ispvideo.c 	queue->type = video->type;
video            1328 drivers/media/platform/omap3isp/ispvideo.c 	queue->dev = video->isp->dev;
video            1332 drivers/media/platform/omap3isp/ispvideo.c 		omap3isp_put(video->isp);
video            1337 drivers/media/platform/omap3isp/ispvideo.c 	handle->format.type = video->type;
video            1340 drivers/media/platform/omap3isp/ispvideo.c 	handle->video = video;
video            1355 drivers/media/platform/omap3isp/ispvideo.c 	struct isp_video *video = video_drvdata(file);
video            1360 drivers/media/platform/omap3isp/ispvideo.c 	isp_video_streamoff(file, vfh, video->type);
video            1362 drivers/media/platform/omap3isp/ispvideo.c 	mutex_lock(&video->queue_lock);
video            1364 drivers/media/platform/omap3isp/ispvideo.c 	mutex_unlock(&video->queue_lock);
video            1366 drivers/media/platform/omap3isp/ispvideo.c 	v4l2_pipeline_pm_use(&video->video.entity, 0);
video            1374 drivers/media/platform/omap3isp/ispvideo.c 	omap3isp_put(video->isp);
video            1382 drivers/media/platform/omap3isp/ispvideo.c 	struct isp_video *video = video_drvdata(file);
video            1385 drivers/media/platform/omap3isp/ispvideo.c 	mutex_lock(&video->queue_lock);
video            1387 drivers/media/platform/omap3isp/ispvideo.c 	mutex_unlock(&video->queue_lock);
video            1415 drivers/media/platform/omap3isp/ispvideo.c int omap3isp_video_init(struct isp_video *video, const char *name)
video            1420 drivers/media/platform/omap3isp/ispvideo.c 	switch (video->type) {
video            1423 drivers/media/platform/omap3isp/ispvideo.c 		video->pad.flags = MEDIA_PAD_FL_SINK
video            1428 drivers/media/platform/omap3isp/ispvideo.c 		video->pad.flags = MEDIA_PAD_FL_SOURCE
video            1430 drivers/media/platform/omap3isp/ispvideo.c 		video->video.vfl_dir = VFL_DIR_TX;
video            1437 drivers/media/platform/omap3isp/ispvideo.c 	ret = media_entity_pads_init(&video->video.entity, 1, &video->pad);
video            1441 drivers/media/platform/omap3isp/ispvideo.c 	mutex_init(&video->mutex);
video            1442 drivers/media/platform/omap3isp/ispvideo.c 	atomic_set(&video->active, 0);
video            1444 drivers/media/platform/omap3isp/ispvideo.c 	spin_lock_init(&video->pipe.lock);
video            1445 drivers/media/platform/omap3isp/ispvideo.c 	mutex_init(&video->stream_lock);
video            1446 drivers/media/platform/omap3isp/ispvideo.c 	mutex_init(&video->queue_lock);
video            1447 drivers/media/platform/omap3isp/ispvideo.c 	spin_lock_init(&video->irqlock);
video            1450 drivers/media/platform/omap3isp/ispvideo.c 	if (video->ops == NULL)
video            1451 drivers/media/platform/omap3isp/ispvideo.c 		video->ops = &isp_video_dummy_ops;
video            1453 drivers/media/platform/omap3isp/ispvideo.c 	video->video.fops = &isp_video_fops;
video            1454 drivers/media/platform/omap3isp/ispvideo.c 	snprintf(video->video.name, sizeof(video->video.name),
video            1456 drivers/media/platform/omap3isp/ispvideo.c 	video->video.vfl_type = VFL_TYPE_GRABBER;
video            1457 drivers/media/platform/omap3isp/ispvideo.c 	video->video.release = video_device_release_empty;
video            1458 drivers/media/platform/omap3isp/ispvideo.c 	video->video.ioctl_ops = &isp_video_ioctl_ops;
video            1459 drivers/media/platform/omap3isp/ispvideo.c 	if (video->type == V4L2_BUF_TYPE_VIDEO_CAPTURE)
video            1460 drivers/media/platform/omap3isp/ispvideo.c 		video->video.device_caps = V4L2_CAP_VIDEO_CAPTURE
video            1463 drivers/media/platform/omap3isp/ispvideo.c 		video->video.device_caps = V4L2_CAP_VIDEO_OUTPUT
video            1466 drivers/media/platform/omap3isp/ispvideo.c 	video->pipe.stream_state = ISP_PIPELINE_STREAM_STOPPED;
video            1468 drivers/media/platform/omap3isp/ispvideo.c 	video_set_drvdata(&video->video, video);
video            1473 drivers/media/platform/omap3isp/ispvideo.c void omap3isp_video_cleanup(struct isp_video *video)
video            1475 drivers/media/platform/omap3isp/ispvideo.c 	media_entity_cleanup(&video->video.entity);
video            1476 drivers/media/platform/omap3isp/ispvideo.c 	mutex_destroy(&video->queue_lock);
video            1477 drivers/media/platform/omap3isp/ispvideo.c 	mutex_destroy(&video->stream_lock);
video            1478 drivers/media/platform/omap3isp/ispvideo.c 	mutex_destroy(&video->mutex);
video            1481 drivers/media/platform/omap3isp/ispvideo.c int omap3isp_video_register(struct isp_video *video, struct v4l2_device *vdev)
video            1485 drivers/media/platform/omap3isp/ispvideo.c 	video->video.v4l2_dev = vdev;
video            1487 drivers/media/platform/omap3isp/ispvideo.c 	ret = video_register_device(&video->video, VFL_TYPE_GRABBER, -1);
video            1489 drivers/media/platform/omap3isp/ispvideo.c 		dev_err(video->isp->dev,
video            1496 drivers/media/platform/omap3isp/ispvideo.c void omap3isp_video_unregister(struct isp_video *video)
video            1498 drivers/media/platform/omap3isp/ispvideo.c 	video_unregister_device(&video->video);
video             136 drivers/media/platform/omap3isp/ispvideo.h #define isp_video_dmaqueue_flags_clr(video)	\
video             137 drivers/media/platform/omap3isp/ispvideo.h 			({ (video)->dmaqueue_flags = 0; })
video             145 drivers/media/platform/omap3isp/ispvideo.h 	int(*queue)(struct isp_video *video, struct isp_buffer *buffer);
video             149 drivers/media/platform/omap3isp/ispvideo.h 	struct video_device video;
video             180 drivers/media/platform/omap3isp/ispvideo.h #define to_isp_video(vdev)	container_of(vdev, struct isp_video, video)
video             184 drivers/media/platform/omap3isp/ispvideo.h 	struct isp_video *video;
video             194 drivers/media/platform/omap3isp/ispvideo.h int omap3isp_video_init(struct isp_video *video, const char *name);
video             195 drivers/media/platform/omap3isp/ispvideo.h void omap3isp_video_cleanup(struct isp_video *video);
video             196 drivers/media/platform/omap3isp/ispvideo.h int omap3isp_video_register(struct isp_video *video,
video             198 drivers/media/platform/omap3isp/ispvideo.h void omap3isp_video_unregister(struct isp_video *video);
video             199 drivers/media/platform/omap3isp/ispvideo.h struct isp_buffer *omap3isp_video_buffer_next(struct isp_video *video);
video             200 drivers/media/platform/omap3isp/ispvideo.h void omap3isp_video_cancel_stream(struct isp_video *video);
video             201 drivers/media/platform/omap3isp/ispvideo.h void omap3isp_video_resume(struct isp_video *video, int continuous);
video             202 drivers/media/platform/omap3isp/ispvideo.h struct media_pad *omap3isp_video_remote_pad(struct isp_video *video);
video            1612 drivers/media/platform/pxa_camera.c 	ret = sensor_call(pcdev, video, g_mbus_config, &cfg);
video            1656 drivers/media/platform/pxa_camera.c 	ret = sensor_call(pcdev, video, s_mbus_config, &cfg);
video            1679 drivers/media/platform/pxa_camera.c 	ret = sensor_call(pcdev, video, g_mbus_config, &cfg);
video            1295 drivers/media/platform/qcom/camss/camss-csid.c 	.video = &csid_video_ops,
video             696 drivers/media/platform/qcom/camss/camss-csiphy.c 	.video = &csiphy_video_ops,
video            1279 drivers/media/platform/qcom/camss/camss-ispif.c 	.video = &ispif_video_ops,
video            2192 drivers/media/platform/qcom/camss/camss-vfe.c 	.video = &vfe_video_ops,
video             269 drivers/media/platform/qcom/camss/camss-video.c static struct v4l2_subdev *video_remote_subdev(struct camss_video *video,
video             274 drivers/media/platform/qcom/camss/camss-video.c 	remote = media_entity_remote_pad(&video->pad);
video             285 drivers/media/platform/qcom/camss/camss-video.c static int video_get_subdev_format(struct camss_video *video,
video             293 drivers/media/platform/qcom/camss/camss-video.c 	subdev = video_remote_subdev(video, &pad);
video             306 drivers/media/platform/qcom/camss/camss-video.c 				video->formats, video->nformats);
video             310 drivers/media/platform/qcom/camss/camss-video.c 	format->type = video->type;
video             313 drivers/media/platform/qcom/camss/camss-video.c 				    &video->formats[ret], video->bpl_alignment);
video             324 drivers/media/platform/qcom/camss/camss-video.c 	struct camss_video *video = vb2_get_drv_priv(q);
video             326 drivers/media/platform/qcom/camss/camss-video.c 						&video->active_fmt.fmt.pix_mp;
video             351 drivers/media/platform/qcom/camss/camss-video.c 	struct camss_video *video = vb2_get_drv_priv(vb->vb2_queue);
video             355 drivers/media/platform/qcom/camss/camss-video.c 						&video->active_fmt.fmt.pix_mp;
video             381 drivers/media/platform/qcom/camss/camss-video.c 	struct camss_video *video = vb2_get_drv_priv(vb->vb2_queue);
video             383 drivers/media/platform/qcom/camss/camss-video.c 						&video->active_fmt.fmt.pix_mp;
video             401 drivers/media/platform/qcom/camss/camss-video.c 	struct camss_video *video = vb2_get_drv_priv(vb->vb2_queue);
video             405 drivers/media/platform/qcom/camss/camss-video.c 	video->ops->queue_buffer(video, buffer);
video             408 drivers/media/platform/qcom/camss/camss-video.c static int video_check_format(struct camss_video *video)
video             410 drivers/media/platform/qcom/camss/camss-video.c 	struct v4l2_pix_format_mplane *pix = &video->active_fmt.fmt.pix_mp;
video             416 drivers/media/platform/qcom/camss/camss-video.c 	ret = video_get_subdev_format(video, &format);
video             432 drivers/media/platform/qcom/camss/camss-video.c 	struct camss_video *video = vb2_get_drv_priv(q);
video             433 drivers/media/platform/qcom/camss/camss-video.c 	struct video_device *vdev = &video->vdev;
video             439 drivers/media/platform/qcom/camss/camss-video.c 	ret = media_pipeline_start(&vdev->entity, &video->pipe);
video             443 drivers/media/platform/qcom/camss/camss-video.c 	ret = video_check_format(video);
video             460 drivers/media/platform/qcom/camss/camss-video.c 		ret = v4l2_subdev_call(subdev, video, s_stream, 1);
video             470 drivers/media/platform/qcom/camss/camss-video.c 	video->ops->flush_buffers(video, VB2_BUF_STATE_QUEUED);
video             477 drivers/media/platform/qcom/camss/camss-video.c 	struct camss_video *video = vb2_get_drv_priv(q);
video             478 drivers/media/platform/qcom/camss/camss-video.c 	struct video_device *vdev = &video->vdev;
video             496 drivers/media/platform/qcom/camss/camss-video.c 		v4l2_subdev_call(subdev, video, s_stream, 0);
video             501 drivers/media/platform/qcom/camss/camss-video.c 	video->ops->flush_buffers(video, VB2_BUF_STATE_ERROR);
video             522 drivers/media/platform/qcom/camss/camss-video.c 	struct camss_video *video = video_drvdata(file);
video             527 drivers/media/platform/qcom/camss/camss-video.c 		 dev_name(video->camss->dev));
video             534 drivers/media/platform/qcom/camss/camss-video.c 	struct camss_video *video = video_drvdata(file);
video             537 drivers/media/platform/qcom/camss/camss-video.c 	if (f->type != video->type)
video             540 drivers/media/platform/qcom/camss/camss-video.c 	if (f->index >= video->nformats)
video             545 drivers/media/platform/qcom/camss/camss-video.c 	for (i = 0; i < video->nformats; i++) {
video             547 drivers/media/platform/qcom/camss/camss-video.c 			if (video->formats[i].pixelformat ==
video             548 drivers/media/platform/qcom/camss/camss-video.c 					video->formats[j].pixelformat)
video             562 drivers/media/platform/qcom/camss/camss-video.c 	f->pixelformat = video->formats[i].pixelformat;
video             569 drivers/media/platform/qcom/camss/camss-video.c 	struct camss_video *video = video_drvdata(file);
video             571 drivers/media/platform/qcom/camss/camss-video.c 	*f = video->active_fmt;
video             576 drivers/media/platform/qcom/camss/camss-video.c static int __video_try_fmt(struct camss_video *video, struct v4l2_format *f)
video             589 drivers/media/platform/qcom/camss/camss-video.c 	if (video->line_based)
video             599 drivers/media/platform/qcom/camss/camss-video.c 	for (j = 0; j < video->nformats; j++)
video             600 drivers/media/platform/qcom/camss/camss-video.c 		if (pix_mp->pixelformat == video->formats[j].pixelformat)
video             603 drivers/media/platform/qcom/camss/camss-video.c 	if (j == video->nformats)
video             606 drivers/media/platform/qcom/camss/camss-video.c 	fi = &video->formats[j];
video             619 drivers/media/platform/qcom/camss/camss-video.c 		bpl = ALIGN(bpl, video->bpl_alignment);
video             633 drivers/media/platform/qcom/camss/camss-video.c 	if (video->line_based)
video             658 drivers/media/platform/qcom/camss/camss-video.c 	struct camss_video *video = video_drvdata(file);
video             660 drivers/media/platform/qcom/camss/camss-video.c 	return __video_try_fmt(video, f);
video             665 drivers/media/platform/qcom/camss/camss-video.c 	struct camss_video *video = video_drvdata(file);
video             668 drivers/media/platform/qcom/camss/camss-video.c 	if (vb2_is_busy(&video->vb2_q))
video             671 drivers/media/platform/qcom/camss/camss-video.c 	ret = __video_try_fmt(video, f);
video             675 drivers/media/platform/qcom/camss/camss-video.c 	video->active_fmt = *f;
video             731 drivers/media/platform/qcom/camss/camss-video.c 	struct camss_video *video = video_drvdata(file);
video             735 drivers/media/platform/qcom/camss/camss-video.c 	mutex_lock(&video->lock);
video             750 drivers/media/platform/qcom/camss/camss-video.c 		dev_err(video->camss->dev, "Failed to power up pipeline: %d\n",
video             755 drivers/media/platform/qcom/camss/camss-video.c 	mutex_unlock(&video->lock);
video             763 drivers/media/platform/qcom/camss/camss-video.c 	mutex_unlock(&video->lock);
video             797 drivers/media/platform/qcom/camss/camss-video.c 	struct camss_video *video = video_get_drvdata(vdev);
video             801 drivers/media/platform/qcom/camss/camss-video.c 	mutex_destroy(&video->q_lock);
video             802 drivers/media/platform/qcom/camss/camss-video.c 	mutex_destroy(&video->lock);
video             804 drivers/media/platform/qcom/camss/camss-video.c 	if (atomic_dec_and_test(&video->camss->ref_count))
video             805 drivers/media/platform/qcom/camss/camss-video.c 		camss_delete(video->camss);
video             816 drivers/media/platform/qcom/camss/camss-video.c static int msm_video_init_format(struct camss_video *video)
video             824 drivers/media/platform/qcom/camss/camss-video.c 			.pixelformat = video->formats[0].pixelformat,
video             828 drivers/media/platform/qcom/camss/camss-video.c 	ret = __video_try_fmt(video, &format);
video             832 drivers/media/platform/qcom/camss/camss-video.c 	video->active_fmt = format;
video             849 drivers/media/platform/qcom/camss/camss-video.c int msm_video_register(struct camss_video *video, struct v4l2_device *v4l2_dev,
video             852 drivers/media/platform/qcom/camss/camss-video.c 	struct media_pad *pad = &video->pad;
video             857 drivers/media/platform/qcom/camss/camss-video.c 	vdev = &video->vdev;
video             859 drivers/media/platform/qcom/camss/camss-video.c 	mutex_init(&video->q_lock);
video             861 drivers/media/platform/qcom/camss/camss-video.c 	q = &video->vb2_q;
video             862 drivers/media/platform/qcom/camss/camss-video.c 	q->drv_priv = video;
video             869 drivers/media/platform/qcom/camss/camss-video.c 	q->dev = video->camss->dev;
video             870 drivers/media/platform/qcom/camss/camss-video.c 	q->lock = &video->q_lock;
video             885 drivers/media/platform/qcom/camss/camss-video.c 	mutex_init(&video->lock);
video             887 drivers/media/platform/qcom/camss/camss-video.c 	if (video->camss->version == CAMSS_8x16) {
video             889 drivers/media/platform/qcom/camss/camss-video.c 			video->formats = formats_pix_8x16;
video             890 drivers/media/platform/qcom/camss/camss-video.c 			video->nformats = ARRAY_SIZE(formats_pix_8x16);
video             892 drivers/media/platform/qcom/camss/camss-video.c 			video->formats = formats_rdi_8x16;
video             893 drivers/media/platform/qcom/camss/camss-video.c 			video->nformats = ARRAY_SIZE(formats_rdi_8x16);
video             895 drivers/media/platform/qcom/camss/camss-video.c 	} else if (video->camss->version == CAMSS_8x96) {
video             897 drivers/media/platform/qcom/camss/camss-video.c 			video->formats = formats_pix_8x96;
video             898 drivers/media/platform/qcom/camss/camss-video.c 			video->nformats = ARRAY_SIZE(formats_pix_8x96);
video             900 drivers/media/platform/qcom/camss/camss-video.c 			video->formats = formats_rdi_8x96;
video             901 drivers/media/platform/qcom/camss/camss-video.c 			video->nformats = ARRAY_SIZE(formats_rdi_8x96);
video             907 drivers/media/platform/qcom/camss/camss-video.c 	ret = msm_video_init_format(video);
video             920 drivers/media/platform/qcom/camss/camss-video.c 	vdev->queue = &video->vb2_q;
video             921 drivers/media/platform/qcom/camss/camss-video.c 	vdev->lock = &video->lock;
video             931 drivers/media/platform/qcom/camss/camss-video.c 	video_set_drvdata(vdev, video);
video             932 drivers/media/platform/qcom/camss/camss-video.c 	atomic_inc(&video->camss->ref_count);
video             938 drivers/media/platform/qcom/camss/camss-video.c 	mutex_destroy(&video->lock);
video             940 drivers/media/platform/qcom/camss/camss-video.c 	vb2_queue_release(&video->vb2_q);
video             942 drivers/media/platform/qcom/camss/camss-video.c 	mutex_destroy(&video->q_lock);
video             947 drivers/media/platform/qcom/camss/camss-video.c void msm_video_stop_streaming(struct camss_video *video)
video             949 drivers/media/platform/qcom/camss/camss-video.c 	if (vb2_is_streaming(&video->vb2_q))
video             950 drivers/media/platform/qcom/camss/camss-video.c 		vb2_queue_release(&video->vb2_q);
video             953 drivers/media/platform/qcom/camss/camss-video.c void msm_video_unregister(struct camss_video *video)
video             955 drivers/media/platform/qcom/camss/camss-video.c 	atomic_inc(&video->camss->ref_count);
video             956 drivers/media/platform/qcom/camss/camss-video.c 	video_unregister_device(&video->vdev);
video             957 drivers/media/platform/qcom/camss/camss-video.c 	atomic_dec(&video->camss->ref_count);
video              55 drivers/media/platform/qcom/camss/camss-video.h void msm_video_stop_streaming(struct camss_video *video);
video              57 drivers/media/platform/qcom/camss/camss-video.h int msm_video_register(struct camss_video *video, struct v4l2_device *v4l2_dev,
video              60 drivers/media/platform/qcom/camss/camss-video.h void msm_video_unregister(struct camss_video *video);
video             488 drivers/media/platform/rcar-vin/rcar-core.c 	ret = v4l2_subdev_call(subdev, video, g_tvnorms, &vin->vdev.tvnorms);
video             494 drivers/media/platform/rcar-vin/rcar-core.c 	ret = v4l2_subdev_call(subdev, video, g_std, &vin->std);
video             605 drivers/media/platform/rcar-vin/rcar-csi2.c 	ret = v4l2_subdev_call(priv->remote, video, s_stream, 1);
video             617 drivers/media/platform/rcar-vin/rcar-csi2.c 	v4l2_subdev_call(priv->remote, video, s_stream, 0);
video             691 drivers/media/platform/rcar-vin/rcar-csi2.c 	.video	= &rcar_csi2_video_ops,
video            1113 drivers/media/platform/rcar-vin/rcar-dma.c 		ret = v4l2_subdev_call(vin->parallel->subdev, video, s_stream,
video            1127 drivers/media/platform/rcar-vin/rcar-dma.c 		return v4l2_subdev_call(sd, video, s_stream, 0);
video            1148 drivers/media/platform/rcar-vin/rcar-dma.c 	ret = v4l2_subdev_call(sd, video, s_stream, 1);
video             429 drivers/media/platform/rcar-vin/rcar-v4l2.c 	return v4l2_subdev_call(sd, video, g_pixelaspect, f);
video             442 drivers/media/platform/rcar-vin/rcar-v4l2.c 	ret = v4l2_subdev_call(sd, video, g_input_status, &i->status);
video             479 drivers/media/platform/rcar-vin/rcar-v4l2.c 	return v4l2_subdev_call(sd, video, querystd, a);
video             487 drivers/media/platform/rcar-vin/rcar-v4l2.c 	ret = v4l2_subdev_call(vin_to_source(vin), video, s_std, a);
video             545 drivers/media/platform/rcar-vin/rcar-v4l2.c 	ret = v4l2_subdev_call(sd, video, s_dv_timings, timings);
video             559 drivers/media/platform/rcar-vin/rcar-v4l2.c 	return v4l2_subdev_call(sd, video, g_dv_timings, timings);
video             568 drivers/media/platform/rcar-vin/rcar-v4l2.c 	return v4l2_subdev_call(sd, video, query_dv_timings, timings);
video             692 drivers/media/platform/renesas-ceu.c 	ret = v4l2_subdev_call(v4l2_sd, video, s_stream, 1);
video             726 drivers/media/platform/renesas-ceu.c 	v4l2_subdev_call(v4l2_sd, video, s_stream, 0);
video             751 drivers/media/platform/renesas-ceu.c 	v4l2_subdev_call(v4l2_sd, video, s_stream, 0);
video             134 drivers/media/platform/s3c-camif/camif-capture.c 		err = v4l2_subdev_call(sensor->sd, video, s_stream, on);
video             295 drivers/media/platform/sh_vou.c 					 video, s_stream, 1);
video             342 drivers/media/platform/sh_vou.c 					 video, s_stream, 0);
video             828 drivers/media/platform/sh_vou.c 	ret = v4l2_device_call_until_err(&vou_dev->v4l2_dev, 0, video,
video             700 drivers/media/platform/stm32/stm32-dcmi.c 		ret = v4l2_subdev_call(subdev, video, s_stream, state);
video             323 drivers/media/platform/sunxi/sun4i-csi/sun4i_dma.c 	ret = v4l2_subdev_call(csi->src_subdev, video, s_stream, 1);
video             354 drivers/media/platform/sunxi/sun4i-csi/sun4i_dma.c 	v4l2_subdev_call(csi->src_subdev, video, s_stream, 0);
video             647 drivers/media/platform/sunxi/sun6i-csi/sun6i_csi.c 	sink = &csi->video.vdev.entity;
video             648 drivers/media/platform/sunxi/sun6i-csi/sun6i_csi.c 	sink_pad = &csi->video.pad;
video             722 drivers/media/platform/sunxi/sun6i-csi/sun6i_csi.c 	sun6i_video_cleanup(&csi->video);
video             756 drivers/media/platform/sunxi/sun6i-csi/sun6i_csi.c 	ret = sun6i_video_init(&csi->video, csi, "sun6i-csi");
video             778 drivers/media/platform/sunxi/sun6i-csi/sun6i_csi.c 	sun6i_video_cleanup(&csi->video);
video             816 drivers/media/platform/sunxi/sun6i-csi/sun6i_csi.c 		sun6i_video_frame_done(&sdev->csi.video);
video              48 drivers/media/platform/sunxi/sun6i-csi/sun6i_csi.h 	struct sun6i_video		video;
video              76 drivers/media/platform/sunxi/sun6i-csi/sun6i_video.c sun6i_video_remote_subdev(struct sun6i_video *video, u32 *pad)
video              80 drivers/media/platform/sunxi/sun6i-csi/sun6i_video.c 	remote = media_entity_remote_pad(&video->pad);
video              97 drivers/media/platform/sunxi/sun6i-csi/sun6i_video.c 	struct sun6i_video *video = vb2_get_drv_priv(vq);
video              98 drivers/media/platform/sunxi/sun6i-csi/sun6i_video.c 	unsigned int size = video->fmt.fmt.pix.sizeimage;
video             114 drivers/media/platform/sunxi/sun6i-csi/sun6i_video.c 	struct sun6i_video *video = vb2_get_drv_priv(vb->vb2_queue);
video             115 drivers/media/platform/sunxi/sun6i-csi/sun6i_video.c 	unsigned long size = video->fmt.fmt.pix.sizeimage;
video             118 drivers/media/platform/sunxi/sun6i-csi/sun6i_video.c 		v4l2_err(video->vdev.v4l2_dev, "buffer too small (%lu < %lu)\n",
video             127 drivers/media/platform/sunxi/sun6i-csi/sun6i_video.c 	vbuf->field = video->fmt.fmt.pix.field;
video             134 drivers/media/platform/sunxi/sun6i-csi/sun6i_video.c 	struct sun6i_video *video = vb2_get_drv_priv(vq);
video             142 drivers/media/platform/sunxi/sun6i-csi/sun6i_video.c 	video->sequence = 0;
video             144 drivers/media/platform/sunxi/sun6i-csi/sun6i_video.c 	ret = media_pipeline_start(&video->vdev.entity, &video->vdev.pipe);
video             148 drivers/media/platform/sunxi/sun6i-csi/sun6i_video.c 	if (video->mbus_code == 0) {
video             153 drivers/media/platform/sunxi/sun6i-csi/sun6i_video.c 	subdev = sun6i_video_remote_subdev(video, NULL);
video             157 drivers/media/platform/sunxi/sun6i-csi/sun6i_video.c 	config.pixelformat = video->fmt.fmt.pix.pixelformat;
video             158 drivers/media/platform/sunxi/sun6i-csi/sun6i_video.c 	config.code = video->mbus_code;
video             159 drivers/media/platform/sunxi/sun6i-csi/sun6i_video.c 	config.field = video->fmt.fmt.pix.field;
video             160 drivers/media/platform/sunxi/sun6i-csi/sun6i_video.c 	config.width = video->fmt.fmt.pix.width;
video             161 drivers/media/platform/sunxi/sun6i-csi/sun6i_video.c 	config.height = video->fmt.fmt.pix.height;
video             163 drivers/media/platform/sunxi/sun6i-csi/sun6i_video.c 	ret = sun6i_csi_update_config(video->csi, &config);
video             167 drivers/media/platform/sunxi/sun6i-csi/sun6i_video.c 	spin_lock_irqsave(&video->dma_queue_lock, flags);
video             169 drivers/media/platform/sunxi/sun6i-csi/sun6i_video.c 	buf = list_first_entry(&video->dma_queue,
video             172 drivers/media/platform/sunxi/sun6i-csi/sun6i_video.c 	sun6i_csi_update_buf_addr(video->csi, buf->dma_addr);
video             174 drivers/media/platform/sunxi/sun6i-csi/sun6i_video.c 	sun6i_csi_set_stream(video->csi, true);
video             195 drivers/media/platform/sunxi/sun6i-csi/sun6i_video.c 	sun6i_csi_update_buf_addr(video->csi, next_buf->dma_addr);
video             197 drivers/media/platform/sunxi/sun6i-csi/sun6i_video.c 	spin_unlock_irqrestore(&video->dma_queue_lock, flags);
video             199 drivers/media/platform/sunxi/sun6i-csi/sun6i_video.c 	ret = v4l2_subdev_call(subdev, video, s_stream, 1);
video             206 drivers/media/platform/sunxi/sun6i-csi/sun6i_video.c 	sun6i_csi_set_stream(video->csi, false);
video             208 drivers/media/platform/sunxi/sun6i-csi/sun6i_video.c 	media_pipeline_stop(&video->vdev.entity);
video             210 drivers/media/platform/sunxi/sun6i-csi/sun6i_video.c 	spin_lock_irqsave(&video->dma_queue_lock, flags);
video             211 drivers/media/platform/sunxi/sun6i-csi/sun6i_video.c 	list_for_each_entry(buf, &video->dma_queue, list)
video             213 drivers/media/platform/sunxi/sun6i-csi/sun6i_video.c 	INIT_LIST_HEAD(&video->dma_queue);
video             214 drivers/media/platform/sunxi/sun6i-csi/sun6i_video.c 	spin_unlock_irqrestore(&video->dma_queue_lock, flags);
video             221 drivers/media/platform/sunxi/sun6i-csi/sun6i_video.c 	struct sun6i_video *video = vb2_get_drv_priv(vq);
video             226 drivers/media/platform/sunxi/sun6i-csi/sun6i_video.c 	subdev = sun6i_video_remote_subdev(video, NULL);
video             228 drivers/media/platform/sunxi/sun6i-csi/sun6i_video.c 		v4l2_subdev_call(subdev, video, s_stream, 0);
video             230 drivers/media/platform/sunxi/sun6i-csi/sun6i_video.c 	sun6i_csi_set_stream(video->csi, false);
video             232 drivers/media/platform/sunxi/sun6i-csi/sun6i_video.c 	media_pipeline_stop(&video->vdev.entity);
video             235 drivers/media/platform/sunxi/sun6i-csi/sun6i_video.c 	spin_lock_irqsave(&video->dma_queue_lock, flags);
video             236 drivers/media/platform/sunxi/sun6i-csi/sun6i_video.c 	list_for_each_entry(buf, &video->dma_queue, list)
video             238 drivers/media/platform/sunxi/sun6i-csi/sun6i_video.c 	INIT_LIST_HEAD(&video->dma_queue);
video             239 drivers/media/platform/sunxi/sun6i-csi/sun6i_video.c 	spin_unlock_irqrestore(&video->dma_queue_lock, flags);
video             247 drivers/media/platform/sunxi/sun6i-csi/sun6i_video.c 	struct sun6i_video *video = vb2_get_drv_priv(vb->vb2_queue);
video             250 drivers/media/platform/sunxi/sun6i-csi/sun6i_video.c 	spin_lock_irqsave(&video->dma_queue_lock, flags);
video             252 drivers/media/platform/sunxi/sun6i-csi/sun6i_video.c 	list_add_tail(&buf->list, &video->dma_queue);
video             253 drivers/media/platform/sunxi/sun6i-csi/sun6i_video.c 	spin_unlock_irqrestore(&video->dma_queue_lock, flags);
video             256 drivers/media/platform/sunxi/sun6i-csi/sun6i_video.c void sun6i_video_frame_done(struct sun6i_video *video)
video             262 drivers/media/platform/sunxi/sun6i-csi/sun6i_video.c 	spin_lock(&video->dma_queue_lock);
video             264 drivers/media/platform/sunxi/sun6i-csi/sun6i_video.c 	buf = list_first_entry(&video->dma_queue,
video             266 drivers/media/platform/sunxi/sun6i-csi/sun6i_video.c 	if (list_is_last(&buf->list, &video->dma_queue)) {
video             267 drivers/media/platform/sunxi/sun6i-csi/sun6i_video.c 		dev_dbg(video->csi->dev, "Frame dropped!\n");
video             279 drivers/media/platform/sunxi/sun6i-csi/sun6i_video.c 		sun6i_csi_update_buf_addr(video->csi, next_buf->dma_addr);
video             280 drivers/media/platform/sunxi/sun6i-csi/sun6i_video.c 		dev_dbg(video->csi->dev, "Frame dropped!\n");
video             287 drivers/media/platform/sunxi/sun6i-csi/sun6i_video.c 	vbuf->sequence = video->sequence;
video             291 drivers/media/platform/sunxi/sun6i-csi/sun6i_video.c 	if (!list_is_last(&next_buf->list, &video->dma_queue)) {
video             294 drivers/media/platform/sunxi/sun6i-csi/sun6i_video.c 		sun6i_csi_update_buf_addr(video->csi, next_buf->dma_addr);
video             296 drivers/media/platform/sunxi/sun6i-csi/sun6i_video.c 		dev_dbg(video->csi->dev, "Next frame will be dropped!\n");
video             300 drivers/media/platform/sunxi/sun6i-csi/sun6i_video.c 	video->sequence++;
video             301 drivers/media/platform/sunxi/sun6i-csi/sun6i_video.c 	spin_unlock(&video->dma_queue_lock);
video             317 drivers/media/platform/sunxi/sun6i-csi/sun6i_video.c 	struct sun6i_video *video = video_drvdata(file);
video             320 drivers/media/platform/sunxi/sun6i-csi/sun6i_video.c 	strscpy(cap->card, video->vdev.name, sizeof(cap->card));
video             322 drivers/media/platform/sunxi/sun6i-csi/sun6i_video.c 		 video->csi->dev->of_node->name);
video             343 drivers/media/platform/sunxi/sun6i-csi/sun6i_video.c 	struct sun6i_video *video = video_drvdata(file);
video             345 drivers/media/platform/sunxi/sun6i-csi/sun6i_video.c 	*fmt = video->fmt;
video             350 drivers/media/platform/sunxi/sun6i-csi/sun6i_video.c static int sun6i_video_try_fmt(struct sun6i_video *video,
video             377 drivers/media/platform/sunxi/sun6i-csi/sun6i_video.c static int sun6i_video_set_fmt(struct sun6i_video *video, struct v4l2_format *f)
video             381 drivers/media/platform/sunxi/sun6i-csi/sun6i_video.c 	ret = sun6i_video_try_fmt(video, f);
video             385 drivers/media/platform/sunxi/sun6i-csi/sun6i_video.c 	video->fmt = *f;
video             393 drivers/media/platform/sunxi/sun6i-csi/sun6i_video.c 	struct sun6i_video *video = video_drvdata(file);
video             395 drivers/media/platform/sunxi/sun6i-csi/sun6i_video.c 	if (vb2_is_busy(&video->vb2_vidq))
video             398 drivers/media/platform/sunxi/sun6i-csi/sun6i_video.c 	return sun6i_video_set_fmt(video, f);
video             404 drivers/media/platform/sunxi/sun6i-csi/sun6i_video.c 	struct sun6i_video *video = video_drvdata(file);
video             406 drivers/media/platform/sunxi/sun6i-csi/sun6i_video.c 	return sun6i_video_try_fmt(video, f);
video             467 drivers/media/platform/sunxi/sun6i-csi/sun6i_video.c 	struct sun6i_video *video = video_drvdata(file);
video             470 drivers/media/platform/sunxi/sun6i-csi/sun6i_video.c 	if (mutex_lock_interruptible(&video->lock))
video             477 drivers/media/platform/sunxi/sun6i-csi/sun6i_video.c 	ret = v4l2_pipeline_pm_use(&video->vdev.entity, 1);
video             485 drivers/media/platform/sunxi/sun6i-csi/sun6i_video.c 	ret = sun6i_csi_set_power(video->csi, true);
video             489 drivers/media/platform/sunxi/sun6i-csi/sun6i_video.c 	mutex_unlock(&video->lock);
video             495 drivers/media/platform/sunxi/sun6i-csi/sun6i_video.c 	mutex_unlock(&video->lock);
video             501 drivers/media/platform/sunxi/sun6i-csi/sun6i_video.c 	struct sun6i_video *video = video_drvdata(file);
video             504 drivers/media/platform/sunxi/sun6i-csi/sun6i_video.c 	mutex_lock(&video->lock);
video             510 drivers/media/platform/sunxi/sun6i-csi/sun6i_video.c 	v4l2_pipeline_pm_use(&video->vdev.entity, 0);
video             513 drivers/media/platform/sunxi/sun6i-csi/sun6i_video.c 		sun6i_csi_set_power(video->csi, false);
video             515 drivers/media/platform/sunxi/sun6i-csi/sun6i_video.c 	mutex_unlock(&video->lock);
video             551 drivers/media/platform/sunxi/sun6i-csi/sun6i_video.c 	struct sun6i_video *video = video_get_drvdata(vdev);
video             555 drivers/media/platform/sunxi/sun6i-csi/sun6i_video.c 	video->mbus_code = 0;
video             558 drivers/media/platform/sunxi/sun6i-csi/sun6i_video.c 		dev_info(video->csi->dev,
video             567 drivers/media/platform/sunxi/sun6i-csi/sun6i_video.c 	if (!sun6i_csi_is_format_supported(video->csi,
video             568 drivers/media/platform/sunxi/sun6i-csi/sun6i_video.c 					   video->fmt.fmt.pix.pixelformat,
video             570 drivers/media/platform/sunxi/sun6i-csi/sun6i_video.c 		dev_err(video->csi->dev,
video             572 drivers/media/platform/sunxi/sun6i-csi/sun6i_video.c 			video->fmt.fmt.pix.pixelformat,
video             577 drivers/media/platform/sunxi/sun6i-csi/sun6i_video.c 	if (source_fmt.format.width != video->fmt.fmt.pix.width ||
video             578 drivers/media/platform/sunxi/sun6i-csi/sun6i_video.c 	    source_fmt.format.height != video->fmt.fmt.pix.height) {
video             579 drivers/media/platform/sunxi/sun6i-csi/sun6i_video.c 		dev_err(video->csi->dev,
video             581 drivers/media/platform/sunxi/sun6i-csi/sun6i_video.c 			video->fmt.fmt.pix.width, video->fmt.fmt.pix.height,
video             586 drivers/media/platform/sunxi/sun6i-csi/sun6i_video.c 	video->mbus_code = source_fmt.format.code;
video             595 drivers/media/platform/sunxi/sun6i-csi/sun6i_video.c int sun6i_video_init(struct sun6i_video *video, struct sun6i_csi *csi,
video             598 drivers/media/platform/sunxi/sun6i-csi/sun6i_video.c 	struct video_device *vdev = &video->vdev;
video             599 drivers/media/platform/sunxi/sun6i-csi/sun6i_video.c 	struct vb2_queue *vidq = &video->vb2_vidq;
video             603 drivers/media/platform/sunxi/sun6i-csi/sun6i_video.c 	video->csi = csi;
video             606 drivers/media/platform/sunxi/sun6i-csi/sun6i_video.c 	video->pad.flags = MEDIA_PAD_FL_SINK | MEDIA_PAD_FL_MUST_CONNECT;
video             608 drivers/media/platform/sunxi/sun6i-csi/sun6i_video.c 	ret = media_entity_pads_init(&vdev->entity, 1, &video->pad);
video             612 drivers/media/platform/sunxi/sun6i-csi/sun6i_video.c 	mutex_init(&video->lock);
video             614 drivers/media/platform/sunxi/sun6i-csi/sun6i_video.c 	INIT_LIST_HEAD(&video->dma_queue);
video             615 drivers/media/platform/sunxi/sun6i-csi/sun6i_video.c 	spin_lock_init(&video->dma_queue_lock);
video             617 drivers/media/platform/sunxi/sun6i-csi/sun6i_video.c 	video->sequence = 0;
video             625 drivers/media/platform/sunxi/sun6i-csi/sun6i_video.c 	sun6i_video_set_fmt(video, &fmt);
video             630 drivers/media/platform/sunxi/sun6i-csi/sun6i_video.c 	vidq->drv_priv			= video;
video             635 drivers/media/platform/sunxi/sun6i-csi/sun6i_video.c 	vidq->lock			= &video->lock;
video             655 drivers/media/platform/sunxi/sun6i-csi/sun6i_video.c 	vdev->lock		= &video->lock;
video             657 drivers/media/platform/sunxi/sun6i-csi/sun6i_video.c 	video_set_drvdata(vdev, video);
video             669 drivers/media/platform/sunxi/sun6i-csi/sun6i_video.c 	vb2_queue_release(&video->vb2_vidq);
video             671 drivers/media/platform/sunxi/sun6i-csi/sun6i_video.c 	media_entity_cleanup(&video->vdev.entity);
video             672 drivers/media/platform/sunxi/sun6i-csi/sun6i_video.c 	mutex_destroy(&video->lock);
video             676 drivers/media/platform/sunxi/sun6i-csi/sun6i_video.c void sun6i_video_cleanup(struct sun6i_video *video)
video             678 drivers/media/platform/sunxi/sun6i-csi/sun6i_video.c 	video_unregister_device(&video->vdev);
video             679 drivers/media/platform/sunxi/sun6i-csi/sun6i_video.c 	media_entity_cleanup(&video->vdev.entity);
video             680 drivers/media/platform/sunxi/sun6i-csi/sun6i_video.c 	vb2_queue_release(&video->vb2_vidq);
video             681 drivers/media/platform/sunxi/sun6i-csi/sun6i_video.c 	mutex_destroy(&video->lock);
video              32 drivers/media/platform/sunxi/sun6i-csi/sun6i_video.h int sun6i_video_init(struct sun6i_video *video, struct sun6i_csi *csi,
video              34 drivers/media/platform/sunxi/sun6i-csi/sun6i_video.h void sun6i_video_cleanup(struct sun6i_video *video);
video              36 drivers/media/platform/sunxi/sun6i-csi/sun6i_video.h void sun6i_video_frame_done(struct sun6i_video *video);
video            1313 drivers/media/platform/ti-vpe/cal.c 	ret = v4l2_subdev_call(ctx->sensor, video, s_stream, 1);
video            1340 drivers/media/platform/ti-vpe/cal.c 	if (v4l2_subdev_call(ctx->sensor, video, s_stream, 0))
video             125 drivers/media/platform/video-mux.c 	return v4l2_subdev_call(upstream_sd, video, s_stream, enable);
video             330 drivers/media/platform/video-mux.c 	.video = &video_mux_subdev_video_ops,
video             241 drivers/media/platform/vimc/vimc-common.c 		ret = v4l2_subdev_call(sd, video, s_stream, enable);
video             360 drivers/media/platform/vimc/vimc-debayer.c 	.video = &vimc_deb_video_ops,
video             254 drivers/media/platform/vimc/vimc-scaler.c 	.video = &vimc_sca_video_ops,
video             248 drivers/media/platform/vimc/vimc-sensor.c 	.video = &vimc_sen_video_ops,
video              63 drivers/media/platform/vimc/vimc-streamer.c 		v4l2_subdev_call(sd, video, s_stream, 0);
video              98 drivers/media/platform/vimc/vimc-streamer.c 			ret = v4l2_subdev_call(sd, video, s_stream, 1);
video             151 drivers/media/platform/vsp1/vsp1_drv.c 					    &vsp1->hgo->histo.video.entity, 0,
video             161 drivers/media/platform/vsp1/vsp1_drv.c 					    &vsp1->hgt->histo.video.entity, 0,
video             183 drivers/media/platform/vsp1/vsp1_drv.c 		ret = media_create_pad_link(&rpf->video->video.entity, 0,
video             201 drivers/media/platform/vsp1/vsp1_drv.c 					    &wpf->video->video.entity, 0,
video             214 drivers/media/platform/vsp1/vsp1_drv.c 	struct vsp1_video *video, *_video;
video             221 drivers/media/platform/vsp1/vsp1_drv.c 	list_for_each_entry_safe(video, _video, &vsp1->videos, list) {
video             222 drivers/media/platform/vsp1/vsp1_drv.c 		list_del(&video->list);
video             223 drivers/media/platform/vsp1/vsp1_drv.c 		vsp1_video_cleanup(video);
video             379 drivers/media/platform/vsp1/vsp1_drv.c 			struct vsp1_video *video = vsp1_video_create(vsp1, rpf);
video             381 drivers/media/platform/vsp1/vsp1_drv.c 			if (IS_ERR(video)) {
video             382 drivers/media/platform/vsp1/vsp1_drv.c 				ret = PTR_ERR(video);
video             386 drivers/media/platform/vsp1/vsp1_drv.c 			list_add_tail(&video->list, &vsp1->videos);
video             439 drivers/media/platform/vsp1/vsp1_drv.c 			struct vsp1_video *video = vsp1_video_create(vsp1, wpf);
video             441 drivers/media/platform/vsp1/vsp1_drv.c 			if (IS_ERR(video)) {
video             442 drivers/media/platform/vsp1/vsp1_drv.c 				ret = PTR_ERR(video);
video             446 drivers/media/platform/vsp1/vsp1_drv.c 			list_add_tail(&video->list, &vsp1->videos);
video             431 drivers/media/platform/vsp1/vsp1_histo.c 	strscpy(cap->card, histo->video.name, sizeof(cap->card));
video             501 drivers/media/platform/vsp1/vsp1_histo.c 	if (video_is_registered(&histo->video))
video             502 drivers/media/platform/vsp1/vsp1_histo.c 		video_unregister_device(&histo->video);
video             504 drivers/media/platform/vsp1/vsp1_histo.c 	media_entity_cleanup(&histo->video.entity);
video             528 drivers/media/platform/vsp1/vsp1_histo.c 	histo->video.vfl_dir = VFL_DIR_RX;
video             545 drivers/media/platform/vsp1/vsp1_histo.c 	ret = media_entity_pads_init(&histo->video.entity, 1, &histo->pad);
video             550 drivers/media/platform/vsp1/vsp1_histo.c 	histo->video.v4l2_dev = &vsp1->v4l2_dev;
video             551 drivers/media/platform/vsp1/vsp1_histo.c 	histo->video.fops = &histo_v4l2_fops;
video             552 drivers/media/platform/vsp1/vsp1_histo.c 	snprintf(histo->video.name, sizeof(histo->video.name),
video             554 drivers/media/platform/vsp1/vsp1_histo.c 	histo->video.vfl_type = VFL_TYPE_GRABBER;
video             555 drivers/media/platform/vsp1/vsp1_histo.c 	histo->video.release = video_device_release_empty;
video             556 drivers/media/platform/vsp1/vsp1_histo.c 	histo->video.ioctl_ops = &histo_v4l2_ioctl_ops;
video             557 drivers/media/platform/vsp1/vsp1_histo.c 	histo->video.device_caps = V4L2_CAP_META_CAPTURE | V4L2_CAP_STREAMING;
video             559 drivers/media/platform/vsp1/vsp1_histo.c 	video_set_drvdata(&histo->video, histo);
video             578 drivers/media/platform/vsp1/vsp1_histo.c 	histo->video.queue = &histo->queue;
video             579 drivers/media/platform/vsp1/vsp1_histo.c 	ret = video_register_device(&histo->video, VFL_TYPE_GRABBER, -1);
video              36 drivers/media/platform/vsp1/vsp1_histo.h 	struct video_device video;
video              56 drivers/media/platform/vsp1/vsp1_histo.h 	return container_of(vdev, struct vsp1_histogram, video);
video             358 drivers/media/platform/vsp1/vsp1_pipe.c 	v4l2_subdev_call(&pipe->output->entity.subdev, video, s_stream, 0);
video              37 drivers/media/platform/vsp1/vsp1_rwpf.h 	struct vsp1_video *video;
video              63 drivers/media/platform/vsp1/vsp1_video.c static int vsp1_video_verify_format(struct vsp1_video *video)
video              69 drivers/media/platform/vsp1/vsp1_video.c 	subdev = vsp1_video_remote_subdev(&video->pad, &fmt.pad);
video              78 drivers/media/platform/vsp1/vsp1_video.c 	if (video->rwpf->fmtinfo->mbus != fmt.format.code ||
video              79 drivers/media/platform/vsp1/vsp1_video.c 	    video->rwpf->format.height != fmt.format.height ||
video              80 drivers/media/platform/vsp1/vsp1_video.c 	    video->rwpf->format.width != fmt.format.width)
video              86 drivers/media/platform/vsp1/vsp1_video.c static int __vsp1_video_try_format(struct vsp1_video *video,
video             118 drivers/media/platform/vsp1/vsp1_video.c 	info = vsp1_get_format_info(video->vsp1, pix->pixelformat);
video             120 drivers/media/platform/vsp1/vsp1_video.c 		info = vsp1_get_format_info(video->vsp1, VSP1_VIDEO_DEF_FORMAT);
video             313 drivers/media/platform/vsp1/vsp1_video.c vsp1_video_complete_buffer(struct vsp1_video *video)
video             315 drivers/media/platform/vsp1/vsp1_video.c 	struct vsp1_pipeline *pipe = video->rwpf->entity.pipe;
video             321 drivers/media/platform/vsp1/vsp1_video.c 	spin_lock_irqsave(&video->irqlock, flags);
video             323 drivers/media/platform/vsp1/vsp1_video.c 	if (list_empty(&video->irqqueue)) {
video             324 drivers/media/platform/vsp1/vsp1_video.c 		spin_unlock_irqrestore(&video->irqlock, flags);
video             328 drivers/media/platform/vsp1/vsp1_video.c 	done = list_first_entry(&video->irqqueue,
video             333 drivers/media/platform/vsp1/vsp1_video.c 	if (!list_empty(&video->irqqueue))
video             334 drivers/media/platform/vsp1/vsp1_video.c 		next = list_first_entry(&video->irqqueue,
video             337 drivers/media/platform/vsp1/vsp1_video.c 	spin_unlock_irqrestore(&video->irqlock, flags);
video             352 drivers/media/platform/vsp1/vsp1_video.c 	struct vsp1_video *video = rwpf->video;
video             355 drivers/media/platform/vsp1/vsp1_video.c 	buf = vsp1_video_complete_buffer(video);
video             359 drivers/media/platform/vsp1/vsp1_video.c 	video->rwpf->mem = buf->mem;
video             360 drivers/media/platform/vsp1/vsp1_video.c 	pipe->buffers_ready |= 1 << video->pipe_index;
video             559 drivers/media/platform/vsp1/vsp1_video.c 				     struct vsp1_video *video)
video             562 drivers/media/platform/vsp1/vsp1_video.c 	struct media_entity *entity = &video->video.entity;
video             591 drivers/media/platform/vsp1/vsp1_video.c 			rwpf->video->pipe_index = ++pipe->num_inputs;
video             597 drivers/media/platform/vsp1/vsp1_video.c 			rwpf->video->pipe_index = 0;
video             632 drivers/media/platform/vsp1/vsp1_video.c 	for (i = 0; i < video->vsp1->info->rpf_count; ++i) {
video             646 drivers/media/platform/vsp1/vsp1_video.c 				    struct vsp1_video *video)
video             652 drivers/media/platform/vsp1/vsp1_video.c 	return vsp1_video_pipeline_build(pipe, video);
video             655 drivers/media/platform/vsp1/vsp1_video.c static struct vsp1_pipeline *vsp1_video_pipeline_get(struct vsp1_video *video)
video             666 drivers/media/platform/vsp1/vsp1_video.c 	if (!video->rwpf->entity.pipe) {
video             671 drivers/media/platform/vsp1/vsp1_video.c 		ret = vsp1_video_pipeline_init(pipe, video);
video             678 drivers/media/platform/vsp1/vsp1_video.c 		pipe = video->rwpf->entity.pipe;
video             711 drivers/media/platform/vsp1/vsp1_video.c 	struct vsp1_video *video = vb2_get_drv_priv(vq);
video             712 drivers/media/platform/vsp1/vsp1_video.c 	const struct v4l2_pix_format_mplane *format = &video->rwpf->format;
video             736 drivers/media/platform/vsp1/vsp1_video.c 	struct vsp1_video *video = vb2_get_drv_priv(vb->vb2_queue);
video             738 drivers/media/platform/vsp1/vsp1_video.c 	const struct v4l2_pix_format_mplane *format = &video->rwpf->format;
video             760 drivers/media/platform/vsp1/vsp1_video.c 	struct vsp1_video *video = vb2_get_drv_priv(vb->vb2_queue);
video             761 drivers/media/platform/vsp1/vsp1_video.c 	struct vsp1_pipeline *pipe = video->rwpf->entity.pipe;
video             766 drivers/media/platform/vsp1/vsp1_video.c 	spin_lock_irqsave(&video->irqlock, flags);
video             767 drivers/media/platform/vsp1/vsp1_video.c 	empty = list_empty(&video->irqqueue);
video             768 drivers/media/platform/vsp1/vsp1_video.c 	list_add_tail(&buf->queue, &video->irqqueue);
video             769 drivers/media/platform/vsp1/vsp1_video.c 	spin_unlock_irqrestore(&video->irqlock, flags);
video             776 drivers/media/platform/vsp1/vsp1_video.c 	video->rwpf->mem = buf->mem;
video             777 drivers/media/platform/vsp1/vsp1_video.c 	pipe->buffers_ready |= 1 << video->pipe_index;
video             779 drivers/media/platform/vsp1/vsp1_video.c 	if (vb2_is_streaming(&video->queue) &&
video             835 drivers/media/platform/vsp1/vsp1_video.c static void vsp1_video_release_buffers(struct vsp1_video *video)
video             841 drivers/media/platform/vsp1/vsp1_video.c 	spin_lock_irqsave(&video->irqlock, flags);
video             842 drivers/media/platform/vsp1/vsp1_video.c 	list_for_each_entry(buffer, &video->irqqueue, queue)
video             844 drivers/media/platform/vsp1/vsp1_video.c 	INIT_LIST_HEAD(&video->irqqueue);
video             845 drivers/media/platform/vsp1/vsp1_video.c 	spin_unlock_irqrestore(&video->irqlock, flags);
video             864 drivers/media/platform/vsp1/vsp1_video.c 	struct vsp1_video *video = vb2_get_drv_priv(vq);
video             865 drivers/media/platform/vsp1/vsp1_video.c 	struct vsp1_pipeline *pipe = video->rwpf->entity.pipe;
video             874 drivers/media/platform/vsp1/vsp1_video.c 			vsp1_video_release_buffers(video);
video             906 drivers/media/platform/vsp1/vsp1_video.c 	struct vsp1_video *video = vb2_get_drv_priv(vq);
video             907 drivers/media/platform/vsp1/vsp1_video.c 	struct vsp1_pipeline *pipe = video->rwpf->entity.pipe;
video             915 drivers/media/platform/vsp1/vsp1_video.c 	spin_lock_irqsave(&video->irqlock, flags);
video             916 drivers/media/platform/vsp1/vsp1_video.c 	pipe->buffers_ready &= ~(1 << video->pipe_index);
video             917 drivers/media/platform/vsp1/vsp1_video.c 	spin_unlock_irqrestore(&video->irqlock, flags);
video             924 drivers/media/platform/vsp1/vsp1_video.c 			dev_err(video->vsp1->dev, "pipeline stop timeout\n");
video             930 drivers/media/platform/vsp1/vsp1_video.c 	media_pipeline_stop(&video->video.entity);
video             931 drivers/media/platform/vsp1/vsp1_video.c 	vsp1_video_release_buffers(video);
video             953 drivers/media/platform/vsp1/vsp1_video.c 	struct vsp1_video *video = to_vsp1_video(vfh->vdev);
video             961 drivers/media/platform/vsp1/vsp1_video.c 	strscpy(cap->card, video->video.name, sizeof(cap->card));
video             963 drivers/media/platform/vsp1/vsp1_video.c 		 dev_name(video->vsp1->dev));
video             972 drivers/media/platform/vsp1/vsp1_video.c 	struct vsp1_video *video = to_vsp1_video(vfh->vdev);
video             974 drivers/media/platform/vsp1/vsp1_video.c 	if (format->type != video->queue.type)
video             977 drivers/media/platform/vsp1/vsp1_video.c 	mutex_lock(&video->lock);
video             978 drivers/media/platform/vsp1/vsp1_video.c 	format->fmt.pix_mp = video->rwpf->format;
video             979 drivers/media/platform/vsp1/vsp1_video.c 	mutex_unlock(&video->lock);
video             988 drivers/media/platform/vsp1/vsp1_video.c 	struct vsp1_video *video = to_vsp1_video(vfh->vdev);
video             990 drivers/media/platform/vsp1/vsp1_video.c 	if (format->type != video->queue.type)
video             993 drivers/media/platform/vsp1/vsp1_video.c 	return __vsp1_video_try_format(video, &format->fmt.pix_mp, NULL);
video            1000 drivers/media/platform/vsp1/vsp1_video.c 	struct vsp1_video *video = to_vsp1_video(vfh->vdev);
video            1004 drivers/media/platform/vsp1/vsp1_video.c 	if (format->type != video->queue.type)
video            1007 drivers/media/platform/vsp1/vsp1_video.c 	ret = __vsp1_video_try_format(video, &format->fmt.pix_mp, &info);
video            1011 drivers/media/platform/vsp1/vsp1_video.c 	mutex_lock(&video->lock);
video            1013 drivers/media/platform/vsp1/vsp1_video.c 	if (vb2_is_busy(&video->queue)) {
video            1018 drivers/media/platform/vsp1/vsp1_video.c 	video->rwpf->format = format->fmt.pix_mp;
video            1019 drivers/media/platform/vsp1/vsp1_video.c 	video->rwpf->fmtinfo = info;
video            1022 drivers/media/platform/vsp1/vsp1_video.c 	mutex_unlock(&video->lock);
video            1030 drivers/media/platform/vsp1/vsp1_video.c 	struct vsp1_video *video = to_vsp1_video(vfh->vdev);
video            1031 drivers/media/platform/vsp1/vsp1_video.c 	struct media_device *mdev = &video->vsp1->media_dev;
video            1035 drivers/media/platform/vsp1/vsp1_video.c 	if (video->queue.owner && video->queue.owner != file->private_data)
video            1045 drivers/media/platform/vsp1/vsp1_video.c 	pipe = vsp1_video_pipeline_get(video);
video            1051 drivers/media/platform/vsp1/vsp1_video.c 	ret = __media_pipeline_start(&video->video.entity, &pipe->pipe);
video            1063 drivers/media/platform/vsp1/vsp1_video.c 	ret = vsp1_video_verify_format(video);
video            1068 drivers/media/platform/vsp1/vsp1_video.c 	ret = vb2_streamon(&video->queue, type);
video            1075 drivers/media/platform/vsp1/vsp1_video.c 	media_pipeline_stop(&video->video.entity);
video            1106 drivers/media/platform/vsp1/vsp1_video.c 	struct vsp1_video *video = video_drvdata(file);
video            1114 drivers/media/platform/vsp1/vsp1_video.c 	v4l2_fh_init(vfh, &video->video);
video            1119 drivers/media/platform/vsp1/vsp1_video.c 	ret = vsp1_device_get(video->vsp1);
video            1131 drivers/media/platform/vsp1/vsp1_video.c 	struct vsp1_video *video = video_drvdata(file);
video            1134 drivers/media/platform/vsp1/vsp1_video.c 	mutex_lock(&video->lock);
video            1135 drivers/media/platform/vsp1/vsp1_video.c 	if (video->queue.owner == vfh) {
video            1136 drivers/media/platform/vsp1/vsp1_video.c 		vb2_queue_release(&video->queue);
video            1137 drivers/media/platform/vsp1/vsp1_video.c 		video->queue.owner = NULL;
video            1139 drivers/media/platform/vsp1/vsp1_video.c 	mutex_unlock(&video->lock);
video            1141 drivers/media/platform/vsp1/vsp1_video.c 	vsp1_device_put(video->vsp1);
video            1247 drivers/media/platform/vsp1/vsp1_video.c 	struct vsp1_video *video;
video            1251 drivers/media/platform/vsp1/vsp1_video.c 	video = devm_kzalloc(vsp1->dev, sizeof(*video), GFP_KERNEL);
video            1252 drivers/media/platform/vsp1/vsp1_video.c 	if (!video)
video            1255 drivers/media/platform/vsp1/vsp1_video.c 	rwpf->video = video;
video            1257 drivers/media/platform/vsp1/vsp1_video.c 	video->vsp1 = vsp1;
video            1258 drivers/media/platform/vsp1/vsp1_video.c 	video->rwpf = rwpf;
video            1262 drivers/media/platform/vsp1/vsp1_video.c 		video->type = V4L2_BUF_TYPE_VIDEO_OUTPUT_MPLANE;
video            1263 drivers/media/platform/vsp1/vsp1_video.c 		video->pad.flags = MEDIA_PAD_FL_SOURCE;
video            1264 drivers/media/platform/vsp1/vsp1_video.c 		video->video.vfl_dir = VFL_DIR_TX;
video            1265 drivers/media/platform/vsp1/vsp1_video.c 		video->video.device_caps = V4L2_CAP_VIDEO_OUTPUT_MPLANE |
video            1269 drivers/media/platform/vsp1/vsp1_video.c 		video->type = V4L2_BUF_TYPE_VIDEO_CAPTURE_MPLANE;
video            1270 drivers/media/platform/vsp1/vsp1_video.c 		video->pad.flags = MEDIA_PAD_FL_SINK;
video            1271 drivers/media/platform/vsp1/vsp1_video.c 		video->video.vfl_dir = VFL_DIR_RX;
video            1272 drivers/media/platform/vsp1/vsp1_video.c 		video->video.device_caps = V4L2_CAP_VIDEO_CAPTURE_MPLANE |
video            1276 drivers/media/platform/vsp1/vsp1_video.c 	mutex_init(&video->lock);
video            1277 drivers/media/platform/vsp1/vsp1_video.c 	spin_lock_init(&video->irqlock);
video            1278 drivers/media/platform/vsp1/vsp1_video.c 	INIT_LIST_HEAD(&video->irqqueue);
video            1281 drivers/media/platform/vsp1/vsp1_video.c 	ret = media_entity_pads_init(&video->video.entity, 1, &video->pad);
video            1289 drivers/media/platform/vsp1/vsp1_video.c 	__vsp1_video_try_format(video, &rwpf->format, &rwpf->fmtinfo);
video            1292 drivers/media/platform/vsp1/vsp1_video.c 	video->video.v4l2_dev = &video->vsp1->v4l2_dev;
video            1293 drivers/media/platform/vsp1/vsp1_video.c 	video->video.fops = &vsp1_video_fops;
video            1294 drivers/media/platform/vsp1/vsp1_video.c 	snprintf(video->video.name, sizeof(video->video.name), "%s %s",
video            1296 drivers/media/platform/vsp1/vsp1_video.c 	video->video.vfl_type = VFL_TYPE_GRABBER;
video            1297 drivers/media/platform/vsp1/vsp1_video.c 	video->video.release = video_device_release_empty;
video            1298 drivers/media/platform/vsp1/vsp1_video.c 	video->video.ioctl_ops = &vsp1_video_ioctl_ops;
video            1300 drivers/media/platform/vsp1/vsp1_video.c 	video_set_drvdata(&video->video, video);
video            1302 drivers/media/platform/vsp1/vsp1_video.c 	video->queue.type = video->type;
video            1303 drivers/media/platform/vsp1/vsp1_video.c 	video->queue.io_modes = VB2_MMAP | VB2_USERPTR | VB2_DMABUF;
video            1304 drivers/media/platform/vsp1/vsp1_video.c 	video->queue.lock = &video->lock;
video            1305 drivers/media/platform/vsp1/vsp1_video.c 	video->queue.drv_priv = video;
video            1306 drivers/media/platform/vsp1/vsp1_video.c 	video->queue.buf_struct_size = sizeof(struct vsp1_vb2_buffer);
video            1307 drivers/media/platform/vsp1/vsp1_video.c 	video->queue.ops = &vsp1_video_queue_qops;
video            1308 drivers/media/platform/vsp1/vsp1_video.c 	video->queue.mem_ops = &vb2_dma_contig_memops;
video            1309 drivers/media/platform/vsp1/vsp1_video.c 	video->queue.timestamp_flags = V4L2_BUF_FLAG_TIMESTAMP_COPY;
video            1310 drivers/media/platform/vsp1/vsp1_video.c 	video->queue.dev = video->vsp1->bus_master;
video            1311 drivers/media/platform/vsp1/vsp1_video.c 	ret = vb2_queue_init(&video->queue);
video            1313 drivers/media/platform/vsp1/vsp1_video.c 		dev_err(video->vsp1->dev, "failed to initialize vb2 queue\n");
video            1318 drivers/media/platform/vsp1/vsp1_video.c 	video->video.queue = &video->queue;
video            1319 drivers/media/platform/vsp1/vsp1_video.c 	ret = video_register_device(&video->video, VFL_TYPE_GRABBER, -1);
video            1321 drivers/media/platform/vsp1/vsp1_video.c 		dev_err(video->vsp1->dev, "failed to register video device\n");
video            1325 drivers/media/platform/vsp1/vsp1_video.c 	return video;
video            1328 drivers/media/platform/vsp1/vsp1_video.c 	vsp1_video_cleanup(video);
video            1332 drivers/media/platform/vsp1/vsp1_video.c void vsp1_video_cleanup(struct vsp1_video *video)
video            1334 drivers/media/platform/vsp1/vsp1_video.c 	if (video_is_registered(&video->video))
video            1335 drivers/media/platform/vsp1/vsp1_video.c 		video_unregister_device(&video->video);
video            1337 drivers/media/platform/vsp1/vsp1_video.c 	media_entity_cleanup(&video->video.entity);
video              36 drivers/media/platform/vsp1/vsp1_video.h 	struct video_device video;
video              51 drivers/media/platform/vsp1/vsp1_video.h 	return container_of(vdev, struct vsp1_video, video);
video              59 drivers/media/platform/vsp1/vsp1_video.h void vsp1_video_cleanup(struct vsp1_video *video);
video              46 drivers/media/platform/vsp1/vsp1_wpf.c 	struct vsp1_video *video = wpf->video;
video              61 drivers/media/platform/vsp1/vsp1_wpf.c 	mutex_lock(&video->lock);
video              63 drivers/media/platform/vsp1/vsp1_wpf.c 	if (vb2_is_busy(&video->queue)) {
video              90 drivers/media/platform/vsp1/vsp1_wpf.c 	mutex_unlock(&video->lock);
video             220 drivers/media/platform/vsp1/vsp1_wpf.c 	.video	= &wpf_video_ops,
video             105 drivers/media/platform/xilinx/xilinx-dma.c 	entity = &dma->video.entity;
video             118 drivers/media/platform/xilinx/xilinx-dma.c 		ret = v4l2_subdev_call(subdev, video, s_stream, start);
video             178 drivers/media/platform/xilinx/xilinx-dma.c 	struct media_entity *entity = &start->video.entity;
video             406 drivers/media/platform/xilinx/xilinx-dma.c 	pipe = dma->video.entity.pipe
video             407 drivers/media/platform/xilinx/xilinx-dma.c 	     ? to_xvip_pipeline(&dma->video.entity) : &dma->pipe;
video             409 drivers/media/platform/xilinx/xilinx-dma.c 	ret = media_pipeline_start(&dma->video.entity, &pipe->pipe);
video             435 drivers/media/platform/xilinx/xilinx-dma.c 	media_pipeline_stop(&dma->video.entity);
video             452 drivers/media/platform/xilinx/xilinx-dma.c 	struct xvip_pipeline *pipe = to_xvip_pipeline(&dma->video.entity);
video             463 drivers/media/platform/xilinx/xilinx-dma.c 	media_pipeline_stop(&dma->video.entity);
video             498 drivers/media/platform/xilinx/xilinx-dma.c 	strscpy(cap->card, dma->video.name, sizeof(cap->card));
video             676 drivers/media/platform/xilinx/xilinx-dma.c 	ret = media_entity_pads_init(&dma->video.entity, 1, &dma->pad);
video             681 drivers/media/platform/xilinx/xilinx-dma.c 	dma->video.fops = &xvip_dma_fops;
video             682 drivers/media/platform/xilinx/xilinx-dma.c 	dma->video.v4l2_dev = &xdev->v4l2_dev;
video             683 drivers/media/platform/xilinx/xilinx-dma.c 	dma->video.queue = &dma->queue;
video             684 drivers/media/platform/xilinx/xilinx-dma.c 	snprintf(dma->video.name, sizeof(dma->video.name), "%pOFn %s %u",
video             688 drivers/media/platform/xilinx/xilinx-dma.c 	dma->video.vfl_type = VFL_TYPE_GRABBER;
video             689 drivers/media/platform/xilinx/xilinx-dma.c 	dma->video.vfl_dir = type == V4L2_BUF_TYPE_VIDEO_CAPTURE
video             691 drivers/media/platform/xilinx/xilinx-dma.c 	dma->video.release = video_device_release_empty;
video             692 drivers/media/platform/xilinx/xilinx-dma.c 	dma->video.ioctl_ops = &xvip_dma_ioctl_ops;
video             693 drivers/media/platform/xilinx/xilinx-dma.c 	dma->video.lock = &dma->lock;
video             694 drivers/media/platform/xilinx/xilinx-dma.c 	dma->video.device_caps = V4L2_CAP_STREAMING;
video             696 drivers/media/platform/xilinx/xilinx-dma.c 		dma->video.device_caps |= V4L2_CAP_VIDEO_CAPTURE;
video             698 drivers/media/platform/xilinx/xilinx-dma.c 		dma->video.device_caps |= V4L2_CAP_VIDEO_OUTPUT;
video             700 drivers/media/platform/xilinx/xilinx-dma.c 	video_set_drvdata(&dma->video, dma);
video             737 drivers/media/platform/xilinx/xilinx-dma.c 	ret = video_register_device(&dma->video, VFL_TYPE_GRABBER, -1);
video             752 drivers/media/platform/xilinx/xilinx-dma.c 	if (video_is_registered(&dma->video))
video             753 drivers/media/platform/xilinx/xilinx-dma.c 		video_unregister_device(&dma->video);
video             758 drivers/media/platform/xilinx/xilinx-dma.c 	media_entity_cleanup(&dma->video.entity);
video              75 drivers/media/platform/xilinx/xilinx-dma.h 	struct video_device video;
video              98 drivers/media/platform/xilinx/xilinx-dma.h #define to_xvip_dma(vdev)	container_of(vdev, struct xvip_dma, video)
video             476 drivers/media/platform/xilinx/xilinx-tpg.c 	.video  = &xtpg_video_ops,
video             227 drivers/media/platform/xilinx/xilinx-vipp.c 			dma->video.name);
video             249 drivers/media/platform/xilinx/xilinx-vipp.c 			source = &dma->video.entity;
video             256 drivers/media/platform/xilinx/xilinx-vipp.c 			sink = &dma->video.entity;
video             416 drivers/media/spi/gs1662.c 	.video = &gs_video_ops,
video             836 drivers/media/usb/au0828/au0828-video.c 		v4l2_device_call_all(&dev->v4l2_dev, 0, video, s_stream, 1);
video             860 drivers/media/usb/au0828/au0828-video.c 		v4l2_device_call_all(&dev->v4l2_dev, 0, video, s_stream, 0);
video             893 drivers/media/usb/au0828/au0828-video.c 		v4l2_device_call_all(&dev->v4l2_dev, 0, video, s_stream, 0);
video            1126 drivers/media/usb/au0828/au0828-video.c 	v4l2_device_call_all(&dev->v4l2_dev, 0, video, s_std, dev->std);
video            1292 drivers/media/usb/au0828/au0828-video.c 	v4l2_device_call_all(&dev->v4l2_dev, 0, video, s_std, norm);
video            1390 drivers/media/usb/au0828/au0828-video.c 	v4l2_device_call_all(&dev->v4l2_dev, 0, video, s_routing,
video            1567 drivers/media/usb/cx231xx/cx231xx-417.c 	call_all(dev, video, s_std, dev->norm);
video            1336 drivers/media/usb/cx231xx/cx231xx-cards.c 	call_all(dev, video, s_stream, 1);
video             865 drivers/media/usb/cx231xx/cx231xx-video.c 	cx25840_call(dev, video, s_routing, INPUT(index)->vmux, 0, 0);
video            1071 drivers/media/usb/cx231xx/cx231xx-video.c 	call_all(dev, video, s_std, dev->norm);
video            1215 drivers/media/usb/cx231xx/cx231xx-video.c 		call_all(dev, video, s_std, dev->norm);
video            1527 drivers/media/usb/cx231xx/cx231xx-video.c 	call_all(dev, video, s_stream, 1);
video            1546 drivers/media/usb/cx231xx/cx231xx-video.c 	cx25840_call(dev, video, s_stream, 0);
video            2194 drivers/media/usb/cx231xx/cx231xx-video.c 	call_all(dev, video, s_std, dev->norm);
video             756 drivers/media/usb/dvb-usb/cxusb-analog.c 	ret = v4l2_subdev_call(cxdev->cx25840, video, g_std, &norm);
video             791 drivers/media/usb/dvb-usb/cxusb-analog.c 	ret = v4l2_subdev_call(cxdev->cx25840, video, s_stream, 1);
video             890 drivers/media/usb/dvb-usb/cxusb-analog.c 	v4l2_subdev_call(cxdev->cx25840, video, s_stream, 0);
video             914 drivers/media/usb/dvb-usb/cxusb-analog.c 	ret = v4l2_subdev_call(cxdev->cx25840, video, s_stream, 0);
video            1105 drivers/media/usb/dvb-usb/cxusb-analog.c 		ret = v4l2_subdev_call(cxdev->cx25840, video, g_input_status,
video            1146 drivers/media/usb/dvb-usb/cxusb-analog.c 		ret = v4l2_subdev_call(cxdev->cx25840, video, s_std, norm);
video            1157 drivers/media/usb/dvb-usb/cxusb-analog.c 	ret = v4l2_subdev_call(cxdev->tda9887, video, s_std, norm);
video            1165 drivers/media/usb/dvb-usb/cxusb-analog.c 	ret = v4l2_subdev_call(cxdev->tuner, video, s_std, norm);
video            1173 drivers/media/usb/dvb-usb/cxusb-analog.c 	ret = v4l2_subdev_call(cxdev->cx25840, video, s_std, norm);
video            1198 drivers/media/usb/dvb-usb/cxusb-analog.c 	ret = v4l2_subdev_call(cxdev->cx25840, video, s_routing,
video            1296 drivers/media/usb/dvb-usb/cxusb-analog.c 		v4l2_subdev_call(cxdev->cx25840, video, s_std, cxdev->norm);
video            1339 drivers/media/usb/dvb-usb/cxusb-analog.c 		v4l2_subdev_call(cxdev->cx25840, video, s_std, cxdev->norm);
video            1386 drivers/media/usb/dvb-usb/cxusb-analog.c 	ret = v4l2_subdev_call(cxdev->cx25840, video, querystd, norm);
video            1485 drivers/media/usb/dvb-usb/cxusb-analog.c 	ret = v4l2_subdev_call(cxdev->cx25840, video, s_routing,
video            1506 drivers/media/usb/dvb-usb/cxusb-analog.c 	v4l2_subdev_call(cxdev->tda9887, video, s_std, cxdev->norm);
video            1507 drivers/media/usb/dvb-usb/cxusb-analog.c 	v4l2_subdev_call(cxdev->tuner, video, s_std, cxdev->norm);
video            1508 drivers/media/usb/dvb-usb/cxusb-analog.c 	v4l2_subdev_call(cxdev->cx25840, video, s_std, cxdev->norm);
video             190 drivers/media/usb/em28xx/em28xx-video.c 	v4l2_device_call_all(v4l2_dev, 0, video, s_routing,
video            1139 drivers/media/usb/em28xx/em28xx-video.c 		v4l2_device_call_all(&v4l2->v4l2_dev, 0, video, s_stream, 1);
video            1160 drivers/media/usb/em28xx/em28xx-video.c 		v4l2_device_call_all(&v4l2->v4l2_dev, 0, video, s_stream, 0);
video            1195 drivers/media/usb/em28xx/em28xx-video.c 		v4l2_device_call_all(&v4l2->v4l2_dev, 0, video, s_stream, 0);
video            1298 drivers/media/usb/em28xx/em28xx-video.c 	v4l2_device_call_all(v4l2_dev, 0, video, s_routing,
video            1568 drivers/media/usb/em28xx/em28xx-video.c 	v4l2_device_call_all(&dev->v4l2->v4l2_dev, 0, video, querystd, norm);
video            1599 drivers/media/usb/em28xx/em28xx-video.c 	v4l2_device_call_all(&v4l2->v4l2_dev, 0, video, s_std, v4l2->norm);
video            1620 drivers/media/usb/em28xx/em28xx-video.c 						video, g_frame_interval, &ival);
video            1652 drivers/media/usb/em28xx/em28xx-video.c 					video, s_frame_interval, &ival);
video            2689 drivers/media/usb/em28xx/em28xx-video.c 	v4l2_device_call_all(&v4l2->v4l2_dev, 0, video, s_std, v4l2->norm);
video             299 drivers/media/usb/go7007/go7007-driver.c 			v4l2_subdev_call(go->sd_video, video, s_routing,
video             417 drivers/media/usb/go7007/go7007-v4l2.c 	call_all(&go->v4l2_dev, video, s_stream, 1);
video             438 drivers/media/usb/go7007/go7007-v4l2.c 	call_all(&go->v4l2_dev, video, s_stream, 0);
video             577 drivers/media/usb/go7007/go7007-v4l2.c 	call_all(&go->v4l2_dev, video, s_std, go->std);
video             598 drivers/media/usb/go7007/go7007-v4l2.c 	return call_all(&go->v4l2_dev, video, querystd, std);
video             682 drivers/media/usb/go7007/go7007-v4l2.c 	v4l2_subdev_call(go->sd_video, video, s_routing,
video            1105 drivers/media/usb/go7007/go7007-v4l2.c 	if (!v4l2_device_has_op(&go->v4l2_dev, 0, video, querystd))
video            1134 drivers/media/usb/go7007/go7007-v4l2.c 		v4l2_subdev_call(go->sd_video, video, s_crystal_freq,
video             491 drivers/media/usb/go7007/s2250-board.c 	.video = &s2250_video_ops,
video             159 drivers/media/usb/pvrusb2/pvrusb2-cx2584x-v4l.c 		sd->ops->video->s_routing(sd, (u32)vid_input, 0, 0);
video            1665 drivers/media/usb/pvrusb2/pvrusb2-hdw.c 	v4l2_device_call_all(&hdw->v4l2_dev, 0, video, s_stream, enablefl);
video            2828 drivers/media/usb/pvrusb2/pvrusb2-hdw.c 			     video, querystd, &std);
video            2865 drivers/media/usb/pvrusb2/pvrusb2-hdw.c 					     video, s_std, vs);
video              85 drivers/media/usb/pvrusb2/pvrusb2-video-v4l.c 		sd->ops->video->s_routing(sd, input, 0, 0);
video             111 drivers/media/usb/stk1160/stk1160-core.c 		v4l2_device_call_all(&dev->v4l2_dev, 0, video, s_routing,
video             360 drivers/media/usb/stk1160/stk1160-core.c 	v4l2_device_call_all(&dev->v4l2_dev, 0, video, s_stream, 0);
video             243 drivers/media/usb/stk1160/stk1160-v4l.c 	v4l2_device_call_all(&dev->v4l2_dev, 0, video, s_stream, 1);
video             285 drivers/media/usb/stk1160/stk1160-v4l.c 	v4l2_device_call_all(&dev->v4l2_dev, 0, video, s_stream, 0);
video             503 drivers/media/usb/stk1160/stk1160-v4l.c 	v4l2_device_call_all(&dev->v4l2_dev, 0, video, querystd, norm);
video             540 drivers/media/usb/stk1160/stk1160-v4l.c 	v4l2_device_call_all(&dev->v4l2_dev, 0, video, s_std,
video             829 drivers/media/usb/stk1160/stk1160-v4l.c 	v4l2_device_call_all(&dev->v4l2_dev, 0, video, s_std,
video            1108 drivers/media/usb/tm6000/tm6000-cards.c 	v4l2_device_call_all(&dev->v4l2_dev, 0, video, s_std, dev->norm);
video            1044 drivers/media/usb/tm6000/tm6000-video.c 	v4l2_device_call_all(&dev->v4l2_dev, 0, video, s_std, dev->norm);
video             444 drivers/media/usb/ttusb-dec/ttusb_dec.c 	__be16 video = htons(dec->pid[DMX_PES_VIDEO]);
video             450 drivers/media/usb/ttusb-dec/ttusb_dec.c 	memcpy(&b[4], &video, 2);
video            2425 drivers/media/usb/usbvision/usbvision-core.c 	call_all(usbvision, video, s_routing, mode[channel], 0, 0);
video             560 drivers/media/usb/usbvision/usbvision-video.c 	call_all(usbvision, video, s_std, usbvision->tvnorm_id);
video             780 drivers/media/usb/usbvision/usbvision-video.c 	call_all(usbvision, video, s_stream, 1);
video             796 drivers/media/usb/usbvision/usbvision-video.c 		call_all(usbvision, video, s_stream, 0);
video             913 drivers/media/usb/usbvision/usbvision-video.c 		call_all(usbvision, video, s_stream, 1);
video            1395 drivers/media/v4l2-core/tuner-core.c 	.video = &tuner_video_ops,
video             199 drivers/media/v4l2-core/v4l2-common.c 	if (v4l2_subdev_has_op(sd, video, g_frame_interval))
video             201 drivers/media/v4l2-core/v4l2-common.c 	ret = v4l2_subdev_call(sd, video, g_frame_interval, &ival);
video             226 drivers/media/v4l2-core/v4l2-common.c 	if (v4l2_subdev_has_op(sd, video, g_frame_interval))
video             228 drivers/media/v4l2-core/v4l2-common.c 	ret = v4l2_subdev_call(sd, video, s_frame_interval, &ival);
video             211 drivers/media/v4l2-core/v4l2-subdev.c 	       sd->ops->video->g_frame_interval(sd, fi);
video             218 drivers/media/v4l2-core/v4l2-subdev.c 	       sd->ops->video->s_frame_interval(sd, fi);
video             323 drivers/media/v4l2-core/v4l2-subdev.c 	.video	= &v4l2_subdev_call_video_wrappers,
video             518 drivers/media/v4l2-core/v4l2-subdev.c 		return v4l2_subdev_call(sd, video, g_frame_interval, arg);
video             525 drivers/media/v4l2-core/v4l2-subdev.c 		return v4l2_subdev_call(sd, video, s_frame_interval, arg);
video             577 drivers/media/v4l2-core/v4l2-subdev.c 		return v4l2_subdev_call(sd, video, query_dv_timings, arg);
video             580 drivers/media/v4l2-core/v4l2-subdev.c 		return v4l2_subdev_call(sd, video, g_dv_timings, arg);
video             583 drivers/media/v4l2-core/v4l2-subdev.c 		return v4l2_subdev_call(sd, video, s_dv_timings, arg);
video             586 drivers/media/v4l2-core/v4l2-subdev.c 		return v4l2_subdev_call(sd, video, g_std, arg);
video             591 drivers/media/v4l2-core/v4l2-subdev.c 		return v4l2_subdev_call(sd, video, s_std, *std);
video             598 drivers/media/v4l2-core/v4l2-subdev.c 		if (v4l2_subdev_call(sd, video, g_tvnorms, &id))
video             605 drivers/media/v4l2-core/v4l2-subdev.c 		return v4l2_subdev_call(sd, video, querystd, arg);
video             365 drivers/mfd/dm355evm_msp.c 	const char	*video = msp_has_tvp() ? "TVP5146" : "imager";
video             376 drivers/mfd/dm355evm_msp.c 			status, video);
video             383 drivers/mfd/dm355evm_msp.c 			status, video);
video            10385 drivers/platform/x86/thinkpad_acpi.c TPACPI_PARAM(video);
video             378 drivers/staging/media/imx/imx-ic-prp.c 	ret = v4l2_subdev_call(priv->src_sd, video, s_stream, enable);
video             479 drivers/staging/media/imx/imx-ic-prp.c 	.video = &prp_video_ops,
video             726 drivers/staging/media/imx/imx-ic-prpencvf.c 	ret = v4l2_subdev_call(priv->src_sd, video, s_stream, 1);
video             774 drivers/staging/media/imx/imx-ic-prpencvf.c 	ret = v4l2_subdev_call(priv->src_sd, video, s_stream, 0);
video            1316 drivers/staging/media/imx/imx-ic-prpencvf.c 	.video = &prp_video_ops,
video             311 drivers/staging/media/imx/imx-media-capture.c 	return v4l2_subdev_call(priv->src_sd, video, querystd, std);
video             318 drivers/staging/media/imx/imx-media-capture.c 	return v4l2_subdev_call(priv->src_sd, video, g_std, std);
video             328 drivers/staging/media/imx/imx-media-capture.c 	return v4l2_subdev_call(priv->src_sd, video, s_std, std);
video             373 drivers/staging/media/imx/imx-media-capture.c 	ret = v4l2_subdev_call(priv->src_sd, video, g_frame_interval, &fi);
video             396 drivers/staging/media/imx/imx-media-capture.c 	ret = v4l2_subdev_call(priv->src_sd, video, s_frame_interval, &fi);
video             762 drivers/staging/media/imx/imx-media-csi.c 	ret = v4l2_subdev_call(priv->src_sd, video, s_stream, 1);
video             799 drivers/staging/media/imx/imx-media-csi.c 	v4l2_subdev_call(priv->src_sd, video, s_stream, 0);
video             816 drivers/staging/media/imx/imx-media-csi.c 	v4l2_subdev_call(priv->src_sd, video, s_stream, 0);
video            1857 drivers/staging/media/imx/imx-media-csi.c 	.video = &csi_video_ops,
video             931 drivers/staging/media/imx/imx-media-utils.c 		ret = v4l2_subdev_call(sd, video, s_stream, 1);
video             935 drivers/staging/media/imx/imx-media-utils.c 		v4l2_subdev_call(sd, video, s_stream, 0);
video             516 drivers/staging/media/imx/imx-media-vdic.c 		ret = v4l2_subdev_call(src_sd, video, s_stream, enable);
video             915 drivers/staging/media/imx/imx-media-vdic.c 	.video = &vdic_video_ops,
video             320 drivers/staging/media/imx/imx6-mipi-csi2.c 	ret = v4l2_subdev_call(csi2->src_sd, video, s_stream, 1);
video             333 drivers/staging/media/imx/imx6-mipi-csi2.c 	v4l2_subdev_call(csi2->src_sd, video, s_stream, 0);
video             344 drivers/staging/media/imx/imx6-mipi-csi2.c 	v4l2_subdev_call(csi2->src_sd, video, s_stream, 0);
video             538 drivers/staging/media/imx/imx6-mipi-csi2.c 	.video = &csi2_video_ops,
video             896 drivers/staging/media/imx/imx7-media-csi.c 		ret = v4l2_subdev_call(csi->src_sd, video, s_stream, 1);
video             902 drivers/staging/media/imx/imx7-media-csi.c 			v4l2_subdev_call(csi->src_sd, video, s_stream, 0);
video             908 drivers/staging/media/imx/imx7-media-csi.c 		v4l2_subdev_call(csi->src_sd, video, s_stream, 0);
video            1174 drivers/staging/media/imx/imx7-media-csi.c 	.video =	&imx7_csi_video_ops,
video             573 drivers/staging/media/imx/imx7-mipi-csis.c 		ret = v4l2_subdev_call(state->src_sd, video, s_stream, 1);
video             581 drivers/staging/media/imx/imx7-mipi-csis.c 		v4l2_subdev_call(state->src_sd, video, s_stream, 0);
video             817 drivers/staging/media/imx/imx7-mipi-csis.c 	.video	= &mipi_csis_video_ops,
video             494 drivers/staging/media/ipu3/ipu3-v4l2.c 				     video, s_stream, 1);
video             530 drivers/staging/media/ipu3/ipu3-v4l2.c 	r = v4l2_subdev_call(&imgu_pipe->imgu_sd.subdev, video, s_stream, 0);
video             921 drivers/staging/media/ipu3/ipu3-v4l2.c 	.video = &imgu_subdev_video_ops,
video             392 drivers/staging/media/omap4iss/iss.c 	entity = &pipe->output->video.entity;
video             407 drivers/staging/media/omap4iss/iss.c 		ret = v4l2_subdev_call(subdev, video, s_stream, 0);
video             459 drivers/staging/media/omap4iss/iss.c 	entity = &pipe->output->video.entity;
video             472 drivers/staging/media/omap4iss/iss.c 		ret = v4l2_subdev_call(subdev, video, s_stream, mode);
video             622 drivers/staging/media/omap4iss/iss.c 	struct iss_video *video = pipe->output;
video             649 drivers/staging/media/omap4iss/iss.c 	spin_lock_irqsave(&video->qlock, flags);
video             650 drivers/staging/media/omap4iss/iss.c 	if (video->dmaqueue_flags & ISS_VIDEO_DMAQUEUE_UNDERRUN) {
video             651 drivers/staging/media/omap4iss/iss.c 		spin_unlock_irqrestore(&video->qlock, flags);
video             656 drivers/staging/media/omap4iss/iss.c 	spin_unlock_irqrestore(&video->qlock, flags);
video             795 drivers/staging/media/omap4iss/iss_csi2.c static int csi2_queue(struct iss_video *video, struct iss_buffer *buffer)
video             797 drivers/staging/media/omap4iss/iss_csi2.c 	struct iss_csi2_device *csi2 = container_of(video,
video            1141 drivers/staging/media/omap4iss/iss_csi2.c 	.video = &csi2_video_ops,
video            1351 drivers/staging/media/omap4iss/iss_csi2.c 				    &csi2a->video_out.video.entity, 0, 0);
video            1357 drivers/staging/media/omap4iss/iss_csi2.c 				    &csi2b->video_out.video.entity, 0, 0);
video             416 drivers/staging/media/omap4iss/iss_ipipe.c 	.video = &ipipe_v4l2_video_ops,
video             260 drivers/staging/media/omap4iss/iss_ipipeif.c static int ipipeif_video_queue(struct iss_video *video,
video             263 drivers/staging/media/omap4iss/iss_ipipeif.c 	struct iss_ipipeif_device *ipipeif = container_of(video,
video             277 drivers/staging/media/omap4iss/iss_ipipeif.c 	if (video->dmaqueue_flags & ISS_VIDEO_DMAQUEUE_UNDERRUN) {
video             281 drivers/staging/media/omap4iss/iss_ipipeif.c 		iss_video_dmaqueue_flags_clr(video);
video             632 drivers/staging/media/omap4iss/iss_ipipeif.c 	.video = &ipipeif_v4l2_video_ops,
video             826 drivers/staging/media/omap4iss/iss_ipipeif.c 				     &ipipeif->video_out.video.entity, 0, 0);
video             312 drivers/staging/media/omap4iss/iss_resizer.c static int resizer_video_queue(struct iss_video *video,
video             315 drivers/staging/media/omap4iss/iss_resizer.c 	struct iss_resizer_device *resizer = container_of(video,
video             329 drivers/staging/media/omap4iss/iss_resizer.c 	if (video->dmaqueue_flags & ISS_VIDEO_DMAQUEUE_UNDERRUN) {
video             331 drivers/staging/media/omap4iss/iss_resizer.c 		iss_video_dmaqueue_flags_clr(video);
video             686 drivers/staging/media/omap4iss/iss_resizer.c 	.video = &resizer_v4l2_video_ops,
video             868 drivers/staging/media/omap4iss/iss_resizer.c 				     &resizer->video_out.video.entity, 0, 0);
video             116 drivers/staging/media/omap4iss/iss_video.c static unsigned int iss_video_mbus_to_pix(const struct iss_video *video,
video             144 drivers/staging/media/omap4iss/iss_video.c 	if (video->bpl_max)
video             145 drivers/staging/media/omap4iss/iss_video.c 		bpl = clamp(bpl, min_bpl, video->bpl_max);
video             149 drivers/staging/media/omap4iss/iss_video.c 	if (!video->bpl_zero_padding || bpl != min_bpl)
video             150 drivers/staging/media/omap4iss/iss_video.c 		bpl = ALIGN(bpl, video->bpl_alignment);
video             189 drivers/staging/media/omap4iss/iss_video.c iss_video_remote_subdev(struct iss_video *video, u32 *pad)
video             193 drivers/staging/media/omap4iss/iss_video.c 	remote = media_entity_remote_pad(&video->pad);
video             206 drivers/staging/media/omap4iss/iss_video.c iss_video_far_end(struct iss_video *video)
video             209 drivers/staging/media/omap4iss/iss_video.c 	struct media_entity *entity = &video->video.entity;
video             223 drivers/staging/media/omap4iss/iss_video.c 		if (entity == &video->video.entity)
video             230 drivers/staging/media/omap4iss/iss_video.c 		if (far_end->type != video->type)
video             244 drivers/staging/media/omap4iss/iss_video.c __iss_video_get_format(struct iss_video *video,
video             252 drivers/staging/media/omap4iss/iss_video.c 	subdev = iss_video_remote_subdev(video, &pad);
video             260 drivers/staging/media/omap4iss/iss_video.c 	mutex_lock(&video->mutex);
video             262 drivers/staging/media/omap4iss/iss_video.c 	mutex_unlock(&video->mutex);
video             272 drivers/staging/media/omap4iss/iss_video.c iss_video_check_format(struct iss_video *video, struct iss_video_fh *vfh)
video             278 drivers/staging/media/omap4iss/iss_video.c 	ret = __iss_video_get_format(video, &format);
video             283 drivers/staging/media/omap4iss/iss_video.c 	ret = iss_video_mbus_to_pix(video, &format, &pixfmt);
video             305 drivers/staging/media/omap4iss/iss_video.c 	struct iss_video *video = vfh->video;
video             314 drivers/staging/media/omap4iss/iss_video.c 	*count = min(*count, video->capture_mem / PAGE_ALIGN(sizes[0]));
video             333 drivers/staging/media/omap4iss/iss_video.c 	struct iss_video *video = vfh->video;
video             342 drivers/staging/media/omap4iss/iss_video.c 		dev_dbg(video->iss->dev,
video             356 drivers/staging/media/omap4iss/iss_video.c 	struct iss_video *video = vfh->video;
video             358 drivers/staging/media/omap4iss/iss_video.c 	struct iss_pipeline *pipe = to_iss_pipeline(&video->video.entity);
video             362 drivers/staging/media/omap4iss/iss_video.c 	spin_lock_irqsave(&video->qlock, flags);
video             370 drivers/staging/media/omap4iss/iss_video.c 	if (unlikely(video->error)) {
video             372 drivers/staging/media/omap4iss/iss_video.c 		spin_unlock_irqrestore(&video->qlock, flags);
video             376 drivers/staging/media/omap4iss/iss_video.c 	empty = list_empty(&video->dmaqueue);
video             377 drivers/staging/media/omap4iss/iss_video.c 	list_add_tail(&buffer->list, &video->dmaqueue);
video             379 drivers/staging/media/omap4iss/iss_video.c 	spin_unlock_irqrestore(&video->qlock, flags);
video             385 drivers/staging/media/omap4iss/iss_video.c 		if (video->type == V4L2_BUF_TYPE_VIDEO_CAPTURE)
video             392 drivers/staging/media/omap4iss/iss_video.c 		video->ops->queue(video, buffer);
video             393 drivers/staging/media/omap4iss/iss_video.c 		video->dmaqueue_flags |= ISS_VIDEO_DMAQUEUE_QUEUED;
video             428 drivers/staging/media/omap4iss/iss_video.c struct iss_buffer *omap4iss_video_buffer_next(struct iss_video *video)
video             430 drivers/staging/media/omap4iss/iss_video.c 	struct iss_pipeline *pipe = to_iss_pipeline(&video->video.entity);
video             435 drivers/staging/media/omap4iss/iss_video.c 	spin_lock_irqsave(&video->qlock, flags);
video             436 drivers/staging/media/omap4iss/iss_video.c 	if (WARN_ON(list_empty(&video->dmaqueue))) {
video             437 drivers/staging/media/omap4iss/iss_video.c 		spin_unlock_irqrestore(&video->qlock, flags);
video             441 drivers/staging/media/omap4iss/iss_video.c 	buf = list_first_entry(&video->dmaqueue, struct iss_buffer,
video             444 drivers/staging/media/omap4iss/iss_video.c 	spin_unlock_irqrestore(&video->qlock, flags);
video             455 drivers/staging/media/omap4iss/iss_video.c 	if (video == pipe->output && !pipe->do_propagation)
video             465 drivers/staging/media/omap4iss/iss_video.c 	spin_lock_irqsave(&video->qlock, flags);
video             466 drivers/staging/media/omap4iss/iss_video.c 	if (list_empty(&video->dmaqueue)) {
video             467 drivers/staging/media/omap4iss/iss_video.c 		spin_unlock_irqrestore(&video->qlock, flags);
video             468 drivers/staging/media/omap4iss/iss_video.c 		if (video->type == V4L2_BUF_TYPE_VIDEO_CAPTURE)
video             477 drivers/staging/media/omap4iss/iss_video.c 		if (video->pipe.stream_state == ISS_PIPELINE_STREAM_CONTINUOUS)
video             478 drivers/staging/media/omap4iss/iss_video.c 			video->dmaqueue_flags |= ISS_VIDEO_DMAQUEUE_UNDERRUN;
video             483 drivers/staging/media/omap4iss/iss_video.c 	if (video->type == V4L2_BUF_TYPE_VIDEO_CAPTURE && pipe->input) {
video             489 drivers/staging/media/omap4iss/iss_video.c 	buf = list_first_entry(&video->dmaqueue, struct iss_buffer,
video             491 drivers/staging/media/omap4iss/iss_video.c 	spin_unlock_irqrestore(&video->qlock, flags);
video             503 drivers/staging/media/omap4iss/iss_video.c void omap4iss_video_cancel_stream(struct iss_video *video)
video             507 drivers/staging/media/omap4iss/iss_video.c 	spin_lock_irqsave(&video->qlock, flags);
video             509 drivers/staging/media/omap4iss/iss_video.c 	while (!list_empty(&video->dmaqueue)) {
video             512 drivers/staging/media/omap4iss/iss_video.c 		buf = list_first_entry(&video->dmaqueue, struct iss_buffer,
video             518 drivers/staging/media/omap4iss/iss_video.c 	vb2_queue_error(video->queue);
video             519 drivers/staging/media/omap4iss/iss_video.c 	video->error = true;
video             521 drivers/staging/media/omap4iss/iss_video.c 	spin_unlock_irqrestore(&video->qlock, flags);
video             531 drivers/staging/media/omap4iss/iss_video.c 	struct iss_video *video = video_drvdata(file);
video             534 drivers/staging/media/omap4iss/iss_video.c 	strscpy(cap->card, video->video.name, sizeof(cap->card));
video             545 drivers/staging/media/omap4iss/iss_video.c 	struct iss_video *video = video_drvdata(file);
video             551 drivers/staging/media/omap4iss/iss_video.c 	if (f->type != video->type)
video             554 drivers/staging/media/omap4iss/iss_video.c 	ret = __iss_video_get_format(video, &format);
video             579 drivers/staging/media/omap4iss/iss_video.c 	struct iss_video *video = video_drvdata(file);
video             581 drivers/staging/media/omap4iss/iss_video.c 	if (format->type != video->type)
video             584 drivers/staging/media/omap4iss/iss_video.c 	mutex_lock(&video->mutex);
video             586 drivers/staging/media/omap4iss/iss_video.c 	mutex_unlock(&video->mutex);
video             595 drivers/staging/media/omap4iss/iss_video.c 	struct iss_video *video = video_drvdata(file);
video             598 drivers/staging/media/omap4iss/iss_video.c 	if (format->type != video->type)
video             601 drivers/staging/media/omap4iss/iss_video.c 	mutex_lock(&video->mutex);
video             608 drivers/staging/media/omap4iss/iss_video.c 	iss_video_mbus_to_pix(video, &fmt, &format->fmt.pix);
video             612 drivers/staging/media/omap4iss/iss_video.c 	mutex_unlock(&video->mutex);
video             619 drivers/staging/media/omap4iss/iss_video.c 	struct iss_video *video = video_drvdata(file);
video             625 drivers/staging/media/omap4iss/iss_video.c 	if (format->type != video->type)
video             628 drivers/staging/media/omap4iss/iss_video.c 	subdev = iss_video_remote_subdev(video, &pad);
video             640 drivers/staging/media/omap4iss/iss_video.c 	iss_video_mbus_to_pix(video, &fmt.format, &format->fmt.pix);
video             647 drivers/staging/media/omap4iss/iss_video.c 	struct iss_video *video = video_drvdata(file);
video             661 drivers/staging/media/omap4iss/iss_video.c 		if (video->type == V4L2_BUF_TYPE_VIDEO_OUTPUT)
video             667 drivers/staging/media/omap4iss/iss_video.c 		if (video->type == V4L2_BUF_TYPE_VIDEO_CAPTURE)
video             673 drivers/staging/media/omap4iss/iss_video.c 	subdev = iss_video_remote_subdev(video, &pad);
video             705 drivers/staging/media/omap4iss/iss_video.c 	struct iss_video *video = video_drvdata(file);
video             718 drivers/staging/media/omap4iss/iss_video.c 		if (video->type == V4L2_BUF_TYPE_VIDEO_OUTPUT)
video             722 drivers/staging/media/omap4iss/iss_video.c 		if (video->type == V4L2_BUF_TYPE_VIDEO_CAPTURE)
video             728 drivers/staging/media/omap4iss/iss_video.c 	subdev = iss_video_remote_subdev(video, &pad);
video             733 drivers/staging/media/omap4iss/iss_video.c 	mutex_lock(&video->mutex);
video             735 drivers/staging/media/omap4iss/iss_video.c 	mutex_unlock(&video->mutex);
video             746 drivers/staging/media/omap4iss/iss_video.c 	struct iss_video *video = video_drvdata(file);
video             748 drivers/staging/media/omap4iss/iss_video.c 	if (video->type != V4L2_BUF_TYPE_VIDEO_OUTPUT ||
video             749 drivers/staging/media/omap4iss/iss_video.c 	    video->type != a->type)
video             764 drivers/staging/media/omap4iss/iss_video.c 	struct iss_video *video = video_drvdata(file);
video             766 drivers/staging/media/omap4iss/iss_video.c 	if (video->type != V4L2_BUF_TYPE_VIDEO_OUTPUT ||
video             767 drivers/staging/media/omap4iss/iss_video.c 	    video->type != a->type)
video             797 drivers/staging/media/omap4iss/iss_video.c 	struct iss_video *video = video_drvdata(file);
video             800 drivers/staging/media/omap4iss/iss_video.c 	return vb2_qbuf(&vfh->queue, video->video.v4l2_dev->mdev, b);
video             854 drivers/staging/media/omap4iss/iss_video.c 	struct iss_video *video = video_drvdata(file);
video             856 drivers/staging/media/omap4iss/iss_video.c 	struct media_entity *entity = &video->video.entity;
video             863 drivers/staging/media/omap4iss/iss_video.c 	if (type != video->type)
video             866 drivers/staging/media/omap4iss/iss_video.c 	mutex_lock(&video->stream_lock);
video             873 drivers/staging/media/omap4iss/iss_video.c 	     ? to_iss_pipeline(entity) : &video->pipe;
video             886 drivers/staging/media/omap4iss/iss_video.c 	if (video->iss->pdata->set_constraints)
video             887 drivers/staging/media/omap4iss/iss_video.c 		video->iss->pdata->set_constraints(video->iss, true);
video             901 drivers/staging/media/omap4iss/iss_video.c 	ret = iss_video_check_format(video, vfh);
video             905 drivers/staging/media/omap4iss/iss_video.c 	video->bpl_padding = ret;
video             906 drivers/staging/media/omap4iss/iss_video.c 	video->bpl_value = vfh->format.fmt.pix.bytesperline;
video             912 drivers/staging/media/omap4iss/iss_video.c 	far_end = iss_video_far_end(video);
video             914 drivers/staging/media/omap4iss/iss_video.c 	if (video->type == V4L2_BUF_TYPE_VIDEO_CAPTURE) {
video             917 drivers/staging/media/omap4iss/iss_video.c 		pipe->output = video;
video             925 drivers/staging/media/omap4iss/iss_video.c 		pipe->input = video;
video             939 drivers/staging/media/omap4iss/iss_video.c 	if (video->type == V4L2_BUF_TYPE_VIDEO_OUTPUT)
video             942 drivers/staging/media/omap4iss/iss_video.c 	video->queue = &vfh->queue;
video             943 drivers/staging/media/omap4iss/iss_video.c 	INIT_LIST_HEAD(&video->dmaqueue);
video             944 drivers/staging/media/omap4iss/iss_video.c 	video->error = false;
video             963 drivers/staging/media/omap4iss/iss_video.c 		spin_lock_irqsave(&video->qlock, flags);
video             964 drivers/staging/media/omap4iss/iss_video.c 		if (list_empty(&video->dmaqueue))
video             965 drivers/staging/media/omap4iss/iss_video.c 			video->dmaqueue_flags |= ISS_VIDEO_DMAQUEUE_UNDERRUN;
video             966 drivers/staging/media/omap4iss/iss_video.c 		spin_unlock_irqrestore(&video->qlock, flags);
video             971 drivers/staging/media/omap4iss/iss_video.c 	mutex_unlock(&video->stream_lock);
video             978 drivers/staging/media/omap4iss/iss_video.c 	media_pipeline_stop(&video->video.entity);
video             980 drivers/staging/media/omap4iss/iss_video.c 	if (video->iss->pdata->set_constraints)
video             981 drivers/staging/media/omap4iss/iss_video.c 		video->iss->pdata->set_constraints(video->iss, false);
video             982 drivers/staging/media/omap4iss/iss_video.c 	video->queue = NULL;
video             989 drivers/staging/media/omap4iss/iss_video.c 	mutex_unlock(&video->stream_lock);
video             998 drivers/staging/media/omap4iss/iss_video.c 	struct iss_video *video = video_drvdata(file);
video             999 drivers/staging/media/omap4iss/iss_video.c 	struct iss_pipeline *pipe = to_iss_pipeline(&video->video.entity);
video            1003 drivers/staging/media/omap4iss/iss_video.c 	if (type != video->type)
video            1006 drivers/staging/media/omap4iss/iss_video.c 	mutex_lock(&video->stream_lock);
video            1012 drivers/staging/media/omap4iss/iss_video.c 	if (video->type == V4L2_BUF_TYPE_VIDEO_CAPTURE)
video            1026 drivers/staging/media/omap4iss/iss_video.c 	video->queue = NULL;
video            1030 drivers/staging/media/omap4iss/iss_video.c 	if (video->iss->pdata->set_constraints)
video            1031 drivers/staging/media/omap4iss/iss_video.c 		video->iss->pdata->set_constraints(video->iss, false);
video            1032 drivers/staging/media/omap4iss/iss_video.c 	media_pipeline_stop(&video->video.entity);
video            1035 drivers/staging/media/omap4iss/iss_video.c 	mutex_unlock(&video->stream_lock);
video            1096 drivers/staging/media/omap4iss/iss_video.c 	struct iss_video *video = video_drvdata(file);
video            1105 drivers/staging/media/omap4iss/iss_video.c 	v4l2_fh_init(&handle->vfh, &video->video);
video            1109 drivers/staging/media/omap4iss/iss_video.c 	if (!omap4iss_get(video->iss)) {
video            1114 drivers/staging/media/omap4iss/iss_video.c 	ret = v4l2_pipeline_pm_use(&video->video.entity, 1);
video            1116 drivers/staging/media/omap4iss/iss_video.c 		omap4iss_put(video->iss);
video            1122 drivers/staging/media/omap4iss/iss_video.c 	q->type = video->type;
video            1129 drivers/staging/media/omap4iss/iss_video.c 	q->dev = video->iss->dev;
video            1133 drivers/staging/media/omap4iss/iss_video.c 		omap4iss_put(video->iss);
video            1138 drivers/staging/media/omap4iss/iss_video.c 	handle->format.type = video->type;
video            1141 drivers/staging/media/omap4iss/iss_video.c 	handle->video = video;
video            1156 drivers/staging/media/omap4iss/iss_video.c 	struct iss_video *video = video_drvdata(file);
video            1161 drivers/staging/media/omap4iss/iss_video.c 	iss_video_streamoff(file, vfh, video->type);
video            1163 drivers/staging/media/omap4iss/iss_video.c 	v4l2_pipeline_pm_use(&video->video.entity, 0);
video            1173 drivers/staging/media/omap4iss/iss_video.c 	omap4iss_put(video->iss);
video            1208 drivers/staging/media/omap4iss/iss_video.c int omap4iss_video_init(struct iss_video *video, const char *name)
video            1213 drivers/staging/media/omap4iss/iss_video.c 	switch (video->type) {
video            1216 drivers/staging/media/omap4iss/iss_video.c 		video->pad.flags = MEDIA_PAD_FL_SINK;
video            1220 drivers/staging/media/omap4iss/iss_video.c 		video->pad.flags = MEDIA_PAD_FL_SOURCE;
video            1227 drivers/staging/media/omap4iss/iss_video.c 	ret = media_entity_pads_init(&video->video.entity, 1, &video->pad);
video            1231 drivers/staging/media/omap4iss/iss_video.c 	spin_lock_init(&video->qlock);
video            1232 drivers/staging/media/omap4iss/iss_video.c 	mutex_init(&video->mutex);
video            1233 drivers/staging/media/omap4iss/iss_video.c 	atomic_set(&video->active, 0);
video            1235 drivers/staging/media/omap4iss/iss_video.c 	spin_lock_init(&video->pipe.lock);
video            1236 drivers/staging/media/omap4iss/iss_video.c 	mutex_init(&video->stream_lock);
video            1239 drivers/staging/media/omap4iss/iss_video.c 	if (!video->ops)
video            1240 drivers/staging/media/omap4iss/iss_video.c 		video->ops = &iss_video_dummy_ops;
video            1242 drivers/staging/media/omap4iss/iss_video.c 	video->video.fops = &iss_video_fops;
video            1243 drivers/staging/media/omap4iss/iss_video.c 	snprintf(video->video.name, sizeof(video->video.name),
video            1245 drivers/staging/media/omap4iss/iss_video.c 	video->video.vfl_type = VFL_TYPE_GRABBER;
video            1246 drivers/staging/media/omap4iss/iss_video.c 	video->video.release = video_device_release_empty;
video            1247 drivers/staging/media/omap4iss/iss_video.c 	video->video.ioctl_ops = &iss_video_ioctl_ops;
video            1248 drivers/staging/media/omap4iss/iss_video.c 	video->pipe.stream_state = ISS_PIPELINE_STREAM_STOPPED;
video            1250 drivers/staging/media/omap4iss/iss_video.c 	video_set_drvdata(&video->video, video);
video            1255 drivers/staging/media/omap4iss/iss_video.c void omap4iss_video_cleanup(struct iss_video *video)
video            1257 drivers/staging/media/omap4iss/iss_video.c 	media_entity_cleanup(&video->video.entity);
video            1258 drivers/staging/media/omap4iss/iss_video.c 	mutex_destroy(&video->stream_lock);
video            1259 drivers/staging/media/omap4iss/iss_video.c 	mutex_destroy(&video->mutex);
video            1262 drivers/staging/media/omap4iss/iss_video.c int omap4iss_video_register(struct iss_video *video, struct v4l2_device *vdev)
video            1266 drivers/staging/media/omap4iss/iss_video.c 	video->video.v4l2_dev = vdev;
video            1267 drivers/staging/media/omap4iss/iss_video.c 	if (video->type == V4L2_BUF_TYPE_VIDEO_CAPTURE)
video            1268 drivers/staging/media/omap4iss/iss_video.c 		video->video.device_caps = V4L2_CAP_VIDEO_CAPTURE;
video            1270 drivers/staging/media/omap4iss/iss_video.c 		video->video.device_caps = V4L2_CAP_VIDEO_OUTPUT;
video            1271 drivers/staging/media/omap4iss/iss_video.c 	video->video.device_caps |= V4L2_CAP_STREAMING;
video            1273 drivers/staging/media/omap4iss/iss_video.c 	ret = video_register_device(&video->video, VFL_TYPE_GRABBER, -1);
video            1275 drivers/staging/media/omap4iss/iss_video.c 		dev_err(video->iss->dev,
video            1281 drivers/staging/media/omap4iss/iss_video.c void omap4iss_video_unregister(struct iss_video *video)
video            1283 drivers/staging/media/omap4iss/iss_video.c 	video_unregister_device(&video->video);
video             128 drivers/staging/media/omap4iss/iss_video.h #define iss_video_dmaqueue_flags_clr(video)	\
video             129 drivers/staging/media/omap4iss/iss_video.h 			({ (video)->dmaqueue_flags = 0; })
video             137 drivers/staging/media/omap4iss/iss_video.h 	int (*queue)(struct iss_video *video, struct iss_buffer *buffer);
video             141 drivers/staging/media/omap4iss/iss_video.h 	struct video_device video;
video             171 drivers/staging/media/omap4iss/iss_video.h #define to_iss_video(vdev)	container_of(vdev, struct iss_video, video)
video             175 drivers/staging/media/omap4iss/iss_video.h 	struct iss_video *video;
video             185 drivers/staging/media/omap4iss/iss_video.h int omap4iss_video_init(struct iss_video *video, const char *name);
video             186 drivers/staging/media/omap4iss/iss_video.h void omap4iss_video_cleanup(struct iss_video *video);
video             187 drivers/staging/media/omap4iss/iss_video.h int omap4iss_video_register(struct iss_video *video,
video             189 drivers/staging/media/omap4iss/iss_video.h void omap4iss_video_unregister(struct iss_video *video);
video             190 drivers/staging/media/omap4iss/iss_video.h struct iss_buffer *omap4iss_video_buffer_next(struct iss_video *video);
video             191 drivers/staging/media/omap4iss/iss_video.h void omap4iss_video_cancel_stream(struct iss_video *video);
video             192 drivers/staging/media/omap4iss/iss_video.h struct media_pad *omap4iss_video_remote_pad(struct iss_video *video);
video             287 drivers/staging/media/soc_camera/imx074.c 	.video	= &imx074_subdev_video_ops,
video             744 drivers/staging/media/soc_camera/mt9t031.c 	.video	= &mt9t031_subdev_video_ops,
video             336 drivers/staging/media/soc_camera/soc_camera.c 	return v4l2_subdev_call(sd, video, s_std, a);
video             344 drivers/staging/media/soc_camera/soc_camera.c 	return v4l2_subdev_call(sd, video, g_std, a);
video             929 drivers/staging/media/soc_camera/soc_camera.c 		v4l2_subdev_call(sd, video, s_stream, 1);
video             955 drivers/staging/media/soc_camera/soc_camera.c 	v4l2_subdev_call(sd, video, s_stream, 0);
video            1176 drivers/staging/media/soc_camera/soc_camera.c 	v4l2_subdev_call(sd, video, g_tvnorms, &icd->vdev->tvnorms);
video             876 drivers/staging/media/soc_camera/soc_mt9v022.c 	.video	= &mt9v022_subdev_video_ops,
video             965 drivers/staging/media/soc_camera/soc_ov5642.c 	.video	= &ov5642_subdev_video_ops,
video             910 drivers/staging/media/soc_camera/soc_ov9740.c 	.video	= &ov9740_video_ops,
video             828 drivers/staging/vc04_services/bcm2835-camera/bcm2835-camera.c 	a->fmt.width = preview_port->es.video.width;
video             829 drivers/staging/vc04_services/bcm2835-camera/bcm2835-camera.c 	a->fmt.height = preview_port->es.video.height;
video             831 drivers/staging/vc04_services/bcm2835-camera/bcm2835-camera.c 	a->fmt.bytesperline = preview_port->es.video.width;
video             832 drivers/staging/vc04_services/bcm2835-camera/bcm2835-camera.c 	a->fmt.sizeimage = (preview_port->es.video.width *
video             833 drivers/staging/vc04_services/bcm2835-camera/bcm2835-camera.c 			       preview_port->es.video.height * 3) >> 1;
video            1081 drivers/staging/vc04_services/bcm2835-camera/bcm2835-camera.c 	camera_port->es.video.width = f->fmt.pix.width;
video            1082 drivers/staging/vc04_services/bcm2835-camera/bcm2835-camera.c 	camera_port->es.video.height = f->fmt.pix.height;
video            1083 drivers/staging/vc04_services/bcm2835-camera/bcm2835-camera.c 	camera_port->es.video.crop.x = 0;
video            1084 drivers/staging/vc04_services/bcm2835-camera/bcm2835-camera.c 	camera_port->es.video.crop.y = 0;
video            1085 drivers/staging/vc04_services/bcm2835-camera/bcm2835-camera.c 	camera_port->es.video.crop.width = f->fmt.pix.width;
video            1086 drivers/staging/vc04_services/bcm2835-camera/bcm2835-camera.c 	camera_port->es.video.crop.height = f->fmt.pix.height;
video            1087 drivers/staging/vc04_services/bcm2835-camera/bcm2835-camera.c 	camera_port->es.video.frame_rate.num = 0;
video            1088 drivers/staging/vc04_services/bcm2835-camera/bcm2835-camera.c 	camera_port->es.video.frame_rate.den = 1;
video            1089 drivers/staging/vc04_services/bcm2835-camera/bcm2835-camera.c 	camera_port->es.video.color_space = MMAL_COLOR_SPACE_JPEG_JFIF;
video            1115 drivers/staging/vc04_services/bcm2835-camera/bcm2835-camera.c 		preview_port->es.video.width = f->fmt.pix.width;
video            1116 drivers/staging/vc04_services/bcm2835-camera/bcm2835-camera.c 		preview_port->es.video.height = f->fmt.pix.height;
video            1117 drivers/staging/vc04_services/bcm2835-camera/bcm2835-camera.c 		preview_port->es.video.crop.x = 0;
video            1118 drivers/staging/vc04_services/bcm2835-camera/bcm2835-camera.c 		preview_port->es.video.crop.y = 0;
video            1119 drivers/staging/vc04_services/bcm2835-camera/bcm2835-camera.c 		preview_port->es.video.crop.width = f->fmt.pix.width;
video            1120 drivers/staging/vc04_services/bcm2835-camera/bcm2835-camera.c 		preview_port->es.video.crop.height = f->fmt.pix.height;
video            1121 drivers/staging/vc04_services/bcm2835-camera/bcm2835-camera.c 		preview_port->es.video.frame_rate.num =
video            1123 drivers/staging/vc04_services/bcm2835-camera/bcm2835-camera.c 		preview_port->es.video.frame_rate.den =
video            1169 drivers/staging/vc04_services/bcm2835-camera/bcm2835-camera.c 				port->es.video.width = f->fmt.pix.width;
video            1170 drivers/staging/vc04_services/bcm2835-camera/bcm2835-camera.c 				port->es.video.height = f->fmt.pix.height;
video            1171 drivers/staging/vc04_services/bcm2835-camera/bcm2835-camera.c 				port->es.video.crop.x = 0;
video            1172 drivers/staging/vc04_services/bcm2835-camera/bcm2835-camera.c 				port->es.video.crop.y = 0;
video            1173 drivers/staging/vc04_services/bcm2835-camera/bcm2835-camera.c 				port->es.video.crop.width = f->fmt.pix.width;
video            1174 drivers/staging/vc04_services/bcm2835-camera/bcm2835-camera.c 				port->es.video.crop.height = f->fmt.pix.height;
video            1175 drivers/staging/vc04_services/bcm2835-camera/bcm2835-camera.c 				port->es.video.frame_rate.num =
video            1177 drivers/staging/vc04_services/bcm2835-camera/bcm2835-camera.c 				port->es.video.frame_rate.den =
video            1251 drivers/staging/vc04_services/bcm2835-camera/bcm2835-camera.c 			dev->capture.width = camera_port->es.video.crop.width;
video            1252 drivers/staging/vc04_services/bcm2835-camera/bcm2835-camera.c 			dev->capture.height = camera_port->es.video.crop.height;
video            1613 drivers/staging/vc04_services/bcm2835-camera/bcm2835-camera.c 	format->es->video.width = 1024;
video            1614 drivers/staging/vc04_services/bcm2835-camera/bcm2835-camera.c 	format->es->video.height = 768;
video            1615 drivers/staging/vc04_services/bcm2835-camera/bcm2835-camera.c 	format->es->video.crop.x = 0;
video            1616 drivers/staging/vc04_services/bcm2835-camera/bcm2835-camera.c 	format->es->video.crop.y = 0;
video            1617 drivers/staging/vc04_services/bcm2835-camera/bcm2835-camera.c 	format->es->video.crop.width = 1024;
video            1618 drivers/staging/vc04_services/bcm2835-camera/bcm2835-camera.c 	format->es->video.crop.height = 768;
video            1619 drivers/staging/vc04_services/bcm2835-camera/bcm2835-camera.c 	format->es->video.frame_rate.num = 0; /* Rely on fps_range */
video            1620 drivers/staging/vc04_services/bcm2835-camera/bcm2835-camera.c 	format->es->video.frame_rate.den = 1;
video            1627 drivers/staging/vc04_services/bcm2835-camera/bcm2835-camera.c 	format->es->video.width = 1024;
video            1628 drivers/staging/vc04_services/bcm2835-camera/bcm2835-camera.c 	format->es->video.height = 768;
video            1629 drivers/staging/vc04_services/bcm2835-camera/bcm2835-camera.c 	format->es->video.crop.x = 0;
video            1630 drivers/staging/vc04_services/bcm2835-camera/bcm2835-camera.c 	format->es->video.crop.y = 0;
video            1631 drivers/staging/vc04_services/bcm2835-camera/bcm2835-camera.c 	format->es->video.crop.width = 1024;
video            1632 drivers/staging/vc04_services/bcm2835-camera/bcm2835-camera.c 	format->es->video.crop.height = 768;
video            1633 drivers/staging/vc04_services/bcm2835-camera/bcm2835-camera.c 	format->es->video.frame_rate.num = 0; /* Rely on fps_range */
video            1634 drivers/staging/vc04_services/bcm2835-camera/bcm2835-camera.c 	format->es->video.frame_rate.den = 1;
video            1640 drivers/staging/vc04_services/bcm2835-camera/bcm2835-camera.c 	format->es->video.width = 2592;
video            1641 drivers/staging/vc04_services/bcm2835-camera/bcm2835-camera.c 	format->es->video.height = 1944;
video            1642 drivers/staging/vc04_services/bcm2835-camera/bcm2835-camera.c 	format->es->video.crop.x = 0;
video            1643 drivers/staging/vc04_services/bcm2835-camera/bcm2835-camera.c 	format->es->video.crop.y = 0;
video            1644 drivers/staging/vc04_services/bcm2835-camera/bcm2835-camera.c 	format->es->video.crop.width = 2592;
video            1645 drivers/staging/vc04_services/bcm2835-camera/bcm2835-camera.c 	format->es->video.crop.height = 1944;
video            1646 drivers/staging/vc04_services/bcm2835-camera/bcm2835-camera.c 	format->es->video.frame_rate.num = 0; /* Rely on fps_range */
video            1647 drivers/staging/vc04_services/bcm2835-camera/bcm2835-camera.c 	format->es->video.frame_rate.den = 1;
video            1649 drivers/staging/vc04_services/bcm2835-camera/bcm2835-camera.c 	dev->capture.width = format->es->video.width;
video            1650 drivers/staging/vc04_services/bcm2835-camera/bcm2835-camera.c 	dev->capture.height = format->es->video.height;
video              50 drivers/staging/vc04_services/bcm2835-camera/mmal-msg-format.h 	struct mmal_video_format video;
video             286 drivers/staging/vc04_services/bcm2835-camera/mmal-msg.h 		} video;
video             730 drivers/staging/vc04_services/bcm2835-camera/mmal-vchiq.c 		     port->es.video.width, port->es.video.height,
video             731 drivers/staging/vc04_services/bcm2835-camera/mmal-vchiq.c 		     port->es.video.color_space);
video             734 drivers/staging/vc04_services/bcm2835-camera/mmal-vchiq.c 			 port->es.video.crop.x,
video             735 drivers/staging/vc04_services/bcm2835-camera/mmal-vchiq.c 			 port->es.video.crop.y,
video             736 drivers/staging/vc04_services/bcm2835-camera/mmal-vchiq.c 			 port->es.video.crop.width, port->es.video.crop.height);
video             738 drivers/staging/vc04_services/bcm2835-camera/mmal-vchiq.c 			 port->es.video.frame_rate.num,
video             739 drivers/staging/vc04_services/bcm2835-camera/mmal-vchiq.c 			 port->es.video.frame_rate.den,
video             740 drivers/staging/vc04_services/bcm2835-camera/mmal-vchiq.c 			 port->es.video.par.num, port->es.video.par.den);
video            1527 drivers/staging/vc04_services/bcm2835-camera/mmal-vchiq.c 	dst->es.video.width = src->es.video.width;
video            1528 drivers/staging/vc04_services/bcm2835-camera/mmal-vchiq.c 	dst->es.video.height = src->es.video.height;
video            1529 drivers/staging/vc04_services/bcm2835-camera/mmal-vchiq.c 	dst->es.video.crop.x = src->es.video.crop.x;
video            1530 drivers/staging/vc04_services/bcm2835-camera/mmal-vchiq.c 	dst->es.video.crop.y = src->es.video.crop.y;
video            1531 drivers/staging/vc04_services/bcm2835-camera/mmal-vchiq.c 	dst->es.video.crop.width = src->es.video.crop.width;
video            1532 drivers/staging/vc04_services/bcm2835-camera/mmal-vchiq.c 	dst->es.video.crop.height = src->es.video.crop.height;
video            1533 drivers/staging/vc04_services/bcm2835-camera/mmal-vchiq.c 	dst->es.video.frame_rate.num = src->es.video.frame_rate.num;
video            1534 drivers/staging/vc04_services/bcm2835-camera/mmal-vchiq.c 	dst->es.video.frame_rate.den = src->es.video.frame_rate.den;
video             897 drivers/thunderbolt/switch.c int tb_dp_port_set_hops(struct tb_port *port, unsigned int video,
video             911 drivers/thunderbolt/switch.c 	data[0] |= (video << TB_DP_VIDEO_HOPID_SHIFT) & TB_DP_VIDEO_HOPID_MASK;
video             614 drivers/thunderbolt/tb.h int tb_dp_port_set_hops(struct tb_port *port, unsigned int video,
video             271 drivers/usb/gadget/function/f_uvc.c 		return uvc->video.ep->enabled ? 1 : 0;
video             323 drivers/usb/gadget/function/f_uvc.c 		if (uvc->video.ep)
video             324 drivers/usb/gadget/function/f_uvc.c 			usb_ep_disable(uvc->video.ep);
video             337 drivers/usb/gadget/function/f_uvc.c 		if (!uvc->video.ep)
video             341 drivers/usb/gadget/function/f_uvc.c 		usb_ep_disable(uvc->video.ep);
video             344 drivers/usb/gadget/function/f_uvc.c 				&(uvc->func), uvc->video.ep);
video             347 drivers/usb/gadget/function/f_uvc.c 		usb_ep_enable(uvc->video.ep);
video             373 drivers/usb/gadget/function/f_uvc.c 	usb_ep_disable(uvc->video.ep);
video             425 drivers/usb/gadget/function/f_uvc.c 	uvc->vdev.lock = &uvc->video.mutex;
video             576 drivers/usb/gadget/function/f_uvc.c 	uvc_streaming_header->bEndpointAddress = uvc->video.ep->address;
video             666 drivers/usb/gadget/function/f_uvc.c 	uvc->video.ep = ep;
video             668 drivers/usb/gadget/function/f_uvc.c 	uvc_fs_streaming_ep.bEndpointAddress = uvc->video.ep->address;
video             669 drivers/usb/gadget/function/f_uvc.c 	uvc_hs_streaming_ep.bEndpointAddress = uvc->video.ep->address;
video             670 drivers/usb/gadget/function/f_uvc.c 	uvc_ss_streaming_ep.bEndpointAddress = uvc->video.ep->address;
video             741 drivers/usb/gadget/function/f_uvc.c 	ret = uvcg_video_init(&uvc->video, uvc);
video             907 drivers/usb/gadget/function/f_uvc.c 	mutex_init(&uvc->video.mutex);
video              95 drivers/usb/gadget/function/uvc.h 	void (*encode) (struct usb_request *req, struct uvc_video *video,
video             117 drivers/usb/gadget/function/uvc.h 	struct uvc_video video;
video              45 drivers/usb/gadget/function/uvc_queue.c 	struct uvc_video *video = container_of(queue, struct uvc_video, queue);
video              52 drivers/usb/gadget/function/uvc_queue.c 	sizes[0] = video->imagesize;
video              82 drivers/usb/gadget/function/uvc_v4l2.c 	struct uvc_video *video = &uvc->video;
video              84 drivers/usb/gadget/function/uvc_v4l2.c 	fmt->fmt.pix.pixelformat = video->fcc;
video              85 drivers/usb/gadget/function/uvc_v4l2.c 	fmt->fmt.pix.width = video->width;
video              86 drivers/usb/gadget/function/uvc_v4l2.c 	fmt->fmt.pix.height = video->height;
video              88 drivers/usb/gadget/function/uvc_v4l2.c 	fmt->fmt.pix.bytesperline = video->bpp * video->width / 8;
video              89 drivers/usb/gadget/function/uvc_v4l2.c 	fmt->fmt.pix.sizeimage = video->imagesize;
video             101 drivers/usb/gadget/function/uvc_v4l2.c 	struct uvc_video *video = &uvc->video;
video             122 drivers/usb/gadget/function/uvc_v4l2.c 	video->fcc = format->fcc;
video             123 drivers/usb/gadget/function/uvc_v4l2.c 	video->bpp = format->bpp;
video             124 drivers/usb/gadget/function/uvc_v4l2.c 	video->width = fmt->fmt.pix.width;
video             125 drivers/usb/gadget/function/uvc_v4l2.c 	video->height = fmt->fmt.pix.height;
video             126 drivers/usb/gadget/function/uvc_v4l2.c 	video->imagesize = imagesize;
video             142 drivers/usb/gadget/function/uvc_v4l2.c 	struct uvc_video *video = &uvc->video;
video             144 drivers/usb/gadget/function/uvc_v4l2.c 	if (b->type != video->queue.queue.type)
video             147 drivers/usb/gadget/function/uvc_v4l2.c 	return uvcg_alloc_buffers(&video->queue, b);
video             155 drivers/usb/gadget/function/uvc_v4l2.c 	struct uvc_video *video = &uvc->video;
video             157 drivers/usb/gadget/function/uvc_v4l2.c 	return uvcg_query_buffer(&video->queue, b);
video             165 drivers/usb/gadget/function/uvc_v4l2.c 	struct uvc_video *video = &uvc->video;
video             168 drivers/usb/gadget/function/uvc_v4l2.c 	ret = uvcg_queue_buffer(&video->queue, b);
video             172 drivers/usb/gadget/function/uvc_v4l2.c 	return uvcg_video_pump(video);
video             180 drivers/usb/gadget/function/uvc_v4l2.c 	struct uvc_video *video = &uvc->video;
video             182 drivers/usb/gadget/function/uvc_v4l2.c 	return uvcg_dequeue_buffer(&video->queue, b, file->f_flags & O_NONBLOCK);
video             190 drivers/usb/gadget/function/uvc_v4l2.c 	struct uvc_video *video = &uvc->video;
video             193 drivers/usb/gadget/function/uvc_v4l2.c 	if (type != video->queue.queue.type)
video             197 drivers/usb/gadget/function/uvc_v4l2.c 	ret = uvcg_video_enable(video, 1);
video             216 drivers/usb/gadget/function/uvc_v4l2.c 	struct uvc_video *video = &uvc->video;
video             218 drivers/usb/gadget/function/uvc_v4l2.c 	if (type != video->queue.queue.type)
video             221 drivers/usb/gadget/function/uvc_v4l2.c 	return uvcg_video_enable(video, 0);
video             290 drivers/usb/gadget/function/uvc_v4l2.c 	handle->device = &uvc->video;
video             303 drivers/usb/gadget/function/uvc_v4l2.c 	struct uvc_video *video = handle->device;
video             307 drivers/usb/gadget/function/uvc_v4l2.c 	mutex_lock(&video->mutex);
video             308 drivers/usb/gadget/function/uvc_v4l2.c 	uvcg_video_enable(video, 0);
video             309 drivers/usb/gadget/function/uvc_v4l2.c 	uvcg_free_buffers(&video->queue);
video             310 drivers/usb/gadget/function/uvc_v4l2.c 	mutex_unlock(&video->mutex);
video             326 drivers/usb/gadget/function/uvc_v4l2.c 	return uvcg_queue_mmap(&uvc->video.queue, vma);
video             335 drivers/usb/gadget/function/uvc_v4l2.c 	return uvcg_queue_poll(&uvc->video.queue, file, wait);
video             346 drivers/usb/gadget/function/uvc_v4l2.c 	return uvcg_queue_get_unmapped_area(&uvc->video.queue, pgoff);
video              27 drivers/usb/gadget/function/uvc_video.c uvc_video_encode_header(struct uvc_video *video, struct uvc_buffer *buf,
video              31 drivers/usb/gadget/function/uvc_video.c 	data[1] = UVC_STREAM_EOH | video->fid;
video              33 drivers/usb/gadget/function/uvc_video.c 	if (buf->bytesused - video->queue.buf_used <= len - 2)
video              40 drivers/usb/gadget/function/uvc_video.c uvc_video_encode_data(struct uvc_video *video, struct uvc_buffer *buf,
video              43 drivers/usb/gadget/function/uvc_video.c 	struct uvc_video_queue *queue = &video->queue;
video              58 drivers/usb/gadget/function/uvc_video.c uvc_video_encode_bulk(struct usb_request *req, struct uvc_video *video,
video              62 drivers/usb/gadget/function/uvc_video.c 	int len = video->req_size;
video              66 drivers/usb/gadget/function/uvc_video.c 	if (video->payload_size == 0) {
video              67 drivers/usb/gadget/function/uvc_video.c 		ret = uvc_video_encode_header(video, buf, mem, len);
video              68 drivers/usb/gadget/function/uvc_video.c 		video->payload_size += ret;
video              74 drivers/usb/gadget/function/uvc_video.c 	len = min((int)(video->max_payload_size - video->payload_size), len);
video              75 drivers/usb/gadget/function/uvc_video.c 	ret = uvc_video_encode_data(video, buf, mem, len);
video              77 drivers/usb/gadget/function/uvc_video.c 	video->payload_size += ret;
video              80 drivers/usb/gadget/function/uvc_video.c 	req->length = video->req_size - len;
video              81 drivers/usb/gadget/function/uvc_video.c 	req->zero = video->payload_size == video->max_payload_size;
video              83 drivers/usb/gadget/function/uvc_video.c 	if (buf->bytesused == video->queue.buf_used) {
video              84 drivers/usb/gadget/function/uvc_video.c 		video->queue.buf_used = 0;
video              86 drivers/usb/gadget/function/uvc_video.c 		uvcg_queue_next_buffer(&video->queue, buf);
video              87 drivers/usb/gadget/function/uvc_video.c 		video->fid ^= UVC_STREAM_FID;
video              89 drivers/usb/gadget/function/uvc_video.c 		video->payload_size = 0;
video              92 drivers/usb/gadget/function/uvc_video.c 	if (video->payload_size == video->max_payload_size ||
video              93 drivers/usb/gadget/function/uvc_video.c 	    buf->bytesused == video->queue.buf_used)
video              94 drivers/usb/gadget/function/uvc_video.c 		video->payload_size = 0;
video              98 drivers/usb/gadget/function/uvc_video.c uvc_video_encode_isoc(struct usb_request *req, struct uvc_video *video,
video             102 drivers/usb/gadget/function/uvc_video.c 	int len = video->req_size;
video             106 drivers/usb/gadget/function/uvc_video.c 	ret = uvc_video_encode_header(video, buf, mem, len);
video             111 drivers/usb/gadget/function/uvc_video.c 	ret = uvc_video_encode_data(video, buf, mem, len);
video             114 drivers/usb/gadget/function/uvc_video.c 	req->length = video->req_size - len;
video             116 drivers/usb/gadget/function/uvc_video.c 	if (buf->bytesused == video->queue.buf_used) {
video             117 drivers/usb/gadget/function/uvc_video.c 		video->queue.buf_used = 0;
video             119 drivers/usb/gadget/function/uvc_video.c 		uvcg_queue_next_buffer(&video->queue, buf);
video             120 drivers/usb/gadget/function/uvc_video.c 		video->fid ^= UVC_STREAM_FID;
video             128 drivers/usb/gadget/function/uvc_video.c static int uvcg_video_ep_queue(struct uvc_video *video, struct usb_request *req)
video             132 drivers/usb/gadget/function/uvc_video.c 	ret = usb_ep_queue(video->ep, req, GFP_ATOMIC);
video             134 drivers/usb/gadget/function/uvc_video.c 		uvcg_err(&video->uvc->func, "Failed to queue request (%d).\n",
video             138 drivers/usb/gadget/function/uvc_video.c 		if (usb_endpoint_xfer_bulk(video->ep->desc))
video             139 drivers/usb/gadget/function/uvc_video.c 			usb_ep_set_halt(video->ep);
video             178 drivers/usb/gadget/function/uvc_video.c 	struct uvc_video *video = req->context;
video             179 drivers/usb/gadget/function/uvc_video.c 	struct uvc_video_queue *queue = &video->queue;
video             189 drivers/usb/gadget/function/uvc_video.c 		uvcg_dbg(&video->uvc->func, "VS request cancelled.\n");
video             194 drivers/usb/gadget/function/uvc_video.c 		uvcg_info(&video->uvc->func,
video             201 drivers/usb/gadget/function/uvc_video.c 	spin_lock_irqsave(&video->queue.irqlock, flags);
video             202 drivers/usb/gadget/function/uvc_video.c 	buf = uvcg_queue_head(&video->queue);
video             204 drivers/usb/gadget/function/uvc_video.c 		spin_unlock_irqrestore(&video->queue.irqlock, flags);
video             208 drivers/usb/gadget/function/uvc_video.c 	video->encode(req, video, buf);
video             210 drivers/usb/gadget/function/uvc_video.c 	ret = uvcg_video_ep_queue(video, req);
video             211 drivers/usb/gadget/function/uvc_video.c 	spin_unlock_irqrestore(&video->queue.irqlock, flags);
video             221 drivers/usb/gadget/function/uvc_video.c 	spin_lock_irqsave(&video->req_lock, flags);
video             222 drivers/usb/gadget/function/uvc_video.c 	list_add_tail(&req->list, &video->req_free);
video             223 drivers/usb/gadget/function/uvc_video.c 	spin_unlock_irqrestore(&video->req_lock, flags);
video             227 drivers/usb/gadget/function/uvc_video.c uvc_video_free_requests(struct uvc_video *video)
video             232 drivers/usb/gadget/function/uvc_video.c 		if (video->req[i]) {
video             233 drivers/usb/gadget/function/uvc_video.c 			usb_ep_free_request(video->ep, video->req[i]);
video             234 drivers/usb/gadget/function/uvc_video.c 			video->req[i] = NULL;
video             237 drivers/usb/gadget/function/uvc_video.c 		if (video->req_buffer[i]) {
video             238 drivers/usb/gadget/function/uvc_video.c 			kfree(video->req_buffer[i]);
video             239 drivers/usb/gadget/function/uvc_video.c 			video->req_buffer[i] = NULL;
video             243 drivers/usb/gadget/function/uvc_video.c 	INIT_LIST_HEAD(&video->req_free);
video             244 drivers/usb/gadget/function/uvc_video.c 	video->req_size = 0;
video             249 drivers/usb/gadget/function/uvc_video.c uvc_video_alloc_requests(struct uvc_video *video)
video             255 drivers/usb/gadget/function/uvc_video.c 	BUG_ON(video->req_size);
video             257 drivers/usb/gadget/function/uvc_video.c 	req_size = video->ep->maxpacket
video             258 drivers/usb/gadget/function/uvc_video.c 		 * max_t(unsigned int, video->ep->maxburst, 1)
video             259 drivers/usb/gadget/function/uvc_video.c 		 * (video->ep->mult);
video             262 drivers/usb/gadget/function/uvc_video.c 		video->req_buffer[i] = kmalloc(req_size, GFP_KERNEL);
video             263 drivers/usb/gadget/function/uvc_video.c 		if (video->req_buffer[i] == NULL)
video             266 drivers/usb/gadget/function/uvc_video.c 		video->req[i] = usb_ep_alloc_request(video->ep, GFP_KERNEL);
video             267 drivers/usb/gadget/function/uvc_video.c 		if (video->req[i] == NULL)
video             270 drivers/usb/gadget/function/uvc_video.c 		video->req[i]->buf = video->req_buffer[i];
video             271 drivers/usb/gadget/function/uvc_video.c 		video->req[i]->length = 0;
video             272 drivers/usb/gadget/function/uvc_video.c 		video->req[i]->complete = uvc_video_complete;
video             273 drivers/usb/gadget/function/uvc_video.c 		video->req[i]->context = video;
video             275 drivers/usb/gadget/function/uvc_video.c 		list_add_tail(&video->req[i]->list, &video->req_free);
video             278 drivers/usb/gadget/function/uvc_video.c 	video->req_size = req_size;
video             283 drivers/usb/gadget/function/uvc_video.c 	uvc_video_free_requests(video);
video             297 drivers/usb/gadget/function/uvc_video.c int uvcg_video_pump(struct uvc_video *video)
video             299 drivers/usb/gadget/function/uvc_video.c 	struct uvc_video_queue *queue = &video->queue;
video             313 drivers/usb/gadget/function/uvc_video.c 		spin_lock_irqsave(&video->req_lock, flags);
video             314 drivers/usb/gadget/function/uvc_video.c 		if (list_empty(&video->req_free)) {
video             315 drivers/usb/gadget/function/uvc_video.c 			spin_unlock_irqrestore(&video->req_lock, flags);
video             318 drivers/usb/gadget/function/uvc_video.c 		req = list_first_entry(&video->req_free, struct usb_request,
video             321 drivers/usb/gadget/function/uvc_video.c 		spin_unlock_irqrestore(&video->req_lock, flags);
video             333 drivers/usb/gadget/function/uvc_video.c 		video->encode(req, video, buf);
video             336 drivers/usb/gadget/function/uvc_video.c 		ret = uvcg_video_ep_queue(video, req);
video             345 drivers/usb/gadget/function/uvc_video.c 	spin_lock_irqsave(&video->req_lock, flags);
video             346 drivers/usb/gadget/function/uvc_video.c 	list_add_tail(&req->list, &video->req_free);
video             347 drivers/usb/gadget/function/uvc_video.c 	spin_unlock_irqrestore(&video->req_lock, flags);
video             354 drivers/usb/gadget/function/uvc_video.c int uvcg_video_enable(struct uvc_video *video, int enable)
video             359 drivers/usb/gadget/function/uvc_video.c 	if (video->ep == NULL) {
video             360 drivers/usb/gadget/function/uvc_video.c 		uvcg_info(&video->uvc->func,
video             367 drivers/usb/gadget/function/uvc_video.c 			if (video->req[i])
video             368 drivers/usb/gadget/function/uvc_video.c 				usb_ep_dequeue(video->ep, video->req[i]);
video             370 drivers/usb/gadget/function/uvc_video.c 		uvc_video_free_requests(video);
video             371 drivers/usb/gadget/function/uvc_video.c 		uvcg_queue_enable(&video->queue, 0);
video             375 drivers/usb/gadget/function/uvc_video.c 	if ((ret = uvcg_queue_enable(&video->queue, 1)) < 0)
video             378 drivers/usb/gadget/function/uvc_video.c 	if ((ret = uvc_video_alloc_requests(video)) < 0)
video             381 drivers/usb/gadget/function/uvc_video.c 	if (video->max_payload_size) {
video             382 drivers/usb/gadget/function/uvc_video.c 		video->encode = uvc_video_encode_bulk;
video             383 drivers/usb/gadget/function/uvc_video.c 		video->payload_size = 0;
video             385 drivers/usb/gadget/function/uvc_video.c 		video->encode = uvc_video_encode_isoc;
video             387 drivers/usb/gadget/function/uvc_video.c 	return uvcg_video_pump(video);
video             393 drivers/usb/gadget/function/uvc_video.c int uvcg_video_init(struct uvc_video *video, struct uvc_device *uvc)
video             395 drivers/usb/gadget/function/uvc_video.c 	INIT_LIST_HEAD(&video->req_free);
video             396 drivers/usb/gadget/function/uvc_video.c 	spin_lock_init(&video->req_lock);
video             398 drivers/usb/gadget/function/uvc_video.c 	video->uvc = uvc;
video             399 drivers/usb/gadget/function/uvc_video.c 	video->fcc = V4L2_PIX_FMT_YUYV;
video             400 drivers/usb/gadget/function/uvc_video.c 	video->bpp = 16;
video             401 drivers/usb/gadget/function/uvc_video.c 	video->width = 320;
video             402 drivers/usb/gadget/function/uvc_video.c 	video->height = 240;
video             403 drivers/usb/gadget/function/uvc_video.c 	video->imagesize = 320 * 240 * 2;
video             406 drivers/usb/gadget/function/uvc_video.c 	uvcg_queue_init(&video->queue, V4L2_BUF_TYPE_VIDEO_OUTPUT,
video             407 drivers/usb/gadget/function/uvc_video.c 			&video->mutex);
video              17 drivers/usb/gadget/function/uvc_video.h int uvcg_video_pump(struct uvc_video *video);
video              19 drivers/usb/gadget/function/uvc_video.h int uvcg_video_enable(struct uvc_video *video, int enable);
video              21 drivers/usb/gadget/function/uvc_video.h int uvcg_video_init(struct uvc_video *video, struct uvc_device *uvc);
video             561 drivers/video/fbdev/amba-clcd.c 	struct videomode video;
video             569 drivers/video/fbdev/amba-clcd.c 	videomode_from_timing(&timing, &video);
video             571 drivers/video/fbdev/amba-clcd.c 	err = fb_videomode_from_videomode(&video, &clcd_panel->mode);
video             426 drivers/video/fbdev/matrox/g450_pll.c 			pi = &minfo->limits.video;
video             427 drivers/video/fbdev/matrox/g450_pll.c 			ci = &minfo->cache.video;
video             727 drivers/video/fbdev/matrox/matroxfb_DAC1064.c 		matroxfb_g450_setclk(minfo, minfo->values.pll.video, M_VIDEO_PLL);
video             927 drivers/video/fbdev/matrox/matroxfb_DAC1064.c 		mga_writeb(minfo->video.vbase, 0x0000, 0xAA);
video             928 drivers/video/fbdev/matrox/matroxfb_DAC1064.c 		mga_writeb(minfo->video.vbase, 0x0800, 0x55);
video             929 drivers/video/fbdev/matrox/matroxfb_DAC1064.c 		mga_writeb(minfo->video.vbase, 0x4000, 0x55);
video             931 drivers/video/fbdev/matrox/matroxfb_DAC1064.c 		if (mga_readb(minfo->video.vbase, 0x0000) != 0xAA) {
video             421 drivers/video/fbdev/matrox/matroxfb_Ti3026.c 	if (minfo->video.len < 0x400000)
video             423 drivers/video/fbdev/matrox/matroxfb_Ti3026.c 	else if (minfo->video.len > 0x400000)
video             371 drivers/video/fbdev/matrox/matroxfb_accel.c 		vaddr_t vbase = minfo->video.vbase;
video             376 drivers/video/fbdev/matrox/matroxfb_base.c 	iounmap(minfo->video.vbase.vaddr);
video             377 drivers/video/fbdev/matrox/matroxfb_base.c 	release_mem_region(minfo->video.base, minfo->video.len_maximum);
video             567 drivers/video/fbdev/matrox/matroxfb_base.c 	vramlen = minfo->video.len_usable;
video             726 drivers/video/fbdev/matrox/matroxfb_base.c 	fix->smem_start = minfo->video.base + minfo->curr.ydstorg.bytes;
video             727 drivers/video/fbdev/matrox/matroxfb_base.c 	fix->smem_len = minfo->video.len_usable - minfo->curr.ydstorg.bytes;
video             765 drivers/video/fbdev/matrox/matroxfb_base.c 	minfo->fbcon.screen_base = vaddr_va(minfo->video.vbase) + ydstorg;
video            1292 drivers/video/fbdev/matrox/matroxfb_base.c 	vm = minfo->video.vbase;
video            1704 drivers/video/fbdev/matrox/matroxfb_base.c 	minfo->video.len_maximum = memsize;
video            1720 drivers/video/fbdev/matrox/matroxfb_base.c 	minfo->video.base = video_base_phys;
video            1721 drivers/video/fbdev/matrox/matroxfb_base.c 	minfo->video.vbase.vaddr = ioremap_wc(video_base_phys, memsize);
video            1722 drivers/video/fbdev/matrox/matroxfb_base.c 	if (!minfo->video.vbase.vaddr) {
video            1760 drivers/video/fbdev/matrox/matroxfb_base.c 	if (!matroxfb_getmemory(minfo, memsize, &minfo->video.len) || !minfo->video.len) {
video            1766 drivers/video/fbdev/matrox/matroxfb_base.c 	minfo->video.base = video_base_phys;
video            1767 drivers/video/fbdev/matrox/matroxfb_base.c 	minfo->video.len_usable = minfo->video.len;
video            1768 drivers/video/fbdev/matrox/matroxfb_base.c 	if (minfo->video.len_usable > b->base->maxdisplayable)
video            1769 drivers/video/fbdev/matrox/matroxfb_base.c 		minfo->video.len_usable = b->base->maxdisplayable;
video            1772 drivers/video/fbdev/matrox/matroxfb_base.c 						    minfo->video.len);
video            1805 drivers/video/fbdev/matrox/matroxfb_base.c 	minfo->video.len_usable &= PAGE_MASK;
video            1902 drivers/video/fbdev/matrox/matroxfb_base.c 	minfo->fbcon.screen_base = vaddr_va(minfo->video.vbase);
video            1916 drivers/video/fbdev/matrox/matroxfb_base.c 		minfo->video.base, vaddr_va(minfo->video.vbase), minfo->video.len);
video            1940 drivers/video/fbdev/matrox/matroxfb_base.c 	iounmap(minfo->video.vbase.vaddr);
video            1944 drivers/video/fbdev/matrox/matroxfb_base.c 	release_mem_region(video_base_phys, minfo->video.len_maximum);
video             397 drivers/video/fbdev/matrox/matroxfb_base.h 		      } video;
video             466 drivers/video/fbdev/matrox/matroxfb_base.h 		struct matrox_pll_limits	video;
video             471 drivers/video/fbdev/matrox/matroxfb_base.h 		struct matrox_pll_cache	video;
video             475 drivers/video/fbdev/matrox/matroxfb_base.h 			unsigned int	video;
video             180 drivers/video/fbdev/matrox/matroxfb_crtc2.c 	pos += m2info->video.offbase;
video             205 drivers/video/fbdev/matrox/matroxfb_crtc2.c 	vramlen = m2info->video.len_usable;
video             304 drivers/video/fbdev/matrox/matroxfb_crtc2.c 	fix->smem_start = m2info->video.base;
video             305 drivers/video/fbdev/matrox/matroxfb_crtc2.c 	fix->smem_len = m2info->video.len_usable;
video             337 drivers/video/fbdev/matrox/matroxfb_crtc2.c 		m2info->fbcon.screen_base = vaddr_va(m2info->video.vbase);
video             355 drivers/video/fbdev/matrox/matroxfb_crtc2.c 		pos += m2info->video.offbase;
video             617 drivers/video/fbdev/matrox/matroxfb_crtc2.c 	if (minfo->video.len_usable + mem <= minfo->video.len)
video             618 drivers/video/fbdev/matrox/matroxfb_crtc2.c 		m2info->video.offbase = minfo->video.len - mem;
video             619 drivers/video/fbdev/matrox/matroxfb_crtc2.c 	else if (minfo->video.len < mem) {
video             622 drivers/video/fbdev/matrox/matroxfb_crtc2.c 		m2info->video.borrowed = mem;
video             623 drivers/video/fbdev/matrox/matroxfb_crtc2.c 		minfo->video.len_usable -= mem;
video             624 drivers/video/fbdev/matrox/matroxfb_crtc2.c 		m2info->video.offbase = minfo->video.len_usable;
video             626 drivers/video/fbdev/matrox/matroxfb_crtc2.c 	m2info->video.base = minfo->video.base + m2info->video.offbase;
video             627 drivers/video/fbdev/matrox/matroxfb_crtc2.c 	m2info->video.len = m2info->video.len_usable = m2info->video.len_maximum = mem;
video             628 drivers/video/fbdev/matrox/matroxfb_crtc2.c 	m2info->video.vbase.vaddr = vaddr_va(minfo->video.vbase) + m2info->video.offbase;
video             686 drivers/video/fbdev/matrox/matroxfb_crtc2.c 		minfo->video.len_usable += m2info->video.borrowed;
video              23 drivers/video/fbdev/matrox/matroxfb_crtc2.h 			      } video;
video             656 drivers/video/fbdev/matrox/matroxfb_misc.c 	minfo->limits.video.vcomax	= (bd->pins[ 37] == 0xFF) ? minfo->limits.system.vcomax	: bd->pins[ 37] * mult;
video             659 drivers/video/fbdev/matrox/matroxfb_misc.c 	minfo->limits.video.vcomin	= (bd->pins[122] == 0xFF) ? minfo->limits.system.vcomin	: bd->pins[122] * mult;
video             661 drivers/video/fbdev/matrox/matroxfb_misc.c 	minfo->values.pll.video		= (bd->pins[ 92] == 0xFF) ? 284000			: bd->pins[ 92] * 4000;
video             689 drivers/video/fbdev/matrox/matroxfb_misc.c 	minfo->limits.video.vcomax	= 600000;
video             692 drivers/video/fbdev/matrox/matroxfb_misc.c 	minfo->limits.video.vcomin	= 256000;
video             694 drivers/video/fbdev/matrox/matroxfb_misc.c 	minfo->values.pll.video		= 284000;
video             777 drivers/video/fbdev/matrox/matroxfb_misc.c 	parse_bios(vaddr_va(minfo->video.vbase), &minfo->bios);
video             475 drivers/video/fbdev/mmp/hw/mmp_ctrl.h #define	 CFG_DMA_ENA(video)			(video)
video             800 drivers/video/fbdev/mx3fb.c 	struct idmac_video_param *video = &ichan->params.video;
video             869 drivers/video/fbdev/mx3fb.c 	video->out_pixel_fmt	= bpp_to_pixfmt(fbi->var.bits_per_pixel);
video             870 drivers/video/fbdev/mx3fb.c 	video->out_width	= fbi->var.xres;
video             871 drivers/video/fbdev/mx3fb.c 	video->out_height	= fbi->var.yres;
video             872 drivers/video/fbdev/mx3fb.c 	video->out_stride	= fbi->var.xres_virtual;
video              91 drivers/video/fbdev/pm2fb.c 	u32		video;		/* video flags before blanking */
video             514 drivers/video/fbdev/pm2fb.c static void set_video(struct pm2fb_par *p, u32 video)
video             517 drivers/video/fbdev/pm2fb.c 	u32 vsync = video;
video             519 drivers/video/fbdev/pm2fb.c 	DPRINTK("video = 0x%x\n", video);
video             536 drivers/video/fbdev/pm2fb.c 		if ((video & PM2F_HSYNC_MASK) == PM2F_HSYNC_ACT_LOW)
video             538 drivers/video/fbdev/pm2fb.c 		if ((video & PM2F_VSYNC_MASK) == PM2F_VSYNC_ACT_LOW)
video             544 drivers/video/fbdev/pm2fb.c 		if ((video & PM2F_HSYNC_MASK) == PM2F_HSYNC_ACT_LOW)
video             546 drivers/video/fbdev/pm2fb.c 		if ((video & PM2F_VSYNC_MASK) == PM2F_VSYNC_ACT_LOW)
video             693 drivers/video/fbdev/pm2fb.c 	u32 video = 0;
video             731 drivers/video/fbdev/pm2fb.c 		video |= PM2F_DATA_64_ENABLE;
video             736 drivers/video/fbdev/pm2fb.c 			video |= PM2F_HSYNC_ACT_LOW;
video             738 drivers/video/fbdev/pm2fb.c 			video |= PM2F_HSYNC_ACT_HIGH;
video             740 drivers/video/fbdev/pm2fb.c 		video |= PM2F_HSYNC_ACT_LOW;
video             745 drivers/video/fbdev/pm2fb.c 			video |= PM2F_VSYNC_ACT_LOW;
video             747 drivers/video/fbdev/pm2fb.c 			video |= PM2F_VSYNC_ACT_HIGH;
video             749 drivers/video/fbdev/pm2fb.c 		video |= PM2F_VSYNC_ACT_LOW;
video             756 drivers/video/fbdev/pm2fb.c 		video |= PM2F_LINE_DOUBLE;
video             758 drivers/video/fbdev/pm2fb.c 		video |= PM2F_VIDEO_ENABLE;
video             759 drivers/video/fbdev/pm2fb.c 	par->video = video;
video             829 drivers/video/fbdev/pm2fb.c 	set_video(par, video);
video            1000 drivers/video/fbdev/pm2fb.c 	u32 video = par->video;
video            1007 drivers/video/fbdev/pm2fb.c 		video |= PM2F_VIDEO_ENABLE;
video            1011 drivers/video/fbdev/pm2fb.c 		video &= ~PM2F_VIDEO_ENABLE;
video            1015 drivers/video/fbdev/pm2fb.c 		video &= ~(PM2F_VSYNC_MASK | PM2F_BLANK_LOW);
video            1019 drivers/video/fbdev/pm2fb.c 		video &= ~(PM2F_HSYNC_MASK | PM2F_BLANK_LOW);
video            1023 drivers/video/fbdev/pm2fb.c 		video &= ~(PM2F_VSYNC_MASK | PM2F_HSYNC_MASK | PM2F_BLANK_LOW);
video            1026 drivers/video/fbdev/pm2fb.c 	set_video(par, video);
video              69 drivers/video/fbdev/pm3fb.c 	u32		video;		/* video flags before blanking */
video             808 drivers/video/fbdev/pm3fb.c 		unsigned int video = par->video;
video             810 drivers/video/fbdev/pm3fb.c 		video &= ~(PM3VideoControl_HSYNC_MASK |
video             812 drivers/video/fbdev/pm3fb.c 		video |= PM3VideoControl_HSYNC_ACTIVE_HIGH |
video             814 drivers/video/fbdev/pm3fb.c 		PM3_WRITE_REG(par, PM3VideoControl, video);
video             844 drivers/video/fbdev/pm3fb.c 	if ((par->video & PM3VideoControl_HSYNC_MASK) ==
video             847 drivers/video/fbdev/pm3fb.c 	if ((par->video & PM3VideoControl_VSYNC_MASK) ==
video            1021 drivers/video/fbdev/pm3fb.c 	par->video = 0;
video            1024 drivers/video/fbdev/pm3fb.c 		par->video |= PM3VideoControl_HSYNC_ACTIVE_HIGH;
video            1026 drivers/video/fbdev/pm3fb.c 		par->video |= PM3VideoControl_HSYNC_ACTIVE_LOW;
video            1029 drivers/video/fbdev/pm3fb.c 		par->video |= PM3VideoControl_VSYNC_ACTIVE_HIGH;
video            1031 drivers/video/fbdev/pm3fb.c 		par->video |= PM3VideoControl_VSYNC_ACTIVE_LOW;
video            1034 drivers/video/fbdev/pm3fb.c 		par->video |= PM3VideoControl_LINE_DOUBLE_ON;
video            1037 drivers/video/fbdev/pm3fb.c 		par->video |= PM3VideoControl_ENABLE;
video            1043 drivers/video/fbdev/pm3fb.c 		par->video |= PM3VideoControl_PIXELSIZE_8BIT;
video            1046 drivers/video/fbdev/pm3fb.c 		par->video |= PM3VideoControl_PIXELSIZE_16BIT;
video            1049 drivers/video/fbdev/pm3fb.c 		par->video |= PM3VideoControl_PIXELSIZE_32BIT;
video            1156 drivers/video/fbdev/pm3fb.c 	u32 video = par->video;
video            1164 drivers/video/fbdev/pm3fb.c 	video &= ~(PM3VideoControl_HSYNC_MASK |
video            1166 drivers/video/fbdev/pm3fb.c 	video |= PM3VideoControl_HSYNC_ACTIVE_HIGH |
video            1171 drivers/video/fbdev/pm3fb.c 		video |= PM3VideoControl_ENABLE;
video            1174 drivers/video/fbdev/pm3fb.c 		video &= ~PM3VideoControl_ENABLE;
video            1177 drivers/video/fbdev/pm3fb.c 		video &= ~(PM3VideoControl_HSYNC_MASK |
video            1181 drivers/video/fbdev/pm3fb.c 		video &= ~(PM3VideoControl_VSYNC_MASK |
video            1185 drivers/video/fbdev/pm3fb.c 		video &= ~(PM3VideoControl_HSYNC_MASK |
video            1195 drivers/video/fbdev/pm3fb.c 	PM3_WRITE_REG(par, PM3VideoControl, video);
video            1384 drivers/video/fbdev/pm3fb.c 	par->video = PM3_READ_REG(par, PM3VideoControl);
video             262 drivers/video/fbdev/pxa168fb.h #define     CFG_DMA_ENA(video)			(video)
video             217 drivers/video/fbdev/savage/savagefb.h 	} video;
video            1772 drivers/video/fbdev/savage/savagefb_driver.c 	par->video.pbase = pci_resource_start(par->pcidev, resource);
video            1773 drivers/video/fbdev/savage/savagefb_driver.c 	par->video.len   = video_len;
video            1774 drivers/video/fbdev/savage/savagefb_driver.c 	par->video.vbase = ioremap_wc(par->video.pbase, par->video.len);
video            1776 drivers/video/fbdev/savage/savagefb_driver.c 	if (!par->video.vbase) {
video            1781 drivers/video/fbdev/savage/savagefb_driver.c 		       "pbase == %x\n", par->video.vbase, par->video.pbase);
video            1783 drivers/video/fbdev/savage/savagefb_driver.c 	info->fix.smem_start = par->video.pbase;
video            1784 drivers/video/fbdev/savage/savagefb_driver.c 	info->fix.smem_len   = par->video.len - par->cob_size;
video            1785 drivers/video/fbdev/savage/savagefb_driver.c 	info->screen_base    = par->video.vbase;
video            1786 drivers/video/fbdev/savage/savagefb_driver.c 	par->video.wc_cookie = arch_phys_wc_add(par->video.pbase, video_len);
video            1789 drivers/video/fbdev/savage/savagefb_driver.c 	memset_io(par->video.vbase, 0, par->video.len);
video            1800 drivers/video/fbdev/savage/savagefb_driver.c 	if (par->video.vbase) {
video            1801 drivers/video/fbdev/savage/savagefb_driver.c 		arch_phys_wc_del(par->video.wc_cookie);
video            1802 drivers/video/fbdev/savage/savagefb_driver.c 		iounmap(par->video.vbase);
video            1803 drivers/video/fbdev/savage/savagefb_driver.c 		par->video.vbase = NULL;
video              64 drivers/video/fbdev/xen-fbfront.c static int video[KPARAM_CNT] = { 2, XENFB_WIDTH, XENFB_HEIGHT };
video              65 drivers/video/fbdev/xen-fbfront.c module_param_array(video, int, NULL, 0);
video              66 drivers/video/fbdev/xen-fbfront.c MODULE_PARM_DESC(video,
video             289 drivers/video/fbdev/xen-fbfront.c 		if (var->xres == video[KPARAM_WIDTH] &&
video             290 drivers/video/fbdev/xen-fbfront.c 		    var->yres == video[KPARAM_HEIGHT] &&
video             298 drivers/video/fbdev/xen-fbfront.c 	if (var->xres > video[KPARAM_WIDTH] || var->yres > video[KPARAM_HEIGHT])
video             381 drivers/video/fbdev/xen-fbfront.c 		if (val < video[KPARAM_MEM])
video             382 drivers/video/fbdev/xen-fbfront.c 			video[KPARAM_MEM] = val;
video             385 drivers/video/fbdev/xen-fbfront.c 	video[KPARAM_WIDTH] = xenbus_read_unsigned(dev->otherend, "width",
video             386 drivers/video/fbdev/xen-fbfront.c 						   video[KPARAM_WIDTH]);
video             387 drivers/video/fbdev/xen-fbfront.c 	video[KPARAM_HEIGHT] = xenbus_read_unsigned(dev->otherend, "height",
video             388 drivers/video/fbdev/xen-fbfront.c 						    video[KPARAM_HEIGHT]);
video             391 drivers/video/fbdev/xen-fbfront.c 	fb_size = video[KPARAM_MEM] * 1024 * 1024;
video             392 drivers/video/fbdev/xen-fbfront.c 	if (video[KPARAM_WIDTH] * video[KPARAM_HEIGHT] * XENFB_DEPTH / 8
video             395 drivers/video/fbdev/xen-fbfront.c 			video[KPARAM_MEM], video[KPARAM_WIDTH],
video             396 drivers/video/fbdev/xen-fbfront.c 			video[KPARAM_HEIGHT]);
video             397 drivers/video/fbdev/xen-fbfront.c 		video[KPARAM_WIDTH] = XENFB_WIDTH;
video             398 drivers/video/fbdev/xen-fbfront.c 		video[KPARAM_HEIGHT] = XENFB_HEIGHT;
video             436 drivers/video/fbdev/xen-fbfront.c 	fb_info->var.xres_virtual = fb_info->var.xres = video[KPARAM_WIDTH];
video             437 drivers/video/fbdev/xen-fbfront.c 	fb_info->var.yres_virtual = fb_info->var.yres = video[KPARAM_HEIGHT];
video             141 include/linux/dma/ipu-dma.h 	struct idmac_video_param video;
video             731 include/media/v4l2-subdev.h 	const struct v4l2_subdev_video_ops	*video;
video              68 include/net/caif/cfctrl.h 		} video;
video             106 net/caif/cfctrl.c 		return p1->u.video.connid == p2->u.video.connid;
video             237 net/caif/cfctrl.c 		cfpkt_addbdy(pkt, (u8) param->u.video.connid);
video             412 net/caif/cfctrl.c 				linkparam.u.video.connid = tmp;