Home
last modified time | relevance | path

Searched refs:read_idx (Results 1 – 2 of 2) sorted by relevance

/Zephyr-latest/subsys/bluetooth/audio/shell/
Dbap_usb.c348 size_t read_idx; in stream_cb() local
352 read_idx = MIN(sh_stream->tx.left_read_idx, sh_stream->tx.right_read_idx); in stream_cb()
354 read_idx = sh_stream->tx.left_read_idx; in stream_cb()
356 read_idx = sh_stream->tx.right_read_idx; in stream_cb()
365 if (read_idx > old_write_index) { in stream_cb()
366 if (read_idx < write_index || (overflowed && read_idx < write_index)) { in stream_cb()
432 size_t read_idx; in bap_usb_can_get_full_sdu() local
437 read_idx = MIN(sh_stream->tx.left_read_idx, sh_stream->tx.right_read_idx); in bap_usb_can_get_full_sdu()
439 read_idx = sh_stream->tx.left_read_idx; in bap_usb_can_get_full_sdu()
441 read_idx = sh_stream->tx.right_read_idx; in bap_usb_can_get_full_sdu()
[all …]
/Zephyr-latest/arch/xtensa/core/
Dmpu.c346 uint8_t read_idx = XTENSA_MPU_NUM_ENTRIES - 1; in consolidate_entries() local
350 while (read_idx >= first_enabled_idx) { in consolidate_entries()
351 struct xtensa_mpu_entry *entry_rd = &entries[read_idx]; in consolidate_entries()
363 read_idx--; in consolidate_entries()