Lines Matching refs:TX

63 	return num + ((dir == TX) ? 16 : 0);  in hw_ep_bit()
129 (dir == TX) ? ENDPTCTRL_TXE : ENDPTCTRL_RXE, 0); in hw_ep_disable()
146 if (dir == TX) { in hw_ep_enable()
179 u32 mask = (dir == TX) ? ENDPTCTRL_TXS : ENDPTCTRL_RXS; in hw_ep_get_halt()
231 u32 mask_xs = (dir == TX) ? ENDPTCTRL_TXS : ENDPTCTRL_RXS; in hw_ep_set_halt()
232 u32 mask_xr = (dir == TX) ? ENDPTCTRL_TXR : ENDPTCTRL_RXR; in hw_ep_set_halt()
377 if (hwep->type == USB_ENDPOINT_XFER_ISOC && hwep->dir == TX) { in add_td_to_list()
423 return ((ep->dir == TX) ? USB_ENDPOINT_DIR_MASK : 0) | ep->num; in _usb_addr()
457 if (hwreq->req.zero && hwreq->req.length && hwep->dir == TX in prepare_td_for_non_sg()
716 if (hwep->dir == TX) { in _hardware_dequeue()
804 if (value && hwep->dir == TX && check_transfer && in _ep_set_halt()
819 hwep->dir = (hwep->dir == TX) ? RX : TX; in _ep_set_halt()
1023 TX : RX; in isr_get_status_response()
1093 hwep = (ci->ep0_dir == TX) ? ci->ep0out : ci->ep0in; in isr_setup_status_phase()
1174 ci->ep0_dir = (type & USB_DIR_IN) ? TX : RX; in isr_setup_packet_handler()
1184 dir = (num & USB_ENDPOINT_DIR_MASK) ? TX : RX; in isr_setup_packet_handler()
1186 if (dir == TX) in isr_setup_packet_handler()
1236 dir = (num & USB_ENDPOINT_DIR_MASK) ? TX : RX; in isr_setup_packet_handler()
1238 if (dir == TX) in isr_setup_packet_handler()
1298 ci->ep0_dir = TX; in isr_setup_packet_handler()
1386 hwep->dir = usb_endpoint_dir_in(desc) ? TX : RX; in ep_enable()
1402 if (hwep->type == USB_ENDPOINT_XFER_ISOC && hwep->dir == TX) in ep_enable()
1456 hwep->dir = (hwep->dir == TX) ? RX : TX; in ep_disable()
1856 for (j = RX; j <= TX; j++) { in init_eps()
1861 (j == TX) ? "in" : "out"); in init_eps()
1878 if (j == TX) in init_eps()