Searched refs:TRB_MAX_BUFF_SIZE (Results 1 – 4 of 4) sorted by relevance
1152 #define TRB_MAX_BUFF_SIZE BIT(TRB_MAX_BUFF_SHIFT) macro1154 #define TRB_BUFF_LEN_UP_TO_BOUNDARY(addr) (TRB_MAX_BUFF_SIZE - \1155 ((addr) & (TRB_MAX_BUFF_SIZE - 1)))
1709 num_trbs = DIV_ROUND_UP(len + (addr & (TRB_MAX_BUFF_SIZE - 1)), in cdnsp_count_trbs()1710 TRB_MAX_BUFF_SIZE); in cdnsp_count_trbs()
1250 #define TRB_MAX_BUFF_SIZE (1 << TRB_MAX_BUFF_SHIFT) macro1252 #define TRB_BUFF_LEN_UP_TO_BOUNDARY(addr) (TRB_MAX_BUFF_SIZE - \1253 (addr & (TRB_MAX_BUFF_SIZE - 1)))
3314 num_trbs = DIV_ROUND_UP(len + (addr & (TRB_MAX_BUFF_SIZE - 1)), in count_trbs()3315 TRB_MAX_BUFF_SIZE); in count_trbs()