Home
last modified time | relevance | path

Searched refs:radio_dev (Results 1 – 3 of 3) sorted by relevance

/Zephyr-latest/modules/openthread/platform/
Dradio.c100 static const struct device *const radio_dev = variable
168 if (dev == radio_dev) { in energy_detected()
358 __ASSERT_NO_MSG(device_is_ready(radio_dev)); in platformRadioInit()
360 radio_api = (struct ieee802154_radio_api *)radio_dev->api; in platformRadioInit()
370 if ((radio_api->get_capabilities(radio_dev) & in platformRadioInit()
378 radio_api->configure(radio_dev, IEEE802154_CONFIG_EVENT_HANDLER, &cfg); in platformRadioInit()
384 radio_api->set_channel(radio_dev, ch); in radio_set_channel()
393 enum ieee802154_hw_caps radio_caps = radio_api->get_capabilities(radio_dev); in transmit_message()
404 radio_api->set_txpower(radio_dev, get_transmit_power_for_channel(sTransmitFrame.mChannel)); in transmit_message()
439 radio_api->tx(radio_dev, IEEE802154_TX_MODE_TXTIME_CCA, tx_pkt, tx_payload); in transmit_message()
[all …]
Dhdlc_interface.cpp54 radio_dev = DEVICE_DT_GET(DT_CHOSEN(zephyr_hdlc_rcp_if)); in HdlcInterface()
55 is_device_ready = device_is_ready(radio_dev); in HdlcInterface()
58 hdlc_api = (struct hdlc_api *)radio_dev->api; in HdlcInterface()
Dhdlc_interface.hpp176 const struct device *radio_dev; member in ot::Hdlc::HdlcInterface