Lines Matching refs:TX

61 	return num + ((dir == TX) ? 16 : 0);  in hw_ep_bit()
127 (dir == TX) ? ENDPTCTRL_TXE : ENDPTCTRL_RXE, 0); in hw_ep_disable()
144 if (dir == TX) { in hw_ep_enable()
177 u32 mask = (dir == TX) ? ENDPTCTRL_TXS : ENDPTCTRL_RXS; in hw_ep_get_halt()
229 u32 mask_xs = (dir == TX) ? ENDPTCTRL_TXS : ENDPTCTRL_RXS; in hw_ep_set_halt()
230 u32 mask_xr = (dir == TX) ? ENDPTCTRL_TXR : ENDPTCTRL_RXR; in hw_ep_set_halt()
375 if (hwep->type == USB_ENDPOINT_XFER_ISOC && hwep->dir == TX) { in add_td_to_list()
421 return ((ep->dir == TX) ? USB_ENDPOINT_DIR_MASK : 0) | ep->num; in _usb_addr()
455 if (hwreq->req.zero && hwreq->req.length && hwep->dir == TX in prepare_td_for_non_sg()
707 if (hwep->dir == TX) { in _hardware_dequeue()
795 if (value && hwep->dir == TX && check_transfer && in _ep_set_halt()
810 hwep->dir = (hwep->dir == TX) ? RX : TX; in _ep_set_halt()
1008 TX : RX; in isr_get_status_response()
1075 hwep = (ci->ep0_dir == TX) ? ci->ep0out : ci->ep0in; in isr_setup_status_phase()
1156 ci->ep0_dir = (type & USB_DIR_IN) ? TX : RX; in isr_setup_packet_handler()
1166 dir = (num & USB_ENDPOINT_DIR_MASK) ? TX : RX; in isr_setup_packet_handler()
1168 if (dir == TX) in isr_setup_packet_handler()
1218 dir = (num & USB_ENDPOINT_DIR_MASK) ? TX : RX; in isr_setup_packet_handler()
1220 if (dir == TX) in isr_setup_packet_handler()
1280 ci->ep0_dir = TX; in isr_setup_packet_handler()
1368 hwep->dir = usb_endpoint_dir_in(desc) ? TX : RX; in ep_enable()
1384 if (hwep->type == USB_ENDPOINT_XFER_ISOC && hwep->dir == TX) in ep_enable()
1438 hwep->dir = (hwep->dir == TX) ? RX : TX; in ep_disable()
1817 for (j = RX; j <= TX; j++) { in init_eps()
1822 (j == TX) ? "in" : "out"); in init_eps()
1839 if (j == TX) in init_eps()