| /Linux-v5.15/drivers/s390/cio/ |
| D | vfio_ccw_ops.c | 345 struct vfio_region_info_cap_type cap_type = { in vfio_ccw_mdev_get_region_info() local 364 cap_type.type = private->region[i].type; in vfio_ccw_mdev_get_region_info() 365 cap_type.subtype = private->region[i].subtype; in vfio_ccw_mdev_get_region_info() 367 ret = vfio_info_add_capability(&caps, &cap_type.header, in vfio_ccw_mdev_get_region_info() 368 sizeof(cap_type)); in vfio_ccw_mdev_get_region_info()
|
| /Linux-v5.15/drivers/media/pci/ivtv/ |
| D | ivtv-streams.c | 795 int cap_type; in ivtv_stop_v4l2_encode_stream() local 813 cap_type = 1; in ivtv_stop_v4l2_encode_stream() 816 cap_type = 1; in ivtv_stop_v4l2_encode_stream() 819 cap_type = 1; in ivtv_stop_v4l2_encode_stream() 823 cap_type = 0; in ivtv_stop_v4l2_encode_stream() 836 ivtv_vapi(itv, CX2341X_ENC_STOP_CAPTURE, 3, stopmode, cap_type, s->subtype); in ivtv_stop_v4l2_encode_stream()
|
| /Linux-v5.15/drivers/net/ethernet/mellanox/mlx5/core/ |
| D | main.c | 352 enum mlx5_cap_type cap_type, in mlx5_core_get_caps_mode() argument 358 u16 opmod = (cap_type << 1) | (cap_mode & 0x01); in mlx5_core_get_caps_mode() 372 cap_type, cap_mode, err); in mlx5_core_get_caps_mode() 380 memcpy(dev->caps.hca[cap_type]->max, hca_caps, in mlx5_core_get_caps_mode() 384 memcpy(dev->caps.hca[cap_type]->cur, hca_caps, in mlx5_core_get_caps_mode() 390 cap_type, cap_mode); in mlx5_core_get_caps_mode() 399 int mlx5_core_get_caps(struct mlx5_core_dev *dev, enum mlx5_cap_type cap_type) in mlx5_core_get_caps() argument 403 ret = mlx5_core_get_caps_mode(dev, cap_type, HCA_CAP_OPMOD_GET_CUR); in mlx5_core_get_caps() 406 return mlx5_core_get_caps_mode(dev, cap_type, HCA_CAP_OPMOD_GET_MAX); in mlx5_core_get_caps()
|
| /Linux-v5.15/drivers/usb/core/ |
| D | config.c | 986 __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-v5.15/include/scsi/ |
| D | viosrp.h | 164 __be32 cap_type; member
|
| /Linux-v5.15/samples/vfio-mdev/ |
| D | mdpy.c | 430 u16 *cap_type_id, void **cap_type) in mdpy_get_region_info() argument 541 void *cap_type = NULL; in mdpy_ioctl() local 552 &cap_type); in mdpy_ioctl()
|
| D | mtty.c | 1022 u16 *cap_type_id, void **cap_type) in mtty_get_region_info() argument 1130 void *cap_type = NULL; in mtty_ioctl() local 1141 &cap_type); in mtty_ioctl()
|
| /Linux-v5.15/arch/arm64/kernel/ |
| D | cpufeature.c | 2345 #define __HWCAP_CAP(name, cap_type, cap) \ argument 2348 .hwcap_type = cap_type, \ 2351 #define HWCAP_CAP(reg, field, s, min_value, cap_type, cap) \ argument 2353 __HWCAP_CAP(#cap, cap_type, cap) \ 2357 #define HWCAP_MULTI_CAP(list, cap_type, cap) \ argument 2359 __HWCAP_CAP(#cap, cap_type, cap) \ 2364 #define HWCAP_CAP_MATCH(match, cap_type, cap) \ argument 2366 __HWCAP_CAP(#cap, cap_type, cap) \
|
| /Linux-v5.15/drivers/media/platform/imx-jpeg/ |
| D | mxc-jpeg.c | 546 enum v4l2_buf_type cap_type = V4L2_BUF_TYPE_VIDEO_CAPTURE_MPLANE; in mxc_jpeg_dec_irq() local 610 q_data = mxc_jpeg_get_q_data(ctx, cap_type); in mxc_jpeg_dec_irq() 774 enum v4l2_buf_type cap_type = V4L2_BUF_TYPE_VIDEO_CAPTURE_MPLANE; in mxc_jpeg_config_dec_desc() local 793 q_data_cap = mxc_jpeg_get_q_data(ctx, cap_type); in mxc_jpeg_config_dec_desc() 1199 enum v4l2_buf_type cap_type = V4L2_BUF_TYPE_VIDEO_CAPTURE_MPLANE; in mxc_jpeg_parse() local 1269 q_data_cap = mxc_jpeg_get_q_data(ctx, cap_type); in mxc_jpeg_parse()
|
| /Linux-v5.15/drivers/vfio/pci/ |
| D | vfio_pci_core.c | 790 struct vfio_region_info_cap_type cap_type = { in vfio_pci_core_ioctl() local 807 cap_type.type = vdev->region[i].type; in vfio_pci_core_ioctl() 808 cap_type.subtype = vdev->region[i].subtype; in vfio_pci_core_ioctl() 810 ret = vfio_info_add_capability(&caps, &cap_type.header, in vfio_pci_core_ioctl() 811 sizeof(cap_type)); in vfio_pci_core_ioctl()
|
| /Linux-v5.15/drivers/gpu/drm/i915/gvt/ |
| D | kvmgt.c | 1550 struct vfio_region_info_cap_type cap_type = { in intel_vgpu_ioctl() local 1569 cap_type.type = vdev->region[i].type; in intel_vgpu_ioctl() 1570 cap_type.subtype = vdev->region[i].subtype; in intel_vgpu_ioctl() 1573 &cap_type.header, in intel_vgpu_ioctl() 1574 sizeof(cap_type)); in intel_vgpu_ioctl()
|
| /Linux-v5.15/drivers/scsi/ibmvscsi/ |
| D | ibmvscsi.c | 1294 hostdata->caps.migration.common.cap_type = in send_mad_capabilities() 1303 hostdata->caps.reserve.common.cap_type = in send_mad_capabilities()
|
| /Linux-v5.15/include/linux/mlx5/ |
| D | driver.h | 1007 int mlx5_core_get_caps(struct mlx5_core_dev *dev, enum mlx5_cap_type cap_type);
|
| /Linux-v5.15/drivers/scsi/ibmvscsi_tgt/ |
| 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()
|