zephyr/drivers/ieee802154
Martí Bolívar 87e1743ae0 devicetree: replace DT_HAS_DRV_INST with DT_INST_FOREACH
Make drivers multi-instance wherever possible using DT_INST_FOREACH.
This allows removing DT_HAS_DRV_INST in favor of making drivers just
do the right thing regardless of how many instances there are.

There are a few exceptions:

- SoC drivers which use CMake input files (like i2c_dw.c) or otherwise
  would require more time to convert than I have at the moment. For the
  sake of expediency, just inline the DT_HAS_DRV_INST expansion for
  now in these cases.

- SoC drivers which are explicitly single-instance (like the nRF SAADC
  driver). Again for the sake of expediency, drop a BUILD_ASSERT in
  those cases to make sure the assumption that all supported SoCs have
  at most one available instance is valid, failing fast otherwise.

Signed-off-by: Martí Bolívar <marti.bolivar@nordicsemi.no>
2020-05-06 17:35:08 -05:00
..
CMakeLists.txt
Kconfig
Kconfig.cc13xx_cc26xx
Kconfig.cc1200
Kconfig.cc2520
Kconfig.kw41z
Kconfig.mcr20a
Kconfig.nrf5
Kconfig.rf2xx drivers: ieee802154: rf2xx: Add no auto start option 2020-04-28 10:30:55 +03:00
ieee802154_cc13xx_cc26xx.c net: ieee802154_radio: Allow to specify TX mode 2020-04-03 14:07:41 +03:00
ieee802154_cc13xx_cc26xx.h
ieee802154_cc1200.c net: ieee802154_radio: Allow to specify TX mode 2020-04-03 14:07:41 +03:00
ieee802154_cc1200.h
ieee802154_cc1200_regs.h
ieee802154_cc1200_rf.h
ieee802154_cc2520.c net: ieee802154_radio: Allow to specify TX mode 2020-04-03 14:07:41 +03:00
ieee802154_cc2520.h
ieee802154_cc2520_regs.h
ieee802154_kw41z.c net: ieee802154_radio: Allow to specify TX mode 2020-04-03 14:07:41 +03:00
ieee802154_mcr20a.c drivers: ieee802154: mcr20a: Convert to use k_timeout_t 2020-05-01 10:50:03 +03:00
ieee802154_mcr20a.h drivers: ieee802154: Convert to new DT_INST macros 2020-03-30 17:04:32 -05:00
ieee802154_mcr20a_regs.h
ieee802154_nrf5.c drivers: ieee802154_nrf5: Handle frame pending bit mode 2020-04-17 09:17:38 +03:00
ieee802154_nrf5.h drivers: ieee802154_nrf5: Notify about FPB value in ACK reponse 2020-04-17 09:17:38 +03:00
ieee802154_rf2xx.c devicetree: replace DT_HAS_DRV_INST with DT_INST_FOREACH 2020-05-06 17:35:08 -05:00
ieee802154_rf2xx.h drivers: ieee802154: rf2xx: Add local-mac-address 2020-04-28 10:30:55 +03:00
ieee802154_rf2xx_iface.c
ieee802154_rf2xx_iface.h
ieee802154_rf2xx_regs.h
ieee802154_uart_pipe.c net: ieee802154_radio: Allow to specify TX mode 2020-04-03 14:07:41 +03:00
ieee802154_uart_pipe.h