Lines Matching refs:dir_out
37 static void write_toggle(struct usb_device *dev, u8 ep, u8 dir_out) in write_toggle() argument
39 u16 toggle = usb_gettoggle(dev, ep, dir_out); in write_toggle()
42 if (dir_out) { in write_toggle()
79 static u8 check_stall(u8 ep, u8 dir_out) in check_stall() argument
92 if (dir_out) { /* is it tx ep */ in check_stall()
854 int dir_out = usb_pipeout(pipe); in submit_bulk_msg() local
870 if (dir_out) in submit_bulk_msg()
888 if (dir_out) { in submit_bulk_msg()
900 write_toggle(dev, ep, dir_out); in submit_bulk_msg()
902 if (dir_out) { /* bulk-out transfer */ in submit_bulk_msg()
926 usb_settoggle(dev, ep, dir_out, in submit_bulk_msg()
936 usb_settoggle(dev, ep, dir_out, in submit_bulk_msg()
940 write_toggle(dev, ep, dir_out); in submit_bulk_msg()
961 usb_settoggle(dev, ep, dir_out, in submit_bulk_msg()
982 usb_settoggle(dev, ep, dir_out, in submit_bulk_msg()
1061 int dir_out = usb_pipeout(pipe); in submit_int_msg() local
1077 if (dir_out) in submit_int_msg()
1095 if (dir_out) { in submit_int_msg()
1107 write_toggle(dev, ep, dir_out); in submit_int_msg()
1109 if (!dir_out) { /* intrrupt-in transfer */ in submit_int_msg()
1111 write_toggle(dev, ep, dir_out); in submit_int_msg()
1134 usb_settoggle(dev, ep, dir_out, in submit_int_msg()
1155 usb_settoggle(dev, ep, dir_out, in submit_int_msg()