Home
last modified time | relevance | path

Searched refs:rx_packet (Results 1 – 5 of 5) sorted by relevance

/Zephyr-latest/drivers/sensor/grow_r502a/
Dgrow_r502a.c23 union r502a_packet *rx_packet, uint16_t data_len) in transceive_packet() argument
56 if (rx_packet) { in transceive_packet()
57 drv_data->rx_buf.data = rx_packet->buf; in transceive_packet()
70 static int r502a_validate_rx_packet(union r502a_packet *rx_packet) in r502a_validate_rx_packet() argument
75 if (sys_be16_to_cpu(rx_packet->start) == R502A_STARTCODE) { in r502a_validate_rx_packet()
76 LOG_DBG("startcode matched 0x%X", sys_be16_to_cpu(rx_packet->start)); in r502a_validate_rx_packet()
78 LOG_ERR("startcode didn't match 0x%X", sys_be16_to_cpu(rx_packet->start)); in r502a_validate_rx_packet()
82 if (sys_be32_to_cpu(rx_packet->addr) == R502A_DEFAULT_ADDRESS) { in r502a_validate_rx_packet()
83 LOG_DBG("Address matched 0x%X", sys_be32_to_cpu(rx_packet->addr)); in r502a_validate_rx_packet()
85 LOG_ERR("Address didn't match 0x%X", sys_be32_to_cpu(rx_packet->addr)); in r502a_validate_rx_packet()
[all …]
/Zephyr-latest/subsys/bluetooth/controller/ll_sw/openisa/hal/RV32M1/radio/
Dradio.h25 void radio_pkt_rx_set(void *rx_packet);
Dradio.c754 void radio_pkt_rx_set(void *rx_packet) in radio_pkt_rx_set() argument
756 rx_pkt_ptr = rx_packet; in radio_pkt_rx_set()
/Zephyr-latest/subsys/bluetooth/controller/ll_sw/nordic/hal/nrf5/radio/
Dradio.h75 void radio_pkt_rx_set(void *rx_packet);
Dradio.c495 void radio_pkt_rx_set(void *rx_packet) in radio_pkt_rx_set() argument
497 NRF_RADIO->PACKETPTR = (uint32_t)rx_packet; in radio_pkt_rx_set()