Home
last modified time | relevance | path

Searched refs:ADDR_TO_P2 (Results 1 – 2 of 2) sorted by relevance

/openbmc/u-boot/drivers/net/
H A Dsh_eth.c213 (struct tx_desc_s *)ADDR_TO_P2((u32)port_info->tx_desc_alloc); in sh_eth_tx_desc_init()
267 (struct rx_desc_s *)ADDR_TO_P2((u32)port_info->rx_desc_alloc); in sh_eth_rx_desc_init()
283 port_info->rx_buf_base = (u8 *)ADDR_TO_P2((u32)port_info->rx_buf_alloc); in sh_eth_rx_desc_init()
545 uchar *packet = (uchar *)ADDR_TO_P2(port_info->rx_desc_cur->rd2); in sh_eth_recv_common()
696 uchar *packet = (uchar *)ADDR_TO_P2(port_info->rx_desc_cur->rd2); in sh_ether_recv()
H A Dsh_eth.h18 #define ADDR_TO_P2(addr) ((((int)(addr) & ~0xe0000000) | 0xa0000000)) macro
32 #define ADDR_TO_P2(addr) (addr) macro