Home
last modified time | relevance | path

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

/Zephyr-latest/drivers/sensor/grow_r502a/
Dgrow_r502a.c22 static int transceive_packet(const struct device *dev, union r502a_packet *tx_packet, in transceive_packet() argument
28 if (tx_packet) { in transceive_packet()
32 check_sum = (pkg_len >> 8) + (pkg_len & 0xFF) + tx_packet->pid; in transceive_packet()
34 tx_packet->start = sys_cpu_to_be16(R502A_STARTCODE); in transceive_packet()
35 tx_packet->addr = sys_cpu_to_be32(cfg->comm_addr); in transceive_packet()
36 tx_packet->len = sys_cpu_to_be16(pkg_len); in transceive_packet()
39 check_sum += tx_packet->data[i]; in transceive_packet()
41 sys_put_be16(check_sum, &tx_packet->buf[data_len + R502A_HEADER_LEN]); in transceive_packet()
44 drv_data->tx_buf.data = tx_packet->buf; in transceive_packet()
193 union r502a_packet tx_packet = { in fps_set_sys_param() local
[all …]
/Zephyr-latest/subsys/bluetooth/controller/ll_sw/openisa/hal/RV32M1/radio/
Dradio.h26 void radio_pkt_tx_set(void *tx_packet);
Dradio.c759 void radio_pkt_tx_set(void *tx_packet) in radio_pkt_tx_set() argument
766 uint16_t *pkt = tx_packet; in radio_pkt_tx_set()
767 uint32_t cnt = 0, pkt_len = (((uint8_t *)tx_packet)[1] + 1) / 2 + 1; in radio_pkt_tx_set()
/Zephyr-latest/subsys/bluetooth/controller/ll_sw/nordic/hal/nrf5/radio/
Dradio.h76 void radio_pkt_tx_set(void *tx_packet);
Dradio.c500 void radio_pkt_tx_set(void *tx_packet) in radio_pkt_tx_set() argument
502 NRF_RADIO->PACKETPTR = (uint32_t)tx_packet; in radio_pkt_tx_set()