/linux-6.6.21/tools/testing/selftests/kvm/x86_64/ |
D | vmx_pmu_caps_test.c | 34 u64 capabilities; member 91 vcpu_set_msr(vcpu, MSR_IA32_PERF_CAPABILITIES, host_cap.capabilities); in test_guest_wrmsr_perf_capabilities() 93 vcpu_args_set(vcpu, 1, host_cap.capabilities); in test_guest_wrmsr_perf_capabilities() 107 host_cap.capabilities); in test_guest_wrmsr_perf_capabilities() 109 vcpu_set_msr(vcpu, MSR_IA32_PERF_CAPABILITIES, host_cap.capabilities); in test_guest_wrmsr_perf_capabilities() 116 host_cap.capabilities ^ BIT_ULL(i)); in test_guest_wrmsr_perf_capabilities() 118 host_cap.capabilities ^ BIT_ULL(i)); in test_guest_wrmsr_perf_capabilities() 134 vcpu_set_msr(vcpu, MSR_IA32_PERF_CAPABILITIES, host_cap.capabilities); in test_basic_perf_capabilities() 141 const uint64_t fungible_caps = host_cap.capabilities & ~immutable_caps.capabilities; in test_fungible_perf_capabilities() 150 host_cap.capabilities & ~BIT_ULL(bit)); in test_fungible_perf_capabilities() [all …]
|
/linux-6.6.21/drivers/staging/media/sunxi/cedrus/ |
D | cedrus.c | 94 .capabilities = CEDRUS_CAPABILITY_MPEG2_DEC, 100 .capabilities = CEDRUS_CAPABILITY_MPEG2_DEC, 106 .capabilities = CEDRUS_CAPABILITY_MPEG2_DEC, 112 .capabilities = CEDRUS_CAPABILITY_H264_DEC, 118 .capabilities = CEDRUS_CAPABILITY_H264_DEC, 125 .capabilities = CEDRUS_CAPABILITY_H264_DEC, 131 .capabilities = CEDRUS_CAPABILITY_H264_DEC, 137 .capabilities = CEDRUS_CAPABILITY_H264_DEC, 143 .capabilities = CEDRUS_CAPABILITY_H264_DEC, 151 .capabilities = CEDRUS_CAPABILITY_H264_DEC, [all …]
|
D | cedrus.h | 52 unsigned int capabilities; member 171 unsigned int capabilities; member 195 unsigned int capabilities; member 266 cedrus_is_capable(struct cedrus_ctx *ctx, unsigned int capabilities) in cedrus_is_capable() argument 268 return (ctx->dev->capabilities & capabilities) == capabilities; in cedrus_is_capable()
|
/linux-6.6.21/Documentation/userspace-api/media/v4l/ |
D | vidioc-subdev-g-client-cap.rst | 14 capabilities. 40 subdevice ioctls) capabilities. The client capabilities are stored in the file 42 capabilities for each opened subdev separately. 44 By default no client capabilities are set when a subdev device node is opened. 46 The purpose of the client capabilities are to inform the kernel of the behavior 50 The ``VIDIOC_SUBDEV_G_CLIENT_CAP`` ioctl returns the current client capabilities 53 The ``VIDIOC_SUBDEV_S_CLIENT_CAP`` ioctl sets client capabilities for the file 54 handle ``fd``. The new capabilities fully replace the current capabilities, the 55 ioctl can therefore also be used to remove capabilities that have previously 59 :c:type:`v4l2_subdev_client_capability` to reflect the capabilities that have
|
D | vidioc-dv-timings-cap.rst | 13 VIDIOC_DV_TIMINGS_CAP - VIDIOC_SUBDEV_DV_TIMINGS_CAP - The capabilities of the Digital Video receiv… 38 To query the capabilities of the DV receiver/transmitter applications 49 When implemented by the driver DV capabilities of subdevices can be 51 on a subdevice node. The capabilities are specific to inputs (for DV 55 zero the ``reserved`` array. Attempts to query capabilities on a pad 90 - ``capabilities`` 91 - Several flags giving more information about the capabilities. See 92 :ref:`dv-bt-cap-capabilities` for a description of the flags. 125 - BT.656/1120 timings capabilities of the hardware. 133 .. _dv-bt-cap-capabilities: [all …]
|
D | vidioc-querycap.rst | 13 VIDIOC_QUERYCAP - Query device capabilities 36 information about driver and hardware capabilities. The ioctl takes a 107 - ``capabilities`` 108 - Available capabilities of the physical device as a whole, see 109 :ref:`device-capabilities`. The same physical device can export 111 /dev/radioZ). The ``capabilities`` field should contain a union of 112 all capabilities available around the several V4L2 devices 113 exported to userspace. For all those devices the ``capabilities`` 114 field returns the same set of capabilities. This allows 120 - Device capabilities of the opened device, see [all …]
|
D | vidioc-subdev-querycap.rst | 13 VIDIOC_SUBDEV_QUERYCAP - Query sub-device capabilities 36 information about driver and hardware capabilities. The ioctl takes a pointer to 71 - ``capabilities`` 72 - Sub-device capabilities of the opened device, see 73 :ref:`subdevice-capabilities`. 80 .. _subdevice-capabilities:
|
/linux-6.6.21/fs/smb/server/ |
D | smb2ops.c | 18 .capabilities = SMB2_GLOBAL_CAP_LARGE_MTU, 44 .capabilities = SMB2_GLOBAL_CAP_LARGE_MTU, 71 .capabilities = SMB2_GLOBAL_CAP_LARGE_MTU, 98 .capabilities = SMB2_GLOBAL_CAP_LARGE_MTU, 207 conn->vals->capabilities |= SMB2_GLOBAL_CAP_LEASING; in init_smb2_1_server() 224 conn->vals->capabilities |= SMB2_GLOBAL_CAP_LEASING | in init_smb3_0_server() 229 conn->vals->capabilities |= SMB2_GLOBAL_CAP_ENCRYPTION; in init_smb3_0_server() 232 conn->vals->capabilities |= SMB2_GLOBAL_CAP_MULTI_CHANNEL; in init_smb3_0_server() 249 conn->vals->capabilities |= SMB2_GLOBAL_CAP_LEASING | in init_smb3_02_server() 255 conn->vals->capabilities |= SMB2_GLOBAL_CAP_ENCRYPTION; in init_smb3_02_server() [all …]
|
/linux-6.6.21/mm/ |
D | nommu.c | 700 unsigned long capabilities, rlen; in validate_mmap_request() local 733 capabilities = file->f_op->mmap_capabilities(file); in validate_mmap_request() 740 capabilities = NOMMU_MAP_COPY; in validate_mmap_request() 744 capabilities = in validate_mmap_request() 758 capabilities &= ~NOMMU_MAP_DIRECT; in validate_mmap_request() 760 capabilities &= ~NOMMU_MAP_COPY; in validate_mmap_request() 776 if (!(capabilities & NOMMU_MAP_DIRECT)) in validate_mmap_request() 780 capabilities &= ~NOMMU_MAP_COPY; in validate_mmap_request() 784 if (!(capabilities & NOMMU_MAP_COPY)) in validate_mmap_request() 790 capabilities &= ~NOMMU_MAP_DIRECT; in validate_mmap_request() [all …]
|
/linux-6.6.21/sound/usb/line6/ |
D | podhd.c | 242 if (pod->line6.properties->capabilities & LINE6_CAP_CONTROL_INFO) { in podhd_disconnect() 375 if (pod->line6.properties->capabilities & LINE6_CAP_CONTROL) { in podhd_init() 393 if (pod->line6.properties->capabilities & LINE6_CAP_CONTROL_INFO) { in podhd_init() 400 if (pod->line6.properties->capabilities & LINE6_CAP_PCM) { in podhd_init() 410 if (pod->line6.properties->capabilities & LINE6_CAP_HWMON_CTL) { in podhd_init() 419 if (!(pod->line6.properties->capabilities & LINE6_CAP_CONTROL_INFO)) { in podhd_init() 452 .capabilities = LINE6_CAP_PCM 463 .capabilities = LINE6_CAP_PCM 474 .capabilities = LINE6_CAP_PCM | LINE6_CAP_CONTROL 486 .capabilities = LINE6_CAP_CONTROL | LINE6_CAP_CONTROL_INFO [all …]
|
/linux-6.6.21/drivers/staging/most/i2c/ |
D | i2c.c | 36 struct most_channel_capability capabilities[NUM_CHANNELS]; member 81 if (channel_config->direction != dev->capabilities[ch_idx].direction) { in configure_channel() 304 dev->capabilities[i].data_type = MOST_CH_CONTROL; in i2c_probe() 305 dev->capabilities[i].num_buffers_packet = MAX_BUFFERS_CONTROL; in i2c_probe() 306 dev->capabilities[i].buffer_size_packet = MAX_BUF_SIZE_CONTROL; in i2c_probe() 308 dev->capabilities[CH_RX].direction = MOST_CH_RX; in i2c_probe() 309 dev->capabilities[CH_RX].name_suffix = "rx"; in i2c_probe() 310 dev->capabilities[CH_TX].direction = MOST_CH_TX; in i2c_probe() 311 dev->capabilities[CH_TX].name_suffix = "tx"; in i2c_probe() 316 dev->most_iface.channel_vector = dev->capabilities; in i2c_probe()
|
/linux-6.6.21/drivers/crypto/intel/qat/qat_dh895xcc/ |
D | adf_dh895xcc_hw_data.c | 69 u32 capabilities; in get_accel_cap() local 72 capabilities = ICP_ACCEL_CAPABILITIES_CRYPTO_SYMMETRIC | in get_accel_cap() 83 capabilities &= ~ICP_ACCEL_CAPABILITIES_CRYPTO_SYMMETRIC; in get_accel_cap() 84 capabilities &= ~ICP_ACCEL_CAPABILITIES_CIPHER; in get_accel_cap() 87 capabilities &= ~ICP_ACCEL_CAPABILITIES_CRYPTO_ASYMMETRIC; in get_accel_cap() 89 capabilities &= ~ICP_ACCEL_CAPABILITIES_AUTHENTICATION; in get_accel_cap() 90 capabilities &= ~ICP_ACCEL_CAPABILITIES_CIPHER; in get_accel_cap() 93 capabilities &= ~ICP_ACCEL_CAPABILITIES_COMPRESSION; in get_accel_cap() 95 return capabilities; in get_accel_cap()
|
/linux-6.6.21/drivers/crypto/intel/qat/qat_common/ |
D | adf_gen2_hw_data.c | 218 u32 capabilities = ICP_ACCEL_CAPABILITIES_CRYPTO_SYMMETRIC | in adf_gen2_get_accel_cap() local 229 capabilities &= ~ICP_ACCEL_CAPABILITIES_CRYPTO_SYMMETRIC; in adf_gen2_get_accel_cap() 230 capabilities &= ~ICP_ACCEL_CAPABILITIES_CIPHER; in adf_gen2_get_accel_cap() 233 capabilities &= ~ICP_ACCEL_CAPABILITIES_CRYPTO_ASYMMETRIC; in adf_gen2_get_accel_cap() 235 capabilities &= ~ICP_ACCEL_CAPABILITIES_AUTHENTICATION; in adf_gen2_get_accel_cap() 236 capabilities &= ~ICP_ACCEL_CAPABILITIES_CIPHER; in adf_gen2_get_accel_cap() 239 capabilities &= ~ICP_ACCEL_CAPABILITIES_COMPRESSION; in adf_gen2_get_accel_cap() 242 capabilities &= ~ICP_ACCEL_CAPABILITIES_CRYPTO_ASYMMETRIC; in adf_gen2_get_accel_cap() 245 capabilities &= ~ICP_ACCEL_CAPABILITIES_COMPRESSION; in adf_gen2_get_accel_cap() 247 return capabilities; in adf_gen2_get_accel_cap()
|
/linux-6.6.21/drivers/net/ethernet/mellanox/mlx5/core/lib/ |
D | hv_vhca.c | 133 u32 *capabilities) in mlx5_hv_vhca_capabilities() argument 141 *capabilities |= AGENT_MASK(agent->type); in mlx5_hv_vhca_capabilities() 152 u32 capabilities = 0; in mlx5_hv_vhca_control_agent_invalidate() local 163 mlx5_hv_vhca_capabilities(hv_vhca, &capabilities); in mlx5_hv_vhca_control_agent_invalidate() 166 if (!capabilities) { in mlx5_hv_vhca_control_agent_invalidate() 171 if (block->capabilities != capabilities) in mlx5_hv_vhca_control_agent_invalidate() 172 block->capabilities = capabilities; in mlx5_hv_vhca_control_agent_invalidate() 174 if (block->control & ~capabilities) in mlx5_hv_vhca_control_agent_invalidate()
|
/linux-6.6.21/Documentation/ABI/testing/ |
D | sysfs-class-usb_power_delivery | 23 What: /sys/class/usb_power_delivery/.../source-capabilities 27 The source capabilities message "Source_Capabilities" contains a 37 What: /sys/class/usb_power_delivery/.../sink-capabilities 42 of Power Data Objects (PDO) just like with source capabilities, 43 but instead of describing the power capabilities, these objects 47 same as with the source capabilities message. 63 related to the USB capabilities rather than power capabilities. 72 What: /sys/class/usb_power_delivery/.../source-capabilities/1:fixed_supply/usb_suspend_supported 81 What: /sys/class/usb_power_delivery/.../sink-capabilities/1:fixed_supply/higher_capability 127 What: /sys/class/usb_power_delivery/.../source-capabilities/<position>:fixed_supply/maximum_current [all …]
|
/linux-6.6.21/Documentation/userspace-api/media/ |
D | videodev2.h.rst.exceptions | 170 replace define V4L2_CAP_VIDEO_CAPTURE device-capabilities 171 replace define V4L2_CAP_VIDEO_CAPTURE_MPLANE device-capabilities 172 replace define V4L2_CAP_VIDEO_OUTPUT device-capabilities 173 replace define V4L2_CAP_VIDEO_OUTPUT_MPLANE device-capabilities 174 replace define V4L2_CAP_VIDEO_M2M device-capabilities 175 replace define V4L2_CAP_VIDEO_M2M_MPLANE device-capabilities 176 replace define V4L2_CAP_VIDEO_OVERLAY device-capabilities 177 replace define V4L2_CAP_VBI_CAPTURE device-capabilities 178 replace define V4L2_CAP_VBI_OUTPUT device-capabilities 179 replace define V4L2_CAP_SLICED_VBI_CAPTURE device-capabilities [all …]
|
/linux-6.6.21/Documentation/userspace-api/media/dvb/ |
D | fe-get-info.rst | 13 FE_GET_INFO - Query Digital TV frontend capabilities and returns information 37 obtain information about driver and hardware capabilities. The ioctl 42 frontend capabilities 45 Capabilities describe what a frontend can do. Some capabilities are 48 The frontend capabilities are described at :c:type:`fe_caps`.
|
/linux-6.6.21/drivers/gpu/drm/vmwgfx/ |
D | vmwgfx_cmd.c | 40 if (!(dev_priv->capabilities & SVGA_CAP_3D)) in vmw_supports_3d() 43 if (dev_priv->capabilities & SVGA_CAP_GBOBJECTS) { in vmw_supports_3d() 54 if (!(dev_priv->capabilities & SVGA_CAP_EXTENDED_FIFO)) in vmw_supports_3d() 64 ((fifo->capabilities & in vmw_supports_3d() 86 if (!(dev_priv->capabilities & SVGA_CAP_EXTENDED_FIFO)) in vmw_fifo_have_pitchlock() 122 if (dev_priv->capabilities & SVGA_CAP_EXTENDED_FIFO) in vmw_fifo_create() 141 fifo->capabilities = vmw_fifo_mem_read(dev_priv, SVGA_FIFO_CAPABILITIES); in vmw_fifo_create() 147 (unsigned int) fifo->capabilities); in vmw_fifo_create() 239 if (!(dev_priv->capabilities & SVGA_CAP_IRQMASK)) in vmw_fifo_wait() 284 uint32_t reserveable = fifo_state->capabilities & SVGA_FIFO_CAP_RESERVE; in vmw_local_fifo_reserve() [all …]
|
/linux-6.6.21/drivers/bcma/ |
D | driver_chipcommon.c | 30 if (cc->capabilities & BCMA_CC_CAP_PMU) in bcma_chipco_get_alp_clock() 41 if (cc->capabilities & BCMA_CC_CAP_PMU) { in bcma_core_cc_has_pmu_watchdog() 99 if (cc->capabilities & BCMA_CC_CAP_PMU) { in bcma_chipco_watchdog_ticks_per_ms() 146 switch (cc->capabilities & BCMA_CC_CAP_FLASHT) { in bcma_core_chipcommon_flash_detect() 162 if (cc->capabilities & BCMA_CC_CAP_NFLASH) { in bcma_core_chipcommon_flash_detect() 180 cc->capabilities = bcma_cc_read32(cc, BCMA_CC_CAP); in bcma_core_chipcommon_early_init() 184 if (cc->capabilities & BCMA_CC_CAP_PMU) in bcma_core_chipcommon_early_init() 215 if (cc->capabilities & BCMA_CC_CAP_PMU) in bcma_core_chipcommon_init() 217 if (cc->capabilities & BCMA_CC_CAP_PCTL) in bcma_core_chipcommon_init() 412 cc->nr_serial_ports = (cc->capabilities & BCMA_CC_CAP_NRUART); in bcma_chipco_serial_init()
|
/linux-6.6.21/drivers/ssb/ |
D | driver_chipcommon.c | 57 if (cc->capabilities & SSB_CHIPCO_CAP_PMU) in ssb_chipco_set_clockmode() 69 if (!(cc->capabilities & SSB_CHIPCO_CAP_PCTL)) in ssb_chipco_set_clockmode() 222 if (!(cc->capabilities & SSB_CHIPCO_CAP_PCTL)) in chipco_powercontrol_init() 269 if (cc->capabilities & SSB_CHIPCO_CAP_PMU) { in calc_fast_powerup_delay() 274 if (!(cc->capabilities & SSB_CHIPCO_CAP_PCTL)) in calc_fast_powerup_delay() 287 if (cc->capabilities & SSB_CHIPCO_CAP_PMU) in ssb_chipco_alp_clock() 297 if (cc->capabilities & SSB_CHIPCO_CAP_PMU) { in ssb_chipco_watchdog_get_max_timer() 337 if (cc->capabilities & SSB_CHIPCO_CAP_PMU) { in ssb_chipco_watchdog_ticks_per_ms() 395 *plltype = (cc->capabilities & SSB_CHIPCO_CAP_PLLT); in ssb_chipco_get_clockcpu() 418 *plltype = (cc->capabilities & SSB_CHIPCO_CAP_PLLT); in ssb_chipco_get_clockcontrol() [all …]
|
/linux-6.6.21/Documentation/arch/x86/ |
D | intel-hfi.rst | 25 separate capabilities. Even though on some systems these two metrics may be 26 related, they are specified as independent capabilities in the Intel SDM. 28 These capabilities may change at runtime as a result of changes in the 30 at which these capabilities are updated is specific to each processor model. On 31 some models, capabilities are set at boot time and never change. On others, 32 capabilities may change every tens of milliseconds. For instance, a remote 37 The kernel or a userspace policy daemon can use these capabilities to modify 39 capabilities of a given logical processor becomes zero, it is an indication that
|
/linux-6.6.21/drivers/input/mouse/ |
D | synaptics.c | 312 &info->capabilities); in synaptics_capability() 322 SYN_CAP_SUBMODEL_ID(info->capabilities) != 0x47) { in synaptics_capability() 329 if (!SYN_CAP_EXTENDED(info->capabilities)) in synaptics_capability() 330 info->capabilities = 0; in synaptics_capability() 332 if (SYN_EXT_CAP_REQUESTS(info->capabilities) >= 1) { in synaptics_capability() 348 if (SYN_EXT_CAP_REQUESTS(info->capabilities) >= 4) { in synaptics_capability() 380 if (SYN_EXT_CAP_REQUESTS(info->capabilities) >= 5 && in synaptics_resolution() 397 (SYN_EXT_CAP_REQUESTS(info->capabilities) >= 7 || in synaptics_resolution() 592 if (SYN_CAP_EXTENDED(priv->info.capabilities)) in synaptics_set_mode() 847 } else if (SYN_CAP_MIDDLE_BUTTON(priv->info.capabilities)) { in synaptics_parse_hw_state() [all …]
|
/linux-6.6.21/drivers/pnp/pnpacpi/ |
D | core.c | 243 dev->capabilities |= PNP_CONFIGURABLE; in pnpacpi_add_device() 244 dev->capabilities |= PNP_READ; in pnpacpi_add_device() 245 if (device->flags.dynamic_status && (dev->capabilities & PNP_CONFIGURABLE)) in pnpacpi_add_device() 246 dev->capabilities |= PNP_WRITE; in pnpacpi_add_device() 248 dev->capabilities |= PNP_REMOVABLE; in pnpacpi_add_device() 250 dev->capabilities |= PNP_DISABLE; in pnpacpi_add_device() 263 if (dev->capabilities & PNP_CONFIGURABLE) in pnpacpi_add_device()
|
/linux-6.6.21/arch/ia64/kernel/ |
D | err_inject.c | 53 static u64 capabilities[NR_CPUS]; variable 103 &capabilities[cpu], in show() 110 &capabilities[cpu], in show() 120 printk(KERN_DEBUG "capabilities=%llx,\n", capabilities[cpu]); in show() 198 show(capabilities) 207 define_one_ro(capabilities);
|
/linux-6.6.21/arch/arm/mach-davinci/ |
D | pdata-quirks.c | 39 .capabilities = V4L2_IN_CAP_STD, 54 .capabilities = V4L2_IN_CAP_STD, 152 .capabilities = V4L2_OUT_CAP_STD, 163 .capabilities = V4L2_OUT_CAP_STD,
|