Searched refs:table_idx (Results 1 – 5 of 5) sorted by relevance
283 acpi_status acpi_load_table(struct acpi_table_header *table, u32 *table_idx) in ACPI_EXPORT_SYMBOL_INIT()302 if (table_idx) { in ACPI_EXPORT_SYMBOL_INIT()303 *table_idx = table_index; in ACPI_EXPORT_SYMBOL_INIT()
201 u32 table_idx; in hns_roce_calc_hem_mhop() local219 table_idx = (*obj & (table->num_obj - 1)) / in hns_roce_calc_hem_mhop()223 mhop->l2_idx = table_idx & (chunk_ba_num - 1); in hns_roce_calc_hem_mhop()224 mhop->l1_idx = table_idx / chunk_ba_num & (chunk_ba_num - 1); in hns_roce_calc_hem_mhop()225 mhop->l0_idx = (table_idx / chunk_ba_num) / chunk_ba_num; in hns_roce_calc_hem_mhop()228 mhop->l1_idx = table_idx & (chunk_ba_num - 1); in hns_roce_calc_hem_mhop()229 mhop->l0_idx = table_idx / chunk_ba_num; in hns_roce_calc_hem_mhop()232 mhop->l0_idx = table_idx; in hns_roce_calc_hem_mhop()
462 u32 *table_idx))
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()