Home
last modified time | relevance | path

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

/Zephyr-Core-3.5.0/subsys/lorawan/services/
Dclock_sync.c92 uint8_t tx_pos = 0; in clock_sync_package_callback() local
100 if (sizeof(tx_buf) - tx_pos < MAX_CLOCK_SYNC_ANS_LEN) { in clock_sync_package_callback()
107 tx_buf[tx_pos++] = CLOCK_SYNC_CMD_PKG_VERSION; in clock_sync_package_callback()
108 tx_buf[tx_pos++] = LORAWAN_PACKAGE_ID_CLOCK_SYNC; in clock_sync_package_callback()
109 tx_buf[tx_pos++] = CLOCK_SYNC_PACKAGE_VERSION; in clock_sync_package_callback()
142 tx_buf[tx_pos++] = CLOCK_SYNC_CMD_DEVICE_APP_TIME_PERIODICITY; in clock_sync_package_callback()
143 tx_buf[tx_pos++] = 0x00; /* Status: OK */ in clock_sync_package_callback()
145 tx_pos += clock_sync_serialize_device_time(tx_buf + tx_pos, in clock_sync_package_callback()
146 sizeof(tx_buf) - tx_pos); in clock_sync_package_callback()
167 if (tx_pos > 0) { in clock_sync_package_callback()
[all …]
/Zephyr-Core-3.5.0/drivers/ethernet/
Deth_stellaris.c45 if (dev_data->tx_pos != 0) { in eth_stellaris_flush()
47 dev_data->tx_pos = 0; in eth_stellaris_flush()
56 dev_data->tx_word |= byte << (dev_data->tx_pos * 8); in eth_stellaris_send_byte()
57 dev_data->tx_pos++; in eth_stellaris_send_byte()
58 if (dev_data->tx_pos == 4) { in eth_stellaris_send_byte()
60 dev_data->tx_pos = 0; in eth_stellaris_send_byte()
342 .tx_pos = 0,
Deth_stellaris_priv.h55 int tx_pos; member