Lines Matching defs:unit
535 unit_address_to_cells (const hw_unit *unit,
540 ASSERT(nr_cells == unit->nr_cells);
541 for (i = 0; i < unit->nr_cells; i++)
543 *cell = H2BE_cell (unit->cells[i]);
552 hw_unit *unit,
556 memset(unit, 0, sizeof(*unit));
557 unit->nr_cells = nr_cells;
558 for (i = 0; i < unit->nr_cells; i++)
560 unit->cells[i] = BE2H_cell (*cell);