Home
last modified time | relevance | path

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

/linux/drivers/media/test-drivers/vimc/
A Dvimc-capture.c134 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()
136 vcap->format.quantization, vcap->format.xfer_func, in vimc_cap_s_fmt_vid_cap()
255 ret = vimc_streamer_s_stream(&vcap->stream, &vcap->ved, 1); in vimc_cap_start_streaming()
273 vimc_streamer_s_stream(&vcap->stream, &vcap->ved, 0); in vimc_cap_stop_streaming()
346 kfree(vcap); in vimc_cap_release()
407 vcap = kzalloc(sizeof(*vcap), GFP_KERNEL); in vimc_cap_add()
408 if (!vcap) in vimc_cap_add()
450 vcap->format.sizeimage = vcap->format.bytesperline * in vimc_cap_add()
454 vcap->ved.ent = &vcap->vdev.entity; in vimc_cap_add()
[all …]
/linux/drivers/net/ethernet/mscc/
A Docelot_vcap.c85 vcap_cmd(ocelot, vcap, vcap->entry_count - row - 1, cmd, sel); in vcap_row_cmd()
333 const struct vcap_props *vcap = &ocelot->vcap[VCAP_IS2]; in is2_action_set() local
347 const struct vcap_props *vcap = &ocelot->vcap[VCAP_IS2]; in is2_entry_set() local
649 const struct vcap_props *vcap = &ocelot->vcap[VCAP_IS1]; in is1_action_set() local
672 const struct vcap_props *vcap = &ocelot->vcap[VCAP_IS1]; in is1_entry_set() local
785 const struct vcap_props *vcap = &ocelot->vcap[VCAP_ES0]; in es0_action_set() local
813 const struct vcap_props *vcap = &ocelot->vcap[VCAP_ES0]; in es0_entry_set() local
1290 vcap->tg_width = ocelot_target_read(ocelot, vcap->target, in ocelot_vcap_detect_constants()
1328 vcap->entry_width -= vcap->tg_width * vcap->sw_count; in ocelot_vcap_detect_constants()
1339 vcap->counter_words = vcap->sw_count; in ocelot_vcap_detect_constants()
[all …]
A Docelot_flower.c432 const struct vcap_props *vcap = &ocelot->vcap[VCAP_ES0]; in ocelot_flower_parse_indev() local
433 int key_length = vcap->keys[VCAP_ES0_IGR_PORT].length; in ocelot_flower_parse_indev()
708 const struct vcap_props *vcap = &ocelot->vcap[VCAP_ES0]; in ocelot_vcap_filter_create() local
709 int key_length = vcap->keys[VCAP_ES0_EGR_PORT].length; in ocelot_vcap_filter_create()
A Docelot_vsc7514.c1131 ocelot->vcap = vsc7514_vcap_props; in mscc_ocelot_probe()
/linux/tools/testing/selftests/media_tests/
A 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/drivers/media/pci/cx18/
A 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()
/linux/drivers/media/i2c/
A Dvideo-i2c.c566 struct v4l2_capability *vcap) in video_i2c_querycap() argument
572 strscpy(vcap->driver, data->v4l2_dev.name, sizeof(vcap->driver)); in video_i2c_querycap()
573 strscpy(vcap->card, data->vdev.name, sizeof(vcap->card)); in video_i2c_querycap()
575 sprintf(vcap->bus_info, "I2C:%d-%d", client->adapter->nr, client->addr); in video_i2c_querycap()
/linux/Documentation/hwmon/
A Dbel-pfe.rst91 in2_label "vcap"
111 - curr3, fan2, vout[2-7], vcap, pin2, pout2 and temp3 attributes only
A Dpim4328.rst82 in4_label "vcap"
A Dpmbus.rst209 inX_label "vin", "vcap", or "voutY"
/linux/drivers/media/pci/cobalt/
A 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/drivers/net/dsa/ocelot/
A Dfelix.h23 struct vcap_props *vcap; member
A Dfelix.c44 key_length = ocelot->vcap[VCAP_ES0].keys[VCAP_ES0_IGR_PORT].length; in felix_tag_8021q_rxvlan_add()
994 ocelot->vcap = felix->info->vcap; in felix_init_structs()
A Dseville_vsc9953.c1174 .vcap = vsc9953_vcap_props,
A Dfelix_vsc9959.c1356 .vcap = vsc9959_vcap_props,
/linux/drivers/media/pci/ivtv/
A 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()
/linux/include/soc/mscc/
A Docelot.h670 struct vcap_props *vcap; member
/linux/sound/pci/hda/
A Dhda_codec.c3883 unsigned int vcap, vref; in snd_hda_correct_pin_ctl() local
3885 vcap = (cap & AC_PINCAP_VREF) >> AC_PINCAP_VREF_SHIFT; in snd_hda_correct_pin_ctl()
3889 !(vcap & cap_lists[i][1])) { in snd_hda_correct_pin_ctl()

Completed in 175 milliseconds