Lines Matching refs:store_index
1084 uint8_t store_index = 0; in update_rx_sequential() local
1144 store_index = read_index + fill_level; in update_rx_sequential()
1156 if (store_index > s->cfg.rx0_fifo - 1) { in update_rx_sequential()
1157 store_index -= s->cfg.rx0_fifo - 1; in update_rx_sequential()
1161 (store_index * NUM_REGS_PER_MSG_SPACE); in update_rx_sequential()
1172 store_index = read_index + fill_level; in update_rx_sequential()
1184 if (store_index > s->cfg.rx1_fifo - 1) { in update_rx_sequential()
1185 store_index -= s->cfg.rx1_fifo - 1; in update_rx_sequential()
1189 (store_index * NUM_REGS_PER_MSG_SPACE); in update_rx_sequential()
1260 uint8_t store_index = fill_level + read_index; in tx_fifo_stamp() local
1277 if (store_index > s->cfg.tx_fifo - 1) { in tx_fifo_stamp()
1278 store_index -= s->cfg.tx_fifo - 1; in tx_fifo_stamp()
1281 assert(store_index < s->cfg.tx_fifo); in tx_fifo_stamp()
1284 (store_index * 2); in tx_fifo_stamp()