Home
last modified time | relevance | path

Searched refs:capa (Results 1 – 17 of 17) sorted by relevance

/drivers/media/pci/cobalt/
Dcobalt-driver.c190 u32 capa; in cobalt_pcie_status_show() local
197 pcie_capability_read_dword(pci_dev, PCI_EXP_DEVCAP, &capa); in cobalt_pcie_status_show()
201 capa, get_payload_size(capa & PCI_EXP_DEVCAP_PAYLOAD)); in cobalt_pcie_status_show()
209 pcie_capability_read_dword(pci_dev, PCI_EXP_LNKCAP, &capa); in cobalt_pcie_status_show()
213 capa, get_link_speed(capa), in cobalt_pcie_status_show()
214 FIELD_GET(PCI_EXP_LNKCAP_MLW, capa)); in cobalt_pcie_status_show()
221 pcie_capability_read_dword(pci_bus_dev, PCI_EXP_LNKCAP, &capa); in cobalt_pcie_status_show()
223 capa, get_link_speed(capa), in cobalt_pcie_status_show()
224 FIELD_GET(PCI_EXP_LNKCAP_MLW, capa)); in cobalt_pcie_status_show()
227 pcie_capability_read_dword(pci_dev, PCI_EXP_SLTCAP, &capa); in cobalt_pcie_status_show()
[all …]
Dcobalt-omnitek.c68 u32 capa = ioread32(CAPABILITY_REGISTER); in show_dma_capability() local
73 (header >> 16) & 0xffff, (capa >> 24) & 0xff); in show_dma_capability()
75 switch ((capa >> 8) & 0x3) { in show_dma_capability()
87 for (i = 0; i < (capa & 0xf); i++) { in show_dma_capability()
125 u32 capa = ioread32(CAPABILITY_REGISTER); in omni_sg_dma_init() local
129 cobalt->dma_channels = capa & 0xf; in omni_sg_dma_init()
130 if (capa & PCI_64BIT) in omni_sg_dma_init()
/drivers/net/wireless/intel/iwlwifi/
Diwl-drv.c406 struct iwl_ucode_capabilities *capa) in iwl_set_ucode_api_flags() argument
422 __set_bit(i + 32 * api_index, capa->_api); in iwl_set_ucode_api_flags()
427 struct iwl_ucode_capabilities *capa) in iwl_set_ucode_capabilities() argument
443 __set_bit(i + 32 * api_index, capa->_capa); in iwl_set_ucode_capabilities()
559 struct iwl_ucode_capabilities *capa, in iwl_parse_tlv_firmware() argument
668 capa->max_probe_length = in iwl_parse_tlv_firmware()
674 capa->flags |= IWL_UCODE_TLV_FLAGS_PAN; in iwl_parse_tlv_firmware()
690 capa->flags = le32_to_cpup((__le32 *)tlv_data); in iwl_parse_tlv_firmware()
695 iwl_set_ucode_api_flags(drv, tlv_data, capa); in iwl_parse_tlv_firmware()
700 iwl_set_ucode_capabilities(drv, tlv_data, capa); in iwl_parse_tlv_firmware()
[all …]
Diwl-nvm-parse.c722 iftype_data[i].he_6ghz_capa.capa = cpu_to_le16(he_6ghz_capa); in iwl_init_he_6ghz_capa()
/drivers/net/wireless/intel/iwlwifi/fw/
Dimg.h70 iwl_ucode_tlv_capa_t capa) in fw_has_capa() argument
72 return test_bit((__force long)capa, capabilities->_capa); in fw_has_capa()
/drivers/mmc/host/
Domap_hsmmc.c191 u32 capa; member
632 u32 hctl, capa; in omap_hsmmc_context_restore() local
638 host->capa == OMAP_HSMMC_READ(host->base, CAPA)) in omap_hsmmc_context_restore()
649 capa = VS30 | VS18; in omap_hsmmc_context_restore()
652 capa = VS18; in omap_hsmmc_context_restore()
662 OMAP_HSMMC_READ(host->base, CAPA) | capa); in omap_hsmmc_context_restore()
700 host->capa = OMAP_HSMMC_READ(host->base, CAPA); in omap_hsmmc_context_save()
1630 u32 hctl, capa, value; in omap_hsmmc_conf_bus_power() local
1635 capa = VS30 | VS18; in omap_hsmmc_conf_bus_power()
1638 capa = VS18; in omap_hsmmc_conf_bus_power()
[all …]
Dsdhci-omap.c117 u32 capa; member
1253 omap_host->capa = sdhci_omap_readl(omap_host, SDHCI_OMAP_CAPA); in sdhci_omap_context_save()
1262 sdhci_omap_writel(omap_host, SDHCI_OMAP_CAPA, omap_host->capa); in sdhci_omap_context_restore()
/drivers/macintosh/
Dvia-pmu.c792 unsigned int capa, max, voltage; in done_battery_state_smart() local
800 capa = max = amperage = voltage = 0; in done_battery_state_smart()
806 case 4: capa = req->reply[2]; in done_battery_state_smart()
811 case 5: capa = (req->reply[2] << 8) | req->reply[3]; in done_battery_state_smart()
828 pmu_batteries[pmu_cur_battery].charge = capa; in done_battery_state_smart()
835 = ((max-capa) * 3600) / amperage; in done_battery_state_smart()
838 = (capa * 3600) / (-amperage); in done_battery_state_smart()
/drivers/net/wireless/marvell/libertas/
Dcfg.c583 u16 capa; in lbs_ret_scan() local
602 capa = get_unaligned_le16(pos); in lbs_ret_scan()
641 bssid, capa, chan_no, ssid_len, ssid, in lbs_ret_scan()
649 capa, intvl, ie, ielen, in lbs_ret_scan()
/drivers/net/wireless/intel/iwlwifi/dvm/
Dagn.h77 const struct iwl_ucode_capabilities *capa);
Dmac80211.c84 const struct iwl_ucode_capabilities *capa) in iwlagn_mac_setup_register() argument
181 hw->wiphy->max_scan_ie_len = capa->max_probe_length - 24 - 34; in iwlagn_mac_setup_register()
/drivers/net/wireless/intel/iwlwifi/mvm/
Drs-fw.c369 switch (le16_get_bits(sta->he_6ghz_capa.capa, in rs_fw_get_max_amsdu_len()
Dscan.c845 const struct iwl_ucode_capabilities *capa = &mvm->fw->ucode_capa; in iwl_mvm_scan_use_ebs() local
861 return ((capa->flags & IWL_UCODE_TLV_FLAGS_EBS_SUPPORT) && in iwl_mvm_scan_use_ebs()
Dsta.c149 mpdu_dens = le16_get_bits(sta->he_6ghz_capa.capa, in iwl_mvm_sta_send_to_fw()
151 agg_size = le16_get_bits(sta->he_6ghz_capa.capa, in iwl_mvm_sta_send_to_fw()
Drs.c4162 .capa = RATE_CTRL_CAPA_VHT_EXT_NSS_BW,
/drivers/net/wireless/
Drndis_wlan.c299 __le16 capa; member
307 __le16 capa; member
2649 capability = le16_to_cpu(info->resp_ie.capa); in rndis_wlan_craft_connected_bss()
/drivers/net/wireless/ath/ath11k/
Dmac.c4070 data[idx].he_6ghz_capa.capa = in ath11k_mac_copy_he_cap()