Searched refs:dir_ix (Results 1 – 2 of 2) sorted by relevance
329 uint8_t dir_ix = USB_EP_DIR_IS_OUT(ep) ? 0 : 1; in try_allocate_dma() local331 if (atomic_ptr_cas(&data->dma_ep[dir_ix], NULL, ep_state)) { in try_allocate_dma()332 if (dir_ix == 0) { in try_allocate_dma()
412 uint8_t dir_ix = dir == USB_EP_DIR_OUT ? 0 : 1; in try_allocate_dma() local414 if (atomic_ptr_cas(&dev_state.dma_ep[dir_ix], NULL, ep_state)) { in try_allocate_dma()