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()
715 if (hwep->dir == TX) { in _hardware_dequeue()
803 if (value && hwep->dir == TX && check_transfer && in _ep_set_halt()
818 hwep->dir = (hwep->dir == TX) ? RX : TX; in _ep_set_halt()
1016 TX : RX; in isr_get_status_response()
1086 hwep = (ci->ep0_dir == TX) ? ci->ep0out : ci->ep0in; in isr_setup_status_phase()
1167 ci->ep0_dir = (type & USB_DIR_IN) ? TX : RX; in isr_setup_packet_handler()
1177 dir = (num & USB_ENDPOINT_DIR_MASK) ? TX : RX; in isr_setup_packet_handler()
1179 if (dir == TX) in isr_setup_packet_handler()
1229 dir = (num & USB_ENDPOINT_DIR_MASK) ? TX : RX; in isr_setup_packet_handler()
1231 if (dir == TX) in isr_setup_packet_handler()
1291 ci->ep0_dir = TX; in isr_setup_packet_handler()
1379 hwep->dir = usb_endpoint_dir_in(desc) ? TX : RX; in ep_enable()
1395 if (hwep->type == USB_ENDPOINT_XFER_ISOC && hwep->dir == TX) in ep_enable()
1449 hwep->dir = (hwep->dir == TX) ? RX : TX; in ep_disable()
1828 for (j = RX; j <= TX; j++) { in init_eps()
1833 (j == TX) ? "in" : "out"); in init_eps()
1850 if (j == TX) in init_eps()