Home
last modified time | relevance | path

Searched refs:cap_type (Results 1 – 14 of 14) sorted by relevance

/Linux-v6.6/drivers/s390/cio/
Dvfio_ccw_ops.c332 struct vfio_region_info_cap_type cap_type = { in vfio_ccw_mdev_get_region_info() local
351 cap_type.type = private->region[i].type; in vfio_ccw_mdev_get_region_info()
352 cap_type.subtype = private->region[i].subtype; in vfio_ccw_mdev_get_region_info()
354 ret = vfio_info_add_capability(&caps, &cap_type.header, in vfio_ccw_mdev_get_region_info()
355 sizeof(cap_type)); in vfio_ccw_mdev_get_region_info()
/Linux-v6.6/drivers/media/pci/ivtv/
Divtv-streams.c792 int cap_type; in ivtv_stop_v4l2_encode_stream() local
810 cap_type = 1; in ivtv_stop_v4l2_encode_stream()
813 cap_type = 1; in ivtv_stop_v4l2_encode_stream()
816 cap_type = 1; in ivtv_stop_v4l2_encode_stream()
820 cap_type = 0; in ivtv_stop_v4l2_encode_stream()
833 ivtv_vapi(itv, CX2341X_ENC_STOP_CAPTURE, 3, stopmode, cap_type, s->subtype); in ivtv_stop_v4l2_encode_stream()
/Linux-v6.6/drivers/usb/core/
Dconfig.c986 __u8 cap_type; in usb_get_bos_descriptor() local
1041 cap_type = cap->bDevCapabilityType; in usb_get_bos_descriptor()
1043 if (bos_desc_len[cap_type] && length < bos_desc_len[cap_type]) { in usb_get_bos_descriptor()
1053 switch (cap_type) { in usb_get_bos_descriptor()
/Linux-v6.6/drivers/net/ethernet/mellanox/mlx5/core/
Dmain.c364 int mlx5_core_get_caps_mode(struct mlx5_core_dev *dev, enum mlx5_cap_type cap_type, in mlx5_core_get_caps_mode() argument
370 u16 opmod = (cap_type << 1) | (cap_mode & 0x01); in mlx5_core_get_caps_mode()
384 cap_type, cap_mode, err); in mlx5_core_get_caps_mode()
392 memcpy(dev->caps.hca[cap_type]->max, hca_caps, in mlx5_core_get_caps_mode()
396 memcpy(dev->caps.hca[cap_type]->cur, hca_caps, in mlx5_core_get_caps_mode()
402 cap_type, cap_mode); in mlx5_core_get_caps_mode()
411 int mlx5_core_get_caps(struct mlx5_core_dev *dev, enum mlx5_cap_type cap_type) in mlx5_core_get_caps() argument
415 ret = mlx5_core_get_caps_mode(dev, cap_type, HCA_CAP_OPMOD_GET_CUR); in mlx5_core_get_caps()
418 return mlx5_core_get_caps_mode(dev, cap_type, HCA_CAP_OPMOD_GET_MAX); in mlx5_core_get_caps()
Dmlx5_core.h177 int mlx5_core_get_caps(struct mlx5_core_dev *dev, enum mlx5_cap_type cap_type);
178 int mlx5_core_get_caps_mode(struct mlx5_core_dev *dev, enum mlx5_cap_type cap_type,
/Linux-v6.6/include/scsi/
Dviosrp.h169 __be32 cap_type; member
/Linux-v6.6/samples/vfio-mdev/
Dmdpy.c437 u16 *cap_type_id, void **cap_type) in mdpy_get_region_info() argument
548 void *cap_type = NULL; in mdpy_ioctl() local
559 &cap_type); in mdpy_ioctl()
Dmtty.c1046 u16 *cap_type_id, void **cap_type) in mtty_get_region_info() argument
1154 void *cap_type = NULL; in mtty_ioctl() local
1165 &cap_type); in mtty_ioctl()
/Linux-v6.6/drivers/media/platform/nxp/imx-jpeg/
Dmxc-jpeg.c892 enum v4l2_buf_type cap_type = V4L2_BUF_TYPE_VIDEO_CAPTURE_MPLANE; in mxc_jpeg_dec_irq() local
961 q_data = mxc_jpeg_get_q_data(ctx, cap_type); in mxc_jpeg_dec_irq()
1166 enum v4l2_buf_type cap_type = V4L2_BUF_TYPE_VIDEO_CAPTURE_MPLANE; in mxc_jpeg_config_dec_desc() local
1185 q_data_cap = mxc_jpeg_get_q_data(ctx, cap_type); in mxc_jpeg_config_dec_desc()
2392 enum v4l2_buf_type cap_type = V4L2_BUF_TYPE_VIDEO_CAPTURE_MPLANE; in mxc_jpeg_s_fmt_vid_out() local
2402 dst_vq = v4l2_m2m_get_vq(ctx->fh.m2m_ctx, cap_type); in mxc_jpeg_s_fmt_vid_out()
2409 q_data_cap = mxc_jpeg_get_q_data(ctx, cap_type); in mxc_jpeg_s_fmt_vid_out()
2413 fc.type = cap_type; in mxc_jpeg_s_fmt_vid_out()
/Linux-v6.6/drivers/gpu/drm/i915/gvt/
Dkvmgt.c1243 struct vfio_region_info_cap_type cap_type = { in intel_vgpu_ioctl() local
1262 cap_type.type = vgpu->region[i].type; in intel_vgpu_ioctl()
1263 cap_type.subtype = vgpu->region[i].subtype; in intel_vgpu_ioctl()
1266 &cap_type.header, in intel_vgpu_ioctl()
1267 sizeof(cap_type)); in intel_vgpu_ioctl()
/Linux-v6.6/arch/arm64/kernel/
Dcpufeature.c2729 #define __HWCAP_CAP(name, cap_type, cap) \ argument
2732 .hwcap_type = cap_type, \
2735 #define HWCAP_CAP(reg, field, min_value, cap_type, cap) \ argument
2737 __HWCAP_CAP(#cap, cap_type, cap) \
2741 #define HWCAP_MULTI_CAP(list, cap_type, cap) \ argument
2743 __HWCAP_CAP(#cap, cap_type, cap) \
2748 #define HWCAP_CAP_MATCH(match, cap_type, cap) \ argument
2750 __HWCAP_CAP(#cap, cap_type, cap) \
/Linux-v6.6/drivers/vfio/pci/
Dvfio_pci_core.c1102 struct vfio_region_info_cap_type cap_type = { in vfio_pci_ioctl_get_region_info() local
1118 cap_type.type = vdev->region[i].type; in vfio_pci_ioctl_get_region_info()
1119 cap_type.subtype = vdev->region[i].subtype; in vfio_pci_ioctl_get_region_info()
1121 ret = vfio_info_add_capability(&caps, &cap_type.header, in vfio_pci_ioctl_get_region_info()
1122 sizeof(cap_type)); in vfio_pci_ioctl_get_region_info()
/Linux-v6.6/drivers/scsi/ibmvscsi/
Dibmvscsi.c1295 hostdata->caps.migration.common.cap_type = in send_mad_capabilities()
1304 hostdata->caps.reserve.common.cap_type = in send_mad_capabilities()
/Linux-v6.6/drivers/scsi/ibmvscsi_tgt/
Dibmvscsi_tgt.c1657 len, be32_to_cpu(common->cap_type), in ibmvscsis_cap_mad()
1673 switch (common->cap_type) { in ibmvscsis_cap_mad()