Searched refs:num_slots_ilog2 (Results 1 – 1 of 1) sorted by relevance
680 int num_slots, num_slots_ilog2; in create_tce_tables_for_buses() local688 num_slots_ilog2 = __ilog2(num_slots); in create_tce_tables_for_buses()689 if ((1<<num_slots_ilog2) != num_slots) in create_tce_tables_for_buses()690 num_slots_ilog2++; in create_tce_tables_for_buses()691 phb->dma_window_size = 1 << (22 - num_slots_ilog2); in create_tce_tables_for_buses()