Home
last modified time | relevance | path

Searched refs:ps_adapter (Results 1 – 4 of 4) sorted by relevance

/drivers/staging/bcm/
DMisc.c778 int reset_card_proc(struct bcm_mini_adapter *ps_adapter) in reset_card_proc() argument
786 psIntfAdapter = ((struct bcm_interface_adapter *)(ps_adapter->pvInterfaceAdapter)); in reset_card_proc()
787 ps_adapter->bDDRInitDone = false; in reset_card_proc()
789 if (ps_adapter->chip_id >= T3LPB) { in reset_card_proc()
791 rdmalt(ps_adapter, SYS_CFG, &value, sizeof(value)); in reset_card_proc()
792 rdmalt(ps_adapter, SYS_CFG, &value, sizeof(value)); in reset_card_proc()
796 value = value | (ps_adapter->syscfgBefFwDld & 0x00000060); in reset_card_proc()
797 wrmalt(ps_adapter, SYS_CFG, &value, sizeof(value)); in reset_card_proc()
804 if (ps_adapter->chip_id >= T3LPB) { in reset_card_proc()
814 if (ps_adapter->chip_id == BCS220_2 || in reset_card_proc()
[all …]
DInterfaceTx.c5 struct bcm_mini_adapter *ps_adapter, in prepare_low_power_mode() argument
19 ps_adapter->bPreparingForLowPowerMode = false; in prepare_low_power_mode()
24 wake_up(&ps_adapter->lowpower_mode_wait_queue); in prepare_low_power_mode()
29 if (ps_adapter->bDoSuspend == false) { in prepare_low_power_mode()
30 ps_adapter->IdleMode = TRUE; in prepare_low_power_mode()
32 ps_adapter->bPreparingForLowPowerMode = false; in prepare_low_power_mode()
38 wake_up(&ps_adapter->lowpower_mode_wait_queue); in prepare_low_power_mode()
50 ps_adapter->bPreparingForLowPowerMode = false; in prepare_low_power_mode()
55 wake_up(&ps_adapter->lowpower_mode_wait_queue); in prepare_low_power_mode()
61 if (ps_adapter->bDoSuspend == false) { in prepare_low_power_mode()
[all …]
DPrototypes.h16 int register_control_device_interface(struct bcm_mini_adapter *ps_adapter);
70 int InitCardAndDownloadFirmware(struct bcm_mini_adapter *ps_adapter);
74 int register_control_device_interface(struct bcm_mini_adapter *ps_adapter);
Dnvm.c2115 int BcmInitNVM(struct bcm_mini_adapter *ps_adapter) in BcmInitNVM() argument
2117 BcmValidateNvmType(ps_adapter); in BcmInitNVM()
2118 BcmInitEEPROMQueues(ps_adapter); in BcmInitNVM()
2120 if (ps_adapter->eNVMType == NVM_AUTODETECT) { in BcmInitNVM()
2121 ps_adapter->eNVMType = BcmGetNvmType(ps_adapter); in BcmInitNVM()
2122 if (ps_adapter->eNVMType == NVM_UNKNOWN) in BcmInitNVM()
2123 BCM_DEBUG_PRINT(ps_adapter, DBG_TYPE_PRINTK, 0, 0, "NVM Type is unknown!!\n"); in BcmInitNVM()
2124 } else if (ps_adapter->eNVMType == NVM_FLASH) { in BcmInitNVM()
2125 BcmGetFlashCSInfo(ps_adapter); in BcmInitNVM()
2128 BcmGetNvmSize(ps_adapter); in BcmInitNVM()