/Linux-v5.10/drivers/s390/cio/ |
D | vfio_ccw_ops.c | 344 struct vfio_region_info_cap_type cap_type = { in vfio_ccw_mdev_get_region_info() local 363 cap_type.type = private->region[i].type; in vfio_ccw_mdev_get_region_info() 364 cap_type.subtype = private->region[i].subtype; in vfio_ccw_mdev_get_region_info() 366 ret = vfio_info_add_capability(&caps, &cap_type.header, in vfio_ccw_mdev_get_region_info() 367 sizeof(cap_type)); in vfio_ccw_mdev_get_region_info()
|
/Linux-v5.10/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.10/drivers/net/ethernet/mellanox/mlx5/core/ |
D | main.c | 358 enum mlx5_cap_type cap_type, in mlx5_core_get_caps_mode() argument 364 u16 opmod = (cap_type << 1) | (cap_mode & 0x01); in mlx5_core_get_caps_mode() 378 cap_type, cap_mode, err); in mlx5_core_get_caps_mode() 386 memcpy(dev->caps.hca_max[cap_type], hca_caps, in mlx5_core_get_caps_mode() 390 memcpy(dev->caps.hca_cur[cap_type], hca_caps, in mlx5_core_get_caps_mode() 396 cap_type, cap_mode); in mlx5_core_get_caps_mode() 405 int mlx5_core_get_caps(struct mlx5_core_dev *dev, enum mlx5_cap_type cap_type) in mlx5_core_get_caps() argument 409 ret = mlx5_core_get_caps_mode(dev, cap_type, HCA_CAP_OPMOD_GET_CUR); in mlx5_core_get_caps() 412 return mlx5_core_get_caps_mode(dev, cap_type, HCA_CAP_OPMOD_GET_MAX); in mlx5_core_get_caps()
|
/Linux-v5.10/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.10/include/scsi/ |
D | viosrp.h | 164 __be32 cap_type; member
|
/Linux-v5.10/samples/vfio-mdev/ |
D | mdpy.c | 427 u16 *cap_type_id, void **cap_type) in mdpy_get_region_info() argument 549 void *cap_type = NULL; in mdpy_ioctl() local 560 &cap_type); in mdpy_ioctl()
|
D | mtty.c | 1045 u16 *cap_type_id, void **cap_type) in mtty_get_region_info() argument 1169 void *cap_type = NULL; in mtty_ioctl() local 1180 &cap_type); in mtty_ioctl()
|
/Linux-v5.10/arch/arm64/kernel/ |
D | cpufeature.c | 2151 #define __HWCAP_CAP(name, cap_type, cap) \ argument 2154 .hwcap_type = cap_type, \ 2157 #define HWCAP_CAP(reg, field, s, min_value, cap_type, cap) \ argument 2159 __HWCAP_CAP(#cap, cap_type, cap) \ 2163 #define HWCAP_MULTI_CAP(list, cap_type, cap) \ argument 2165 __HWCAP_CAP(#cap, cap_type, cap) \ 2170 #define HWCAP_CAP_MATCH(match, cap_type, cap) \ argument 2172 __HWCAP_CAP(#cap, cap_type, cap) \
|
/Linux-v5.10/drivers/gpu/drm/i915/gvt/ |
D | kvmgt.c | 1454 struct vfio_region_info_cap_type cap_type = { in intel_vgpu_ioctl() local 1473 cap_type.type = vdev->region[i].type; in intel_vgpu_ioctl() 1474 cap_type.subtype = vdev->region[i].subtype; in intel_vgpu_ioctl() 1477 &cap_type.header, in intel_vgpu_ioctl() 1478 sizeof(cap_type)); in intel_vgpu_ioctl()
|
/Linux-v5.10/drivers/vfio/pci/ |
D | vfio_pci.c | 956 struct vfio_region_info_cap_type cap_type = { in vfio_pci_ioctl() local 973 cap_type.type = vdev->region[i].type; in vfio_pci_ioctl() 974 cap_type.subtype = vdev->region[i].subtype; in vfio_pci_ioctl() 976 ret = vfio_info_add_capability(&caps, &cap_type.header, in vfio_pci_ioctl() 977 sizeof(cap_type)); in vfio_pci_ioctl()
|
/Linux-v5.10/include/linux/mlx5/ |
D | driver.h | 941 int mlx5_core_get_caps(struct mlx5_core_dev *dev, enum mlx5_cap_type cap_type);
|
/Linux-v5.10/drivers/scsi/ibmvscsi/ |
D | ibmvscsi.c | 1293 hostdata->caps.migration.common.cap_type = in send_mad_capabilities() 1302 hostdata->caps.reserve.common.cap_type = in send_mad_capabilities()
|
/Linux-v5.10/drivers/scsi/ibmvscsi_tgt/ |
D | ibmvscsi_tgt.c | 1656 len, be32_to_cpu(common->cap_type), in ibmvscsis_cap_mad() 1672 switch (common->cap_type) { in ibmvscsis_cap_mad()
|