Lines Matching refs:gas
1674 acpi_bus_alloc_gas(device_t dev, int *type, int *rid, ACPI_GENERIC_ADDRESS *gas,
1680 if (type == NULL || rid == NULL || gas == NULL || res == NULL)
1684 switch (gas->SpaceId) {
1699 if (gas->BitWidth && gas->BitWidth < 8)
1700 gas->BitWidth = 8;
1703 if (gas->Address == 0 || gas->BitWidth == 0)
1706 bus_set_resource(dev, res_type, *rid, gas->Address,
1707 gas->BitWidth / 8);