Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/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 …]
/kernel/linux/linux-5.10/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.c388 const struct vcap_props *vcap = &ocelot->vcap[VCAP_ES0]; in ocelot_flower_parse_indev() local
389 int key_length = vcap->keys[VCAP_ES0_IGR_PORT].length; in ocelot_flower_parse_indev()
664 const struct vcap_props *vcap = &ocelot->vcap[VCAP_ES0]; in ocelot_vcap_filter_create() local
665 int key_length = vcap->keys[VCAP_ES0_EGR_PORT].length; in ocelot_vcap_filter_create()
Docelot_vsc7514.c1259 ocelot->vcap = vsc7514_vcap_props; in mscc_ocelot_probe()
/kernel/linux/linux-5.10/tools/testing/selftests/media_tests/
Dvideo_device_test.c46 struct v4l2_capability vcap; in main() local
86 ret = ioctl(fd, VIDIOC_QUERYCAP, &vcap); in main()
90 printf("Video device driver %s\n", vcap.driver); in main()
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/drivers/media/i2c/
Dvideo-i2c.c567 struct v4l2_capability *vcap) in video_i2c_querycap() argument
573 strscpy(vcap->driver, data->v4l2_dev.name, sizeof(vcap->driver)); in video_i2c_querycap()
574 strscpy(vcap->card, data->vdev.name, sizeof(vcap->card)); in video_i2c_querycap()
576 sprintf(vcap->bus_info, "I2C:%d-%d", client->adapter->nr, client->addr); in video_i2c_querycap()
/kernel/linux/linux-5.10/Documentation/hwmon/
Dbel-pfe.rst91 in2_label "vcap"
111 - curr3, fan2, vout[2-7], vcap, pin2, pout2 and temp3 attributes only
Dpmbus.rst212 inX_label "vin", "vcap", or "voutY"
/kernel/linux/linux-5.10/drivers/net/dsa/ocelot/
Dfelix.h24 struct vcap_props *vcap; member
Dfelix.c452 ocelot->vcap = felix->info->vcap; in felix_init_structs()
Dseville_vsc9953.c1183 .vcap = vsc9953_vcap_props,
Dfelix_vsc9959.c1359 .vcap = vsc9959_vcap_props,
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/drivers/media/pci/ivtv/
Divtv-ioctl.c733 static int ivtv_querycap(struct file *file, void *fh, struct v4l2_capability *vcap) in ivtv_querycap() argument
738 strscpy(vcap->driver, IVTV_DRIVER_NAME, sizeof(vcap->driver)); in ivtv_querycap()
739 strscpy(vcap->card, itv->card_name, sizeof(vcap->card)); in ivtv_querycap()
740 snprintf(vcap->bus_info, sizeof(vcap->bus_info), "PCI:%s", pci_name(itv->pdev)); in ivtv_querycap()
741 vcap->capabilities = itv->v4l2_cap | V4L2_CAP_DEVICE_CAPS; in ivtv_querycap()
/kernel/linux/linux-5.10/include/soc/mscc/
Docelot.h641 struct vcap_props *vcap; member
/kernel/linux/linux-5.10/sound/pci/hda/
Dhda_codec.c3930 unsigned int vcap, vref; in snd_hda_correct_pin_ctl() local
3932 vcap = (cap & AC_PINCAP_VREF) >> AC_PINCAP_VREF_SHIFT; in snd_hda_correct_pin_ctl()
3936 !(vcap & cap_lists[i][1])) { in snd_hda_correct_pin_ctl()