zephyr/drivers
Jonathan Hamberg 9c1a45cc00 posix: Fix name collision with __bswap
__bswap_ in zephyr/sys/byteorder.h conflicts with __bswap_ in host's
byteswap.h. byteswap.h from host compiler used in posix_native_64 boards
causes a compilation issue.

This commit renames __bswap_ to BSWAP_ to prevent collision.

Before this commit a compilation error can be created by adding #include
<byteswap.h> to samples/net/sockets/echo/src/socket_echo.c

This does not change external API to byteorder.h, but does change
internal implementation which some other source files depend on.

Replaced manual byteswap operations in devmem_service.c with APIs from
byteorder.h which automatically converts to CPU endianess when necessary.

Fixes #44324

Signed-off-by: Jonathan Hamberg <jonathanhamberg@gmail.com>
2024-01-10 18:13:44 +00:00
..
adc modules: hal_nordic: nrfx: update API version to 3.2.0 2024-01-08 11:19:37 +01:00
audio drivers: audio: Codec shell fix compiler warnings 2023-11-21 15:50:17 +01:00
auxdisplay auxdisplay: Enhance SerLCD auxdisplay driver 2023-11-24 22:04:22 +00:00
bbram drivers: bbram: stm32-bbram: port to stm32wl 2023-11-21 08:40:51 +00:00
bluetooth drivers: bluetooth: hci: Add support for ST Proprietary extended event 2024-01-10 15:07:36 +01:00
cache syscall: rename Z_OOPS -> K_OOPS 2023-11-03 11:46:52 +01:00
can drivers: can: nuvoton: numaker: fix init function reference 2024-01-09 18:28:30 +01:00
charger charger: add a driver for bq25180 2024-01-05 09:00:21 +01:00
clock_control clock_control: stm32f4: add PLLR division factor 2024-01-08 12:33:36 +01:00
console console: uart: remove pm_device_runtime_is_enabled check 2023-12-06 18:00:21 -05:00
coredump drivers: kconfig: unify menuconfig title strings 2023-03-28 15:06:06 +02:00
counter drivers: counter: gd32: depend on !SOC_SERIES_GD32VF103 2024-01-10 15:05:54 +01:00
crypto driver: crypto: SHA: npcx: fix SHA driver for npcx4 QS chip 2023-12-12 09:52:04 +00:00
dac drivers: dac: sam: Add max value check 2023-12-28 12:08:27 +00:00
dai drivers: dai: Add driver for NXP's SAI 2023-12-20 11:15:13 +01:00
disk drivers/nvme: Return an error in case of non dword-aligned data buffer 2023-09-22 09:23:18 +02:00
display modules: hal_nordic: nrfx: update API version to 3.2.0 2024-01-08 11:19:37 +01:00
dma drivers: dma: intel_lpss: enable reload API for 32bit DMA address 2023-12-22 09:52:59 +01:00
edac shell: do not enable subsystem/driver shell modules by default 2023-11-20 09:21:40 +01:00
eeprom drivers: drop few redundant guard around pm_policy_state_lock_* 2023-11-22 18:34:36 +00:00
entropy soc: stm32wba: hci_if: Implement HW_RNG_EnableClock API 2023-12-21 09:18:53 +01:00
espi drivers: espi: npcx: introduce espi taf driver 2023-12-18 09:30:01 +01:00
ethernet drivers: ethernet: Add xmc4xxx ethernet/PTP drivers 2024-01-09 10:00:47 +01:00
flash drivers: nrf_qspi_nor: Deactivate QSPI peripheral after initialization 2024-01-09 12:06:19 +01:00
fpga posix: Fix name collision with __bswap 2024-01-10 18:13:44 +00:00
fuel_gauge syscall: rename Z_OOPS -> K_OOPS 2023-11-03 11:46:52 +01:00
gnss drivers: gnss: move gnss_publish.h in include/ 2023-11-29 14:30:40 +00:00
gpio drivers: gpio: stm32: fix init power state 2024-01-08 11:48:58 +01:00
hwinfo soc: riscv: andes_v5: reorganize SoC folder 2024-01-09 09:40:07 +01:00
hwspinlock syscall: rename Z_OOPS -> K_OOPS 2023-11-03 11:46:52 +01:00
i2c drivers: i2c: i2c_mcux_lpi2c: fix unused variable warning 2024-01-10 09:22:54 -06:00
i2s i2s: stm32h7: add i2s support for stm32h7 mcu family 2024-01-04 13:48:28 +01:00
i3c drivers: i3c: cdns: run clang-format 2023-12-15 14:39:38 +01:00
ieee802154 drivers: ieee802154: set 'ieee802154_radio_api' as 'static const' 2024-01-05 09:04:28 +01:00
input posix: Fix name collision with __bswap 2024-01-10 18:13:44 +00:00
interrupt_controller drivers: intc_plic: fix plic PLIC_TRIG_LEVEL define mistake 2024-01-10 10:01:23 +01:00
ipm drivers: ipm: Remove CONFIG_IPM_IMX_REV2 2023-11-06 10:09:59 +01:00
kscan drivers: drop few redundant guard around pm_policy_state_lock_* 2023-11-22 18:34:36 +00:00
led syscall: rename Z_OOPS -> K_OOPS 2023-11-03 11:46:52 +01:00
led_strip drivers: led_strip: add rpi_pico's PIO based ws2812 driver 2024-01-10 12:10:36 +01:00
lora shell: do not enable subsystem/driver shell modules by default 2023-11-20 09:21:40 +01:00
mbox drivers: mbox: Add nxp mbox multi-channel support 2024-01-04 09:42:04 +01:00
mdio drivers: mdio: nxp_enet: Fix "expected statement" clangsa error 2024-01-09 10:26:50 +01:00
memc drivers: memc_nxp_flexram: Use nodelabel for GPR 2023-11-15 15:04:39 -06:00
mfd drivers: mfd: mfd_ad5592: fix reset magic sending 2024-01-10 10:01:52 +01:00
mipi_dsi drivers: mipi_dsi: add support for mipi_dsi_detach to dsi_mcux_2l 2023-11-14 09:22:59 +01:00
misc drivers: misc: pio_rpi_pico: Turn on clock and reset device on init 2023-12-20 11:14:24 +01:00
mm mm: rename struct mem_drv_bank to sys_mm_drv_bank 2023-11-21 08:42:01 +00:00
modem modem: modem_cellular.c: Remove non standard QCCID handler 2024-01-03 10:21:18 +01:00
net drivers: net: ppp: improve CONFIG_NET_PPP_ASYNC_UART_TX_TIMEOUT 2023-12-18 09:29:07 +01:00
pcie drivers: pcie: Read register before actual usage 2023-12-28 12:07:30 +00:00
peci syscall: rename Z_OOPS -> K_OOPS 2023-11-03 11:46:52 +01:00
pinctrl drivers: pinctrl: Add R-Car Gen4 support 2023-11-25 08:50:47 -05:00
pm_cpu_ops shell: do not enable subsystem/driver shell modules by default 2023-11-20 09:21:40 +01:00
power_domain power_domain_intel_adsp.c: revert recent INIT_PRIORITY change 2023-11-02 08:33:40 +00:00
ps2 drivers: drop few redundant guard around pm_policy_state_lock_* 2023-11-22 18:34:36 +00:00
ptp_clock drivers: nxp_enet: simplify driver header 2023-12-04 14:29:15 +01:00
pwm modules: hal_nordic: nrfx: update API version to 3.2.0 2024-01-08 11:19:37 +01:00
regulator drivers: regulator: max20335: allow current limit operations only for BUCKs 2024-01-08 14:16:55 +01:00
reset drivers: reset: Add reset controller for Intel Agilex5 platform 2023-07-25 16:58:01 +00:00
retained_mem drivers: retained_mem: Add generic retained register driver 2024-01-02 15:49:34 +00:00
rtc drivers: rtc: stm32: Updated scope of hsem 2024-01-04 15:32:47 +01:00
sdhc drivers: sdhc: intel_emmc_host: Fix return value 2023-12-19 08:52:00 +01:00
sensor icm42688: Capture the spi return value 2024-01-08 15:09:42 +01:00
serial drivers uart_nrfx: Break infinite loops for simulation 2024-01-10 10:01:37 +01:00
sip_svc kernel: move syscall_handler.h to internal include directory 2023-11-03 11:46:52 +01:00
smbus drivers: smbus: implement SMBus driver for STM32 2023-12-12 10:57:41 +01:00
spi drivers: spi: nrfx: Deactivate CS from thread context 2024-01-09 12:06:35 +01:00
syscon drivers: kconfig: unify menuconfig title strings 2023-03-28 15:06:06 +02:00
timer timer: ambiq_stimer: Correct set_timeout's delta clock calculation 2024-01-08 10:07:46 +01:00
usb drivers: usb: device: add start of frame notifications to nxp mcux driver 2024-01-10 15:08:06 +01:00
usb_c usbc: improve error handling in the ucpd_stm32 and vbus_adc 2023-10-20 14:57:32 +02:00
video drivers: gpio: use gpio_is_ready_dt helper function 2023-08-28 08:48:35 -05:00
virtualization drivers: virtualization: Map ivshmem-v2 sections individually 2023-11-27 12:15:43 +00:00
w1 drivers: w1: add zephyr-gpio driver 2024-01-08 12:43:52 +01:00
watchdog modules: hal_nordic: nrfx: update API version to 3.2.0 2024-01-08 11:19:37 +01:00
wifi drivers: wifi: esp_at: fix last rx data loss in Passive Receive mode 2024-01-03 10:21:09 +01:00
xen xen: add helper functions for Xen domain memory management 2023-09-15 11:15:00 +01:00
CMakeLists.txt drivers, subsys: sort the lists again, mark the blocks for checking 2023-11-13 09:41:05 +01:00
Kconfig drivers, subsys: sort the lists again, mark the blocks for checking 2023-11-13 09:41:05 +01:00