Searched refs:ADDR_TO_P2 (Results 1 – 2 of 2) sorted by relevance
219 (struct tx_desc_s *)ADDR_TO_P2((uintptr_t)port_info->tx_desc_alloc); in sh_eth_tx_desc_init()273 (struct rx_desc_s *)ADDR_TO_P2((uintptr_t)port_info->rx_desc_alloc); in sh_eth_rx_desc_init()289 port_info->rx_buf_base = (u8 *)ADDR_TO_P2((uintptr_t)port_info->rx_buf_alloc); in sh_eth_rx_desc_init()557 uchar *packet = (uchar *)ADDR_TO_P2(port_info->rx_desc_cur->rd2); in sh_eth_recv_common()708 uchar *packet = (uchar *)ADDR_TO_P2((uintptr_t)port_info->rx_desc_cur->rd2); in sh_ether_recv()
18 #define ADDR_TO_P2(addr) ((((uintptr_t)(addr) & ~0xe0000000) | 0xa0000000)) macro28 #define ADDR_TO_P2(addr) (addr) macro
Completed in 6 milliseconds