Home
last modified time | relevance | path

Searched refs:BbpCsr (Results 1 – 3 of 3) sorted by relevance

/linux-2.6.39/drivers/staging/rt2860/chip/
Drtmp_phy.h220 BBP_CSR_CFG_STRUC BbpCsr; \
225 RTMP_IO_READ32(_pAd, _regID, &BbpCsr.word); \
226 if (BbpCsr.field.Busy == BUSY) \
228 BbpCsr.word = 0; \
229 BbpCsr.field.fRead = 1; \
230 BbpCsr.field.BBP_RW_MODE = 1; \
231 BbpCsr.field.Busy = 1; \
232 BbpCsr.field.RegNum = _bbpID; \
233 RTMP_IO_WRITE32(_pAd, _regID, BbpCsr.word); \
239 RTMP_IO_READ32(_pAd, _regID, &BbpCsr.word); \
[all …]
/linux-2.6.39/drivers/staging/rt2870/common/
Drtusb_io.c303 BBP_CSR_CFG_STRUC BbpCsr; in RTUSBReadBBPRegister() local
309 status = RTUSBReadMACRegister(pAd, BBP_CSR_CFG, &BbpCsr.word); in RTUSBReadBBPRegister()
311 if (!(BbpCsr.field.Busy == BUSY)) in RTUSBReadBBPRegister()
333 BbpCsr.word = 0; in RTUSBReadBBPRegister()
334 BbpCsr.field.fRead = 1; in RTUSBReadBBPRegister()
335 BbpCsr.field.Busy = 1; in RTUSBReadBBPRegister()
336 BbpCsr.field.RegNum = Id; in RTUSBReadBBPRegister()
337 RTUSBWriteMACRegister(pAd, BBP_CSR_CFG, BbpCsr.word); in RTUSBReadBBPRegister()
342 status = RTUSBReadMACRegister(pAd, BBP_CSR_CFG, &BbpCsr.word); in RTUSBReadBBPRegister()
344 if (!(BbpCsr.field.Busy == BUSY)) { in RTUSBReadBBPRegister()
[all …]
/linux-2.6.39/drivers/staging/rt2860/common/
Dcmm_asic.c1007 BBP_CSR_CFG_STRUC BbpCsr; in AsicResetBBPAgent() local
1010 RTMP_IO_READ32(pAd, H2M_BBP_AGENT, &BbpCsr.word); in AsicResetBBPAgent()
1011 BbpCsr.field.Busy = 0; in AsicResetBBPAgent()
1012 RTMP_IO_WRITE32(pAd, H2M_BBP_AGENT, BbpCsr.word); in AsicResetBBPAgent()