Searched refs:pmp_priv (Results 1 - 1 of 1) sorted by relevance

/linux-4.1.27/drivers/staging/rtl8712/
H A Drtl871x_mp.c33 static void _init_mp_priv_(struct mp_priv *pmp_priv) _init_mp_priv_() argument
35 pmp_priv->mode = _LOOPBOOK_MODE_; _init_mp_priv_()
36 pmp_priv->curr_ch = 1; _init_mp_priv_()
37 pmp_priv->curr_modem = MIXED_PHY; _init_mp_priv_()
38 pmp_priv->curr_rateidx = 0; _init_mp_priv_()
39 pmp_priv->curr_txpoweridx = 0x14; _init_mp_priv_()
40 pmp_priv->antenna_tx = ANTENNA_A; _init_mp_priv_()
41 pmp_priv->antenna_rx = ANTENNA_AB; _init_mp_priv_()
42 pmp_priv->check_mp_pkt = 0; _init_mp_priv_()
43 pmp_priv->tx_pktcount = 0; _init_mp_priv_()
44 pmp_priv->rx_pktcount = 0; _init_mp_priv_()
45 pmp_priv->rx_crcerrpktcount = 0; _init_mp_priv_()
48 static int init_mp_priv(struct mp_priv *pmp_priv) init_mp_priv() argument
53 _init_mp_priv_(pmp_priv); init_mp_priv()
54 _init_queue(&pmp_priv->free_mp_xmitqueue); init_mp_priv()
55 pmp_priv->pallocated_mp_xmitframe_buf = NULL; init_mp_priv()
56 pmp_priv->pallocated_mp_xmitframe_buf = kmalloc(NR_MP_XMITFRAME * init_mp_priv()
59 if (!pmp_priv->pallocated_mp_xmitframe_buf) { init_mp_priv()
63 pmp_priv->pmp_xmtframe_buf = pmp_priv->pallocated_mp_xmitframe_buf + init_mp_priv()
65 ((addr_t)(pmp_priv->pallocated_mp_xmitframe_buf) & 3); init_mp_priv()
66 pmp_xmitframe = (struct mp_xmit_frame *)pmp_priv->pmp_xmtframe_buf; init_mp_priv()
70 &(pmp_priv->free_mp_xmitqueue.queue)); init_mp_priv()
73 pmp_xmitframe->padapter = pmp_priv->papdater; init_mp_priv()
76 pmp_priv->free_mp_xmitframe_cnt = NR_MP_XMITFRAME; init_mp_priv()
82 static int free_mp_priv(struct mp_priv *pmp_priv) free_mp_priv() argument
84 kfree(pmp_priv->pallocated_mp_xmitframe_buf); free_mp_priv()

Completed in 159 milliseconds