/kernel/linux/linux-5.10/drivers/gpu/drm/vmwgfx/ |
D | vmwgfx_drv.c | 297 static void vmw_print_capabilities(uint32_t capabilities) in vmw_print_capabilities() argument 300 if (capabilities & SVGA_CAP_RECT_COPY) in vmw_print_capabilities() 302 if (capabilities & SVGA_CAP_CURSOR) in vmw_print_capabilities() 304 if (capabilities & SVGA_CAP_CURSOR_BYPASS) in vmw_print_capabilities() 306 if (capabilities & SVGA_CAP_CURSOR_BYPASS_2) in vmw_print_capabilities() 308 if (capabilities & SVGA_CAP_8BIT_EMULATION) in vmw_print_capabilities() 310 if (capabilities & SVGA_CAP_ALPHA_CURSOR) in vmw_print_capabilities() 312 if (capabilities & SVGA_CAP_3D) in vmw_print_capabilities() 314 if (capabilities & SVGA_CAP_EXTENDED_FIFO) in vmw_print_capabilities() 316 if (capabilities & SVGA_CAP_MULTIMON) in vmw_print_capabilities() [all …]
|
D | vmwgfx_fifo.c | 45 if (!(dev_priv->capabilities & SVGA_CAP_3D)) in vmw_fifo_have_3d() 48 if (dev_priv->capabilities & SVGA_CAP_GBOBJECTS) { in vmw_fifo_have_3d() 62 if (!(dev_priv->capabilities & SVGA_CAP_EXTENDED_FIFO)) in vmw_fifo_have_3d() 70 ((fifo->capabilities & in vmw_fifo_have_3d() 93 if (!(dev_priv->capabilities & SVGA_CAP_EXTENDED_FIFO)) in vmw_fifo_have_pitchlock() 135 if (dev_priv->capabilities & SVGA_CAP_EXTENDED_FIFO) in vmw_fifo_init() 154 fifo->capabilities = vmw_mmio_read(fifo_mem + SVGA_FIFO_CAPABILITIES); in vmw_fifo_init() 159 (unsigned int) fifo->capabilities); in vmw_fifo_init() 260 if (!(dev_priv->capabilities & SVGA_CAP_IRQMASK)) in vmw_fifo_wait() 305 uint32_t reserveable = fifo_state->capabilities & SVGA_FIFO_CAP_RESERVE; in vmw_local_fifo_reserve() [all …]
|
D | vmwgfx_ioctl.c | 57 param->value = dev_priv->capabilities; in vmw_getparam_ioctl() 63 param->value = dev_priv->fifo.capabilities; in vmw_getparam_ioctl() 73 if ((dev_priv->capabilities & SVGA_CAP_GBOBJECTS)) { in vmw_getparam_ioctl() 80 ((fifo->capabilities & in vmw_getparam_ioctl() 87 if ((dev_priv->capabilities & SVGA_CAP_GBOBJECTS) && in vmw_getparam_ioctl() 94 if ((dev_priv->capabilities & SVGA_CAP_GBOBJECTS) && in vmw_getparam_ioctl() 97 else if (dev_priv->capabilities & SVGA_CAP_GBOBJECTS) in vmw_getparam_ioctl() 193 bool gb_objects = !!(dev_priv->capabilities & SVGA_CAP_GBOBJECTS); in vmw_get_cap_3d_ioctl()
|
/kernel/linux/linux-5.10/Documentation/userspace-api/media/v4l/ |
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 105 - ``capabilities`` 106 - Available capabilities of the physical device as a whole, see 107 :ref:`device-capabilities`. The same physical device can export 109 /dev/radioZ). The ``capabilities`` field should contain a union of 110 all capabilities available around the several V4L2 devices 111 exported to userspace. For all those devices the ``capabilities`` 112 field returns the same set of capabilities. This allows 118 - 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:
|
/kernel/linux/linux-5.10/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 …]
|
D | pod.c | 397 if (pod->line6.properties->capabilities & LINE6_CAP_CONTROL) { in pod_init() 429 .capabilities = LINE6_CAP_CONTROL 442 .capabilities = LINE6_CAP_CONTROL 455 .capabilities = LINE6_CAP_CONTROL 468 .capabilities = LINE6_CAP_CONTROL 478 .capabilities = LINE6_CAP_CONTROL 491 .capabilities = LINE6_CAP_CONTROL 504 .capabilities = LINE6_CAP_CONTROL
|
/kernel/linux/linux-5.10/drivers/staging/most/i2c/ |
D | i2c.c | 36 struct most_channel_capability capabilities[NUM_CHANNELS]; member 78 if (channel_config->direction != dev->capabilities[ch_idx].direction) { in configure_channel() 301 dev->capabilities[i].data_type = MOST_CH_CONTROL; in i2c_probe() 302 dev->capabilities[i].num_buffers_packet = MAX_BUFFERS_CONTROL; in i2c_probe() 303 dev->capabilities[i].buffer_size_packet = MAX_BUF_SIZE_CONTROL; in i2c_probe() 305 dev->capabilities[CH_RX].direction = MOST_CH_RX; in i2c_probe() 306 dev->capabilities[CH_RX].name_suffix = "rx"; in i2c_probe() 307 dev->capabilities[CH_TX].direction = MOST_CH_TX; in i2c_probe() 308 dev->capabilities[CH_TX].name_suffix = "tx"; in i2c_probe() 313 dev->most_iface.channel_vector = dev->capabilities; in i2c_probe()
|
/kernel/linux/linux-5.10/Documentation/userspace-api/media/ |
D | videodev2.h.rst.exceptions | 150 replace define V4L2_CAP_VIDEO_CAPTURE device-capabilities 151 replace define V4L2_CAP_VIDEO_CAPTURE_MPLANE device-capabilities 152 replace define V4L2_CAP_VIDEO_OUTPUT device-capabilities 153 replace define V4L2_CAP_VIDEO_OUTPUT_MPLANE device-capabilities 154 replace define V4L2_CAP_VIDEO_M2M device-capabilities 155 replace define V4L2_CAP_VIDEO_M2M_MPLANE device-capabilities 156 replace define V4L2_CAP_VIDEO_OVERLAY device-capabilities 157 replace define V4L2_CAP_VBI_CAPTURE device-capabilities 158 replace define V4L2_CAP_VBI_OUTPUT device-capabilities 159 replace define V4L2_CAP_SLICED_VBI_CAPTURE device-capabilities [all …]
|
/kernel/linux/linux-5.10/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()
|
/kernel/linux/linux-5.10/drivers/staging/media/sunxi/cedrus/ |
D | cedrus_video.c | 49 .capabilities = CEDRUS_CAPABILITY_H265_DEC, 58 .capabilities = CEDRUS_CAPABILITY_UNTILED, 70 unsigned int capabilities) in cedrus_find_format() argument 79 if ((fmt->capabilities & capabilities) != fmt->capabilities || in cedrus_find_format() 173 unsigned int capabilities = dev->capabilities; in cedrus_enum_fmt() local 183 if (fmt->capabilities && (fmt->capabilities & capabilities) != in cedrus_enum_fmt() 184 fmt->capabilities) in cedrus_enum_fmt() 244 dev->capabilities); in cedrus_try_fmt_vid_cap() 265 dev->capabilities); in cedrus_try_fmt_vid_out()
|
/kernel/linux/linux-5.10/mm/ |
D | nommu.c | 763 unsigned long capabilities, rlen; in validate_mmap_request() local 796 capabilities = file->f_op->mmap_capabilities(file); in validate_mmap_request() 803 capabilities = NOMMU_MAP_COPY; in validate_mmap_request() 807 capabilities = in validate_mmap_request() 821 capabilities &= ~NOMMU_MAP_DIRECT; in validate_mmap_request() 823 capabilities &= ~NOMMU_MAP_COPY; in validate_mmap_request() 842 if (!(capabilities & NOMMU_MAP_DIRECT)) in validate_mmap_request() 846 capabilities &= ~NOMMU_MAP_COPY; in validate_mmap_request() 850 if (!(capabilities & NOMMU_MAP_COPY)) in validate_mmap_request() 856 capabilities &= ~NOMMU_MAP_DIRECT; in validate_mmap_request() [all …]
|
/kernel/linux/linux-5.10/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`.
|
/kernel/linux/linux-5.10/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()
|
/kernel/linux/linux-5.10/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 …]
|
/kernel/linux/linux-5.10/drivers/input/mouse/ |
D | synaptics.c | 310 &info->capabilities); in synaptics_capability() 320 SYN_CAP_SUBMODEL_ID(info->capabilities) != 0x47) { in synaptics_capability() 327 if (!SYN_CAP_EXTENDED(info->capabilities)) in synaptics_capability() 328 info->capabilities = 0; in synaptics_capability() 330 if (SYN_EXT_CAP_REQUESTS(info->capabilities) >= 1) { in synaptics_capability() 346 if (SYN_EXT_CAP_REQUESTS(info->capabilities) >= 4) { in synaptics_capability() 378 if (SYN_EXT_CAP_REQUESTS(info->capabilities) >= 5 && in synaptics_resolution() 395 (SYN_EXT_CAP_REQUESTS(info->capabilities) >= 7 || in synaptics_resolution() 590 if (SYN_CAP_EXTENDED(priv->info.capabilities)) in synaptics_set_mode() 845 } else if (SYN_CAP_MIDDLE_BUTTON(priv->info.capabilities)) { in synaptics_parse_hw_state() [all …]
|
/kernel/linux/linux-5.10/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() 260 if (dev->capabilities & PNP_CONFIGURABLE) in pnpacpi_add_device()
|
/kernel/linux/linux-5.10/drivers/gpu/drm/exynos/ |
D | exynos_drm_plane.c | 184 if (!(config->capabilities & EXYNOS_DRM_PLANE_CAP_TILE)) in exynos_drm_plane_check_format() 206 if (config->capabilities & EXYNOS_DRM_PLANE_CAP_SCALE) in exynos_drm_plane_check_size() 215 if ((config->capabilities & EXYNOS_DRM_PLANE_CAP_DOUBLE) && in exynos_drm_plane_check_size() 219 if ((config->capabilities & EXYNOS_DRM_PLANE_CAP_DOUBLE) && in exynos_drm_plane_check_size() 321 !(config->capabilities & EXYNOS_DRM_PLANE_CAP_ZPOS)); in exynos_plane_init() 323 if (config->capabilities & EXYNOS_DRM_PLANE_CAP_PIX_BLEND) in exynos_plane_init() 326 if (config->capabilities & EXYNOS_DRM_PLANE_CAP_WIN_BLEND) in exynos_plane_init()
|
/kernel/linux/linux-5.10/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);
|
/kernel/linux/linux-5.10/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,
|
/kernel/linux/linux-5.10/arch/parisc/kernel/ |
D | processor.c | 270 if (pdc_model_capabilities(&boot_cpu_data.pdc.capabilities) == PDC_OK) in collect_boot_cpu_data() 272 boot_cpu_data.pdc.capabilities); in collect_boot_cpu_data() 403 if (boot_cpu_data.pdc.capabilities & PDC_MODEL_OS32) in show_cpuinfo() 405 if (boot_cpu_data.pdc.capabilities & PDC_MODEL_OS64) in show_cpuinfo() 407 if (boot_cpu_data.pdc.capabilities & PDC_MODEL_IOPDIR_FDC) in show_cpuinfo() 409 switch (boot_cpu_data.pdc.capabilities & PDC_MODEL_NVA_MASK) { in show_cpuinfo() 420 seq_printf(m, " (0x%02lx)\n", boot_cpu_data.pdc.capabilities); in show_cpuinfo()
|
/kernel/linux/linux-5.10/fs/cifs/ |
D | sess.c | 95 if (!(ses->server->capabilities & SMB2_GLOBAL_CAP_MULTI_CHANNEL)) { in cifs_try_adding_channels() 315 __u32 capabilities = 0; in cifs_ssetup_hdr() local 334 capabilities = CAP_LARGE_FILES | CAP_NT_SMBS | CAP_LEVEL_II_OPLOCKS | in cifs_ssetup_hdr() 340 if (ses->capabilities & CAP_UNICODE) { in cifs_ssetup_hdr() 342 capabilities |= CAP_UNICODE; in cifs_ssetup_hdr() 344 if (ses->capabilities & CAP_STATUS32) { in cifs_ssetup_hdr() 346 capabilities |= CAP_STATUS32; in cifs_ssetup_hdr() 348 if (ses->capabilities & CAP_DFS) { in cifs_ssetup_hdr() 350 capabilities |= CAP_DFS; in cifs_ssetup_hdr() 352 if (ses->capabilities & CAP_UNIX) in cifs_ssetup_hdr() [all …]
|
/kernel/linux/linux-5.10/drivers/net/wireless/intel/iwlwifi/fw/ |
D | img.h | 118 fw_has_api(const struct iwl_ucode_capabilities *capabilities, in fw_has_api() argument 121 return test_bit((__force long)api, capabilities->_api); in fw_has_api() 125 fw_has_capa(const struct iwl_ucode_capabilities *capabilities, in fw_has_capa() argument 128 return test_bit((__force long)capa, capabilities->_capa); in fw_has_capa()
|
/kernel/linux/linux-5.10/Documentation/admin-guide/LSM/ |
D | SafeSetID.rst | 13 In absence of file capabilities, processes spawned on a Linux system that need 17 often preferable to use Linux runtime capabilities rather than file 18 capabilities, since using file capabilities to run a program with elevated 23 CAP_SET{U/G}ID capabilities, this is often at odds with the goals of running a 32 capabilities in such a way. 35 other untrusted uids without full blown CAP_SETUID capabilities. The non-root 53 For candidate applications that would like to have restricted setid capabilities 55 setid capabilities from the application completely and refactor the process 69 namespace and give programs in the tree setid capabilities. In this way, 75 Linux checks for capabilities based off of the user namespace that "owns" some
|