Home | History | Annotate | Download | only in netboot

Lines Matching refs:virt_to_bus

11 #undef	virt_to_bus
12 #define virt_to_bus(x) ((unsigned long)x)
240 outl(virt_to_bus(&rx_ring), prcdar);
241 outl(virt_to_bus(&tx_ring), ptcdar);
263 rx_ring[i].bufaddr = virt_to_bus(p + (PKT_BUF_SZ * i));
265 rx_ring[i].next = virt_to_bus(&(rx_ring[i + 1]) );
268 rx_ring[i-1].next = virt_to_bus(&rx_ring[0]);
278 tx_ring[i].bufaddr = virt_to_bus(p + (PKT_BUF_SZ * i));
280 tx_ring[i].next = virt_to_bus(&(tx_ring[i + 1]) );
282 tx_ring[i-1].next = virt_to_bus(&tx_ring[0]);