Searched refs:bytes_per_prd (Results 1 – 1 of 1) sorted by relevance
665 static unsigned size_to_prdtl(unsigned bytes, unsigned bytes_per_prd) in size_to_prdtl() argument668 g_assert_cmphex(bytes_per_prd, <=, 4096 * 1024); in size_to_prdtl()669 g_assert_cmphex(bytes_per_prd & 0x01, ==, 0x00); in size_to_prdtl()670 return (bytes + bytes_per_prd - 1) / bytes_per_prd; in size_to_prdtl()