| /linux-6.15/drivers/gpu/drm/xe/ |
| H A D | xe_vsec.c | 109 u32 cap_type = FIELD_GET(GUID_CAP_TYPE, guid); in xe_guid_decode() local 115 if (cap_type > WATCHER) in xe_guid_decode() 120 if (cap_type == CRASHLOG) { in xe_guid_decode() 128 if (cap_type == TELEMETRY) in xe_guid_decode() 136 if (cap_type == WATCHER) in xe_guid_decode() 142 if (cap_type == TELEMETRY) in xe_guid_decode()
|
| /linux-6.15/drivers/s390/cio/ |
| H A D | vfio_ccw_ops.c | 332 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.15/drivers/media/pci/ivtv/ |
| H A D | ivtv-streams.c | 794 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.15/drivers/net/ethernet/mellanox/mlx5/core/ |
| H A D | main.c | 362 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() 371 if (WARN_ON(!dev->caps.hca[cap_type])) in mlx5_core_get_caps_mode() 386 cap_type, cap_mode, err); in mlx5_core_get_caps_mode() 394 memcpy(dev->caps.hca[cap_type]->max, hca_caps, in mlx5_core_get_caps_mode() 398 memcpy(dev->caps.hca[cap_type]->cur, hca_caps, in mlx5_core_get_caps_mode() 404 cap_type, cap_mode); in mlx5_core_get_caps_mode() 413 int mlx5_core_get_caps(struct mlx5_core_dev *dev, enum mlx5_cap_type cap_type) in mlx5_core_get_caps() argument 417 ret = mlx5_core_get_caps_mode(dev, cap_type, HCA_CAP_OPMOD_GET_CUR); in mlx5_core_get_caps() 420 return mlx5_core_get_caps_mode(dev, cap_type, HCA_CAP_OPMOD_GET_MAX); in mlx5_core_get_caps()
|
| H A D | mlx5_core.h | 216 int mlx5_core_get_caps(struct mlx5_core_dev *dev, enum mlx5_cap_type cap_type); 217 int mlx5_core_get_caps_mode(struct mlx5_core_dev *dev, enum mlx5_cap_type cap_type,
|
| /linux-6.15/include/scsi/ |
| H A D | viosrp.h | 169 __be32 cap_type; member
|
| /linux-6.15/drivers/usb/core/ |
| H A D | config.c | 1034 __u8 cap_type; in usb_get_bos_descriptor() local 1089 cap_type = cap->bDevCapabilityType; in usb_get_bos_descriptor() 1091 if (bos_desc_len[cap_type] && length < bos_desc_len[cap_type]) { in usb_get_bos_descriptor() 1101 switch (cap_type) { in usb_get_bos_descriptor()
|
| /linux-6.15/samples/vfio-mdev/ |
| H A D | mdpy.c | 440 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()
|
| H A D | mtty.c | 1722 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.15/drivers/media/platform/nxp/imx-jpeg/ |
| H A D | mxc-jpeg.c | 892 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() 2424 enum v4l2_buf_type cap_type = V4L2_BUF_TYPE_VIDEO_CAPTURE_MPLANE; in mxc_jpeg_s_fmt_vid_out() local 2434 dst_vq = v4l2_m2m_get_vq(ctx->fh.m2m_ctx, cap_type); in mxc_jpeg_s_fmt_vid_out() 2441 q_data_cap = mxc_jpeg_get_q_data(ctx, cap_type); in mxc_jpeg_s_fmt_vid_out() 2445 fc.type = cap_type; in mxc_jpeg_s_fmt_vid_out()
|
| /linux-6.15/arch/arm64/kernel/ |
| H A D | cpufeature.c | 3058 #define __HWCAP_CAP(name, cap_type, cap) \ argument 3061 .hwcap_type = cap_type, \ 3064 #define HWCAP_CAP(reg, field, min_value, cap_type, cap) \ argument 3066 __HWCAP_CAP(#cap, cap_type, cap) \ 3070 #define HWCAP_MULTI_CAP(list, cap_type, cap) \ argument 3072 __HWCAP_CAP(#cap, cap_type, cap) \ 3077 #define HWCAP_CAP_MATCH(match, cap_type, cap) \ argument 3079 __HWCAP_CAP(#cap, cap_type, cap) \ 3083 #define HWCAP_CAP_MATCH_ID(match, reg, field, min_value, cap_type, cap) \ argument 3085 __HWCAP_CAP(#cap, cap_type, cap) \
|
| /linux-6.15/drivers/gpu/drm/i915/gvt/ |
| H A D | kvmgt.c | 1251 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.15/drivers/vfio/pci/ |
| H A D | vfio_pci_core.c | 1084 struct vfio_region_info_cap_type cap_type = { in vfio_pci_ioctl_get_region_info() local 1100 cap_type.type = vdev->region[i].type; in vfio_pci_ioctl_get_region_info() 1101 cap_type.subtype = vdev->region[i].subtype; in vfio_pci_ioctl_get_region_info() 1103 ret = vfio_info_add_capability(&caps, &cap_type.header, in vfio_pci_ioctl_get_region_info() 1104 sizeof(cap_type)); in vfio_pci_ioctl_get_region_info()
|
| /linux-6.15/drivers/scsi/ibmvscsi/ |
| H A D | ibmvscsi.c | 1295 hostdata->caps.migration.common.cap_type = in send_mad_capabilities() 1304 hostdata->caps.reserve.common.cap_type = in send_mad_capabilities()
|
| /linux-6.15/drivers/scsi/ibmvscsi_tgt/ |
| H A D | ibmvscsi_tgt.c | 1657 len, be32_to_cpu(common->cap_type), in ibmvscsis_cap_mad() 1673 switch (common->cap_type) { in ibmvscsis_cap_mad()
|