Searched refs:table_idx (Results 1 – 3 of 3) sorted by relevance
233 u32 table_idx; in hns_roce_calc_hem_mhop() local251 table_idx = (*obj & (table->num_obj - 1)) / in hns_roce_calc_hem_mhop()255 mhop->l2_idx = table_idx & (chunk_ba_num - 1); in hns_roce_calc_hem_mhop()256 mhop->l1_idx = table_idx / chunk_ba_num & (chunk_ba_num - 1); in hns_roce_calc_hem_mhop()257 mhop->l0_idx = (table_idx / chunk_ba_num) / chunk_ba_num; in hns_roce_calc_hem_mhop()260 mhop->l1_idx = table_idx & (chunk_ba_num - 1); in hns_roce_calc_hem_mhop()261 mhop->l0_idx = table_idx / chunk_ba_num; in hns_roce_calc_hem_mhop()264 mhop->l0_idx = table_idx; in hns_roce_calc_hem_mhop()
850 int table_idx = bttv_tvnorms[btv->tvnorm].sram; in bt848A_set_timing() local855 btv->c.nr,table_idx); in bt848A_set_timing()862 len=SRAM_Table[table_idx][0]; in bt848A_set_timing()864 btwrite(SRAM_Table[table_idx][i],BT848_TGLB); in bt848A_set_timing()
68 #define table_idx(loop) ((loop) * num_ports + num_ttys) macro1082 struct fwtty_port *port = fwtty_port_get(table_idx(tty->index)); in fwloop_install()