Updated function parameter names to match other HAL conventions