Home
last modified time | relevance | path

Searched refs:psAdapter (Results 1 – 12 of 12) sorted by relevance

/linux-3.4.99/drivers/staging/bcm/
DInterfaceInit.c33 if (psIntfAdapter->psAdapter->LEDInfo.led_thread_running & BCM_LED_THREAD_RUNNING_ACTIVELY) { in InterfaceAdapterFree()
34 psIntfAdapter->psAdapter->DriverState = DRIVER_HALT; in InterfaceAdapterFree()
35 wake_up(&psIntfAdapter->psAdapter->LEDInfo.notify_led_event); in InterfaceAdapterFree()
37 reset_card_proc(psIntfAdapter->psAdapter); in InterfaceAdapterFree()
43 while (psIntfAdapter->psAdapter->DeviceAccess) { in InterfaceAdapterFree()
44 BCM_DEBUG_PRINT(psIntfAdapter->psAdapter, DBG_TYPE_INITEXIT, DRV_ENTRY, DBG_LVL_ALL, in InterfaceAdapterFree()
67 AdapterFree(psIntfAdapter->psAdapter); in InterfaceAdapterFree()
148 PMINI_ADAPTER psAdapter; in usbbcm_device_probe() local
161 psAdapter = netdev_priv(ndev); in usbbcm_device_probe()
162 psAdapter->dev = ndev; in usbbcm_device_probe()
[all …]
DInterfaceTx.c9 PMINI_ADAPTER psAdapter = psIntfAdapter->psAdapter ; in write_bulk_callback() local
20 psIntfAdapter->psAdapter->bEndPointHalted = TRUE ; in write_bulk_callback()
21 wake_up(&psIntfAdapter->psAdapter->tx_packet_wait_queue); in write_bulk_callback()
34 if(TRUE == psAdapter->bPreparingForLowPowerMode) in write_bulk_callback()
45 psAdapter->bPreparingForLowPowerMode = FALSE ; in write_bulk_callback()
48 wake_up(&psAdapter->lowpower_mode_wait_queue); in write_bulk_callback()
53 if(psAdapter->bDoSuspend == FALSE) in write_bulk_callback()
55 psAdapter->IdleMode = TRUE; in write_bulk_callback()
57 psAdapter->bPreparingForLowPowerMode = FALSE ; in write_bulk_callback()
61 wake_up(&psAdapter->lowpower_mode_wait_queue); in write_bulk_callback()
[all …]
DInterfaceMisc.c12 BCM_DEBUG_PRINT(psIntfAdapter->psAdapter, DBG_TYPE_PRINTK, 0, 0, "Interface Adapter is NULL"); in InterfaceRDM()
16 if (psIntfAdapter->psAdapter->device_removed == TRUE) { in InterfaceRDM()
17 BCM_DEBUG_PRINT(psIntfAdapter->psAdapter, DBG_TYPE_PRINTK, 0, 0, "Device got removed"); in InterfaceRDM()
21 …if ((psIntfAdapter->psAdapter->StopAllXaction == TRUE) && (psIntfAdapter->psAdapter->chip_id >= T3… in InterfaceRDM()
22 …BCM_DEBUG_PRINT(psIntfAdapter->psAdapter, DBG_TYPE_OTHERS, RDM, DBG_LVL_ALL, "Currently Xaction is… in InterfaceRDM()
27 …BCM_DEBUG_PRINT(psIntfAdapter->psAdapter, DBG_TYPE_OTHERS, RDM, DBG_LVL_ALL, "Bus is in suspended … in InterfaceRDM()
30 psIntfAdapter->psAdapter->DeviceAccess = TRUE; in InterfaceRDM()
45 psIntfAdapter->psAdapter->device_removed = TRUE; in InterfaceRDM()
52 …BCM_DEBUG_PRINT(psIntfAdapter->psAdapter, DBG_TYPE_OTHERS, RDM, DBG_LVL_ALL, "RDM failed status :%… in InterfaceRDM()
54 …BCM_DEBUG_PRINT(psIntfAdapter->psAdapter, DBG_TYPE_OTHERS, RDM, DBG_LVL_ALL, "RDM sent %d", bytes); in InterfaceRDM()
[all …]
DInterfaceIsr.c8 PMINI_ADAPTER Adapter = psIntfAdapter->psAdapter ; in read_int_callback()
60 psIntfAdapter->psAdapter->downloadDDR +=1; in read_int_callback()
122 …BCM_DEBUG_PRINT(psIntfAdapter->psAdapter,DBG_TYPE_OTHERS, INTF_INIT, DBG_LVL_ALL,"Cannot allocate … in CreateInterruptUrb()
140 …BCM_DEBUG_PRINT(psIntfAdapter->psAdapter,DBG_TYPE_OTHERS, INTF_INIT, DBG_LVL_ALL,"Interrupt Interv… in CreateInterruptUrb()
150 if( FALSE == psIntfAdapter->psAdapter->device_removed && in StartInterruptUrb()
151 FALSE == psIntfAdapter->psAdapter->bEndPointHalted && in StartInterruptUrb()
154 FALSE == psIntfAdapter->psAdapter->StopAllXaction) in StartInterruptUrb()
159 …BCM_DEBUG_PRINT(psIntfAdapter->psAdapter,DBG_TYPE_OTHERS, INTF_INIT, DBG_LVL_ALL,"Cannot send int … in StartInterruptUrb()
162 psIntfAdapter->psAdapter->bEndPointHalted = TRUE ; in StartInterruptUrb()
163 wake_up(&psIntfAdapter->psAdapter->tx_packet_wait_queue); in StartInterruptUrb()
DMisc.c4 static VOID doPowerAutoCorrection(PMINI_ADAPTER psAdapter);
27 INT InitAdapter(PMINI_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 …]
DInterfaceRx.c22 (psIntfAdapter->psAdapter->StopAllXaction == FALSE)) in GetBulkInRcb()
28 …BCM_DEBUG_PRINT(psIntfAdapter->psAdapter,DBG_TYPE_RX, RX_DPC, DBG_LVL_ALL, "Got Rx desc %d used %d… in GetBulkInRcb()
48 PMINI_ADAPTER Adapter = psIntfAdapter->psAdapter; in read_bulk_callback()
126 …BCM_DEBUG_PRINT(psIntfAdapter->psAdapter,DBG_TYPE_RX, RX_CTRL, DBG_LVL_ALL, "Received control pkt.… in read_bulk_callback()
145 …BCM_DEBUG_PRINT(psIntfAdapter->psAdapter,DBG_TYPE_RX, RX_DATA, DBG_LVL_ALL, "Received Data pkt..."… in read_bulk_callback()
154 …BCM_DEBUG_PRINT(psIntfAdapter->psAdapter,DBG_TYPE_RX, RX_DATA, DBG_LVL_ALL, "Received Data pkt of … in read_bulk_callback()
180 …BCM_DEBUG_PRINT(psIntfAdapter->psAdapter,DBG_TYPE_RX, RX_DATA, DBG_LVL_ALL, "i/f not up hance free… in read_bulk_callback()
208 if(FALSE == psIntfAdapter->psAdapter->device_removed && in ReceiveRcb()
209 FALSE == psIntfAdapter->psAdapter->bEndPointHalted && in ReceiveRcb()
216 …BCM_DEBUG_PRINT(psIntfAdapter->psAdapter,DBG_TYPE_RX, RX_DPC, DBG_LVL_ALL, "failed submitting read… in ReceiveRcb()
[all …]
DInterfaceDld.c24 BCM_DEBUG_PRINT(psIntfAdapter->psAdapter, in InterfaceFileDownload()
30 BCM_DEBUG_PRINT(psIntfAdapter->psAdapter, in InterfaceFileDownload()
43 BCM_DEBUG_PRINT(psIntfAdapter->psAdapter, in InterfaceFileDownload()
89 BCM_DEBUG_PRINT(psIntfAdapter->psAdapter, DBG_TYPE_INITEXIT, MP_INIT, DBG_LVL_ALL, "len < 0"); in InterfaceFileReadbackFromChip()
93 …BCM_DEBUG_PRINT(psIntfAdapter->psAdapter, DBG_TYPE_INITEXIT, MP_INIT, DBG_LVL_ALL, "Got end of fil… in InterfaceFileReadbackFromChip()
101 …BCM_DEBUG_PRINT(psIntfAdapter->psAdapter, DBG_TYPE_INITEXIT, MP_INIT, DBG_LVL_ALL, "RDM of len %d … in InterfaceFileReadbackFromChip()
107 …BCM_DEBUG_PRINT(psIntfAdapter->psAdapter, DBG_TYPE_INITEXIT, MP_INIT, DBG_LVL_ALL, "Firmware Downl… in InterfaceFileReadbackFromChip()
108 …BCM_DEBUG_PRINT(psIntfAdapter->psAdapter, DBG_TYPE_INITEXIT, MP_INIT, DBG_LVL_ALL, "Length is: %d"… in InterfaceFileReadbackFromChip()
117 …BCM_DEBUG_PRINT(psIntfAdapter->psAdapter, DBG_TYPE_INITEXIT, MP_INIT, DBG_LVL_ALL, "Firmware Downl… in InterfaceFileReadbackFromChip()
118 …BCM_DEBUG_PRINT(psIntfAdapter->psAdapter, DBG_TYPE_INITEXIT, MP_INIT, DBG_LVL_ALL, "Val from Binar… in InterfaceFileReadbackFromChip()
[all …]
DDDRInit.h6 int ddr_init(PMINI_ADAPTER psAdapter);
7 int download_ddr_settings(PMINI_ADAPTER psAdapter);
DInterfaceAdapter.h88 PMINI_ADAPTER psAdapter; member
DPrototypes.h186 INT BcmAllocFlashCSStructure(PMINI_ADAPTER psAdapter);
187 INT BcmDeAllocFlashCSStructure(PMINI_ADAPTER psAdapter);
Dnvm.c2521 INT BcmAllocFlashCSStructure(PMINI_ADAPTER psAdapter) in BcmAllocFlashCSStructure() argument
2523 if(psAdapter == NULL) in BcmAllocFlashCSStructure()
2525 BCM_DEBUG_PRINT(psAdapter,DBG_TYPE_PRINTK, 0, 0, "Adapter structure point is NULL"); in BcmAllocFlashCSStructure()
2528 psAdapter->psFlashCSInfo = (PFLASH_CS_INFO)kzalloc(sizeof(FLASH_CS_INFO), GFP_KERNEL); in BcmAllocFlashCSStructure()
2529 if(psAdapter->psFlashCSInfo == NULL) in BcmAllocFlashCSStructure()
2531 BCM_DEBUG_PRINT(psAdapter,DBG_TYPE_PRINTK, 0, 0,"Can't Allocate memory for Flash 1.x"); in BcmAllocFlashCSStructure()
2535 psAdapter->psFlash2xCSInfo = (PFLASH2X_CS_INFO)kzalloc(sizeof(FLASH2X_CS_INFO), GFP_KERNEL); in BcmAllocFlashCSStructure()
2536 if(psAdapter->psFlash2xCSInfo == NULL) in BcmAllocFlashCSStructure()
2538 BCM_DEBUG_PRINT(psAdapter,DBG_TYPE_PRINTK, 0, 0,"Can't Allocate memory for Flash 2.x"); in BcmAllocFlashCSStructure()
2539 kfree(psAdapter->psFlashCSInfo); in BcmAllocFlashCSStructure()
[all …]
DAdapter.h609 InitAdapter(PMINI_ADAPTER psAdapter);