• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/staging/wlags49_h2/

Lines Matching refs:ifbp

521 #define	CALC_RX_MIC( p, len ) calc_mic_rx_frag( ifbp, p, len )
522 #define CALC_TX_MIC( p, len ) calc_mic_tx_frag( ifbp, p, len )
544 #define IF_USE_DMA(x) if ( ifbp->IFB_CntlOpt & USE_DMA ) x
545 #define IF_NOT_USE_DMA(x) if ( !(ifbp->IFB_CntlOpt & USE_DMA) ) x
554 #define IPW(x) ((hcf_16)IN_PORT_WORD( ifbp->IFB_IOBase + (x) ) )
555 #define OPW(x, y) OUT_PORT_WORD( ifbp->IFB_IOBase + (x), y )
568 #define PROT_CNT_INI hcf_32 prot_cnt = ifbp->IFB_TickIni;
593 * The "(ifbp->IFB_AssertWhere = where)" test in HCFLOGENTRY services ALSO as a statement to get around:
598 #define HCFASSERT(x,q) {if (!(x)) {mdd_assert( ifbp, __LINE__ , q );}}
602 {if ( (ifbp->IFB_AssertWhere = where) <= 15 ) { \
603 HCF_ENTRY( ifbp ); \
604 HCFASSERT( (ifbp->IFB_AssertTrace & 1<<((where)&0xF)) == 0, ifbp->IFB_AssertTrace ); \
605 ifbp->IFB_AssertTrace |= 1<<((where)&0xF); \
607 HCFTRACE(ifbp, where ) \
608 HCFTRACEVALUE(ifbp, what ) \
612 {if ( (ifbp->IFB_AssertWhere = where) <= 15 ) { \
613 HCF_EXIT( ifbp ); \
614 ifbp->IFB_AssertTrace &= ~(1<<((where)&0xF)); \
616 HCFTRACE(ifbp, (where)|HCF_TRACE_EXIT ) \
622 #define HCFLOGENTRY( where, what ) {HCF_ENTRY( ifbp );}
623 #define HCFLOGEXIT( where ) {HCF_EXIT( ifbp );}
629 * #define HCFASSERT_INT HCFASSERT( ifbp->IFB_IntOffCnt != 0xFFFF && ifbp->IFB_IntOffCnt != 0xFFFE, \
630 * ifbp->IFB_IntOffCnt )
633 #define HCFASSERT_INT HCFASSERT( ifbp->IFB_IntOffCnt != 0xFFFF, ifbp->IFB_IntOffCnt )
641 #define HCFTRACE(ifbp, where ) {OPW( HREG_SW_1, where );}
642 //#define HCFTRACE(ifbp, where ) {HCFASSERT( DO_ASSERT, where );}
643 #define HCFTRACEVALUE(ifbp, what ) {OPW( HREG_SW_2, what );}
644 //#define HCFTRACEVALUE(ifbp, what ) {HCFASSERT( DO_ASSERT, what );}
646 #define HCFTRACE(ifbp, where )
647 #define HCFTRACEVALUE(ifbp, what )
667 EXTERN_C void mdd_assert (IFBP ifbp, unsigned int line_number, hcf_32 q );