Lines Matching refs:gas
1542 acpi_bus_alloc_gas(device_t dev, int *type, int *rid, ACPI_GENERIC_ADDRESS *gas,
1548 if (type == NULL || rid == NULL || gas == NULL || res == NULL)
1552 switch (gas->SpaceId) {
1567 if (gas->BitWidth && gas->BitWidth < 8)
1568 gas->BitWidth = 8;
1571 if (gas->Address == 0 || gas->BitWidth == 0)
1574 bus_set_resource(dev, res_type, *rid, gas->Address,
1575 gas->BitWidth / 8);