Searched refs:BD_TO_HW (Results 1 – 1 of 1) sorted by relevance
39 static inline unsigned long BD_TO_HW(unsigned long x) in BD_TO_HW() function55 #define BD_TO_HW(x) (x) macro473 rx_desc->next = BD_TO_HW((u_int32_t)(rx_desc + 1)); in davinci_eth_open()532 writel(BD_TO_HW((u_int32_t)emac_rx_desc), &adap_emac->RX0HDP); in davinci_eth_open()653 writel(BD_TO_HW((unsigned long)emac_tx_desc), &adap_emac->TX0HDP); in davinci_eth_send_packet()701 writel(BD_TO_HW((ulong)rx_curr_desc), &adap_emac->RX0CP); in davinci_eth_rcv_packet()708 writel(BD_TO_HW((ulong)emac_rx_active_head), in davinci_eth_rcv_packet()726 writel(BD_TO_HW((ulong)emac_rx_active_head), in davinci_eth_rcv_packet()734 tail_desc->next = BD_TO_HW((ulong) curr_desc); in davinci_eth_rcv_packet()737 writel(BD_TO_HW((ulong)curr_desc), in davinci_eth_rcv_packet()