Home
last modified time | relevance | path

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

/linux-6.12.1/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-6.12.1/drivers/media/pci/ivtv/
Divtv-streams.c794 int cap_type; in ivtv_stop_v4l2_encode_stream() local
812 cap_type = 1; in ivtv_stop_v4l2_encode_stream()
815 cap_type = 1; in ivtv_stop_v4l2_encode_stream()
818 cap_type = 1; in ivtv_stop_v4l2_encode_stream()
822 cap_type = 0; in ivtv_stop_v4l2_encode_stream()
835 ivtv_vapi(itv, CX2341X_ENC_STOP_CAPTURE, 3, stopmode, cap_type, s->subtype); in ivtv_stop_v4l2_encode_stream()
/linux-6.12.1/drivers/usb/core/
Dconfig.c998 __u8 cap_type; in usb_get_bos_descriptor() local
1053 cap_type = cap->bDevCapabilityType; in usb_get_bos_descriptor()
1055 if (bos_desc_len[cap_type] && length < bos_desc_len[cap_type]) { in usb_get_bos_descriptor()
1065 switch (cap_type) { in usb_get_bos_descriptor()
/linux-6.12.1/drivers/net/ethernet/mellanox/mlx5/core/
Dmain.c362 int mlx5_core_get_caps_mode(struct mlx5_core_dev *dev, enum mlx5_cap_type cap_type, in mlx5_core_get_caps_mode() argument
368 u16 opmod = (cap_type << 1) | (cap_mode & 0x01); in mlx5_core_get_caps_mode()
382 cap_type, cap_mode, err); in mlx5_core_get_caps_mode()
390 memcpy(dev->caps.hca[cap_type]->max, hca_caps, in mlx5_core_get_caps_mode()
394 memcpy(dev->caps.hca[cap_type]->cur, hca_caps, in mlx5_core_get_caps_mode()
400 cap_type, cap_mode); in mlx5_core_get_caps_mode()
409 int mlx5_core_get_caps(struct mlx5_core_dev *dev, enum mlx5_cap_type cap_type) in mlx5_core_get_caps() argument
413 ret = mlx5_core_get_caps_mode(dev, cap_type, HCA_CAP_OPMOD_GET_CUR); in mlx5_core_get_caps()
416 return mlx5_core_get_caps_mode(dev, cap_type, HCA_CAP_OPMOD_GET_MAX); in mlx5_core_get_caps()
Dmlx5_core.h196 int mlx5_core_get_caps(struct mlx5_core_dev *dev, enum mlx5_cap_type cap_type);
197 int mlx5_core_get_caps_mode(struct mlx5_core_dev *dev, enum mlx5_cap_type cap_type,
/linux-6.12.1/include/scsi/
Dviosrp.h169 __be32 cap_type; member
/linux-6.12.1/samples/vfio-mdev/
Dmdpy.c440 u16 *cap_type_id, void **cap_type) in mdpy_get_region_info() argument
551 void *cap_type = NULL; in mdpy_ioctl() local
562 &cap_type); in mdpy_ioctl()
Dmtty.c1722 u16 *cap_type_id, void **cap_type) in mtty_get_region_info() argument
1824 void *cap_type = NULL; in mtty_ioctl() local
1835 &cap_type); in mtty_ioctl()
/linux-6.12.1/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()
2426 enum v4l2_buf_type cap_type = V4L2_BUF_TYPE_VIDEO_CAPTURE_MPLANE; in mxc_jpeg_s_fmt_vid_out() local
2436 dst_vq = v4l2_m2m_get_vq(ctx->fh.m2m_ctx, cap_type); in mxc_jpeg_s_fmt_vid_out()
2443 q_data_cap = mxc_jpeg_get_q_data(ctx, cap_type); in mxc_jpeg_s_fmt_vid_out()
2447 fc.type = cap_type; in mxc_jpeg_s_fmt_vid_out()
/linux-6.12.1/drivers/gpu/drm/i915/gvt/
Dkvmgt.c1251 struct vfio_region_info_cap_type cap_type = { in intel_vgpu_ioctl() local
1270 cap_type.type = vgpu->region[i].type; in intel_vgpu_ioctl()
1271 cap_type.subtype = vgpu->region[i].subtype; in intel_vgpu_ioctl()
1274 &cap_type.header, in intel_vgpu_ioctl()
1275 sizeof(cap_type)); in intel_vgpu_ioctl()
/linux-6.12.1/arch/arm64/kernel/
Dcpufeature.c2900 #define __HWCAP_CAP(name, cap_type, cap) \ argument
2903 .hwcap_type = cap_type, \
2906 #define HWCAP_CAP(reg, field, min_value, cap_type, cap) \ argument
2908 __HWCAP_CAP(#cap, cap_type, cap) \
2912 #define HWCAP_MULTI_CAP(list, cap_type, cap) \ argument
2914 __HWCAP_CAP(#cap, cap_type, cap) \
2919 #define HWCAP_CAP_MATCH(match, cap_type, cap) \ argument
2921 __HWCAP_CAP(#cap, cap_type, cap) \
/linux-6.12.1/drivers/vfio/pci/
Dvfio_pci_core.c1096 struct vfio_region_info_cap_type cap_type = { in vfio_pci_ioctl_get_region_info() local
1112 cap_type.type = vdev->region[i].type; in vfio_pci_ioctl_get_region_info()
1113 cap_type.subtype = vdev->region[i].subtype; in vfio_pci_ioctl_get_region_info()
1115 ret = vfio_info_add_capability(&caps, &cap_type.header, in vfio_pci_ioctl_get_region_info()
1116 sizeof(cap_type)); in vfio_pci_ioctl_get_region_info()
/linux-6.12.1/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-6.12.1/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()