diff --git a/libraries/libstratosphere/include/stratosphere/gpio/driver/board/nintendo/nx/gpio_driver_api.hpp b/libraries/libstratosphere/include/stratosphere/gpio/driver/board/nintendo/nx/gpio_driver_api.hpp index 4245007bc..a9c34a7d0 100644 --- a/libraries/libstratosphere/include/stratosphere/gpio/driver/board/nintendo/nx/gpio_driver_api.hpp +++ b/libraries/libstratosphere/include/stratosphere/gpio/driver/board/nintendo/nx/gpio_driver_api.hpp @@ -18,7 +18,7 @@ #include #include -namespace ams::gpio::driver::board::nintendo_nx { +namespace ams::gpio::driver::board::nintendo::nx { void Initialize(bool enable_interrupt_handlers); diff --git a/libraries/libstratosphere/include/stratosphere/gpio/driver/gpio_select_driver_api.hpp b/libraries/libstratosphere/include/stratosphere/gpio/driver/gpio_select_driver_api.hpp index 9f4209729..4764dcac3 100644 --- a/libraries/libstratosphere/include/stratosphere/gpio/driver/gpio_select_driver_api.hpp +++ b/libraries/libstratosphere/include/stratosphere/gpio/driver/gpio_select_driver_api.hpp @@ -26,7 +26,7 @@ namespace ams::gpio::driver::board { - using namespace ams::gpio::driver::board::nintendo_nx; + using namespace ams::gpio::driver::board::nintendo::nx; } diff --git a/libraries/libstratosphere/include/stratosphere/i2c/driver/board/nintendo/nx/i2c_driver_api.hpp b/libraries/libstratosphere/include/stratosphere/i2c/driver/board/nintendo/nx/i2c_driver_api.hpp index 67bf0821d..c55012236 100644 --- a/libraries/libstratosphere/include/stratosphere/i2c/driver/board/nintendo/nx/i2c_driver_api.hpp +++ b/libraries/libstratosphere/include/stratosphere/i2c/driver/board/nintendo/nx/i2c_driver_api.hpp @@ -17,7 +17,7 @@ #include #include -namespace ams::i2c::driver::board::nintendo_nx { +namespace ams::i2c::driver::board::nintendo::nx { void Initialize(); diff --git a/libraries/libstratosphere/include/stratosphere/i2c/driver/i2c_select_driver_api.hpp b/libraries/libstratosphere/include/stratosphere/i2c/driver/i2c_select_driver_api.hpp index c9152aeda..ba8d8e2f4 100644 --- a/libraries/libstratosphere/include/stratosphere/i2c/driver/i2c_select_driver_api.hpp +++ b/libraries/libstratosphere/include/stratosphere/i2c/driver/i2c_select_driver_api.hpp @@ -25,7 +25,7 @@ namespace ams::i2c::driver::board { - using namespace ams::i2c::driver::board::nintendo_nx; + using namespace ams::i2c::driver::board::nintendo::nx; } diff --git a/libraries/libstratosphere/include/stratosphere/pwm/driver/board/nintendo/nx/pwm_driver_api.hpp b/libraries/libstratosphere/include/stratosphere/pwm/driver/board/nintendo/nx/pwm_driver_api.hpp index 0a9b0030e..666c9d28f 100644 --- a/libraries/libstratosphere/include/stratosphere/pwm/driver/board/nintendo/nx/pwm_driver_api.hpp +++ b/libraries/libstratosphere/include/stratosphere/pwm/driver/board/nintendo/nx/pwm_driver_api.hpp @@ -17,7 +17,7 @@ #include #include -namespace ams::pwm::driver::board::nintendo_nx { +namespace ams::pwm::driver::board::nintendo::nx { void Initialize(); diff --git a/libraries/libstratosphere/include/stratosphere/pwm/driver/pwm_select_driver_api.hpp b/libraries/libstratosphere/include/stratosphere/pwm/driver/pwm_select_driver_api.hpp index 4499240bb..b12645339 100644 --- a/libraries/libstratosphere/include/stratosphere/pwm/driver/pwm_select_driver_api.hpp +++ b/libraries/libstratosphere/include/stratosphere/pwm/driver/pwm_select_driver_api.hpp @@ -24,7 +24,7 @@ namespace ams::pwm::driver::board { - using namespace ams::pwm::driver::board::nintendo_nx; + using namespace ams::pwm::driver::board::nintendo::nx; } diff --git a/libraries/libstratosphere/source/gpio/driver/board/nintendo/nx/gpio_driver_api.cpp b/libraries/libstratosphere/source/gpio/driver/board/nintendo/nx/gpio_driver_api.cpp index 513add686..e04a74d29 100644 --- a/libraries/libstratosphere/source/gpio/driver/board/nintendo/nx/gpio_driver_api.cpp +++ b/libraries/libstratosphere/source/gpio/driver/board/nintendo/nx/gpio_driver_api.cpp @@ -18,11 +18,11 @@ #include "impl/gpio_initial_config.hpp" #include "impl/gpio_tegra_pad.hpp" -namespace ams::gpio::driver::board::nintendo_nx { +namespace ams::gpio::driver::board::nintendo::nx { namespace { - ams::gpio::driver::board::nintendo_nx::impl::DriverImpl *g_driver_impl = nullptr; + ams::gpio::driver::board::nintendo::nx::impl::DriverImpl *g_driver_impl = nullptr; } @@ -38,7 +38,7 @@ namespace ams::gpio::driver::board::nintendo_nx { AMS_ABORT_UNLESS(driver_storage != nullptr); /* Construct the new driver. */ - g_driver_impl = new (driver_storage) ams::gpio::driver::board::nintendo_nx::impl::DriverImpl(impl::GpioRegistersPhysicalAddress, impl::GpioRegistersSize); + g_driver_impl = new (driver_storage) ams::gpio::driver::board::nintendo::nx::impl::DriverImpl(impl::GpioRegistersPhysicalAddress, impl::GpioRegistersSize); /* Register the driver. */ gpio::driver::RegisterDriver(g_driver_impl); diff --git a/libraries/libstratosphere/source/gpio/driver/board/nintendo/nx/impl/gpio_driver_impl.cpp b/libraries/libstratosphere/source/gpio/driver/board/nintendo/nx/impl/gpio_driver_impl.cpp index aa152fb7b..1e4130102 100644 --- a/libraries/libstratosphere/source/gpio/driver/board/nintendo/nx/impl/gpio_driver_impl.cpp +++ b/libraries/libstratosphere/source/gpio/driver/board/nintendo/nx/impl/gpio_driver_impl.cpp @@ -17,7 +17,7 @@ #include "gpio_driver_impl.hpp" #include "gpio_register_accessor.hpp" -namespace ams::gpio::driver::board::nintendo_nx::impl { +namespace ams::gpio::driver::board::nintendo::nx::impl { void InterruptEventHandler::Initialize(DriverImpl *drv, os::InterruptName intr, int ctlr) { /* Set fields. */ diff --git a/libraries/libstratosphere/source/gpio/driver/board/nintendo/nx/impl/gpio_driver_impl.hpp b/libraries/libstratosphere/source/gpio/driver/board/nintendo/nx/impl/gpio_driver_impl.hpp index b78f341da..90fdfcc34 100644 --- a/libraries/libstratosphere/source/gpio/driver/board/nintendo/nx/impl/gpio_driver_impl.hpp +++ b/libraries/libstratosphere/source/gpio/driver/board/nintendo/nx/impl/gpio_driver_impl.hpp @@ -20,7 +20,7 @@ #include "gpio_register_accessor.hpp" #include "gpio_suspend_handler.hpp" -namespace ams::gpio::driver::board::nintendo_nx::impl { +namespace ams::gpio::driver::board::nintendo::nx::impl { class DriverImpl; @@ -43,7 +43,7 @@ namespace ams::gpio::driver::board::nintendo_nx::impl { class DriverImpl : public ::ams::gpio::driver::IGpioDriver { NON_COPYABLE(DriverImpl); NON_MOVEABLE(DriverImpl); - AMS_DDSF_CASTABLE_TRAITS(ams::gpio::driver::board::nintendo_nx::impl::DriverImpl, ::ams::gpio::driver::IGpioDriver); + AMS_DDSF_CASTABLE_TRAITS(ams::gpio::driver::board::nintendo::nx::impl::DriverImpl, ::ams::gpio::driver::IGpioDriver); friend class InterruptEventHandler; private: dd::PhysicalAddress gpio_physical_address; diff --git a/libraries/libstratosphere/source/gpio/driver/board/nintendo/nx/impl/gpio_initial_config.cpp b/libraries/libstratosphere/source/gpio/driver/board/nintendo/nx/impl/gpio_initial_config.cpp index b6b102248..a5a8a0e5f 100644 --- a/libraries/libstratosphere/source/gpio/driver/board/nintendo/nx/impl/gpio_initial_config.cpp +++ b/libraries/libstratosphere/source/gpio/driver/board/nintendo/nx/impl/gpio_initial_config.cpp @@ -18,7 +18,7 @@ #include "gpio_initial_config.hpp" #include "gpio_wake_pin_config.hpp" -namespace ams::gpio::driver::board::nintendo_nx::impl { +namespace ams::gpio::driver::board::nintendo::nx::impl { namespace { diff --git a/libraries/libstratosphere/source/gpio/driver/board/nintendo/nx/impl/gpio_initial_config.hpp b/libraries/libstratosphere/source/gpio/driver/board/nintendo/nx/impl/gpio_initial_config.hpp index d577ccc34..498ebe2ae 100644 --- a/libraries/libstratosphere/source/gpio/driver/board/nintendo/nx/impl/gpio_initial_config.hpp +++ b/libraries/libstratosphere/source/gpio/driver/board/nintendo/nx/impl/gpio_initial_config.hpp @@ -16,7 +16,7 @@ #pragma once #include -namespace ams::gpio::driver::board::nintendo_nx::impl { +namespace ams::gpio::driver::board::nintendo::nx::impl { struct GpioInitialConfig { DeviceCode device_code; diff --git a/libraries/libstratosphere/source/gpio/driver/board/nintendo/nx/impl/gpio_register_accessor.hpp b/libraries/libstratosphere/source/gpio/driver/board/nintendo/nx/impl/gpio_register_accessor.hpp index c9b2f6e6f..40d92e4c7 100644 --- a/libraries/libstratosphere/source/gpio/driver/board/nintendo/nx/impl/gpio_register_accessor.hpp +++ b/libraries/libstratosphere/source/gpio/driver/board/nintendo/nx/impl/gpio_register_accessor.hpp @@ -18,7 +18,7 @@ #include "gpio_tegra_pad.hpp" -namespace ams::gpio::driver::board::nintendo_nx::impl { +namespace ams::gpio::driver::board::nintendo::nx::impl { constexpr inline dd::PhysicalAddress GpioRegistersPhysicalAddress = 0x6000D000; constexpr inline size_t GpioRegistersSize = 4_KB; diff --git a/libraries/libstratosphere/source/gpio/driver/board/nintendo/nx/impl/gpio_suspend_handler.cpp b/libraries/libstratosphere/source/gpio/driver/board/nintendo/nx/impl/gpio_suspend_handler.cpp index a922b2128..9689c51be 100644 --- a/libraries/libstratosphere/source/gpio/driver/board/nintendo/nx/impl/gpio_suspend_handler.cpp +++ b/libraries/libstratosphere/source/gpio/driver/board/nintendo/nx/impl/gpio_suspend_handler.cpp @@ -16,7 +16,7 @@ #include #include "gpio_suspend_handler.hpp" -namespace ams::gpio::driver::board::nintendo_nx::impl { +namespace ams::gpio::driver::board::nintendo::nx::impl { void SuspendHandler::Initialize(uintptr_t gpio_vaddr) { /* Set our gpio virtual address. */ diff --git a/libraries/libstratosphere/source/gpio/driver/board/nintendo/nx/impl/gpio_suspend_handler.hpp b/libraries/libstratosphere/source/gpio/driver/board/nintendo/nx/impl/gpio_suspend_handler.hpp index faaf59b07..3daa2204b 100644 --- a/libraries/libstratosphere/source/gpio/driver/board/nintendo/nx/impl/gpio_suspend_handler.hpp +++ b/libraries/libstratosphere/source/gpio/driver/board/nintendo/nx/impl/gpio_suspend_handler.hpp @@ -18,7 +18,7 @@ #include "gpio_tegra_pad.hpp" -namespace ams::gpio::driver::board::nintendo_nx::impl { +namespace ams::gpio::driver::board::nintendo::nx::impl { class SuspendHandler { NON_COPYABLE(SuspendHandler); diff --git a/libraries/libstratosphere/source/gpio/driver/board/nintendo/nx/impl/gpio_tegra_pad.hpp b/libraries/libstratosphere/source/gpio/driver/board/nintendo/nx/impl/gpio_tegra_pad.hpp index 67c093906..c136220fc 100644 --- a/libraries/libstratosphere/source/gpio/driver/board/nintendo/nx/impl/gpio_tegra_pad.hpp +++ b/libraries/libstratosphere/source/gpio/driver/board/nintendo/nx/impl/gpio_tegra_pad.hpp @@ -16,7 +16,7 @@ #pragma once #include -namespace ams::gpio::driver::board::nintendo_nx::impl { +namespace ams::gpio::driver::board::nintendo::nx::impl { enum GpioPadPort { GpioPadPort_A = 0, @@ -347,7 +347,7 @@ namespace ams::gpio::driver::board::nintendo_nx::impl { }; class TegraPad : public ::ams::gpio::driver::Pad { - AMS_DDSF_CASTABLE_TRAITS(ams::gpio::driver::board::nintendo_nx::impl::TegraPad, ::ams::gpio::driver::Pad); + AMS_DDSF_CASTABLE_TRAITS(ams::gpio::driver::board::nintendo::nx::impl::TegraPad, ::ams::gpio::driver::Pad); private: using Base = ::ams::gpio::driver::Pad; private: diff --git a/libraries/libstratosphere/source/gpio/driver/board/nintendo/nx/impl/gpio_wake_pin_config.hpp b/libraries/libstratosphere/source/gpio/driver/board/nintendo/nx/impl/gpio_wake_pin_config.hpp index 9b251437a..61c829705 100644 --- a/libraries/libstratosphere/source/gpio/driver/board/nintendo/nx/impl/gpio_wake_pin_config.hpp +++ b/libraries/libstratosphere/source/gpio/driver/board/nintendo/nx/impl/gpio_wake_pin_config.hpp @@ -16,7 +16,7 @@ #pragma once #include -namespace ams::gpio::driver::board::nintendo_nx::impl { +namespace ams::gpio::driver::board::nintendo::nx::impl { struct WakePinConfig { wec::WakeEvent wake_event; diff --git a/libraries/libstratosphere/source/i2c/driver/board/nintendo/nx/i2c_driver_api.cpp b/libraries/libstratosphere/source/i2c/driver/board/nintendo/nx/i2c_driver_api.cpp index bab1817fc..5f2c874a6 100644 --- a/libraries/libstratosphere/source/i2c/driver/board/nintendo/nx/i2c_driver_api.cpp +++ b/libraries/libstratosphere/source/i2c/driver/board/nintendo/nx/i2c_driver_api.cpp @@ -17,7 +17,7 @@ #include "impl/i2c_bus_manager.hpp" #include "impl/i2c_device_property_manager.hpp" -namespace ams::i2c::driver::board::nintendo_nx { +namespace ams::i2c::driver::board::nintendo::nx { namespace { diff --git a/libraries/libstratosphere/source/i2c/driver/board/nintendo/nx/impl/i2c_bus_accessor.cpp b/libraries/libstratosphere/source/i2c/driver/board/nintendo/nx/impl/i2c_bus_accessor.cpp index 5e8dff88a..b0dd6dbc4 100644 --- a/libraries/libstratosphere/source/i2c/driver/board/nintendo/nx/impl/i2c_bus_accessor.cpp +++ b/libraries/libstratosphere/source/i2c/driver/board/nintendo/nx/impl/i2c_bus_accessor.cpp @@ -16,7 +16,7 @@ #include #include "i2c_bus_accessor.hpp" -namespace ams::i2c::driver::board::nintendo_nx::impl { +namespace ams::i2c::driver::board::nintendo::nx::impl { namespace { diff --git a/libraries/libstratosphere/source/i2c/driver/board/nintendo/nx/impl/i2c_bus_accessor.hpp b/libraries/libstratosphere/source/i2c/driver/board/nintendo/nx/impl/i2c_bus_accessor.hpp index 8691dbaf5..7a59c64c9 100644 --- a/libraries/libstratosphere/source/i2c/driver/board/nintendo/nx/impl/i2c_bus_accessor.hpp +++ b/libraries/libstratosphere/source/i2c/driver/board/nintendo/nx/impl/i2c_bus_accessor.hpp @@ -17,12 +17,12 @@ #include #include "i2c_i2c_registers.hpp" -namespace ams::i2c::driver::board::nintendo_nx::impl { +namespace ams::i2c::driver::board::nintendo::nx::impl { class I2cBusAccessor : public ::ams::i2c::driver::II2cDriver { NON_COPYABLE(I2cBusAccessor); NON_MOVEABLE(I2cBusAccessor); - AMS_DDSF_CASTABLE_TRAITS(ams::i2c::driver::board::nintendo_nx::impl::I2cBusAccessor, ::ams::i2c::driver::II2cDriver); + AMS_DDSF_CASTABLE_TRAITS(ams::i2c::driver::board::nintendo::nx::impl::I2cBusAccessor, ::ams::i2c::driver::II2cDriver); private: enum class State { NotInitialized = 0, diff --git a/libraries/libstratosphere/source/i2c/driver/board/nintendo/nx/impl/i2c_bus_manager.hpp b/libraries/libstratosphere/source/i2c/driver/board/nintendo/nx/impl/i2c_bus_manager.hpp index 64ae4668b..358badce0 100644 --- a/libraries/libstratosphere/source/i2c/driver/board/nintendo/nx/impl/i2c_bus_manager.hpp +++ b/libraries/libstratosphere/source/i2c/driver/board/nintendo/nx/impl/i2c_bus_manager.hpp @@ -18,7 +18,7 @@ #include "i2c_bus_accessor.hpp" #include "i2c_i_allocator.hpp" -namespace ams::i2c::driver::board::nintendo_nx::impl { +namespace ams::i2c::driver::board::nintendo::nx::impl { class I2cBusAccessorManager : public IAllocator { /* ... */ diff --git a/libraries/libstratosphere/source/i2c/driver/board/nintendo/nx/impl/i2c_device_property_manager.hpp b/libraries/libstratosphere/source/i2c/driver/board/nintendo/nx/impl/i2c_device_property_manager.hpp index 726d87632..e0a1e22d9 100644 --- a/libraries/libstratosphere/source/i2c/driver/board/nintendo/nx/impl/i2c_device_property_manager.hpp +++ b/libraries/libstratosphere/source/i2c/driver/board/nintendo/nx/impl/i2c_device_property_manager.hpp @@ -17,7 +17,7 @@ #include #include "i2c_i_allocator.hpp" -namespace ams::i2c::driver::board::nintendo_nx::impl { +namespace ams::i2c::driver::board::nintendo::nx::impl { class I2cDevicePropertyManager : public IAllocator { /* ... */ diff --git a/libraries/libstratosphere/source/i2c/driver/board/nintendo/nx/impl/i2c_i2c_registers.hpp b/libraries/libstratosphere/source/i2c/driver/board/nintendo/nx/impl/i2c_i2c_registers.hpp index c8925ce6e..9b933beaa 100644 --- a/libraries/libstratosphere/source/i2c/driver/board/nintendo/nx/impl/i2c_i2c_registers.hpp +++ b/libraries/libstratosphere/source/i2c/driver/board/nintendo/nx/impl/i2c_i2c_registers.hpp @@ -16,7 +16,7 @@ #pragma once #include -namespace ams::i2c::driver::board::nintendo_nx::impl { +namespace ams::i2c::driver::board::nintendo::nx::impl { struct I2cRegisters { volatile u32 cnfg; diff --git a/libraries/libstratosphere/source/i2c/driver/board/nintendo/nx/impl/i2c_i_allocator.hpp b/libraries/libstratosphere/source/i2c/driver/board/nintendo/nx/impl/i2c_i_allocator.hpp index 270c882e1..71e264d90 100644 --- a/libraries/libstratosphere/source/i2c/driver/board/nintendo/nx/impl/i2c_i_allocator.hpp +++ b/libraries/libstratosphere/source/i2c/driver/board/nintendo/nx/impl/i2c_i_allocator.hpp @@ -16,7 +16,7 @@ #pragma once #include -namespace ams::i2c::driver::board::nintendo_nx::impl { +namespace ams::i2c::driver::board::nintendo::nx::impl { template class IAllocator { diff --git a/libraries/libstratosphere/source/pinmux/driver/board/nintendo/nx/pinmux_board_driver_api.cpp b/libraries/libstratosphere/source/pinmux/driver/board/nintendo/nx/pinmux_board_driver_api.cpp index fc35ce961..938398945 100644 --- a/libraries/libstratosphere/source/pinmux/driver/board/nintendo/nx/pinmux_board_driver_api.cpp +++ b/libraries/libstratosphere/source/pinmux/driver/board/nintendo/nx/pinmux_board_driver_api.cpp @@ -18,7 +18,7 @@ #include "pinmux_board_driver_api.hpp" #include "pinmux_platform_pads.hpp" -namespace ams::pinmux::driver::board::nintendo_nx { +namespace ams::pinmux::driver::board::nintendo::nx { namespace { diff --git a/libraries/libstratosphere/source/pinmux/driver/board/nintendo/nx/pinmux_board_driver_api.hpp b/libraries/libstratosphere/source/pinmux/driver/board/nintendo/nx/pinmux_board_driver_api.hpp index 48be15d8a..8d3cfafa8 100644 --- a/libraries/libstratosphere/source/pinmux/driver/board/nintendo/nx/pinmux_board_driver_api.hpp +++ b/libraries/libstratosphere/source/pinmux/driver/board/nintendo/nx/pinmux_board_driver_api.hpp @@ -16,7 +16,7 @@ #pragma once #include -namespace ams::pinmux::driver::board::nintendo_nx { +namespace ams::pinmux::driver::board::nintendo::nx { bool IsInitialized(); diff --git a/libraries/libstratosphere/source/pinmux/driver/board/nintendo/nx/pinmux_platform_pads.cpp b/libraries/libstratosphere/source/pinmux/driver/board/nintendo/nx/pinmux_platform_pads.cpp index 7efce9dc7..eb30b7e9e 100644 --- a/libraries/libstratosphere/source/pinmux/driver/board/nintendo/nx/pinmux_platform_pads.cpp +++ b/libraries/libstratosphere/source/pinmux/driver/board/nintendo/nx/pinmux_platform_pads.cpp @@ -18,7 +18,7 @@ #include "pinmux_board_driver_api.hpp" #include "pinmux_platform_pads.hpp" -namespace ams::pinmux::driver::board::nintendo_nx { +namespace ams::pinmux::driver::board::nintendo::nx { namespace { diff --git a/libraries/libstratosphere/source/pinmux/driver/board/nintendo/nx/pinmux_platform_pads.hpp b/libraries/libstratosphere/source/pinmux/driver/board/nintendo/nx/pinmux_platform_pads.hpp index 144bf52d0..05c9e1ab4 100644 --- a/libraries/libstratosphere/source/pinmux/driver/board/nintendo/nx/pinmux_platform_pads.hpp +++ b/libraries/libstratosphere/source/pinmux/driver/board/nintendo/nx/pinmux_platform_pads.hpp @@ -16,7 +16,7 @@ #pragma once #include -namespace ams::pinmux::driver::board::nintendo_nx { +namespace ams::pinmux::driver::board::nintendo::nx { struct PinmuxPadConfig { u32 index; diff --git a/libraries/libstratosphere/source/pinmux/driver/pinmux_select_board_impl.hpp b/libraries/libstratosphere/source/pinmux/driver/pinmux_select_board_impl.hpp index 1da07aec9..2865d5cfa 100644 --- a/libraries/libstratosphere/source/pinmux/driver/pinmux_select_board_impl.hpp +++ b/libraries/libstratosphere/source/pinmux/driver/pinmux_select_board_impl.hpp @@ -20,7 +20,7 @@ #include "board/nintendo/nx/pinmux_board_driver_api.hpp" namespace ams::pinmux::driver::board { - using namespace ams::pinmux::driver::board::nintendo_nx; + using namespace ams::pinmux::driver::board::nintendo::nx; } #else diff --git a/libraries/libstratosphere/source/powctl/impl/board/nintendo/nx/powctl_battery_driver.cpp b/libraries/libstratosphere/source/powctl/impl/board/nintendo/nx/powctl_battery_driver.cpp index c1b3be26c..4671d4114 100644 --- a/libraries/libstratosphere/source/powctl/impl/board/nintendo/nx/powctl_battery_driver.cpp +++ b/libraries/libstratosphere/source/powctl/impl/board/nintendo/nx/powctl_battery_driver.cpp @@ -19,7 +19,7 @@ #include "powctl_battery_driver.hpp" #include "powctl_max17050_driver.hpp" -namespace ams::powctl::impl::board::nintendo_nx { +namespace ams::powctl::impl::board::nintendo::nx { namespace { diff --git a/libraries/libstratosphere/source/powctl/impl/board/nintendo/nx/powctl_battery_driver.hpp b/libraries/libstratosphere/source/powctl/impl/board/nintendo/nx/powctl_battery_driver.hpp index 1221e0ba7..a95e3b83f 100644 --- a/libraries/libstratosphere/source/powctl/impl/board/nintendo/nx/powctl_battery_driver.hpp +++ b/libraries/libstratosphere/source/powctl/impl/board/nintendo/nx/powctl_battery_driver.hpp @@ -18,12 +18,12 @@ #include "../../../powctl_i_power_control_driver.hpp" #include "powctl_interrupt_event_handler.hpp" -namespace ams::powctl::impl::board::nintendo_nx { +namespace ams::powctl::impl::board::nintendo::nx { class BatteryDevice : public powctl::impl::IDevice { NON_COPYABLE(BatteryDevice); NON_MOVEABLE(BatteryDevice); - AMS_DDSF_CASTABLE_TRAITS(ams::powctl::impl::board::nintendo_nx::BatteryDevice, ::ams::powctl::impl::IDevice); + AMS_DDSF_CASTABLE_TRAITS(ams::powctl::impl::board::nintendo::nx::BatteryDevice, ::ams::powctl::impl::IDevice); private: bool use_event_handler; std::optional event_handler; @@ -43,7 +43,7 @@ namespace ams::powctl::impl::board::nintendo_nx { class BatteryDriver : public IPowerControlDriver { NON_COPYABLE(BatteryDriver); NON_MOVEABLE(BatteryDriver); - AMS_DDSF_CASTABLE_TRAITS(ams::powctl::impl::board::nintendo_nx::BatteryDriver, ::ams::powctl::impl::IPowerControlDriver); + AMS_DDSF_CASTABLE_TRAITS(ams::powctl::impl::board::nintendo::nx::BatteryDriver, ::ams::powctl::impl::IPowerControlDriver); public: BatteryDriver(bool ev) : IPowerControlDriver(ev) { /* ... */ } diff --git a/libraries/libstratosphere/source/powctl/impl/board/nintendo/nx/powctl_board_impl.cpp b/libraries/libstratosphere/source/powctl/impl/board/nintendo/nx/powctl_board_impl.cpp index 4fe399e9b..ade5d5ab4 100644 --- a/libraries/libstratosphere/source/powctl/impl/board/nintendo/nx/powctl_board_impl.cpp +++ b/libraries/libstratosphere/source/powctl/impl/board/nintendo/nx/powctl_board_impl.cpp @@ -19,7 +19,7 @@ #include "powctl_battery_driver.hpp" #include "powctl_charger_driver.hpp" -namespace ams::powctl::impl::board::nintendo_nx { +namespace ams::powctl::impl::board::nintendo::nx { namespace { diff --git a/libraries/libstratosphere/source/powctl/impl/board/nintendo/nx/powctl_board_impl.hpp b/libraries/libstratosphere/source/powctl/impl/board/nintendo/nx/powctl_board_impl.hpp index 902c5e99f..8db008ebe 100644 --- a/libraries/libstratosphere/source/powctl/impl/board/nintendo/nx/powctl_board_impl.hpp +++ b/libraries/libstratosphere/source/powctl/impl/board/nintendo/nx/powctl_board_impl.hpp @@ -18,7 +18,7 @@ #include "powctl_interrupt_event_handler.hpp" -namespace ams::powctl::impl::board::nintendo_nx { +namespace ams::powctl::impl::board::nintendo::nx { void Initialize(bool use_event_handlers); void Finalize(); diff --git a/libraries/libstratosphere/source/powctl/impl/board/nintendo/nx/powctl_bq24193_driver.cpp b/libraries/libstratosphere/source/powctl/impl/board/nintendo/nx/powctl_bq24193_driver.cpp index 32fa8a940..8b4dbb00b 100644 --- a/libraries/libstratosphere/source/powctl/impl/board/nintendo/nx/powctl_bq24193_driver.cpp +++ b/libraries/libstratosphere/source/powctl/impl/board/nintendo/nx/powctl_bq24193_driver.cpp @@ -16,7 +16,7 @@ #include #include "powctl_bq24193_driver.hpp" -namespace ams::powctl::impl::board::nintendo_nx { +namespace ams::powctl::impl::board::nintendo::nx { namespace bq24193 { diff --git a/libraries/libstratosphere/source/powctl/impl/board/nintendo/nx/powctl_bq24193_driver.hpp b/libraries/libstratosphere/source/powctl/impl/board/nintendo/nx/powctl_bq24193_driver.hpp index 01d9b906c..daf8938f9 100644 --- a/libraries/libstratosphere/source/powctl/impl/board/nintendo/nx/powctl_bq24193_driver.hpp +++ b/libraries/libstratosphere/source/powctl/impl/board/nintendo/nx/powctl_bq24193_driver.hpp @@ -16,7 +16,7 @@ #pragma once #include -namespace ams::powctl::impl::board::nintendo_nx { +namespace ams::powctl::impl::board::nintendo::nx { namespace bq24193 { diff --git a/libraries/libstratosphere/source/powctl/impl/board/nintendo/nx/powctl_charger_driver.cpp b/libraries/libstratosphere/source/powctl/impl/board/nintendo/nx/powctl_charger_driver.cpp index 08e1c9a30..de86f6350 100644 --- a/libraries/libstratosphere/source/powctl/impl/board/nintendo/nx/powctl_charger_driver.cpp +++ b/libraries/libstratosphere/source/powctl/impl/board/nintendo/nx/powctl_charger_driver.cpp @@ -19,7 +19,7 @@ #include "powctl_charger_driver.hpp" #include "powctl_bq24193_driver.hpp" -namespace ams::powctl::impl::board::nintendo_nx { +namespace ams::powctl::impl::board::nintendo::nx { namespace { diff --git a/libraries/libstratosphere/source/powctl/impl/board/nintendo/nx/powctl_charger_driver.hpp b/libraries/libstratosphere/source/powctl/impl/board/nintendo/nx/powctl_charger_driver.hpp index 680d44cde..c9f2c3e1e 100644 --- a/libraries/libstratosphere/source/powctl/impl/board/nintendo/nx/powctl_charger_driver.hpp +++ b/libraries/libstratosphere/source/powctl/impl/board/nintendo/nx/powctl_charger_driver.hpp @@ -18,12 +18,12 @@ #include "../../../powctl_i_power_control_driver.hpp" #include "powctl_interrupt_event_handler.hpp" -namespace ams::powctl::impl::board::nintendo_nx { +namespace ams::powctl::impl::board::nintendo::nx { class ChargerDevice : public powctl::impl::IDevice { NON_COPYABLE(ChargerDevice); NON_MOVEABLE(ChargerDevice); - AMS_DDSF_CASTABLE_TRAITS(ams::powctl::impl::board::nintendo_nx::ChargerDevice, ::ams::powctl::impl::IDevice); + AMS_DDSF_CASTABLE_TRAITS(ams::powctl::impl::board::nintendo::nx::ChargerDevice, ::ams::powctl::impl::IDevice); private: gpio::GpioPadSession gpio_pad_session; bool watchdog_timer_enabled; @@ -54,7 +54,7 @@ namespace ams::powctl::impl::board::nintendo_nx { class ChargerDriver : public IPowerControlDriver { NON_COPYABLE(ChargerDriver); NON_MOVEABLE(ChargerDriver); - AMS_DDSF_CASTABLE_TRAITS(ams::powctl::impl::board::nintendo_nx::ChargerDriver, ::ams::powctl::impl::IPowerControlDriver); + AMS_DDSF_CASTABLE_TRAITS(ams::powctl::impl::board::nintendo::nx::ChargerDriver, ::ams::powctl::impl::IPowerControlDriver); public: ChargerDriver(bool ev) : IPowerControlDriver(ev) { /* ... */ } diff --git a/libraries/libstratosphere/source/powctl/impl/board/nintendo/nx/powctl_interrupt_event_handler.cpp b/libraries/libstratosphere/source/powctl/impl/board/nintendo/nx/powctl_interrupt_event_handler.cpp index 360abece6..e6dc125a0 100644 --- a/libraries/libstratosphere/source/powctl/impl/board/nintendo/nx/powctl_interrupt_event_handler.cpp +++ b/libraries/libstratosphere/source/powctl/impl/board/nintendo/nx/powctl_interrupt_event_handler.cpp @@ -16,7 +16,7 @@ #include #include "powctl_interrupt_event_handler.hpp" -namespace ams::powctl::impl::board::nintendo_nx { +namespace ams::powctl::impl::board::nintendo::nx { void ChargerInterruptEventHandler::SignalEvent(IDevice *device) { /* TODO */ diff --git a/libraries/libstratosphere/source/powctl/impl/board/nintendo/nx/powctl_interrupt_event_handler.hpp b/libraries/libstratosphere/source/powctl/impl/board/nintendo/nx/powctl_interrupt_event_handler.hpp index b445302e8..6ccd6e755 100644 --- a/libraries/libstratosphere/source/powctl/impl/board/nintendo/nx/powctl_interrupt_event_handler.hpp +++ b/libraries/libstratosphere/source/powctl/impl/board/nintendo/nx/powctl_interrupt_event_handler.hpp @@ -17,7 +17,7 @@ #include #include "../../../powctl_i_power_control_driver.hpp" -namespace ams::powctl::impl::board::nintendo_nx { +namespace ams::powctl::impl::board::nintendo::nx { template class InterruptEventHandler : public ddsf::IEventHandler { diff --git a/libraries/libstratosphere/source/powctl/impl/board/nintendo/nx/powctl_max17050_driver.cpp b/libraries/libstratosphere/source/powctl/impl/board/nintendo/nx/powctl_max17050_driver.cpp index 424c65b59..c1e7222c8 100644 --- a/libraries/libstratosphere/source/powctl/impl/board/nintendo/nx/powctl_max17050_driver.cpp +++ b/libraries/libstratosphere/source/powctl/impl/board/nintendo/nx/powctl_max17050_driver.cpp @@ -20,7 +20,7 @@ #include #endif -namespace ams::powctl::impl::board::nintendo_nx { +namespace ams::powctl::impl::board::nintendo::nx { namespace max17050 { diff --git a/libraries/libstratosphere/source/powctl/impl/board/nintendo/nx/powctl_max17050_driver.hpp b/libraries/libstratosphere/source/powctl/impl/board/nintendo/nx/powctl_max17050_driver.hpp index 7d01e30f2..e5a39fa7a 100644 --- a/libraries/libstratosphere/source/powctl/impl/board/nintendo/nx/powctl_max17050_driver.hpp +++ b/libraries/libstratosphere/source/powctl/impl/board/nintendo/nx/powctl_max17050_driver.hpp @@ -16,7 +16,7 @@ #pragma once #include -namespace ams::powctl::impl::board::nintendo_nx { +namespace ams::powctl::impl::board::nintendo::nx { namespace max17050 { diff --git a/libraries/libstratosphere/source/powctl/impl/powctl_select_board_driver.hpp b/libraries/libstratosphere/source/powctl/impl/powctl_select_board_driver.hpp index 7df69d25e..6f2cb6bbe 100644 --- a/libraries/libstratosphere/source/powctl/impl/powctl_select_board_driver.hpp +++ b/libraries/libstratosphere/source/powctl/impl/powctl_select_board_driver.hpp @@ -22,7 +22,7 @@ #include "board/nintendo/nx/powctl_board_impl.hpp" namespace ams::powctl::impl::board { - using namespace ams::powctl::impl::board::nintendo_nx; + using namespace ams::powctl::impl::board::nintendo::nx; } #else diff --git a/libraries/libstratosphere/source/pwm/driver/board/nintendo/nx/impl/pwm_impl_pwm_driver_api.cpp b/libraries/libstratosphere/source/pwm/driver/board/nintendo/nx/impl/pwm_impl_pwm_driver_api.cpp index 1b1849d10..9cc52cf61 100644 --- a/libraries/libstratosphere/source/pwm/driver/board/nintendo/nx/impl/pwm_impl_pwm_driver_api.cpp +++ b/libraries/libstratosphere/source/pwm/driver/board/nintendo/nx/impl/pwm_impl_pwm_driver_api.cpp @@ -17,7 +17,7 @@ #include "pwm_impl_pwm_driver_api.hpp" #include "pwm_pwm_driver_impl.hpp" -namespace ams::pwm::driver::board::nintendo_nx::impl { +namespace ams::pwm::driver::board::nintendo::nx::impl { namespace { diff --git a/libraries/libstratosphere/source/pwm/driver/board/nintendo/nx/impl/pwm_impl_pwm_driver_api.hpp b/libraries/libstratosphere/source/pwm/driver/board/nintendo/nx/impl/pwm_impl_pwm_driver_api.hpp index 9ce8137d8..5177ad474 100644 --- a/libraries/libstratosphere/source/pwm/driver/board/nintendo/nx/impl/pwm_impl_pwm_driver_api.hpp +++ b/libraries/libstratosphere/source/pwm/driver/board/nintendo/nx/impl/pwm_impl_pwm_driver_api.hpp @@ -16,7 +16,7 @@ #pragma once #include -namespace ams::pwm::driver::board::nintendo_nx::impl { +namespace ams::pwm::driver::board::nintendo::nx::impl { struct ChannelDefinition { DeviceCode device_code; diff --git a/libraries/libstratosphere/source/pwm/driver/board/nintendo/nx/impl/pwm_pwm_driver_impl.cpp b/libraries/libstratosphere/source/pwm/driver/board/nintendo/nx/impl/pwm_pwm_driver_impl.cpp index 353148e52..e9ed73368 100644 --- a/libraries/libstratosphere/source/pwm/driver/board/nintendo/nx/impl/pwm_pwm_driver_impl.cpp +++ b/libraries/libstratosphere/source/pwm/driver/board/nintendo/nx/impl/pwm_pwm_driver_impl.cpp @@ -16,7 +16,7 @@ #include #include "pwm_pwm_driver_impl.hpp" -namespace ams::pwm::driver::board::nintendo_nx::impl { +namespace ams::pwm::driver::board::nintendo::nx::impl { namespace { diff --git a/libraries/libstratosphere/source/pwm/driver/board/nintendo/nx/impl/pwm_pwm_driver_impl.hpp b/libraries/libstratosphere/source/pwm/driver/board/nintendo/nx/impl/pwm_pwm_driver_impl.hpp index d04e841bd..1a75fbac4 100644 --- a/libraries/libstratosphere/source/pwm/driver/board/nintendo/nx/impl/pwm_pwm_driver_impl.hpp +++ b/libraries/libstratosphere/source/pwm/driver/board/nintendo/nx/impl/pwm_pwm_driver_impl.hpp @@ -17,12 +17,12 @@ #include #include "pwm_impl_pwm_driver_api.hpp" -namespace ams::pwm::driver::board::nintendo_nx::impl { +namespace ams::pwm::driver::board::nintendo::nx::impl { class PwmDeviceImpl : public ::ams::pwm::driver::IPwmDevice { NON_COPYABLE(PwmDeviceImpl); NON_MOVEABLE(PwmDeviceImpl); - AMS_DDSF_CASTABLE_TRAITS(ams::pwm::driver::board::nintendo_nx::impl::PwmDeviceImpl, ::ams::pwm::driver::IPwmDevice); + AMS_DDSF_CASTABLE_TRAITS(ams::pwm::driver::board::nintendo::nx::impl::PwmDeviceImpl, ::ams::pwm::driver::IPwmDevice); private: os::SdkMutex suspend_mutex; u32 suspend_value; @@ -39,7 +39,7 @@ namespace ams::pwm::driver::board::nintendo_nx::impl { class PwmDriverImpl : public ::ams::pwm::driver::IPwmDriver { NON_COPYABLE(PwmDriverImpl); NON_MOVEABLE(PwmDriverImpl); - AMS_DDSF_CASTABLE_TRAITS(ams::pwm::driver::board::nintendo_nx::impl::PwmDriverImpl, ::ams::pwm::driver::IPwmDriver); + AMS_DDSF_CASTABLE_TRAITS(ams::pwm::driver::board::nintendo::nx::impl::PwmDriverImpl, ::ams::pwm::driver::IPwmDriver); private: dd::PhysicalAddress registers_phys_addr; size_t registers_size; diff --git a/libraries/libstratosphere/source/pwm/driver/board/nintendo/nx/pwm_driver_api.cpp b/libraries/libstratosphere/source/pwm/driver/board/nintendo/nx/pwm_driver_api.cpp index 0b8442e37..0cc033782 100644 --- a/libraries/libstratosphere/source/pwm/driver/board/nintendo/nx/pwm_driver_api.cpp +++ b/libraries/libstratosphere/source/pwm/driver/board/nintendo/nx/pwm_driver_api.cpp @@ -16,7 +16,7 @@ #include #include "impl/pwm_impl_pwm_driver_api.hpp" -namespace ams::pwm::driver::board::nintendo_nx { +namespace ams::pwm::driver::board::nintendo::nx { void Initialize() { R_ABORT_UNLESS(impl::InitializePwmDriver());