Searched refs:PIDEP (Results 1 – 2 of 2) sorted by relevance
155 sl811_write(SL811_PIDEP_B, PIDEP(USB_PID_SOF, 0)); in sl811_hc_reset()301 sl811_write(SL811_PIDEP_A, PIDEP(!dir_out ? USB_PID_IN : USB_PID_OUT, ep)); in submit_bulk_msg()339 sl811_write(SL811_PIDEP_A, PIDEP(USB_PID_SETUP, ep)); in submit_control_msg()349 PIDEP(dir_in ? USB_PID_IN : USB_PID_OUT, ep)); in submit_control_msg()367 PIDEP(!dir_in ? USB_PID_IN : USB_PID_OUT, ep)); in submit_control_msg()
102 #define PIDEP(pid, ep) (((pid) & 0x0f) << 4 | (ep)) macro