Lines Matching refs:this_idx
249 write_kctxt_csr(sde->dd, sde->this_idx, offset0, value); in write_sde_csr()
256 return read_kctxt_csr(sde->dd, sde->this_idx, offset0); in read_sde_csr()
266 u64 off = 8 * sde->this_idx; in sdma_wait_for_packet_egress()
286 __func__, sde->this_idx, (u32)reg); in sdma_wait_for_packet_egress()
434 sde->this_idx); in sdma_err_halt_wait()
462 sde->this_idx); in sdma_err_progress_check_schedule()
515 sde->this_idx, slashstrip(__FILE__), __LINE__, in sdma_hw_clean_up_task()
714 if (sde->this_idx >= TXE_NUM_SDMA_ENGINES) in sdma_engine_get_vl()
723 vl = m->engine_to_vl[sde->this_idx]; in sdma_engine_get_vl()
769 trace_hfi1_sdma_engine_select(dd, selector, vl, rval->this_idx); in sdma_select_engine_vl()
1102 rht_node->map[i]->sde[j]->this_idx); in sdma_seqfile_dump_cpu_list()
1321 unsigned this_idx; in sdma_init() local
1377 for (this_idx = 0; this_idx < num_engines; ++this_idx) { in sdma_init()
1378 sde = &dd->per_sdma[this_idx]; in sdma_init()
1381 sde->this_idx = this_idx; in sdma_init()
1389 this_idx); in sdma_init()
1391 this_idx); in sdma_init()
1393 this_idx); in sdma_init()
1416 get_kctxt_csr_addr(dd, this_idx, SD(TAIL)); in sdma_init()
1464 for (this_idx = 0; this_idx < num_engines; ++this_idx) { in sdma_init()
1467 sde = &dd->per_sdma[this_idx]; in sdma_init()
1567 unsigned this_idx; in sdma_exit() local
1570 for (this_idx = 0; dd->per_sdma && this_idx < dd->num_sdma; in sdma_exit()
1571 ++this_idx) { in sdma_exit()
1572 sde = &dd->per_sdma[this_idx]; in sdma_exit()
1575 sde->this_idx); in sdma_exit()
1670 sde->this_idx, slashstrip(__FILE__), __LINE__, __func__); in sdma_gethead()
1704 sde->this_idx, in sdma_gethead()
1732 dd_dev_err(sde->dd, "CONFIG SDMA(%u) %s:%d %s()\n", sde->this_idx, in sdma_desc_avail()
1881 sde->this_idx, in sdma_engine_error()
1892 sde->this_idx, in sdma_engine_error()
1909 sde->this_idx, in sdma_sendctrl()
1954 sde->this_idx, slashstrip(__FILE__), __LINE__, __func__); in sdma_setlengen()
1986 sde->this_idx, slashstrip(__FILE__), __LINE__, __func__); in sdma_hw_start_up()
2021 sde->this_idx, slashstrip(__FILE__), __LINE__, __func__); in init_sdma_regs()
2032 ((u64)(credits * sde->this_idx) << in init_sdma_regs()
2053 #reg, sde->this_idx, csr); \
2118 sde->this_idx, head, tail, cnt, in dump_sdma_state()
2182 seq_printf(s, SDE_FMT, sde->this_idx, in sdma_seqfile_dump_sde()
2528 dd_dev_err(sde->dd, "CONFIG SDMA(%u) [%s] %s\n", sde->this_idx, in __sdma_process_event()