Home
last modified time | relevance | path

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

/drivers/s390/cio/
Dvfio_ccw_ops.c342 struct vfio_region_info_cap_type cap_type = { in vfio_ccw_mdev_get_region_info() local
361 cap_type.type = private->region[i].type; in vfio_ccw_mdev_get_region_info()
362 cap_type.subtype = private->region[i].subtype; in vfio_ccw_mdev_get_region_info()
364 ret = vfio_info_add_capability(&caps, &cap_type.header, in vfio_ccw_mdev_get_region_info()
365 sizeof(cap_type)); in vfio_ccw_mdev_get_region_info()
/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()
/drivers/net/ethernet/mellanox/mlx5/core/
Dmain.c361 enum mlx5_cap_type cap_type, in mlx5_core_get_caps_mode() argument
367 u16 opmod = (cap_type << 1) | (cap_mode & 0x01); in mlx5_core_get_caps_mode()
381 cap_type, cap_mode, err); in mlx5_core_get_caps_mode()
389 memcpy(dev->caps.hca_max[cap_type], hca_caps, in mlx5_core_get_caps_mode()
393 memcpy(dev->caps.hca_cur[cap_type], hca_caps, in mlx5_core_get_caps_mode()
399 cap_type, cap_mode); in mlx5_core_get_caps_mode()
408 int mlx5_core_get_caps(struct mlx5_core_dev *dev, enum mlx5_cap_type cap_type) in mlx5_core_get_caps() argument
412 ret = mlx5_core_get_caps_mode(dev, cap_type, HCA_CAP_OPMOD_GET_CUR); in mlx5_core_get_caps()
415 return mlx5_core_get_caps_mode(dev, cap_type, HCA_CAP_OPMOD_GET_MAX); in mlx5_core_get_caps()
/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()
/drivers/gpu/drm/i915/gvt/
Dkvmgt.c1454 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()
/drivers/vfio/pci/
Dvfio_pci.c954 struct vfio_region_info_cap_type cap_type = { in vfio_pci_ioctl() local
971 cap_type.type = vdev->region[i].type; in vfio_pci_ioctl()
972 cap_type.subtype = vdev->region[i].subtype; in vfio_pci_ioctl()
974 ret = vfio_info_add_capability(&caps, &cap_type.header, in vfio_pci_ioctl()
975 sizeof(cap_type)); in vfio_pci_ioctl()
/drivers/scsi/ibmvscsi/
Dibmvscsi.c1293 hostdata->caps.migration.common.cap_type = in send_mad_capabilities()
1302 hostdata->caps.reserve.common.cap_type = in send_mad_capabilities()
/drivers/scsi/ibmvscsi_tgt/
Dibmvscsi_tgt.c1656 len, be32_to_cpu(common->cap_type), in ibmvscsis_cap_mad()
1672 switch (common->cap_type) { in ibmvscsis_cap_mad()