Searched refs:pipenum (Results 1 – 2 of 2) sorted by relevance
/external/u-boot/drivers/usb/host/ |
D | r8a66597.h | 415 #define check_bulk_or_isoc(pipenum) ((pipenum >= 1 && pipenum <= 5)) argument 416 #define check_interrupt(pipenum) ((pipenum >= 6 && pipenum <= 9)) argument 568 #define get_pipectr_addr(pipenum) (PIPE1CTR + (pipenum - 1) * 2) argument 569 #define get_pipetre_addr(pipenum) (PIPE1TRE + (pipenum - 1) * 4) argument 570 #define get_pipetrn_addr(pipenum) (PIPE1TRN + (pipenum - 1) * 4) argument
|
D | r8a66597-hcd.c | 254 u16 pipenum, bufnum, maxpacket; in pipe_buffer_setting() local 257 pipenum = BULK_IN_PIPENUM; in pipe_buffer_setting() 261 pipenum = BULK_OUT_PIPENUM; in pipe_buffer_setting() 266 if (r8a66597->pipe_config & (1 << pipenum)) in pipe_buffer_setting() 268 r8a66597->pipe_config |= (1 << pipenum); in pipe_buffer_setting() 270 r8a66597_bset(r8a66597, ACLRM, get_pipectr_addr(pipenum)); in pipe_buffer_setting() 271 r8a66597_bclr(r8a66597, ACLRM, get_pipectr_addr(pipenum)); in pipe_buffer_setting() 272 r8a66597_write(r8a66597, pipenum, PIPESEL); in pipe_buffer_setting() 286 r8a66597_write(r8a66597, SQCLR, get_pipectr_addr(pipenum)); in pipe_buffer_setting() 397 const u16 pipenum = BULK_IN_PIPENUM; in receive_bulk_packet() local [all …]
|