Searched refs:table_idx (Results 1 – 3 of 3) sorted by relevance
97 u32 table_idx; in hns_roce_calc_hem_mhop() local167 table_idx = (*obj & (table->num_obj - 1)) / in hns_roce_calc_hem_mhop()171 mhop->l2_idx = table_idx & (chunk_ba_num - 1); in hns_roce_calc_hem_mhop()172 mhop->l1_idx = table_idx / chunk_ba_num & (chunk_ba_num - 1); in hns_roce_calc_hem_mhop()173 mhop->l0_idx = (table_idx / chunk_ba_num) / chunk_ba_num; in hns_roce_calc_hem_mhop()176 mhop->l1_idx = table_idx & (chunk_ba_num - 1); in hns_roce_calc_hem_mhop()177 mhop->l0_idx = table_idx / chunk_ba_num; in hns_roce_calc_hem_mhop()180 mhop->l0_idx = table_idx; in hns_roce_calc_hem_mhop()
880 int table_idx = bttv_tvnorms[btv->tvnorm].sram; in bt848A_set_timing() local885 btv->c.nr,table_idx); in bt848A_set_timing()892 len=SRAM_Table[table_idx][0]; in bt848A_set_timing()894 btwrite(SRAM_Table[table_idx][i],BT848_TGLB); in bt848A_set_timing()
65 #define table_idx(loop) ((loop) * num_ports + num_ttys) macro1079 struct fwtty_port *port = fwtty_port_get(table_idx(tty->index)); in fwloop_install()