/drivers/media/test-drivers/vimc/ |
D | vimc-capture.c | 68 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/ |
D | ocelot_vcap.c | 50 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 …]
|
D | ocelot_flower.c | 393 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()
|
D | ocelot_vsc7514.c | 1131 ocelot->vcap = vsc7514_vcap_props; in mscc_ocelot_probe()
|
/drivers/media/pci/cx18/ |
D | cx18-ioctl.c | 385 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/ |
D | video-i2c.c | 563 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/ |
D | cobalt-v4l2.c | 477 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/ |
D | felix.h | 23 struct vcap_props *vcap; member
|
D | felix.c | 44 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()
|
D | seville_vsc9953.c | 1178 .vcap = vsc9953_vcap_props,
|
D | felix_vsc9959.c | 1361 .vcap = vsc9959_vcap_props,
|
/drivers/media/pci/ivtv/ |
D | ivtv-ioctl.c | 728 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()
|