Lines Matching refs:rxqd
226 struct fm_port_qd *rxqd; in fm_eth_rx_port_parameter_init() local
289 rxqd = &pram->rxqd; in fm_eth_rx_port_parameter_init()
290 muram_writew(&rxqd->gen, 0); in fm_eth_rx_port_parameter_init()
293 muram_writew(&rxqd->bd_ring_base_hi, (u16)bd_ring_base_hi); in fm_eth_rx_port_parameter_init()
294 out_be32(&rxqd->bd_ring_base_lo, bd_ring_base_lo); in fm_eth_rx_port_parameter_init()
295 muram_writew(&rxqd->bd_ring_size, sizeof(struct fm_port_bd) in fm_eth_rx_port_parameter_init()
297 muram_writew(&rxqd->offset_in, 0); in fm_eth_rx_port_parameter_init()
298 muram_writew(&rxqd->offset_out, 0); in fm_eth_rx_port_parameter_init()
614 offset_out = muram_readw(&pram->rxqd.offset_out); in fm_eth_recv()
616 if (offset_out >= muram_readw(&pram->rxqd.bd_ring_size)) in fm_eth_recv()
618 muram_writew(&pram->rxqd.offset_out, offset_out); in fm_eth_recv()