/linux/drivers/s390/cio/ |
A D | vfio_ccw_ops.c | 352 struct vfio_region_info_cap_type cap_type = { in vfio_ccw_mdev_get_region_info() local 371 cap_type.type = private->region[i].type; in vfio_ccw_mdev_get_region_info() 372 cap_type.subtype = private->region[i].subtype; in vfio_ccw_mdev_get_region_info() 374 ret = vfio_info_add_capability(&caps, &cap_type.header, in vfio_ccw_mdev_get_region_info() 375 sizeof(cap_type)); in vfio_ccw_mdev_get_region_info()
|
/linux/drivers/media/pci/ivtv/ |
A 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/drivers/net/ethernet/mellanox/mlx5/core/ |
A D | main.c | 346 enum mlx5_cap_type cap_type, in mlx5_core_get_caps_mode() argument 352 u16 opmod = (cap_type << 1) | (cap_mode & 0x01); in mlx5_core_get_caps_mode() 366 cap_type, cap_mode, err); in mlx5_core_get_caps_mode() 374 memcpy(dev->caps.hca[cap_type]->max, hca_caps, in mlx5_core_get_caps_mode() 378 memcpy(dev->caps.hca[cap_type]->cur, hca_caps, in mlx5_core_get_caps_mode() 384 cap_type, cap_mode); in mlx5_core_get_caps_mode() 393 int mlx5_core_get_caps(struct mlx5_core_dev *dev, enum mlx5_cap_type cap_type) in mlx5_core_get_caps() argument 397 ret = mlx5_core_get_caps_mode(dev, cap_type, HCA_CAP_OPMOD_GET_CUR); in mlx5_core_get_caps() 400 return mlx5_core_get_caps_mode(dev, cap_type, HCA_CAP_OPMOD_GET_MAX); in mlx5_core_get_caps()
|
/linux/drivers/usb/core/ |
A 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/include/scsi/ |
A D | viosrp.h | 164 __be32 cap_type; member
|
/linux/samples/vfio-mdev/ |
A D | mdpy.c | 430 u16 *cap_type_id, void **cap_type) in mdpy_get_region_info() argument 541 void *cap_type = NULL; in mdpy_ioctl() local 552 &cap_type); in mdpy_ioctl()
|
A D | mtty.c | 1022 u16 *cap_type_id, void **cap_type) in mtty_get_region_info() argument 1130 void *cap_type = NULL; in mtty_ioctl() local 1141 &cap_type); in mtty_ioctl()
|
/linux/arch/arm64/kernel/ |
A D | cpufeature.c | 2369 #define __HWCAP_CAP(name, cap_type, cap) \ argument 2372 .hwcap_type = cap_type, \ 2375 #define HWCAP_CAP(reg, field, s, min_value, cap_type, cap) \ argument 2377 __HWCAP_CAP(#cap, cap_type, cap) \ 2381 #define HWCAP_MULTI_CAP(list, cap_type, cap) \ argument 2383 __HWCAP_CAP(#cap, cap_type, cap) \ 2388 #define HWCAP_CAP_MATCH(match, cap_type, cap) \ argument 2390 __HWCAP_CAP(#cap, cap_type, cap) \
|
/linux/drivers/media/platform/imx-jpeg/ |
A D | mxc-jpeg.c | 561 enum v4l2_buf_type cap_type = V4L2_BUF_TYPE_VIDEO_CAPTURE_MPLANE; in mxc_jpeg_dec_irq() local 629 q_data = mxc_jpeg_get_q_data(ctx, cap_type); in mxc_jpeg_dec_irq() 796 enum v4l2_buf_type cap_type = V4L2_BUF_TYPE_VIDEO_CAPTURE_MPLANE; in mxc_jpeg_config_dec_desc() local 815 q_data_cap = mxc_jpeg_get_q_data(ctx, cap_type); in mxc_jpeg_config_dec_desc() 1228 enum v4l2_buf_type cap_type = V4L2_BUF_TYPE_VIDEO_CAPTURE_MPLANE; in mxc_jpeg_parse() local 1298 q_data_cap = mxc_jpeg_get_q_data(ctx, cap_type); in mxc_jpeg_parse()
|
/linux/drivers/vfio/pci/ |
A D | vfio_pci_core.c | 790 struct vfio_region_info_cap_type cap_type = { in vfio_pci_core_ioctl() local 807 cap_type.type = vdev->region[i].type; in vfio_pci_core_ioctl() 808 cap_type.subtype = vdev->region[i].subtype; in vfio_pci_core_ioctl() 810 ret = vfio_info_add_capability(&caps, &cap_type.header, in vfio_pci_core_ioctl() 811 sizeof(cap_type)); in vfio_pci_core_ioctl()
|
/linux/drivers/gpu/drm/i915/gvt/ |
A D | kvmgt.c | 1550 struct vfio_region_info_cap_type cap_type = { in intel_vgpu_ioctl() local 1569 cap_type.type = vdev->region[i].type; in intel_vgpu_ioctl() 1570 cap_type.subtype = vdev->region[i].subtype; in intel_vgpu_ioctl() 1573 &cap_type.header, in intel_vgpu_ioctl() 1574 sizeof(cap_type)); in intel_vgpu_ioctl()
|
/linux/drivers/scsi/ibmvscsi/ |
A D | ibmvscsi.c | 1295 hostdata->caps.migration.common.cap_type = in send_mad_capabilities() 1304 hostdata->caps.reserve.common.cap_type = in send_mad_capabilities()
|
/linux/include/linux/mlx5/ |
A D | driver.h | 993 int mlx5_core_get_caps(struct mlx5_core_dev *dev, enum mlx5_cap_type cap_type);
|
/linux/drivers/scsi/ibmvscsi_tgt/ |
A D | ibmvscsi_tgt.c | 1657 len, be32_to_cpu(common->cap_type), in ibmvscsis_cap_mad() 1673 switch (common->cap_type) { in ibmvscsis_cap_mad()
|