Home
last modified time | relevance | path

Searched refs:capability (Results 1 – 25 of 236) sorted by relevance

12345678910

/drivers/crypto/ccp/
Dpsp-dev.c80 unsigned int capability) in psp_check_sev_support() argument
83 if (!(capability & 1)) { in psp_check_sev_support()
92 unsigned int capability) in psp_check_tee_support() argument
95 if (!(capability & 2)) { in psp_check_tee_support()
104 unsigned int capability) in psp_check_support() argument
106 int sev_support = psp_check_sev_support(psp, capability); in psp_check_support()
107 int tee_support = psp_check_tee_support(psp, capability); in psp_check_support()
116 static int psp_init(struct psp_device *psp, unsigned int capability) in psp_init() argument
120 if (!psp_check_sev_support(psp, capability)) { in psp_init()
126 if (!psp_check_tee_support(psp, capability)) { in psp_init()
[all …]
/drivers/media/radio/si4713/
Dradio-platform-si4713.c59 struct v4l2_capability *capability) in radio_si4713_querycap() argument
61 strscpy(capability->driver, "radio-si4713", sizeof(capability->driver)); in radio_si4713_querycap()
62 strscpy(capability->card, "Silicon Labs Si4713 Modulator", in radio_si4713_querycap()
63 sizeof(capability->card)); in radio_si4713_querycap()
64 strscpy(capability->bus_info, "platform:radio-si4713", in radio_si4713_querycap()
65 sizeof(capability->bus_info)); in radio_si4713_querycap()
/drivers/clocksource/
Dtimer-ti-dm.c126 if ((timer->capability & OMAP_TIMER_ALWON) || in omap_timer_context_notifier()
133 if ((timer->capability & OMAP_TIMER_ALWON) || in omap_timer_context_notifier()
246 if (!(timer->capability & OMAP_TIMER_NEEDS_RESET)) { in omap_dm_timer_prepare()
256 if (timer->capability & OMAP_TIMER_NEEDS_RESET) { in omap_dm_timer_prepare()
322 if (cap == (t->capability & cap)) { in _omap_dm_timer_request()
337 if (t->capability == cap) in _omap_dm_timer_request()
529 if (!(timer->capability & OMAP_TIMER_NEEDS_RESET)) in omap_dm_timer_stop()
742 if (timer->capability & OMAP_TIMER_ALWON || !timer->func_base) in omap_dm_timer_runtime_suspend()
754 if (!(timer->capability & OMAP_TIMER_ALWON) && timer->func_base) in omap_dm_timer_runtime_resume()
812 timer->capability |= OMAP_TIMER_ALWON; in omap_dm_timer_probe()
[all …]
/drivers/xen/xen-pciback/
Dconf_space_capability.c18 int capability; member
46 cap_offset = pci_find_capability(dev, cap->capability); in xen_pcibk_config_capability_add_fields()
49 cap->capability, cap_offset); in xen_pcibk_config_capability_add_fields()
281 .capability = PCI_CAP_ID_PM,
285 .capability = PCI_CAP_ID_VPD,
289 .capability = PCI_CAP_ID_MSI,
293 .capability = PCI_CAP_ID_MSIX,
/drivers/net/wireless/intersil/orinoco/
Dscan.c84 u16 capability; in orinoco_add_hostscan_result() local
122 capability = le16_to_cpu(bss->a.capabilities); in orinoco_add_hostscan_result()
127 bss->a.bssid, timestamp, capability, in orinoco_add_hostscan_result()
143 u16 capability; in orinoco_add_extscan_result() local
155 capability = le16_to_cpu(bss->capabilities); in orinoco_add_extscan_result()
161 bss->bssid, timestamp, capability, in orinoco_add_extscan_result()
/drivers/platform/x86/
Dmlx-platform.c766 .capability = MLXPLAT_CPLD_LPC_REG_FAN_DRW_CAP_OFFSET,
774 .capability = MLXPLAT_CPLD_LPC_REG_FAN_DRW_CAP_OFFSET,
782 .capability = MLXPLAT_CPLD_LPC_REG_FAN_DRW_CAP_OFFSET,
790 .capability = MLXPLAT_CPLD_LPC_REG_FAN_DRW_CAP_OFFSET,
798 .capability = MLXPLAT_CPLD_LPC_REG_FAN_DRW_CAP_OFFSET,
806 .capability = MLXPLAT_CPLD_LPC_REG_FAN_DRW_CAP_OFFSET,
926 .capability = MLXPLAT_CPLD_LPC_REG_PSU_I2C_CAP_OFFSET,
936 .capability = MLXPLAT_CPLD_LPC_REG_PSU_I2C_CAP_OFFSET,
1120 .capability = MLXPLAT_CPLD_LPC_REG_FAN_DRW_CAP_OFFSET,
1127 .capability = MLXPLAT_CPLD_LPC_REG_FAN_DRW_CAP_OFFSET,
[all …]
Dacer-wmi.c289 u32 capability; member
322 interface->capability |= ACER_CAP_MAILLED; in set_quirks()
325 interface->capability |= ACER_CAP_BRIGHTNESS; in set_quirks()
637 interface->capability &= ~ACER_CAP_BRIGHTNESS; in video_set_backlight_video_vendor()
719 return interface->capability & cap; in has_cap()
888 interface->capability |= ACER_CAP_MAILLED; in AMW0_find_mailled()
930 interface->capability |= ACER_CAP_WIRELESS; in AMW0_set_capabilities()
954 interface->capability |= ACER_CAP_WIRELESS; in AMW0_set_capabilities()
977 interface->capability |= ACER_CAP_BLUETOOTH; in AMW0_set_capabilities()
985 interface->capability |= ACER_CAP_BRIGHTNESS; in AMW0_set_capabilities()
[all …]
/drivers/net/wireless/intel/ipw2x00/
Dlibipw_rx.c1337 network->capability = le16_to_cpu(frame->capability); in libipw_handle_assoc_resp()
1343 (network->capability & WLAN_CAPABILITY_IBSS) ? 0x3 : 0x0; in libipw_handle_assoc_resp()
1390 network->capability = le16_to_cpu(beacon->capability); in libipw_network_init()
1402 network->erp_value = (network->capability & WLAN_CAPABILITY_IBSS) ? in libipw_network_init()
1471 dst->capability = src->capability; in update_network()
1542 (beacon->capability & cpu_to_le16(1 << 0xf)) ? '1' : '0', in libipw_process_probe_response()
1543 (beacon->capability & cpu_to_le16(1 << 0xe)) ? '1' : '0', in libipw_process_probe_response()
1544 (beacon->capability & cpu_to_le16(1 << 0xd)) ? '1' : '0', in libipw_process_probe_response()
1545 (beacon->capability & cpu_to_le16(1 << 0xc)) ? '1' : '0', in libipw_process_probe_response()
1546 (beacon->capability & cpu_to_le16(1 << 0xb)) ? '1' : '0', in libipw_process_probe_response()
[all …]
/drivers/media/radio/wl128x/
Dfmdrv_v4l2.c182 struct v4l2_capability *capability) in fm_v4l2_vidioc_querycap() argument
184 strscpy(capability->driver, FM_DRV_NAME, sizeof(capability->driver)); in fm_v4l2_vidioc_querycap()
185 strscpy(capability->card, FM_DRV_CARD_SHORT_NAME, in fm_v4l2_vidioc_querycap()
186 sizeof(capability->card)); in fm_v4l2_vidioc_querycap()
187 sprintf(capability->bus_info, "UART"); in fm_v4l2_vidioc_querycap()
237 audio->capability = V4L2_AUDCAP_STEREO; in fm_v4l2_vidioc_g_audio()
287 tuner->capability = V4L2_TUNER_CAP_STEREO | V4L2_TUNER_CAP_RDS | in fm_v4l2_vidioc_g_tuner()
426 mod->capability = V4L2_TUNER_CAP_STEREO | V4L2_TUNER_CAP_RDS | in fm_v4l2_vidioc_g_modulator()
/drivers/hwmon/
Dmlxreg-fan.c365 err = regmap_read(fan->regmap, data->capability, &regval); in mlxreg_fan_connect_verify()
368 data->capability); in mlxreg_fan_connect_verify()
381 err = regmap_read(fan->regmap, data->capability, &regval); in mlxreg_fan_speed_divider_get()
384 data->capability); in mlxreg_fan_speed_divider_get()
418 if (data->capability) { in mlxreg_fan_config()
446 if (!data->mask && !data->bit && !data->capability) { in mlxreg_fan_config()
451 if (data->capability) { in mlxreg_fan_config()
/drivers/staging/rtl8192u/ieee80211/
Dieee80211_rx.c2055 network->capability = le16_to_cpu(beacon->capability); in ieee80211_network_init()
2067 network->erp_value = (network->capability & WLAN_CAPABILITY_IBSS) ? in ieee80211_network_init()
2146 ((src->capability & WLAN_CAPABILITY_IBSS) == in is_same_network()
2147 (dst->capability & WLAN_CAPABILITY_IBSS)) && in is_same_network()
2148 ((src->capability & WLAN_CAPABILITY_BSS) == in is_same_network()
2149 (dst->capability & WLAN_CAPABILITY_BSS))); in is_same_network()
2159 dst->capability = src->capability; in update_network()
2279 u16 capability; in ieee80211_process_probe_response() local
2286 capability = le16_to_cpu(beacon->capability); in ieee80211_process_probe_response()
2291 (capability & BIT(0xf)) ? '1' : '0', in ieee80211_process_probe_response()
[all …]
/drivers/usb/typec/
Dstusb160x.c156 struct typec_capability capability; member
539 chip->capability.fwnode = fwnode; in stusb160x_get_fw_caps()
552 chip->capability.type = chip->port_type; in stusb160x_get_fw_caps()
559 chip->capability.prefer_role = TYPEC_SINK; in stusb160x_get_fw_caps()
581 enum typec_port_type *type = &chip->capability.type; in stusb160x_get_caps()
582 enum typec_port_data *data = &chip->capability.data; in stusb160x_get_caps()
583 enum typec_accessory *accessory = chip->capability.accessory; in stusb160x_get_caps()
587 chip->capability.revision = USB_TYPEC_REV_1_2; in stusb160x_get_caps()
729 chip->port = typec_register_port(chip->dev, &chip->capability); in stusb160x_probe()
/drivers/net/ethernet/qlogic/qed/
Dqed_main.c1866 struct qed_ptt *ptt, u32 capability, in qed_fill_link_capability() argument
1892 if (capability & NVM_CFG1_PORT_DRV_SPEED_CAPABILITY_MASK_20G) in qed_fill_link_capability()
1896 capability |= speed_mask; in qed_fill_link_capability()
1898 if (capability & NVM_CFG1_PORT_DRV_SPEED_CAPABILITY_MASK_1G) in qed_fill_link_capability()
1900 if (capability & NVM_CFG1_PORT_DRV_SPEED_CAPABILITY_MASK_10G) in qed_fill_link_capability()
1903 if (capability & NVM_CFG1_PORT_DRV_SPEED_CAPABILITY_MASK_40G) in qed_fill_link_capability()
1914 if (capability & NVM_CFG1_PORT_DRV_SPEED_CAPABILITY_MASK_25G) in qed_fill_link_capability()
1916 if (capability & NVM_CFG1_PORT_DRV_SPEED_CAPABILITY_MASK_50G) in qed_fill_link_capability()
1919 if (capability & in qed_fill_link_capability()
1935 if (capability & in qed_fill_link_capability()
[all …]
/drivers/media/test-drivers/vivid/
Dvivid-radio-common.c28 .capability = V4L2_TUNER_CAP_LOW | V4L2_TUNER_CAP_STEREO |
38 .capability = V4L2_TUNER_CAP_LOW | V4L2_TUNER_CAP_FREQ_BANDS,
47 .capability = V4L2_TUNER_CAP_LOW | V4L2_TUNER_CAP_FREQ_BANDS,
Dvivid-radio-rx.c227 vt->capability = V4L2_TUNER_CAP_LOW | V4L2_TUNER_CAP_STEREO | in vivid_radio_rx_g_tuner()
236 vt->capability |= V4L2_TUNER_CAP_HWSEEK_BOUNDED; in vivid_radio_rx_g_tuner()
239 vt->capability |= V4L2_TUNER_CAP_HWSEEK_WRAP; in vivid_radio_rx_g_tuner()
242 vt->capability |= V4L2_TUNER_CAP_HWSEEK_WRAP | in vivid_radio_rx_g_tuner()
Dvivid-sdr-cap.c47 .capability = V4L2_TUNER_CAP_1HZ | V4L2_TUNER_CAP_FREQ_BANDS,
55 .capability = V4L2_TUNER_CAP_1HZ | V4L2_TUNER_CAP_FREQ_BANDS,
63 .capability = V4L2_TUNER_CAP_1HZ | V4L2_TUNER_CAP_FREQ_BANDS,
78 .capability = V4L2_TUNER_CAP_1HZ | V4L2_TUNER_CAP_FREQ_BANDS,
417 vt->capability = in vivid_sdr_g_tuner()
425 vt->capability = in vivid_sdr_g_tuner()
/drivers/media/radio/si470x/
Dradio-si470x-i2c.c222 struct v4l2_capability *capability) in si470x_vidioc_querycap() argument
224 strscpy(capability->driver, DRIVER_NAME, sizeof(capability->driver)); in si470x_vidioc_querycap()
225 strscpy(capability->card, DRIVER_CARD, sizeof(capability->card)); in si470x_vidioc_querycap()
Dradio-si470x-usb.c509 struct v4l2_capability *capability) in si470x_vidioc_querycap() argument
513 strscpy(capability->driver, DRIVER_NAME, sizeof(capability->driver)); in si470x_vidioc_querycap()
514 strscpy(capability->card, DRIVER_CARD, sizeof(capability->card)); in si470x_vidioc_querycap()
515 usb_make_path(radio->usbdev, capability->bus_info, in si470x_vidioc_querycap()
516 sizeof(capability->bus_info)); in si470x_vidioc_querycap()
Dradio-si470x-common.c137 .capability = V4L2_TUNER_CAP_LOW | V4L2_TUNER_CAP_STEREO |
149 .capability = V4L2_TUNER_CAP_LOW | V4L2_TUNER_CAP_STEREO |
161 .capability = V4L2_TUNER_CAP_LOW | V4L2_TUNER_CAP_STEREO |
618 tuner->capability = V4L2_TUNER_CAP_LOW | V4L2_TUNER_CAP_STEREO | in si470x_vidioc_g_tuner()
759 struct v4l2_capability *capability) in si470x_vidioc_querycap() argument
763 return radio->vidioc_querycap(file, priv, capability); in si470x_vidioc_querycap()
/drivers/staging/ks7010/
Dks_hostif.h309 __le16 capability; /* +12 */ member
324 __le16 capability; /* +12 */ member
363 __le16 capability; member
433 __le16 capability; member
442 __le16 capability; member
/drivers/media/radio/
Dradio-si476x.c52 .capability = V4L2_TUNER_CAP_LOW
64 .capability = V4L2_TUNER_CAP_LOW
331 struct v4l2_capability *capability) in si476x_radio_querycap() argument
335 strscpy(capability->driver, radio->v4l2dev.name, in si476x_radio_querycap()
336 sizeof(capability->driver)); in si476x_radio_querycap()
337 strscpy(capability->card, DRIVER_CARD, sizeof(capability->card)); in si476x_radio_querycap()
338 snprintf(capability->bus_info, sizeof(capability->bus_info), in si476x_radio_querycap()
399 tuner->capability = V4L2_TUNER_CAP_LOW /* Measure frequencies in si476x_radio_g_tuner()
422 tuner->capability |= V4L2_TUNER_CAP_RDS in si476x_radio_g_tuner()
430 tuner->capability |= V4L2_TUNER_CAP_RDS in si476x_radio_g_tuner()
Dtea575x.c53 .capability = V4L2_TUNER_CAP_LOW | V4L2_TUNER_CAP_STEREO |
62 .capability = V4L2_TUNER_CAP_LOW | V4L2_TUNER_CAP_STEREO |
71 .capability = V4L2_TUNER_CAP_LOW | V4L2_TUNER_CAP_FREQ_BANDS,
259 band->capability |= V4L2_TUNER_CAP_HWSEEK_BOUNDED; in snd_tea575x_enum_freq_bands()
286 v->capability = band_fm.capability; in snd_tea575x_g_tuner()
/drivers/staging/rtl8192e/
Drtllib_rx.c2320 network->capability = le16_to_cpu(beacon->capability); in rtllib_network_init()
2333 network->erp_value = (network->capability & WLAN_CAPABILITY_IBSS) ? in rtllib_network_init()
2413 ((src->capability & WLAN_CAPABILITY_IBSS) == in is_same_network()
2414 (dst->capability & WLAN_CAPABILITY_IBSS)) && in is_same_network()
2415 ((src->capability & WLAN_CAPABILITY_ESS) == in is_same_network()
2416 (dst->capability & WLAN_CAPABILITY_ESS))); in is_same_network()
2428 dst->capability = src->capability; in update_network()
2582 (le16_to_cpu(beacon->capability) & (1<<0xf)) ? '1' : '0', in rtllib_process_probe_response()
2583 (le16_to_cpu(beacon->capability) & (1<<0xe)) ? '1' : '0', in rtllib_process_probe_response()
2584 (le16_to_cpu(beacon->capability) & (1<<0xd)) ? '1' : '0', in rtllib_process_probe_response()
[all …]
/drivers/gpu/drm/amd/amdkfd/
Dkfd_topology.c508 dev->node_props.capability |= in node_show()
511 dev->node_props.capability |= in node_show()
518 dev->node_props.capability |= in node_show()
529 dev->node_props.capability); in node_show()
1320 dev->node_props.capability |= in kfd_topology_add_device()
1352 dev->node_props.capability |= ((HSA_CAP_DOORBELL_TYPE_PRE_1_0 << in kfd_topology_add_device()
1363 dev->node_props.capability |= ((HSA_CAP_DOORBELL_TYPE_1_0 << in kfd_topology_add_device()
1378 dev->node_props.capability |= ((HSA_CAP_DOORBELL_TYPE_2_0 << in kfd_topology_add_device()
1392 dev->node_props.capability |= HSA_CAP_ATS_PRESENT; in kfd_topology_add_device()
1394 dev->node_props.capability &= ~HSA_CAP_ATS_PRESENT; in kfd_topology_add_device()
[all …]
/drivers/net/ethernet/qlogic/qlcnic/
Dqlcnic_dcb.c165 struct qlcnic_dcb_capability capability; member
372 struct qlcnic_dcb_capability *cap = &dcb->cfg->capability; in __qlcnic_dcb_get_capability()
414 cap = &cfg->capability; in qlcnic_82xx_dcb_get_hw_capability()
543 struct qlcnic_dcb_capability *cap = &dcb->cfg->capability; in qlcnic_83xx_dcb_get_hw_capability()
757 cfg->capability.max_pfc_tc) in qlcnic_dcb_map_cee_params()
761 cfg->capability.max_ets_tc) in qlcnic_dcb_map_cee_params()
899 *cap = adapter->dcb->cfg->capability.dcb_capability; in qlcnic_dcb_get_capability()
918 *num = cfg->capability.max_ets_tc; in qlcnic_dcb_get_num_tcs()
921 *num = cfg->capability.max_pfc_tc; in qlcnic_dcb_get_num_tcs()
961 return cfg->capability.dcb_capability; in qlcnic_dcb_get_dcbx()
[all …]

12345678910