Home
last modified time | relevance | path

Searched refs:table_idx (Results 1 – 4 of 4) sorted by relevance

/drivers/acpi/acpica/
Dtbxfload.c283 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()
/drivers/infiniband/hw/hns/
Dhns_roce_hem.c210 u32 table_idx; in hns_roce_calc_hem_mhop() local
227 table_idx = *obj / (chunk_size / table->obj_size); in hns_roce_calc_hem_mhop()
230 mhop->l2_idx = table_idx & (chunk_ba_num - 1); in hns_roce_calc_hem_mhop()
231 mhop->l1_idx = table_idx / chunk_ba_num & (chunk_ba_num - 1); in hns_roce_calc_hem_mhop()
232 mhop->l0_idx = (table_idx / chunk_ba_num) / chunk_ba_num; in hns_roce_calc_hem_mhop()
235 mhop->l1_idx = table_idx & (chunk_ba_num - 1); in hns_roce_calc_hem_mhop()
236 mhop->l0_idx = table_idx / chunk_ba_num; in hns_roce_calc_hem_mhop()
239 mhop->l0_idx = table_idx; in hns_roce_calc_hem_mhop()
/drivers/media/pci/bt8xx/
Dbttv-driver.c850 int table_idx = bttv_tvnorms[btv->tvnorm].sram; in bt848A_set_timing() local
855 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()
/drivers/staging/fwserial/
Dfwserial.c68 #define table_idx(loop) ((loop) * num_ports + num_ttys) macro
1081 struct fwtty_port *port = fwtty_port_get(table_idx(tty->index)); in fwloop_install()