Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/net/ethernet/chelsio/cxgb4/
Dcxgb4_main.c3509 #define HMA_MAX_ADDR_IN_CMD 5 macro
3645 ncmds = DIV_ROUND_UP(sgt->nents, HMA_MAX_ADDR_IN_CMD); in adap_config_hma()
3647 for (i = 0, k = 0; i < ncmds; i++, k += HMA_MAX_ADDR_IN_CMD) { in adap_config_hma()
3649 u8 naddr = HMA_MAX_ADDR_IN_CMD; in adap_config_hma()
3660 naddr = sgt->nents % HMA_MAX_ADDR_IN_CMD; in adap_config_hma()
3661 naddr = naddr ? naddr : HMA_MAX_ADDR_IN_CMD; in adap_config_hma()