Searched refs:pipenum (Results 1 – 2 of 2) sorted by relevance
/external/u-boot/drivers/usb/host/ |
D | r8a66597-hcd.c | 231 u16 pipenum, bufnum, maxpacket; in pipe_buffer_setting() local 234 pipenum = BULK_IN_PIPENUM; in pipe_buffer_setting() 238 pipenum = BULK_OUT_PIPENUM; in pipe_buffer_setting() 243 if (r8a66597->pipe_config & (1 << pipenum)) in pipe_buffer_setting() 245 r8a66597->pipe_config |= (1 << pipenum); in pipe_buffer_setting() 247 r8a66597_bset(r8a66597, ACLRM, get_pipectr_addr(pipenum)); in pipe_buffer_setting() 248 r8a66597_bclr(r8a66597, ACLRM, get_pipectr_addr(pipenum)); in pipe_buffer_setting() 249 r8a66597_write(r8a66597, pipenum, PIPESEL); in pipe_buffer_setting() 263 r8a66597_write(r8a66597, SQCLR, get_pipectr_addr(pipenum)); in pipe_buffer_setting() 370 const u16 pipenum = BULK_IN_PIPENUM; in receive_bulk_packet() local [all …]
|
D | r8a66597.h | 522 #define get_pipectr_addr(pipenum) (PIPE1CTR + (pipenum - 1) * 2) argument 523 #define get_pipetre_addr(pipenum) (PIPE1TRE + (pipenum - 1) * 4) argument 524 #define get_pipetrn_addr(pipenum) (PIPE1TRN + (pipenum - 1) * 4) argument
|