Home
last modified time | relevance | path

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

/linux-5.19.10/drivers/media/test-drivers/vimc/
Dvimc-capture.c69 struct vimc_cap_device *vcap = container_of(ved, struct vimc_cap_device, in vimc_cap_get_format() local
72 *fmt = vcap->format; in vimc_cap_get_format()
78 struct vimc_cap_device *vcap = video_drvdata(file); in vimc_cap_g_fmt_vid_cap() local
80 f->fmt.pix = vcap->format; in vimc_cap_g_fmt_vid_cap()
120 struct vimc_cap_device *vcap = video_drvdata(file); in vimc_cap_s_fmt_vid_cap() local
124 if (vb2_is_busy(&vcap->queue)) in vimc_cap_s_fmt_vid_cap()
131 dev_dbg(vcap->ved.dev, "%s: format update: " in vimc_cap_s_fmt_vid_cap()
133 "new:%dx%d (0x%x, %d, %d, %d, %d)\n", vcap->vdev.name, in vimc_cap_s_fmt_vid_cap()
135 vcap->format.width, vcap->format.height, in vimc_cap_s_fmt_vid_cap()
136 vcap->format.pixelformat, vcap->format.colorspace, in vimc_cap_s_fmt_vid_cap()
[all …]
/linux-5.19.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.c525 const struct vcap_props *vcap = &ocelot->vcap[VCAP_ES0]; in ocelot_flower_parse_indev() local
526 int key_length = vcap->keys[VCAP_ES0_IGR_PORT].length; in ocelot_flower_parse_indev()
806 const struct vcap_props *vcap = &ocelot->vcap[VCAP_ES0]; in ocelot_vcap_filter_create() local
807 int key_length = vcap->keys[VCAP_ES0_EGR_PORT].length; in ocelot_vcap_filter_create()
Docelot_vsc7514.c919 ocelot->vcap = vsc7514_vcap_props; in mscc_ocelot_probe()
/linux-5.19.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()
/linux-5.19.10/drivers/media/i2c/
Dvideo-i2c.c573 struct v4l2_capability *vcap) in video_i2c_querycap() argument
579 strscpy(vcap->driver, data->v4l2_dev.name, sizeof(vcap->driver)); in video_i2c_querycap()
580 strscpy(vcap->card, data->vdev.name, sizeof(vcap->card)); in video_i2c_querycap()
582 sprintf(vcap->bus_info, "I2C:%d-%d", client->adapter->nr, client->addr); in video_i2c_querycap()
/linux-5.19.10/Documentation/hwmon/
Dbel-pfe.rst91 in2_label "vcap"
111 - curr3, fan2, vout[2-7], vcap, pin2, pout2 and temp3 attributes only
Dpim4328.rst82 in4_label "vcap"
Dpmbus.rst209 inX_label "vin", "vcap", or "voutY"
/linux-5.19.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()
/linux-5.19.10/drivers/net/dsa/ocelot/
Dfelix.h30 struct vcap_props *vcap; member
Dfelix.c56 key_length = ocelot->vcap[VCAP_ES0].keys[VCAP_ES0_IGR_PORT].length; in felix_tag_8021q_vlan_add_rx()
1163 ocelot->vcap = felix->info->vcap; in felix_init_structs()
Dseville_vsc9953.c1372 .vcap = vsc9953_vcap_props,
Dfelix_vsc9959.c2861 .vcap = vsc9959_vcap_props,
/linux-5.19.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 vcap->capabilities = cx->v4l2_cap | V4L2_CAP_DEVICE_CAPS; in cx18_querycap()
/linux-5.19.10/arch/powerpc/platforms/pseries/
Dvas.c696 static int reconfig_close_windows(struct vas_caps *vcap, int excess_creds, in reconfig_close_windows() argument
709 list_for_each_entry_safe(win, tmp, &vcap->list, win_list) { in reconfig_close_windows()
761 vcap->nr_close_wins++; in reconfig_close_windows()
/linux-5.19.10/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 vcap->capabilities = itv->v4l2_cap | V4L2_CAP_DEVICE_CAPS; in ivtv_querycap()
/linux-5.19.10/sound/pci/hda/
Dhda_codec.c3953 unsigned int vcap, vref; in snd_hda_correct_pin_ctl() local
3955 vcap = (cap & AC_PINCAP_VREF) >> AC_PINCAP_VREF_SHIFT; in snd_hda_correct_pin_ctl()
3959 !(vcap & cap_lists[i][1])) { in snd_hda_correct_pin_ctl()
/linux-5.19.10/include/soc/mscc/
Docelot.h838 struct vcap_props *vcap; member