Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/s390/cio/
Dvfio_ccw_ops.c223 void **cap_type) in vfio_ccw_mdev_get_region_info() argument
341 void *cap_type = NULL; in vfio_ccw_mdev_ioctl() local
352 &cap_type); in vfio_ccw_mdev_ioctl()
/Linux-v4.19/drivers/media/pci/ivtv/
Divtv-streams.c780 int cap_type; in ivtv_stop_v4l2_encode_stream() local
798 cap_type = 1; in ivtv_stop_v4l2_encode_stream()
801 cap_type = 1; in ivtv_stop_v4l2_encode_stream()
804 cap_type = 1; in ivtv_stop_v4l2_encode_stream()
808 cap_type = 0; in ivtv_stop_v4l2_encode_stream()
821 ivtv_vapi(itv, CX2341X_ENC_STOP_CAPTURE, 3, stopmode, cap_type, s->subtype); in ivtv_stop_v4l2_encode_stream()
/Linux-v4.19/drivers/usb/wusbcore/
Ddevconnect.c702 u8 cap_type; in wusb_dev_bos_grok() local
711 cap_type = cap_hdr->bDevCapabilityType; in wusb_dev_bos_grok()
719 cap_type, cap_size, top - itr); in wusb_dev_bos_grok()
723 switch (cap_type) { in wusb_dev_bos_grok()
735 "(%zu bytes) at offset 0x%02x\n", cap_type, in wusb_dev_bos_grok()
/Linux-v4.19/drivers/net/ethernet/mellanox/mlx5/core/
Dmain.c401 enum mlx5_cap_type cap_type, in mlx5_core_get_caps_mode() argument
407 u16 opmod = (cap_type << 1) | (cap_mode & 0x01); in mlx5_core_get_caps_mode()
421 cap_type, cap_mode, err); in mlx5_core_get_caps_mode()
429 memcpy(dev->caps.hca_max[cap_type], hca_caps, in mlx5_core_get_caps_mode()
433 memcpy(dev->caps.hca_cur[cap_type], hca_caps, in mlx5_core_get_caps_mode()
439 cap_type, cap_mode); in mlx5_core_get_caps_mode()
448 int mlx5_core_get_caps(struct mlx5_core_dev *dev, enum mlx5_cap_type cap_type) in mlx5_core_get_caps() argument
452 ret = mlx5_core_get_caps_mode(dev, cap_type, HCA_CAP_OPMOD_GET_CUR); in mlx5_core_get_caps()
455 return mlx5_core_get_caps_mode(dev, cap_type, HCA_CAP_OPMOD_GET_MAX); in mlx5_core_get_caps()
/Linux-v4.19/drivers/usb/core/
Dconfig.c930 __u8 cap_type; in usb_get_bos_descriptor() local
983 cap_type = cap->bDevCapabilityType; in usb_get_bos_descriptor()
985 if (bos_desc_len[cap_type] && length < bos_desc_len[cap_type]) { in usb_get_bos_descriptor()
997 switch (cap_type) { in usb_get_bos_descriptor()
/Linux-v4.19/include/scsi/
Dviosrp.h172 __be32 cap_type; member
/Linux-v4.19/drivers/vfio/pci/
Dvfio_pci.c724 struct vfio_region_info_cap_type cap_type = { in vfio_pci_ioctl() local
741 cap_type.type = vdev->region[i].type; in vfio_pci_ioctl()
742 cap_type.subtype = vdev->region[i].subtype; in vfio_pci_ioctl()
744 ret = vfio_info_add_capability(&caps, &cap_type.header, in vfio_pci_ioctl()
745 sizeof(cap_type)); in vfio_pci_ioctl()
/Linux-v4.19/samples/vfio-mdev/
Dmdpy.c427 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()
Dmtty.c1072 u16 *cap_type_id, void **cap_type) in mtty_get_region_info() argument
1195 void *cap_type = NULL; in mtty_ioctl() local
1206 &cap_type); in mtty_ioctl()
Dmbochs.c936 u16 *cap_type_id, void **cap_type) in mbochs_get_region_info() argument
1120 void *cap_type = NULL; in mbochs_ioctl() local
1131 &cap_type); in mbochs_ioctl()
/Linux-v4.19/drivers/gpu/drm/i915/gvt/
Dkvmgt.c1224 struct vfio_region_info_cap_type cap_type = { in intel_vgpu_ioctl() local
1243 cap_type.type = vgpu->vdev.region[i].type; in intel_vgpu_ioctl()
1244 cap_type.subtype = vgpu->vdev.region[i].subtype; in intel_vgpu_ioctl()
1247 &cap_type.header, in intel_vgpu_ioctl()
1248 sizeof(cap_type)); in intel_vgpu_ioctl()
/Linux-v4.19/arch/arm64/kernel/
Dcpufeature.c1228 #define HWCAP_CAP(reg, field, s, min_value, cap_type, cap) \ argument
1237 .hwcap_type = cap_type, \
/Linux-v4.19/drivers/scsi/ibmvscsi/
Dibmvscsi.c1287 hostdata->caps.migration.common.cap_type = in send_mad_capabilities()
1296 hostdata->caps.reserve.common.cap_type = in send_mad_capabilities()
/Linux-v4.19/include/linux/mlx5/
Ddriver.h1057 int mlx5_core_get_caps(struct mlx5_core_dev *dev, enum mlx5_cap_type cap_type);
/Linux-v4.19/drivers/scsi/ibmvscsi_tgt/
Dibmvscsi_tgt.c1664 len, be32_to_cpu(common->cap_type), in ibmvscsis_cap_mad()
1680 switch (common->cap_type) { in ibmvscsis_cap_mad()