Searched refs:USB_IN_RING_BUF_SIZE (Results 1 – 1 of 1) sorted by relevance
50 #define USB_IN_RING_BUF_SIZE (USB_MONO_FRAME_SIZE * USB_ENQUEUE_COUNT) macro322 BUILD_ASSERT((USB_IN_RING_BUF_SIZE % USB_MONO_FRAME_SIZE) == 0);323 static int16_t usb_in_left_ring_buffer[USB_IN_RING_BUF_SIZE];324 static int16_t usb_in_right_ring_buffer[USB_IN_RING_BUF_SIZE];405 if (write_index == USB_IN_RING_BUF_SIZE) { in usb_data_received_cb()450 buffer_cnt = write_index + (USB_IN_RING_BUF_SIZE - read_idx); in bap_usb_can_get_full_sdu()457 buffer_cnt, USB_IN_RING_BUF_SIZE, retrieve_cnt); in bap_usb_can_get_full_sdu()481 if (idx >= USB_IN_RING_BUF_SIZE) { in usb_ring_buf_get()487 if ((idx + cnt) < USB_IN_RING_BUF_SIZE) { in usb_ring_buf_get()493 const size_t first_read_cnt = USB_IN_RING_BUF_SIZE - idx; in usb_ring_buf_get()