Lines Matching refs:FIFO_NUM
29 #define FIFO_NUM 3 macro
279 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()
1081 if ((ep_idx != 0) && (!in && ep_idx % FIFO_NUM != 2)) { in usb_dc_ep_check_cap()
1086 if ((ep_idx != 0) && (in && ep_idx % FIFO_NUM == 2)) { in usb_dc_ep_check_cap()
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()
1529 uint8_t ep_fifo = (ep_idx > 0) ? (ep_fifo_res[ep_idx % FIFO_NUM]) : 0; in usb_dc_ep_read_continue()