/drivers/staging/bcm/ |
D | InterfaceInit.c | 31 struct bcm_mini_adapter *ps_ad = psIntfAdapter->psAdapter; in InterfaceAdapterFree() 159 struct bcm_mini_adapter *psAdapter; in usbbcm_device_probe() local 173 psAdapter = netdev_priv(ndev); in usbbcm_device_probe() 174 psAdapter->dev = ndev; in usbbcm_device_probe() 175 psAdapter->msg_enable = netif_msg_init(debug, default_msg); in usbbcm_device_probe() 179 psAdapter->stDebugState.debug_level = DBG_LVL_CURR; in usbbcm_device_probe() 180 psAdapter->stDebugState.type = DBG_TYPE_INITEXIT; in usbbcm_device_probe() 195 psAdapter->stDebugState.subtype[DBG_TYPE_INITEXIT] = 0xff; in usbbcm_device_probe() 196 BCM_SHOW_DEBUG_BITMAP(psAdapter); in usbbcm_device_probe() 198 retval = InitAdapter(psAdapter); in usbbcm_device_probe() [all …]
|
D | InterfaceMisc.c | 5 if (ad->psAdapter->device_removed == TRUE) { in adapter_err_occurred() 6 BCM_DEBUG_PRINT(ad->psAdapter, DBG_TYPE_PRINTK, 0, 0, in adapter_err_occurred() 11 if ((ad->psAdapter->StopAllXaction == TRUE) && in adapter_err_occurred() 12 (ad->psAdapter->chip_id >= T3LPB)) { in adapter_err_occurred() 13 BCM_DEBUG_PRINT(ad->psAdapter, DBG_TYPE_OTHERS, RDM, in adapter_err_occurred() 20 BCM_DEBUG_PRINT(ad->psAdapter, DBG_TYPE_OTHERS, RDM, in adapter_err_occurred() 44 psIntfAdapter->psAdapter->DeviceAccess = TRUE; in InterfaceRDM() 57 psIntfAdapter->psAdapter->device_removed = TRUE; in InterfaceRDM() 60 BCM_DEBUG_PRINT(psIntfAdapter->psAdapter, DBG_TYPE_OTHERS, RDM, in InterfaceRDM() 63 BCM_DEBUG_PRINT(psIntfAdapter->psAdapter, DBG_TYPE_OTHERS, RDM, in InterfaceRDM() [all …]
|
D | InterfaceTx.c | 92 struct bcm_mini_adapter *psAdapter = psIntfAdapter->psAdapter; in write_bulk_callback() local 102 psIntfAdapter->psAdapter->bEndPointHalted = TRUE; in write_bulk_callback() 103 wake_up(&psIntfAdapter->psAdapter->tx_packet_wait_queue); in write_bulk_callback() 115 if (TRUE == psAdapter->bPreparingForLowPowerMode) { in write_bulk_callback() 116 prepare_low_power_mode(urb, psIntfAdapter, psAdapter, Adapter, in write_bulk_callback() 131 (psIntfAdapter->psAdapter->StopAllXaction == false)) { in GetBulkOutTcb() 136 BCM_DEBUG_PRINT(psIntfAdapter->psAdapter, DBG_TYPE_TX, in GetBulkOutTcb() 158 BCM_DEBUG_PRINT(psIntfAdapter->psAdapter, DBG_TYPE_PRINTK, 0, 0, in TransmitTcb() 165 BCM_DEBUG_PRINT(psIntfAdapter->psAdapter, DBG_TYPE_TX, NEXT_SEND, in TransmitTcb() 168 if ((psIntfAdapter->psAdapter->chip_id == T3B) && in TransmitTcb() [all …]
|
D | Misc.c | 4 static void doPowerAutoCorrection(struct bcm_mini_adapter *psAdapter); 26 int InitAdapter(struct bcm_mini_adapter *psAdapter) in InitAdapter() argument 31 …BCM_DEBUG_PRINT(psAdapter, DBG_TYPE_INITEXIT, MP_INIT, DBG_LVL_ALL, "Initialising Adapter = %p", p… in InitAdapter() 33 if (psAdapter == NULL) { in InitAdapter() 34 BCM_DEBUG_PRINT(psAdapter, DBG_TYPE_INITEXIT, MP_INIT, DBG_LVL_ALL, "Adapter is NULL"); in InitAdapter() 38 sema_init(&psAdapter->NVMRdmWrmLock, 1); in InitAdapter() 39 sema_init(&psAdapter->rdmwrmsync, 1); in InitAdapter() 40 spin_lock_init(&psAdapter->control_queue_lock); in InitAdapter() 41 spin_lock_init(&psAdapter->txtransmitlock); in InitAdapter() 42 sema_init(&psAdapter->RxAppControlQueuelock, 1); in InitAdapter() [all …]
|
D | InterfaceIsr.c | 9 struct bcm_mini_adapter *Adapter = psIntfAdapter->psAdapter; in read_int_callback() 64 psIntfAdapter->psAdapter->downloadDDR += 1; in read_int_callback() 139 BCM_DEBUG_PRINT(psIntfAdapter->psAdapter, DBG_TYPE_OTHERS, in CreateInterruptUrb() 159 BCM_DEBUG_PRINT(psIntfAdapter->psAdapter, DBG_TYPE_OTHERS, INTF_INIT, in CreateInterruptUrb() 170 if (!(psIntfAdapter->psAdapter->device_removed || in StartInterruptUrb() 171 psIntfAdapter->psAdapter->bEndPointHalted || in StartInterruptUrb() 174 psIntfAdapter->psAdapter->StopAllXaction)) { in StartInterruptUrb() 178 BCM_DEBUG_PRINT(psIntfAdapter->psAdapter, in StartInterruptUrb() 182 psIntfAdapter->psAdapter->bEndPointHalted = in StartInterruptUrb() 184 wake_up(&psIntfAdapter->psAdapter->tx_packet_wait_queue); in StartInterruptUrb()
|
D | InterfaceRx.c | 9 BCM_DEBUG_PRINT(interface->psAdapter, DBG_TYPE_RX, RX_CTRL, DBG_LVL_ALL, in handle_control_packet() 37 BCM_DEBUG_PRINT(interface->psAdapter, DBG_TYPE_RX, RX_DATA, in format_eth_hdr_to_stack() 48 BCM_DEBUG_PRINT(interface->psAdapter, DBG_TYPE_RX, RX_DATA, in format_eth_hdr_to_stack() 72 BCM_DEBUG_PRINT(interface->psAdapter, DBG_TYPE_RX, in format_eth_hdr_to_stack() 109 (psIntfAdapter->psAdapter->StopAllXaction == false)) { in GetBulkInRcb() 114 BCM_DEBUG_PRINT(psIntfAdapter->psAdapter, DBG_TYPE_RX, RX_DPC, in GetBulkInRcb() 133 struct bcm_mini_adapter *Adapter = psIntfAdapter->psAdapter; in read_bulk_callback() 234 if (false == psIntfAdapter->psAdapter->device_removed && in ReceiveRcb() 235 false == psIntfAdapter->psAdapter->bEndPointHalted && in ReceiveRcb() 240 BCM_DEBUG_PRINT(psIntfAdapter->psAdapter, DBG_TYPE_RX, in ReceiveRcb() [all …]
|
D | DDRInit.h | 6 int ddr_init(struct bcm_mini_adapter *psAdapter); 7 int download_ddr_settings(struct bcm_mini_adapter *psAdapter);
|
D | nvm.c | 2211 int BcmAllocFlashCSStructure(struct bcm_mini_adapter *psAdapter) in BcmAllocFlashCSStructure() argument 2213 if (!psAdapter) { in BcmAllocFlashCSStructure() 2214 BCM_DEBUG_PRINT(psAdapter, DBG_TYPE_PRINTK, 0, 0, "Adapter structure point is NULL"); in BcmAllocFlashCSStructure() 2217 psAdapter->psFlashCSInfo = kzalloc(sizeof(struct bcm_flash_cs_info), GFP_KERNEL); in BcmAllocFlashCSStructure() 2218 if (psAdapter->psFlashCSInfo == NULL) { in BcmAllocFlashCSStructure() 2219 BCM_DEBUG_PRINT(psAdapter, DBG_TYPE_PRINTK, 0, 0, "Can't Allocate memory for Flash 1.x"); in BcmAllocFlashCSStructure() 2223 psAdapter->psFlash2xCSInfo = kzalloc(sizeof(struct bcm_flash2x_cs_info), GFP_KERNEL); in BcmAllocFlashCSStructure() 2224 if (!psAdapter->psFlash2xCSInfo) { in BcmAllocFlashCSStructure() 2225 BCM_DEBUG_PRINT(psAdapter, DBG_TYPE_PRINTK, 0, 0, "Can't Allocate memory for Flash 2.x"); in BcmAllocFlashCSStructure() 2226 kfree(psAdapter->psFlashCSInfo); in BcmAllocFlashCSStructure() [all …]
|
D | InterfaceAdapter.h | 71 struct bcm_mini_adapter *psAdapter; member
|
D | Prototypes.h | 180 INT BcmAllocFlashCSStructure(struct bcm_mini_adapter *psAdapter); 182 INT BcmDeAllocFlashCSStructure(struct bcm_mini_adapter *psAdapter);
|
D | Adapter.h | 438 int InitAdapter(struct bcm_mini_adapter *psAdapter);
|