Lines Matching refs:TX
64 return num + ((dir == TX) ? 16 : 0); in hw_ep_bit()
130 (dir == TX) ? ENDPTCTRL_TXE : ENDPTCTRL_RXE, 0); in hw_ep_disable()
147 if (dir == TX) { in hw_ep_enable()
180 u32 mask = (dir == TX) ? ENDPTCTRL_TXS : ENDPTCTRL_RXS; in hw_ep_get_halt()
232 u32 mask_xs = (dir == TX) ? ENDPTCTRL_TXS : ENDPTCTRL_RXS; in hw_ep_set_halt()
233 u32 mask_xr = (dir == TX) ? ENDPTCTRL_TXR : ENDPTCTRL_RXR; in hw_ep_set_halt()
378 if (hwep->type == USB_ENDPOINT_XFER_ISOC && hwep->dir == TX) { in add_td_to_list()
424 return ((ep->dir == TX) ? USB_ENDPOINT_DIR_MASK : 0) | ep->num; in _usb_addr()
458 if (hwreq->req.zero && hwreq->req.length && hwep->dir == TX in prepare_td_for_non_sg()
690 ret = sglist_do_bounce(hwreq, ret, hwep->dir == TX, in _hardware_enqueue()
869 if (hwep->dir == TX) { in _hardware_dequeue()
961 if (value && hwep->dir == TX && check_transfer && in _ep_set_halt()
976 hwep->dir = (hwep->dir == TX) ? RX : TX; in _ep_set_halt()
1186 TX : RX; in isr_get_status_response()
1256 hwep = (ci->ep0_dir == TX) ? ci->ep0out : ci->ep0in; in isr_setup_status_phase()
1337 ci->ep0_dir = (type & USB_DIR_IN) ? TX : RX; in isr_setup_packet_handler()
1347 dir = (num & USB_ENDPOINT_DIR_MASK) ? TX : RX; in isr_setup_packet_handler()
1349 if (dir == TX) in isr_setup_packet_handler()
1399 dir = (num & USB_ENDPOINT_DIR_MASK) ? TX : RX; in isr_setup_packet_handler()
1401 if (dir == TX) in isr_setup_packet_handler()
1461 ci->ep0_dir = TX; in isr_setup_packet_handler()
1549 hwep->dir = usb_endpoint_dir_in(desc) ? TX : RX; in ep_enable()
1565 if (hwep->type == USB_ENDPOINT_XFER_ISOC && hwep->dir == TX) in ep_enable()
1619 hwep->dir = (hwep->dir == TX) ? RX : TX; in ep_disable()
2027 for (j = RX; j <= TX; j++) { in init_eps()
2032 (j == TX) ? "in" : "out"); in init_eps()
2049 if (j == TX) in init_eps()