Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/drivers/media/pci/ivtv/
Divtv-streams.c795 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()
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlx5/core/
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()
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/include/scsi/
Dviosrp.h164 __be32 cap_type; member
/kernel/linux/linux-5.10/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.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()
/kernel/linux/linux-5.10/arch/arm64/kernel/
Dcpufeature.c2167 #define __HWCAP_CAP(name, cap_type, cap) \ argument
2170 .hwcap_type = cap_type, \
2173 #define HWCAP_CAP(reg, field, s, min_value, cap_type, cap) \ argument
2175 __HWCAP_CAP(#cap, cap_type, cap) \
2179 #define HWCAP_MULTI_CAP(list, cap_type, cap) \ argument
2181 __HWCAP_CAP(#cap, cap_type, cap) \
2186 #define HWCAP_CAP_MATCH(match, cap_type, cap) \ argument
2188 __HWCAP_CAP(#cap, cap_type, cap) \
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/include/linux/mlx5/
Ddriver.h941 int mlx5_core_get_caps(struct mlx5_core_dev *dev, enum mlx5_cap_type cap_type);
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/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()
/kernel/linux/patches/linux-5.10/imx8mm_patch/patches/drivers/
D0027_linux_drivers_media.patch1490 + enum v4l2_buf_type cap_type = V4L2_BUF_TYPE_VIDEO_CAPTURE_MPLANE;
1565 + q_data = mxc_jpeg_get_q_data(ctx, cap_type);
1729 + enum v4l2_buf_type cap_type = V4L2_BUF_TYPE_VIDEO_CAPTURE_MPLANE;
1748 + q_data_cap = mxc_jpeg_get_q_data(ctx, cap_type);
2252 + enum v4l2_buf_type cap_type = V4L2_BUF_TYPE_VIDEO_CAPTURE_MPLANE;
2379 + q_data_cap = mxc_jpeg_get_q_data(ctx, cap_type);