/drivers/media/pci/cobalt/ |
D | cobalt-driver.c | 202 u32 capa; in cobalt_pcie_status_show() local 209 pci_read_config_dword(pci_dev, offset + PCI_EXP_DEVCAP, &capa); in cobalt_pcie_status_show() 213 capa, get_payload_size(capa & PCI_EXP_DEVCAP_PAYLOAD)); in cobalt_pcie_status_show() 221 pci_read_config_dword(pci_dev, offset + PCI_EXP_LNKCAP, &capa); in cobalt_pcie_status_show() 225 capa, get_link_speed(capa), in cobalt_pcie_status_show() 226 (capa & PCI_EXP_LNKCAP_MLW) >> 4); in cobalt_pcie_status_show() 233 pci_read_config_dword(pci_bus_dev, bus_offset + PCI_EXP_LNKCAP, &capa); in cobalt_pcie_status_show() 235 capa, get_link_speed(capa), in cobalt_pcie_status_show() 236 (capa & PCI_EXP_LNKCAP_MLW) >> 4); in cobalt_pcie_status_show() 239 pci_read_config_dword(pci_dev, offset + PCI_EXP_SLTCAP, &capa); in cobalt_pcie_status_show() [all …]
|
D | cobalt-omnitek.c | 80 u32 capa = ioread32(CAPABILITY_REGISTER); in show_dma_capability() local 85 (header >> 16) & 0xffff, (capa >> 24) & 0xff); in show_dma_capability() 87 switch ((capa >> 8) & 0x3) { in show_dma_capability() 99 for (i = 0; i < (capa & 0xf); i++) { in show_dma_capability() 137 u32 capa = ioread32(CAPABILITY_REGISTER); in omni_sg_dma_init() local 141 cobalt->dma_channels = capa & 0xf; in omni_sg_dma_init() 142 if (capa & PCI_64BIT) in omni_sg_dma_init()
|
/drivers/net/wireless/iwlwifi/ |
D | iwl-drv.c | 379 struct iwl_gscan_capabilities *capa = &fw->gscan_capa; in iwl_store_gscan_capa() local 384 capa->max_scan_cache_size = le32_to_cpu(fw_capa->max_scan_cache_size); in iwl_store_gscan_capa() 385 capa->max_scan_buckets = le32_to_cpu(fw_capa->max_scan_buckets); in iwl_store_gscan_capa() 386 capa->max_ap_cache_per_scan = in iwl_store_gscan_capa() 388 capa->max_rssi_sample_size = le32_to_cpu(fw_capa->max_rssi_sample_size); in iwl_store_gscan_capa() 389 capa->max_scan_reporting_threshold = in iwl_store_gscan_capa() 391 capa->max_hotlist_aps = le32_to_cpu(fw_capa->max_hotlist_aps); in iwl_store_gscan_capa() 392 capa->max_significant_change_aps = in iwl_store_gscan_capa() 394 capa->max_bssid_history_entries = in iwl_store_gscan_capa() 446 struct iwl_ucode_capabilities *capa) in iwl_set_ucode_api_flags() argument [all …]
|
D | iwl-fw.h | 121 iwl_ucode_tlv_capa_t capa) in fw_has_capa() argument 123 return test_bit((__force long)capa, capabilities->_capa); in fw_has_capa()
|
/drivers/mmc/host/ |
D | omap_hsmmc.c | 198 u32 capa; member 728 u32 hctl, capa; in omap_hsmmc_context_restore() local 734 host->capa == OMAP_HSMMC_READ(host->base, CAPA)) in omap_hsmmc_context_restore() 745 capa = VS30 | VS18; in omap_hsmmc_context_restore() 748 capa = VS18; in omap_hsmmc_context_restore() 758 OMAP_HSMMC_READ(host->base, CAPA) | capa); in omap_hsmmc_context_restore() 796 host->capa = OMAP_HSMMC_READ(host->base, CAPA); in omap_hsmmc_context_save() 1813 u32 hctl, capa, value; in omap_hsmmc_conf_bus_power() local 1818 capa = VS30 | VS18; in omap_hsmmc_conf_bus_power() 1821 capa = VS18; in omap_hsmmc_conf_bus_power() [all …]
|
/drivers/macintosh/ |
D | via-pmu.c | 734 unsigned int capa, max, voltage; in done_battery_state_smart() local 742 capa = max = amperage = voltage = 0; in done_battery_state_smart() 748 case 4: capa = req->reply[2]; in done_battery_state_smart() 753 case 5: capa = (req->reply[2] << 8) | req->reply[3]; in done_battery_state_smart() 770 pmu_batteries[pmu_cur_battery].charge = capa; in done_battery_state_smart() 777 = ((max-capa) * 3600) / amperage; in done_battery_state_smart() 780 = (capa * 3600) / (-amperage); in done_battery_state_smart()
|
/drivers/net/wireless/libertas/ |
D | cfg.c | 593 u16 capa; in lbs_ret_scan() local 612 capa = get_unaligned_le16(pos); in lbs_ret_scan() 651 bssid, capa, chan_no, ssid_len, ssid, in lbs_ret_scan() 659 capa, intvl, ie, ielen, in lbs_ret_scan()
|
/drivers/net/wireless/iwlwifi/dvm/ |
D | agn.h | 135 const struct iwl_ucode_capabilities *capa);
|
D | mac80211.c | 98 const struct iwl_ucode_capabilities *capa) in iwlagn_mac_setup_register() argument 192 hw->wiphy->max_scan_ie_len = capa->max_probe_length - 24 - 34; in iwlagn_mac_setup_register()
|
/drivers/net/wireless/iwlwifi/mvm/ |
D | scan.c | 742 const struct iwl_ucode_capabilities *capa = &mvm->fw->ucode_capa; in iwl_mvm_scan_use_ebs() local 750 return ((capa->flags & IWL_UCODE_TLV_FLAGS_EBS_SUPPORT) && in iwl_mvm_scan_use_ebs()
|
/drivers/net/wireless/ |
D | rndis_wlan.c | 311 __le16 capa; member 319 __le16 capa; member 2673 capability = le16_to_cpu(info->resp_ie.capa); in rndis_wlan_craft_connected_bss()
|