Searched refs:HMA_MAX_ADDR_IN_CMD (Results 1 – 1 of 1) sorted by relevance
3981 #define HMA_MAX_ADDR_IN_CMD 5 macro4117 ncmds = DIV_ROUND_UP(sgt->nents, HMA_MAX_ADDR_IN_CMD); in adap_config_hma()4119 for (i = 0, k = 0; i < ncmds; i++, k += HMA_MAX_ADDR_IN_CMD) { in adap_config_hma()4121 u8 naddr = HMA_MAX_ADDR_IN_CMD; in adap_config_hma()4132 naddr = sgt->nents % HMA_MAX_ADDR_IN_CMD; in adap_config_hma()4133 naddr = naddr ? naddr : HMA_MAX_ADDR_IN_CMD; in adap_config_hma()