Searched refs:tx_packet (Results 1 – 5 of 5) sorted by relevance
22 static int transceive_packet(const struct device *dev, union r502a_packet *tx_packet, in transceive_packet() argument28 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 …]
26 void radio_pkt_tx_set(void *tx_packet);
759 void radio_pkt_tx_set(void *tx_packet) in radio_pkt_tx_set() argument766 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()
76 void radio_pkt_tx_set(void *tx_packet);
500 void radio_pkt_tx_set(void *tx_packet) in radio_pkt_tx_set() argument502 NRF_RADIO->PACKETPTR = (uint32_t)tx_packet; in radio_pkt_tx_set()