Lines Matching refs:fm_port_bd
226 struct fm_port_bd *rxbd; in fm_eth_rx_port_parameter_init()
254 rx_bd_ring_base = malloc(sizeof(struct fm_port_bd) in fm_eth_rx_port_parameter_init()
259 memset(rx_bd_ring_base, 0, sizeof(struct fm_port_bd) in fm_eth_rx_port_parameter_init()
276 rxbd = (struct fm_port_bd *)rx_bd_ring_base; in fm_eth_rx_port_parameter_init()
296 muram_writew(&rxqd->bd_ring_size, sizeof(struct fm_port_bd) in fm_eth_rx_port_parameter_init()
313 struct fm_port_bd *txbd; in fm_eth_tx_port_parameter_init()
337 tx_bd_ring_base = malloc(sizeof(struct fm_port_bd) in fm_eth_tx_port_parameter_init()
342 memset(tx_bd_ring_base, 0, sizeof(struct fm_port_bd) in fm_eth_tx_port_parameter_init()
349 txbd = (struct fm_port_bd *)tx_bd_ring_base; in fm_eth_tx_port_parameter_init()
364 muram_writew(&txqd->bd_ring_size, sizeof(struct fm_port_bd) in fm_eth_tx_port_parameter_init()
519 struct fm_port_bd *txbd, *txbd_base; in fm_eth_send()
546 offset_in += sizeof(struct fm_port_bd); in fm_eth_send()
564 txbd_base = (struct fm_port_bd *)fm_eth->tx_bd_ring; in fm_eth_send()
577 struct fm_port_bd *rxbd, *rxbd_base; in fm_eth_recv()
608 rxbd_base = (struct fm_port_bd *)fm_eth->rx_bd_ring; in fm_eth_recv()
616 offset_out += sizeof(struct fm_port_bd); in fm_eth_recv()