Lines Matching defs:unit
752 dd->unit, pidx);
766 dd->unit, pidx);
972 struct hfi1_devdata *hfi1_lookup(int unit)
974 return xa_load(&hfi1_dev_table, unit);
978 * Stop the timers during unit shutdown, or after an error late
1162 * hfi1_free_devdata - cleans up and frees per-unit data structure
1174 __xa_erase(&hfi1_dev_table, dd->unit);
1201 * hfi1_alloc_devdata - Allocate our primary per-unit data structure.
1227 ret = xa_alloc_irq(&hfi1_dev_table, &dd->unit, dd, xa_limit_32b,
1231 "Could not allocate unit ID: error %d\n", -ret);
1234 rvt_set_ibdev_name(&dd->verbs_dev.rdi, "%s_%d", class_name(), dd->unit);
1337 * This marks unit as not usable, until reset.
1376 * Do all the generic driver unit- and chip-independent memory
1464 * Do the non-unit driver cleanup, memory free, etc. at unload.
1540 * Clean up on unit shutdown, or error during unit load after