Searched refs:ep_fifo_res (Results 1 – 2 of 2) sorted by relevance
186 static const uint8_t ep_fifo_res[3] = {3, 1, 2}; variable279 uint8_t fifon_ctrl = (ep_fifo_res[ep_idx % FIFO_NUM] - 1) * 2; in it82xx2_usb_fifo_ctrl()347 uint8_t ep_fifo = (ep_idx > 0) ? (ep_fifo_res[ep_idx % FIFO_NUM]) : 0; in it82xx2_usb_extend_ep_ctrl()683 uint8_t ep_fifo = ep_fifo_res[ep_idx % FIFO_NUM]; in it82xx2_handler_in()785 uint8_t ep_fifo = (ep_idx > 0) ? (ep_fifo_res[ep_idx % FIFO_NUM]) : 0; in it82xx2_usb_fake_token()1199 uint8_t ep_fifo = ep_fifo_res[ep_idx % FIFO_NUM]; in usb_dc_ep_enable()1305 uint8_t ep_fifo = (ep_idx > 0) ? (ep_fifo_res[ep_idx % FIFO_NUM]) : 0; in usb_dc_ep_flush()1327 uint8_t ep_fifo = (ep_idx > 0) ? (ep_fifo_res[ep_idx % FIFO_NUM]) : 0; in usb_dc_ep_write()1390 uint8_t ep_fifo = (ep_idx > 0) ? (ep_fifo_res[ep_idx % FIFO_NUM]) : 0; in usb_dc_ep_read()1492 uint8_t ep_fifo = (ep_idx > 0) ? (ep_fifo_res[ep_idx % FIFO_NUM]) : 0; in usb_dc_ep_read_wait()[all …]
161 static const uint8_t ep_fifo_res[SHARED_FIFO_NUM] = {3, 1, 2}; variable194 uint8_t fifo_idx = (ep_idx > 0) ? (ep_fifo_res[ep_idx % SHARED_FIFO_NUM]) : 0; in it82xx2_usb_extend_ep_ctrl()430 uint8_t fifon_ctrl = (ep_fifo_res[ep_idx % SHARED_FIFO_NUM] - 1) * 2; in it82xx2_usb_fifo_ctrl()500 fifo_idx = ep_idx > 0 ? ep_fifo_res[ep_idx % SHARED_FIFO_NUM] : 0; in it82xx2_ep_dequeue()614 fifo_idx = ep_fifo_res[ep_idx % SHARED_FIFO_NUM]; in it82xx2_ep_enable()764 fifo_idx = ep_idx > 0 ? ep_fifo_res[ep_idx % SHARED_FIFO_NUM] : 0; in it82xx2_xfer_in_data()799 fifo_idx = ep_idx > 0 ? ep_fifo_res[ep_idx % SHARED_FIFO_NUM] : 0; in it82xx2_xfer_out_data()843 fifo_idx = ep_idx > 0 ? ep_fifo_res[ep_idx % SHARED_FIFO_NUM] : 0; in work_handler_xfer_continue()932 fifo_idx = ep_idx > 0 ? ep_fifo_res[ep_idx % SHARED_FIFO_NUM] : 0; in it82xx2_fake_token()982 fifo_idx = ep_fifo_res[USB_EP_GET_IDX(ep) % SHARED_FIFO_NUM]; in work_handler_in()[all …]