Home
last modified time | relevance | path

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

12

/linux-6.15/drivers/media/platform/st/stm32/stm32-dcmipp/
H A Ddcmipp-bytecap.c251 vcap->format.width, vcap->format.height, in dcmipp_bytecap_s_fmt_vid_cap()
437 vcap->next->vb.vb2_buf.index, vcap->next, &vcap->next->addr); in dcmipp_bytecap_start_streaming()
439 dcmipp_start_capture(vcap, vcap->next); in dcmipp_bytecap_start_streaming()
443 reg_set(vcap, DCMIPP_CMIER, vcap->cmier); in dcmipp_bytecap_start_streaming()
499 reg_clear(vcap, DCMIPP_CMIER, vcap->cmier); in dcmipp_bytecap_stop_streaming()
533 vcap->count.limit, vcap->count.nactive, in dcmipp_bytecap_stop_streaming()
710 vcap->next->vb.vb2_buf.index, vcap->next, &vcap->next->addr); in dcmipp_bytecap_set_next_frame_or_stop()
749 cmsr2 = vcap->cmsr2 & vcap->cmier; in dcmipp_bytecap_irq_thread()
785 swap(vcap->active, vcap->next); in dcmipp_bytecap_irq_thread()
800 vcap->cmsr2 = reg_read(vcap, DCMIPP_CMSR2) & vcap->cmier; in dcmipp_bytecap_irq_callback()
[all …]
/linux-6.15/drivers/net/ethernet/mscc/
H 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
348 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
784 const struct vcap_props *vcap = &ocelot->vcap[VCAP_ES0]; in es0_action_set() local
812 const struct vcap_props *vcap = &ocelot->vcap[VCAP_ES0]; in es0_entry_set() local
1348 vcap->tg_width = ocelot_target_read(ocelot, vcap->target, in ocelot_vcap_detect_constants()
1386 vcap->entry_width -= vcap->tg_width * vcap->sw_count; in ocelot_vcap_detect_constants()
1397 vcap->counter_words = vcap->sw_count; in ocelot_vcap_detect_constants()
[all …]
H A Docelot_flower.c555 const struct vcap_props *vcap = &ocelot->vcap[VCAP_ES0]; in ocelot_flower_parse_indev() local
556 int key_length = vcap->keys[VCAP_ES0_IGR_PORT].length; in ocelot_flower_parse_indev()
843 const struct vcap_props *vcap = &ocelot->vcap[VCAP_ES0]; in ocelot_vcap_filter_create() local
844 int key_length = vcap->keys[VCAP_ES0_EGR_PORT].length; in ocelot_vcap_filter_create()
H A Docelot_vsc7514.c345 ocelot->vcap = vsc7514_vcap_props; in mscc_ocelot_probe()
/linux-6.15/drivers/net/ethernet/microchip/vcap/
H A DMakefile6 obj-$(CONFIG_VCAP) += vcap.o
8 vcap-$(CONFIG_DEBUG_FS) += vcap_api_debugfs.o
10 vcap-y += vcap_api.o vcap_tc.o
H A Dvcap_api_debugfs.c270 const struct vcap_info *vcap = &vctrl->vcaps[admin->vtype]; in vcap_show_admin_info() local
272 out->prf(out->dst, "name: %s\n", vcap->name); in vcap_show_admin_info()
273 out->prf(out->dst, "rows: %d\n", vcap->rows); in vcap_show_admin_info()
274 out->prf(out->dst, "sw_count: %d\n", vcap->sw_count); in vcap_show_admin_info()
275 out->prf(out->dst, "sw_width: %d\n", vcap->sw_width); in vcap_show_admin_info()
276 out->prf(out->dst, "sticky_width: %d\n", vcap->sticky_width); in vcap_show_admin_info()
277 out->prf(out->dst, "act_width: %d\n", vcap->act_width); in vcap_show_admin_info()
278 out->prf(out->dst, "default_cnt: %d\n", vcap->default_cnt); in vcap_show_admin_info()
279 out->prf(out->dst, "require_cnt_dis: %d\n", vcap->require_cnt_dis); in vcap_show_admin_info()
280 out->prf(out->dst, "version: %d\n", vcap->version); in vcap_show_admin_info()
/linux-6.15/tools/testing/selftests/media_tests/
H A Dvideo_device_test.c85 struct v4l2_capability vcap; in loop_test() local
99 ret = ioctl(fd, VIDIOC_QUERYCAP, &vcap); in loop_test()
103 printf("Video device driver %s\n", vcap.driver); in loop_test()
/linux-6.15/drivers/net/ethernet/microchip/lan966x/
H A Dlan966x_vcap_debugfs.c221 const struct vcap_info *vcap; in lan966x_vcap_port_info() local
225 vcap = &vctrl->vcaps[admin->vtype]; in lan966x_vcap_port_info()
227 out->prf(out->dst, "%s:\n", vcap->name); in lan966x_vcap_port_info()
H A DMakefile22 ccflags-y += -I$(srctree)/drivers/net/ethernet/microchip/vcap
/linux-6.15/drivers/net/ethernet/microchip/
H A DMakefile15 obj-$(CONFIG_VCAP) += vcap/
H A DKconfig63 source "drivers/net/ethernet/microchip/vcap/Kconfig"
/linux-6.15/drivers/media/i2c/
H A Dvideo-i2c.c562 struct v4l2_capability *vcap) in video_i2c_querycap() argument
568 strscpy(vcap->driver, data->v4l2_dev.name, sizeof(vcap->driver)); in video_i2c_querycap()
569 strscpy(vcap->card, data->vdev.name, sizeof(vcap->card)); in video_i2c_querycap()
571 sprintf(vcap->bus_info, "I2C:%d-%d", client->adapter->nr, client->addr); in video_i2c_querycap()
/linux-6.15/Documentation/hwmon/
H A Dbel-pfe.rst91 in2_label "vcap"
111 - curr3, fan2, vout[2-7], vcap, pin2, pout2 and temp3 attributes only
H A Dpim4328.rst82 in4_label "vcap"
H A Dpmbus.rst209 inX_label "vin", "vcap", or "voutY"
/linux-6.15/drivers/media/pci/cobalt/
H A Dcobalt-v4l2.c471 struct v4l2_capability *vcap) in cobalt_querycap() argument
476 strscpy(vcap->driver, "cobalt", sizeof(vcap->driver)); in cobalt_querycap()
477 strscpy(vcap->card, "cobalt", sizeof(vcap->card)); in cobalt_querycap()
478 snprintf(vcap->bus_info, sizeof(vcap->bus_info), in cobalt_querycap()
480 vcap->capabilities = V4L2_CAP_STREAMING | V4L2_CAP_READWRITE | in cobalt_querycap()
483 vcap->capabilities |= V4L2_CAP_VIDEO_OUTPUT; in cobalt_querycap()
/linux-6.15/drivers/net/ethernet/microchip/sparx5/
H A DMakefile28 ccflags-y += -I$(srctree)/drivers/net/ethernet/microchip/vcap
H A Dsparx5_vcap_debugfs.c445 const struct vcap_info *vcap; in sparx5_port_info() local
449 vcap = &vctrl->vcaps[admin->vtype]; in sparx5_port_info()
450 out->prf(out->dst, "%s:\n", vcap->name); in sparx5_port_info()
/linux-6.15/drivers/media/pci/cx18/
H A Dcx18-ioctl.c421 struct v4l2_capability *vcap) in cx18_querycap() argument
426 strscpy(vcap->driver, CX18_DRIVER_NAME, sizeof(vcap->driver)); in cx18_querycap()
427 strscpy(vcap->card, cx->card_name, sizeof(vcap->card)); in cx18_querycap()
428 vcap->capabilities = cx->v4l2_cap | V4L2_CAP_DEVICE_CAPS; in cx18_querycap()
/linux-6.15/drivers/net/dsa/ocelot/
H A Docelot_ext.c57 .vcap = vsc7514_vcap_props,
H A Dfelix.h35 struct vcap_props *vcap; member
H A Dfelix.c110 key_length = ocelot->vcap[VCAP_ES0].keys[VCAP_ES0_IGR_PORT].length; in felix_tag_8021q_vlan_add_rx()
1510 ocelot->vcap = felix->info->vcap; in felix_init_structs()
H A Dseville_vsc9953.c958 .vcap = vsc9953_vcap_props,
/linux-6.15/arch/powerpc/platforms/pseries/
H A Dvas.c761 static int reconfig_close_windows(struct vas_caps *vcap, int excess_creds, in reconfig_close_windows() argument
774 list_for_each_entry_safe(win, tmp, &vcap->list, win_list) { in reconfig_close_windows()
830 vcap->nr_close_wins++; in reconfig_close_windows()
/linux-6.15/drivers/media/pci/ivtv/
H 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 vcap->capabilities = itv->v4l2_cap | V4L2_CAP_DEVICE_CAPS; in ivtv_querycap()

12