Lines Matching full:arb
54 nv04_calc_arb(struct nv_fifo_info *fifo, struct nv_sim_state *arb) in nv04_calc_arb() argument
63 pclk_freq = arb->pclk_khz; in nv04_calc_arb()
64 mclk_freq = arb->mclk_khz; in nv04_calc_arb()
65 nvclk_freq = arb->nvclk_khz; in nv04_calc_arb()
66 pagemiss = arb->mem_page_miss; in nv04_calc_arb()
67 cas = arb->mem_latency; in nv04_calc_arb()
68 bpp = arb->bpp; in nv04_calc_arb()
108 nv10_calc_arb(struct nv_fifo_info *fifo, struct nv_sim_state *arb) in nv10_calc_arb() argument
119 pclk_freq = arb->pclk_khz; in nv10_calc_arb()
120 nvclk_freq = arb->nvclk_khz; in nv10_calc_arb()
121 mclk_freq = arb->mclk_khz; in nv10_calc_arb()
123 fill_rate = mclk_freq * arb->memory_width / 8; /* kB/s */ in nv10_calc_arb()
124 drain_rate = pclk_freq * arb->bpp / 8; /* kB/s */ in nv10_calc_arb()
126 fifo_len = arb->two_heads ? 1536 : 1024; /* B */ in nv10_calc_arb()
149 mclks += (arb->memory_type == 0 ? 2 : 1) in nv10_calc_arb()
150 * arb->memory_width / 32; in nv10_calc_arb()
158 xclks = 2 * arb->mem_page_miss + mclks /* Extra latency due to in nv10_calc_arb()
160 + 2 * arb->mem_page_miss /* Extra pagemiss latency. */ in nv10_calc_arb()
161 + (arb->bpp == 32 ? 8 : 4); /* Margin of error. */ in nv10_calc_arb()
165 if (arb->two_heads) in nv10_calc_arb()