Home
last modified time | relevance | path

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

/openbmc/linux/drivers/net/ethernet/wangxun/libwx/
H A Dwx_type.h361 #define WX_MAX_DATA_PER_TXD BIT(14) macro
363 #define TXD_USE_COUNT(S) DIV_ROUND_UP((S), WX_MAX_DATA_PER_TXD)
H A Dwx_lib.c966 while (unlikely(size > WX_MAX_DATA_PER_TXD)) { in wx_tx_map()
968 cpu_to_le32(cmd_type ^ WX_MAX_DATA_PER_TXD); in wx_tx_map()
978 dma += WX_MAX_DATA_PER_TXD; in wx_tx_map()
979 size -= WX_MAX_DATA_PER_TXD; in wx_tx_map()