Home
last modified time | relevance | path

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

/OK3568_Linux_fs/kernel/drivers/s390/cio/
H A 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()
/OK3568_Linux_fs/kernel/drivers/media/pci/ivtv/
H A 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()
/OK3568_Linux_fs/kernel/drivers/net/ethernet/mellanox/mlx5/core/
H A Dmain.c362 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()
382 cap_type, cap_mode, err); in mlx5_core_get_caps_mode()
390 memcpy(dev->caps.hca_max[cap_type], hca_caps, in mlx5_core_get_caps_mode()
394 memcpy(dev->caps.hca_cur[cap_type], hca_caps, in mlx5_core_get_caps_mode()
400 cap_type, cap_mode); in mlx5_core_get_caps_mode()
409 int mlx5_core_get_caps(struct mlx5_core_dev *dev, enum mlx5_cap_type cap_type) in mlx5_core_get_caps() argument
413 ret = mlx5_core_get_caps_mode(dev, cap_type, HCA_CAP_OPMOD_GET_CUR); in mlx5_core_get_caps()
416 return mlx5_core_get_caps_mode(dev, cap_type, HCA_CAP_OPMOD_GET_MAX); in mlx5_core_get_caps()
/OK3568_Linux_fs/kernel/drivers/usb/core/
H A 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()
/OK3568_Linux_fs/kernel/include/scsi/
H A Dviosrp.h164 __be32 cap_type; member
/OK3568_Linux_fs/kernel/samples/vfio-mdev/
H A 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()
H A Dmtty.c1045 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()
/OK3568_Linux_fs/kernel/arch/arm64/kernel/
H A Dcpufeature.c2363 #define __HWCAP_CAP(name, cap_type, cap) \ argument
2366 .hwcap_type = cap_type, \
2369 #define HWCAP_CAP(reg, field, s, min_value, cap_type, cap) \ argument
2371 __HWCAP_CAP(#cap, cap_type, cap) \
2375 #define HWCAP_MULTI_CAP(list, cap_type, cap) \ argument
2377 __HWCAP_CAP(#cap, cap_type, cap) \
2382 #define HWCAP_CAP_MATCH(match, cap_type, cap) \ argument
2384 __HWCAP_CAP(#cap, cap_type, cap) \
/OK3568_Linux_fs/kernel/drivers/gpu/drm/i915/gvt/
H A 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()
/OK3568_Linux_fs/kernel/drivers/vfio/pci/
H A 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()
/OK3568_Linux_fs/kernel/drivers/scsi/ibmvscsi/
H A Dibmvscsi.c1293 hostdata->caps.migration.common.cap_type = in send_mad_capabilities()
1302 hostdata->caps.reserve.common.cap_type = in send_mad_capabilities()
/OK3568_Linux_fs/kernel/include/linux/mlx5/
H A Ddriver.h941 int mlx5_core_get_caps(struct mlx5_core_dev *dev, enum mlx5_cap_type cap_type);
/OK3568_Linux_fs/kernel/drivers/scsi/ibmvscsi_tgt/
H A Dibmvscsi_tgt.c1656 len, be32_to_cpu(common->cap_type), in ibmvscsis_cap_mad()
1672 switch (common->cap_type) { in ibmvscsis_cap_mad()