Lines Matching refs:var
114 struct bcom_fec_rx_var *var; in bcom_fec_rx_reset() local
121 var = (struct bcom_fec_rx_var *) bcom_task_var(tsk->tasknum); in bcom_fec_rx_reset()
127 var->enable = bcom_eng->regs_base + in bcom_fec_rx_reset()
129 var->fifo = (u32) priv->fifo; in bcom_fec_rx_reset()
130 var->bd_base = tsk->bd_pa; in bcom_fec_rx_reset()
131 var->bd_last = tsk->bd_pa + ((tsk->num_bd-1) * tsk->bd_size); in bcom_fec_rx_reset()
132 var->bd_start = tsk->bd_pa; in bcom_fec_rx_reset()
133 var->buffer_size = priv->maxbufsize; in bcom_fec_rx_reset()
215 struct bcom_fec_tx_var *var; in bcom_fec_tx_reset() local
222 var = (struct bcom_fec_tx_var *) bcom_task_var(tsk->tasknum); in bcom_fec_tx_reset()
228 var->enable = bcom_eng->regs_base + in bcom_fec_tx_reset()
230 var->fifo = (u32) priv->fifo; in bcom_fec_tx_reset()
231 var->DRD = bcom_sram_va2pa(self_modified_drd(tsk->tasknum)); in bcom_fec_tx_reset()
232 var->bd_base = tsk->bd_pa; in bcom_fec_tx_reset()
233 var->bd_last = tsk->bd_pa + ((tsk->num_bd-1) * tsk->bd_size); in bcom_fec_tx_reset()
234 var->bd_start = tsk->bd_pa; in bcom_fec_tx_reset()