Home
last modified time | relevance | path

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

12

/linux-6.6.21/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()
816 const struct vcap_props *vcap = &ocelot->vcap[VCAP_ES0]; in ocelot_vcap_filter_create() local
817 int key_length = vcap->keys[VCAP_ES0_EGR_PORT].length; in ocelot_vcap_filter_create()
Docelot_vsc7514.c341 ocelot->vcap = vsc7514_vcap_props; in mscc_ocelot_probe()
/linux-6.6.21/drivers/net/ethernet/microchip/vcap/
DMakefile6 obj-$(CONFIG_VCAP) += vcap.o
8 vcap-$(CONFIG_DEBUG_FS) += vcap_api_debugfs.o
10 vcap-y += vcap_api.o vcap_tc.o
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.6.21/tools/testing/selftests/media_tests/
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.6.21/drivers/net/ethernet/microchip/lan966x/
Dlan966x_vcap_debugfs.c219 const struct vcap_info *vcap; in lan966x_vcap_port_info() local
223 vcap = &vctrl->vcaps[admin->vtype]; in lan966x_vcap_port_info()
225 out->prf(out->dst, "%s:\n", vcap->name); in lan966x_vcap_port_info()
DMakefile22 ccflags-y += -I$(srctree)/drivers/net/ethernet/microchip/vcap
/linux-6.6.21/drivers/net/ethernet/microchip/
DMakefile14 obj-$(CONFIG_VCAP) += vcap/
DKconfig61 source "drivers/net/ethernet/microchip/vcap/Kconfig"
/linux-6.6.21/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-6.6.21/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-6.6.21/drivers/net/ethernet/microchip/sparx5/
DMakefile19 ccflags-y += -I$(srctree)/drivers/net/ethernet/microchip/vcap
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.6.21/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-6.6.21/drivers/media/pci/cx18/
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.6.21/drivers/net/dsa/ocelot/
Dfelix.h36 struct vcap_props *vcap; member
Docelot_ext.c57 .vcap = vsc7514_vcap_props,
Dfelix.c75 key_length = ocelot->vcap[VCAP_ES0].keys[VCAP_ES0_IGR_PORT].length; in felix_tag_8021q_vlan_add_rx()
1386 ocelot->vcap = felix->info->vcap; in felix_init_structs()
Dseville_vsc9953.c958 .vcap = vsc9953_vcap_props,
/linux-6.6.21/arch/powerpc/platforms/pseries/
Dvas.c741 static int reconfig_close_windows(struct vas_caps *vcap, int excess_creds, in reconfig_close_windows() argument
754 list_for_each_entry_safe(win, tmp, &vcap->list, win_list) { in reconfig_close_windows()
810 vcap->nr_close_wins++; in reconfig_close_windows()
/linux-6.6.21/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-6.6.21/sound/pci/hda/
Dhda_codec.c3960 unsigned int vcap, vref; in snd_hda_correct_pin_ctl() local
3962 vcap = (cap & AC_PINCAP_VREF) >> AC_PINCAP_VREF_SHIFT; in snd_hda_correct_pin_ctl()
3966 !(vcap & cap_lists[i][1])) { in snd_hda_correct_pin_ctl()

12