Home
last modified time | relevance | path

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

/linux/drivers/net/ethernet/mscc/
H A 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 …]
H A Docelot_vsc7514.c345 ocelot->vcap = vsc7514_vcap_props; in mscc_ocelot_probe()
/linux/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()
H A Dvcap_api.c224 const struct vcap_info *vcap = &vctrl->vcaps[vt]; in vcap_verify_keystream_keyset() local
255 vcap_iter_init(&iter, vcap->sw_width, tgt, typefld->offset); in vcap_verify_keystream_keyset()
264 vcap_iter_init(&iter, vcap->sw_width, tgt, typefld->offset); in vcap_verify_keystream_keyset()
/linux/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/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/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/drivers/net/ethernet/microchip/
H A DMakefile15 obj-$(CONFIG_VCAP) += vcap/
H A DKconfig63 source "drivers/net/ethernet/microchip/vcap/Kconfig"
/linux/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/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/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_vsc9959.c2662 .vcap = vsc9959_vcap_props,
/linux/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/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()
/linux/sound/pci/hda/
H A Dhda_codec.c3962 unsigned int vcap, vref; in snd_hda_correct_pin_ctl() local
3964 vcap = (cap & AC_PINCAP_VREF) >> AC_PINCAP_VREF_SHIFT; in snd_hda_correct_pin_ctl()
3968 !(vcap & cap_lists[i][1])) { in snd_hda_correct_pin_ctl()
/linux/include/soc/mscc/
H A Docelot.h861 struct vcap_props *vcap; member
/linux/
H A DMAINTAINERS2742 F: drivers/net/ethernet/microchip/vcap/