Home
last modified time | relevance | path

Searched refs:vcap (Results 1 – 12 of 12) sorted by relevance

/drivers/media/test-drivers/vimc/
Dvimc-capture.c68 struct vimc_cap_device *vcap = container_of(ved, struct vimc_cap_device, in vimc_cap_get_format() local
71 *fmt = vcap->format; in vimc_cap_get_format()
77 struct vimc_cap_device *vcap = video_drvdata(file); in vimc_cap_g_fmt_vid_cap() local
79 f->fmt.pix = vcap->format; in vimc_cap_g_fmt_vid_cap()
119 struct vimc_cap_device *vcap = video_drvdata(file); in vimc_cap_s_fmt_vid_cap() local
123 if (vb2_is_busy(&vcap->queue)) in vimc_cap_s_fmt_vid_cap()
130 dev_dbg(vcap->ved.dev, "%s: format update: " in vimc_cap_s_fmt_vid_cap()
132 "new:%dx%d (0x%x, %d, %d, %d, %d)\n", vcap->vdev.name, in vimc_cap_s_fmt_vid_cap()
134 vcap->format.width, vcap->format.height, in vimc_cap_s_fmt_vid_cap()
135 vcap->format.pixelformat, vcap->format.colorspace, in vimc_cap_s_fmt_vid_cap()
[all …]
/drivers/net/ethernet/mscc/
Docelot_vcap.c50 const struct vcap_props *vcap) in vcap_read_update_ctrl() argument
52 return ocelot_target_read(ocelot, vcap->target, VCAP_CORE_UPDATE_CTRL); in vcap_read_update_ctrl()
55 static void vcap_cmd(struct ocelot *ocelot, const struct vcap_props *vcap, in vcap_cmd() argument
62 if ((sel & VCAP_SEL_ENTRY) && ix >= vcap->entry_count) in vcap_cmd()
74 ocelot_target_write(ocelot, vcap->target, value, VCAP_CORE_UPDATE_CTRL); in vcap_cmd()
78 10, 100000, false, ocelot, vcap); in vcap_cmd()
82 static void vcap_row_cmd(struct ocelot *ocelot, const struct vcap_props *vcap, in vcap_row_cmd() argument
85 vcap_cmd(ocelot, vcap, vcap->entry_count - row - 1, cmd, sel); in vcap_row_cmd()
89 const struct vcap_props *vcap, in vcap_entry2cache() argument
94 entry_words = DIV_ROUND_UP(vcap->entry_width, ENTRY_WIDTH); in vcap_entry2cache()
[all …]
Docelot_flower.c393 const struct vcap_props *vcap = &ocelot->vcap[VCAP_ES0]; in ocelot_flower_parse_indev() local
394 int key_length = vcap->keys[VCAP_ES0_IGR_PORT].length; in ocelot_flower_parse_indev()
670 const struct vcap_props *vcap = &ocelot->vcap[VCAP_ES0]; in ocelot_vcap_filter_create() local
671 int key_length = vcap->keys[VCAP_ES0_EGR_PORT].length; in ocelot_vcap_filter_create()
Docelot_vsc7514.c1131 ocelot->vcap = vsc7514_vcap_props; in mscc_ocelot_probe()
/drivers/media/pci/cx18/
Dcx18-ioctl.c385 struct v4l2_capability *vcap) in cx18_querycap() argument
390 strscpy(vcap->driver, CX18_DRIVER_NAME, sizeof(vcap->driver)); in cx18_querycap()
391 strscpy(vcap->card, cx->card_name, sizeof(vcap->card)); in cx18_querycap()
392 snprintf(vcap->bus_info, sizeof(vcap->bus_info), in cx18_querycap()
394 vcap->capabilities = cx->v4l2_cap | V4L2_CAP_DEVICE_CAPS; in cx18_querycap()
/drivers/media/i2c/
Dvideo-i2c.c563 struct v4l2_capability *vcap) in video_i2c_querycap() argument
569 strscpy(vcap->driver, data->v4l2_dev.name, sizeof(vcap->driver)); in video_i2c_querycap()
570 strscpy(vcap->card, data->vdev.name, sizeof(vcap->card)); in video_i2c_querycap()
572 sprintf(vcap->bus_info, "I2C:%d-%d", client->adapter->nr, client->addr); in video_i2c_querycap()
/drivers/media/pci/cobalt/
Dcobalt-v4l2.c477 struct v4l2_capability *vcap) in cobalt_querycap() argument
482 strscpy(vcap->driver, "cobalt", sizeof(vcap->driver)); in cobalt_querycap()
483 strscpy(vcap->card, "cobalt", sizeof(vcap->card)); in cobalt_querycap()
484 snprintf(vcap->bus_info, sizeof(vcap->bus_info), in cobalt_querycap()
486 vcap->capabilities = V4L2_CAP_STREAMING | V4L2_CAP_READWRITE | in cobalt_querycap()
489 vcap->capabilities |= V4L2_CAP_VIDEO_OUTPUT; in cobalt_querycap()
/drivers/net/dsa/ocelot/
Dfelix.h23 struct vcap_props *vcap; member
Dfelix.c44 key_length = ocelot->vcap[VCAP_ES0].keys[VCAP_ES0_IGR_PORT].length; in felix_tag_8021q_rxvlan_add()
992 ocelot->vcap = felix->info->vcap; in felix_init_structs()
Dseville_vsc9953.c1178 .vcap = vsc9953_vcap_props,
Dfelix_vsc9959.c1361 .vcap = vsc9959_vcap_props,
/drivers/media/pci/ivtv/
Divtv-ioctl.c728 static int ivtv_querycap(struct file *file, void *fh, struct v4l2_capability *vcap) in ivtv_querycap() argument
733 strscpy(vcap->driver, IVTV_DRIVER_NAME, sizeof(vcap->driver)); in ivtv_querycap()
734 strscpy(vcap->card, itv->card_name, sizeof(vcap->card)); in ivtv_querycap()
735 snprintf(vcap->bus_info, sizeof(vcap->bus_info), "PCI:%s", pci_name(itv->pdev)); in ivtv_querycap()
736 vcap->capabilities = itv->v4l2_cap | V4L2_CAP_DEVICE_CAPS; in ivtv_querycap()