Lines Matching defs:unit
793 dd->unit, pidx);
807 dd->unit, pidx);
1013 struct hfi1_devdata *hfi1_lookup(int unit)
1015 return xa_load(&hfi1_dev_table, unit);
1019 * Stop the timers during unit shutdown, or after an error late
1203 * hfi1_free_devdata - cleans up and frees per-unit data structure
1215 __xa_erase(&hfi1_dev_table, dd->unit);
1242 * hfi1_alloc_devdata - Allocate our primary per-unit data structure.
1268 ret = xa_alloc_irq(&hfi1_dev_table, &dd->unit, dd, xa_limit_32b,
1272 "Could not allocate unit ID: error %d\n", -ret);
1275 rvt_set_ibdev_name(&dd->verbs_dev.rdi, "%s_%d", class_name(), dd->unit);
1378 * This marks unit as not usable, until reset.
1417 * Do all the generic driver unit- and chip-independent memory
1505 * Do the non-unit driver cleanup, memory free, etc. at unload.
1581 * Clean up on unit shutdown, or error during unit load after