/drivers/crypto/qat/qat_common/ |
D | adf_gen2_hw_data.c | 162 u32 capabilities = ICP_ACCEL_CAPABILITIES_CRYPTO_SYMMETRIC | in adf_gen2_get_accel_cap() local 173 capabilities &= ~ICP_ACCEL_CAPABILITIES_CRYPTO_SYMMETRIC; in adf_gen2_get_accel_cap() 174 capabilities &= ~ICP_ACCEL_CAPABILITIES_CIPHER; in adf_gen2_get_accel_cap() 177 capabilities &= ~ICP_ACCEL_CAPABILITIES_CRYPTO_ASYMMETRIC; in adf_gen2_get_accel_cap() 179 capabilities &= ~ICP_ACCEL_CAPABILITIES_AUTHENTICATION; in adf_gen2_get_accel_cap() 180 capabilities &= ~ICP_ACCEL_CAPABILITIES_CIPHER; in adf_gen2_get_accel_cap() 183 capabilities &= ~ICP_ACCEL_CAPABILITIES_COMPRESSION; in adf_gen2_get_accel_cap() 186 capabilities &= ~ICP_ACCEL_CAPABILITIES_CRYPTO_ASYMMETRIC; in adf_gen2_get_accel_cap() 189 capabilities &= ~ICP_ACCEL_CAPABILITIES_COMPRESSION; in adf_gen2_get_accel_cap() 191 return capabilities; in adf_gen2_get_accel_cap()
|
/drivers/staging/media/sunxi/cedrus/ |
D | cedrus_video.c | 41 .capabilities = CEDRUS_CAPABILITY_MPEG2_DEC, 46 .capabilities = CEDRUS_CAPABILITY_H264_DEC, 51 .capabilities = CEDRUS_CAPABILITY_H265_DEC, 56 .capabilities = CEDRUS_CAPABILITY_VP8_DEC, 65 .capabilities = CEDRUS_CAPABILITY_UNTILED, 77 unsigned int capabilities) in cedrus_find_format() argument 86 if ((fmt->capabilities & capabilities) != fmt->capabilities || in cedrus_find_format() 181 unsigned int capabilities = dev->capabilities; in cedrus_enum_fmt() local 191 if (fmt->capabilities && (fmt->capabilities & capabilities) != in cedrus_enum_fmt() 192 fmt->capabilities) in cedrus_enum_fmt() [all …]
|
D | cedrus.c | 479 .capabilities = CEDRUS_CAPABILITY_MPEG2_DEC | 486 .capabilities = CEDRUS_CAPABILITY_MPEG2_DEC | 493 .capabilities = CEDRUS_CAPABILITY_MPEG2_DEC | 500 .capabilities = CEDRUS_CAPABILITY_UNTILED | 508 .capabilities = CEDRUS_CAPABILITY_UNTILED | 517 .capabilities = CEDRUS_CAPABILITY_UNTILED | 523 .capabilities = CEDRUS_CAPABILITY_UNTILED | 531 .capabilities = CEDRUS_CAPABILITY_UNTILED | 540 .capabilities = CEDRUS_CAPABILITY_UNTILED | 549 .capabilities = CEDRUS_CAPABILITY_UNTILED |
|
/drivers/crypto/qat/qat_dh895xcc/ |
D | adf_dh895xcc_hw_data.c | 84 u32 capabilities; in get_accel_cap() local 87 capabilities = ICP_ACCEL_CAPABILITIES_CRYPTO_SYMMETRIC | in get_accel_cap() 98 capabilities &= ~ICP_ACCEL_CAPABILITIES_CRYPTO_SYMMETRIC; in get_accel_cap() 99 capabilities &= ~ICP_ACCEL_CAPABILITIES_CIPHER; in get_accel_cap() 102 capabilities &= ~ICP_ACCEL_CAPABILITIES_CRYPTO_ASYMMETRIC; in get_accel_cap() 104 capabilities &= ~ICP_ACCEL_CAPABILITIES_AUTHENTICATION; in get_accel_cap() 105 capabilities &= ~ICP_ACCEL_CAPABILITIES_CIPHER; in get_accel_cap() 108 capabilities &= ~ICP_ACCEL_CAPABILITIES_COMPRESSION; in get_accel_cap() 110 return capabilities; in get_accel_cap()
|
/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()
|
/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()
|
/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 …]
|
D | vmwgfx_drv.c | 449 (dev_priv->capabilities & SVGA_CAP_TRACES) != 0; in vmw_device_init() 855 dev_priv->capabilities = vmw_read(dev_priv, SVGA_REG_CAPABILITIES); in vmw_driver_load() 857 if (dev_priv->capabilities & SVGA_CAP_CAP2_REGISTER) { in vmw_driver_load() 867 if (dev_priv->capabilities & SVGA_CAP_GBOBJECTS) in vmw_driver_load() 879 if (dev_priv->capabilities & SVGA_CAP_GMR2) { in vmw_driver_load() 896 if (dev_priv->capabilities & SVGA_CAP_GBOBJECTS) { in vmw_driver_load() 911 if (!(dev_priv->capabilities & SVGA_CAP_3D)) in vmw_driver_load() 948 dev_priv->capabilities, in vmw_driver_load() 950 if (dev_priv->capabilities & SVGA_CAP_CAP2_REGISTER) in vmw_driver_load() 961 if (dev_priv->capabilities & SVGA_CAP_GMR2) { in vmw_driver_load() [all …]
|
D | vmwgfx_devcaps.c | 87 bool gb_objects = !!(vmw->capabilities & SVGA_CAP_GBOBJECTS); in vmw_devcaps_create() 112 bool gb_objects = !!(vmw->capabilities & SVGA_CAP_GBOBJECTS); in vmw_devcaps_size() 129 bool gb_objects = !!(vmw->capabilities & SVGA_CAP_GBOBJECTS); in vmw_devcaps_copy()
|
/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 …]
|
/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()
|
/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 …]
|
/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()
|
/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() 325 !(config->capabilities & EXYNOS_DRM_PLANE_CAP_ZPOS)); in exynos_plane_init() 327 if (config->capabilities & EXYNOS_DRM_PLANE_CAP_PIX_BLEND) in exynos_plane_init() 330 if (config->capabilities & EXYNOS_DRM_PLANE_CAP_WIN_BLEND) in exynos_plane_init()
|
/drivers/tty/serial/8250/ |
D | 8250_port.c | 546 if (p->capabilities & UART_CAP_FIFO) { in serial8250_clear_fifos() 566 if (!(p->capabilities & UART_CAP_RPM)) in serial8250_rpm_get() 574 if (!(p->capabilities & UART_CAP_RPM)) in serial8250_rpm_put() 711 if (!(p->capabilities & UART_CAP_RPM)) in serial8250_rpm_get_tx() 725 if (!(p->capabilities & UART_CAP_RPM)) in serial8250_rpm_put_tx() 747 if (p->capabilities & UART_CAP_SLEEP) { in serial8250_set_sleep() 748 if (p->capabilities & UART_CAP_EFR) { in serial8250_set_sleep() 756 if (p->capabilities & UART_CAP_EFR) { in serial8250_set_sleep() 910 up->capabilities |= UART_CAP_EFR | UART_CAP_SLEEP; in autoconfig_has_efr() 1033 up->capabilities |= UART_CAP_FIFO; in autoconfig_16550a() [all …]
|
D | 8250_dwlib.c | 119 up->capabilities = UART_CAP_FIFO; in dw8250_setup_port() 123 up->capabilities |= UART_CAP_AFE; in dw8250_setup_port() 126 up->capabilities |= UART_CAP_IRDA; in dw8250_setup_port()
|
/drivers/pci/pcie/ |
D | portdrv_core.c | 320 int status, capabilities, i, nr_service; in pcie_port_device_register() local 329 capabilities = get_port_device_capability(dev); in pcie_port_device_register() 330 if (!capabilities) in pcie_port_device_register() 341 status = pcie_init_service_irqs(dev, irqs, capabilities); in pcie_port_device_register() 343 capabilities &= PCIE_PORT_SERVICE_HP; in pcie_port_device_register() 344 if (!capabilities) in pcie_port_device_register() 353 if (!(capabilities & service)) in pcie_port_device_register()
|
/drivers/net/wireless/intel/iwlwifi/fw/ |
D | img.h | 62 fw_has_api(const struct iwl_ucode_capabilities *capabilities, in fw_has_api() argument 65 return test_bit((__force long)api, capabilities->_api); in fw_has_api() 69 fw_has_capa(const struct iwl_ucode_capabilities *capabilities, in fw_has_capa() argument 72 return test_bit((__force long)capa, capabilities->_capa); in fw_has_capa()
|
/drivers/crypto/qat/qat_4xxx/ |
D | adf_4xxx_hw_data.c | 100 u32 capabilities = ICP_ACCEL_CAPABILITIES_CRYPTO_SYMMETRIC | in get_accel_cap() local 109 capabilities &= ~ICP_ACCEL_CAPABILITIES_CRYPTO_SYMMETRIC; in get_accel_cap() 111 capabilities &= ~ICP_ACCEL_CAPABILITIES_AUTHENTICATION; in get_accel_cap() 113 capabilities &= ~ICP_ACCEL_CAPABILITIES_CRYPTO_ASYMMETRIC; in get_accel_cap() 115 return capabilities; in get_accel_cap()
|
/drivers/pnp/pnpbios/ |
D | core.c | 127 info->location_id, info->serial, info->capabilities); in pnp_dock_event() 320 dev->capabilities |= PNP_CONFIGURABLE; in insert_device() 322 dev->capabilities |= PNP_DISABLE; in insert_device() 323 dev->capabilities |= PNP_READ; in insert_device() 325 dev->capabilities |= PNP_WRITE; in insert_device() 327 dev->capabilities |= PNP_REMOVABLE; in insert_device()
|
/drivers/misc/ |
D | vmw_balloon.c | 306 unsigned long capabilities; member 517 unsigned long status, capabilities; in vmballoon_send_start() local 520 &capabilities); in vmballoon_send_start() 524 b->capabilities = capabilities; in vmballoon_send_start() 527 b->capabilities = VMW_BALLOON_BASIC_CMDS; in vmballoon_send_start() 539 if ((b->capabilities & VMW_BALLOON_BATCHED_2M_CMDS) && in vmballoon_send_start() 540 (b->capabilities & VMW_BALLOON_BATCHED_CMDS)) in vmballoon_send_start() 640 if (!(b->capabilities & VMW_BALLOON_64_BIT_TARGET) && in vmballoon_send_get_target() 1376 if ((b->capabilities & VMW_BALLOON_SIGNALLED_WAKEUP_CMD) == 0) in vmballoon_vmci_init() 1435 if ((b->capabilities & VMW_BALLOON_BATCHED_CMDS) != 0) { in vmballoon_reset() [all …]
|
/drivers/media/cec/core/ |
D | cec-api.c | 84 caps.capabilities = adap->capabilities; in cec_adap_g_caps() 127 if (!(adap->capabilities & CEC_CAP_PHYS_ADDR)) in cec_adap_s_phys_addr() 173 if (!(adap->capabilities & CEC_CAP_LOG_ADDRS)) in cec_adap_s_log_addrs() 201 if (!(adap->capabilities & CEC_CAP_CONNECTOR_INFO)) in cec_adap_g_connector_info() 217 if (!(adap->capabilities & CEC_CAP_TRANSMIT)) in cec_transmit() 394 !(adap->capabilities & CEC_CAP_MONITOR_ALL)) { in cec_s_mode() 400 !(adap->capabilities & CEC_CAP_MONITOR_PIN)) { in cec_s_mode() 407 !(adap->capabilities & CEC_CAP_TRANSMIT)) && in cec_s_mode()
|
/drivers/dma/qcom/ |
D | Kconfig | 10 This controller provides DMA capabilities for both general purpose 20 provides DMA capabilities for a variety of on-chip devices. 29 provides DMA capabilities for a variety of peripheral buses such
|
/drivers/cpufreq/ |
D | pcc-cpufreq.c | 307 u32 capabilities[2]; in pcc_cpufreq_do_osc() local 323 in_params[3].buffer.pointer = (u8 *)&capabilities; in pcc_cpufreq_do_osc() 325 capabilities[0] = OSC_QUERY_ENABLE; in pcc_cpufreq_do_osc() 326 capabilities[1] = 0x1; in pcc_cpufreq_do_osc() 354 capabilities[0] = 0x0; in pcc_cpufreq_do_osc() 355 capabilities[1] = 0x1; in pcc_cpufreq_do_osc()
|
/drivers/rtc/ |
D | rtc-sh.c | 106 unsigned long capabilities; /* See asm/rtc.h for cap bits */ member 301 if (rtc->capabilities & RTC_CAP_4_DIGIT_YEAR) { in sh_rtc_read_time() 357 if (rtc->capabilities & RTC_CAP_4_DIGIT_YEAR) { in sh_rtc_set_time() 538 rtc->capabilities = RTC_DEF_CAPABILITIES; in sh_rtc_probe() 549 rtc->capabilities |= pinfo->capabilities; in sh_rtc_probe() 602 if (rtc->capabilities & RTC_CAP_4_DIGIT_YEAR) { in sh_rtc_probe()
|