/linux-2.6.39/drivers/usb/gadget/ |
D | mv_udc_core.c | 33 #define ep_dir(ep) (((ep)->ep_num == 0) ? \ 245 dqh = &(udc->ep_dqh[ep->ep_num * 2 + direction]); in queue_dtd() 246 bit_pos = 1 << (((direction == EP_DIR_OUT) ? 0 : 16) + ep->ep_num); in queue_dtd() 507 bit_pos = 1 << ((direction == EP_DIR_OUT ? 0 : 16) + ep->ep_num); in mv_ep_enable() 515 (unsigned)ep->ep_num, direction ? "SEND" : "RECV", in mv_ep_enable() 555 epctrlx = readl(&udc->op_regs->epctrlx[ep->ep_num]); in mv_ep_enable() 567 writel(epctrlx, &udc->op_regs->epctrlx[ep->ep_num]); in mv_ep_enable() 573 epctrlx = readl(&udc->op_regs->epctrlx[ep->ep_num]); in mv_ep_enable() 577 writel(epctrlx, &udc->op_regs->epctrlx[ep->ep_num]); in mv_ep_enable() 580 epctrlx = readl(&udc->op_regs->epctrlx[ep->ep_num]); in mv_ep_enable() [all …]
|
D | fsl_udc_core.c | 311 static void dr_ep_setup(unsigned char ep_num, unsigned char dir, in dr_ep_setup() argument 316 tmp_epctrl = fsl_readl(&dr_regs->endptctrl[ep_num]); in dr_ep_setup() 318 if (ep_num) in dr_ep_setup() 324 if (ep_num) in dr_ep_setup() 331 fsl_writel(tmp_epctrl, &dr_regs->endptctrl[ep_num]); in dr_ep_setup() 335 dr_ep_change_stall(unsigned char ep_num, unsigned char dir, int value) in dr_ep_change_stall() argument 339 tmp_epctrl = fsl_readl(&dr_regs->endptctrl[ep_num]); in dr_ep_change_stall() 357 fsl_writel(tmp_epctrl, &dr_regs->endptctrl[ep_num]); in dr_ep_change_stall() 362 static int dr_ep_get_stall(unsigned char ep_num, unsigned char dir) in dr_ep_get_stall() argument 366 epctrl = fsl_readl(&dr_regs->endptctrl[ep_num]); in dr_ep_get_stall() [all …]
|
D | langwell_udc.c | 175 #define is_in(ep) (((ep)->ep_num == 0) ? ((ep)->dev->ep0_dir == \ 197 static void ep_reset(struct langwell_ep *ep, unsigned char ep_num, in ep_reset() argument 206 endptctrl = readl(&dev->op_regs->endptctrl[ep_num]); in ep_reset() 208 if (ep_num) in ep_reset() 213 if (ep_num) in ep_reset() 219 writel(endptctrl, &dev->op_regs->endptctrl[ep_num]); in ep_reset() 361 ep->ep_num = usb_endpoint_num(desc); in langwell_ep_enable() 367 ep_reset(ep, ep->ep_num, is_in(ep), ep->ep_type); in langwell_ep_enable() 370 i = ep->ep_num * 2 + is_in(ep); in langwell_ep_enable() 380 ep->ep_num, in langwell_ep_enable() [all …]
|
D | langwell_udc.h | 134 ep_num:8; member
|
D | mv_udc.h | 219 ep_num:8; member
|
D | pch_udc.c | 1998 static void pch_udc_svc_data_in(struct pch_udc_dev *dev, int ep_num) in pch_udc_svc_data_in() argument 2003 ep = &dev->ep[UDC_EPIN_IDX(ep_num)]; in pch_udc_svc_data_in() 2042 static void pch_udc_svc_data_out(struct pch_udc_dev *dev, int ep_num) in pch_udc_svc_data_out() argument 2048 ep = &dev->ep[UDC_EPOUT_IDX(ep_num)]; in pch_udc_svc_data_out() 2218 static void pch_udc_postsvc_epinters(struct pch_udc_dev *dev, int ep_num) in pch_udc_postsvc_epinters() argument 2223 ep = &dev->ep[UDC_EPIN_IDX(ep_num)]; in pch_udc_postsvc_epinters()
|
D | s3c2410_udc.c | 580 u8 ep_num = crq->wIndex & 0x7F; in s3c2410_udc_get_status() local 592 if (ep_num > 4 || crq->wLength > 2) in s3c2410_udc_get_status() 595 if (ep_num == 0) { in s3c2410_udc_get_status() 600 udc_write(ep_num, S3C2410_UDC_INDEX_REG); in s3c2410_udc_get_status()
|
/linux-2.6.39/drivers/net/wireless/rtlwifi/ |
D | usb.h | 71 u32 ep_num; member 76 u32 ep_num) in _rtl_install_trx_info() argument 80 info->rate_driver_data[1] = (void *)(__kernel_size_t)ep_num; in _rtl_install_trx_info()
|
D | usb.c | 281 u32 ep_num = rtlusb->ep_map.ep_mapping[i]; in _rtl_usb_init_tx() local 282 if (!ep_num) { in _rtl_usb_init_tx() 796 struct sk_buff *skb, u32 ep_num) in _rtl_usb_tx_urb_setup() argument 810 _rtl_install_trx_info(rtlusb, skb, ep_num); in _rtl_usb_tx_urb_setup() 812 ep_num), skb->data, skb->len, _rtl_tx_complete, skb); in _rtl_usb_tx_urb_setup() 822 u32 ep_num; in _rtl_usb_transmit() local 835 ep_num = rtlusb->ep_map.ep_mapping[qnum]; in _rtl_usb_transmit() 836 skb_list = &rtlusb->tx_skb_queue[ep_num]; in _rtl_usb_transmit() 838 _urb = _rtl_usb_tx_urb_setup(hw, _skb, ep_num); in _rtl_usb_transmit() 844 urb_list = &rtlusb->tx_pending[ep_num]; in _rtl_usb_transmit()
|
/linux-2.6.39/drivers/usb/c67x00/ |
D | c67x00.h | 181 #define CY_UDC_REQ_HEADER_ADDR(ep_num) (CY_UDC_REQ_HEADER_BASE + \ argument 182 ((ep_num) * CY_UDC_REQ_HEADER_SIZE)) 188 #define CY_UDC_REQ_BUFFER_ADDR(ep_num) (CY_UDC_REQ_BUFFER_BASE + \ argument 189 ((ep_num) * CY_UDC_REQ_BUFFER_SIZE))
|
/linux-2.6.39/drivers/staging/westbridge/astoria/gadget/ |
D | cyasgadget.h | 110 int ep_num; member
|
/linux-2.6.39/drivers/usb/musb/ |
D | musb_core.c | 1574 int ep_num; in musb_interrupt() local 1611 ep_num = 1; in musb_interrupt() 1619 musb_host_rx(musb, ep_num); in musb_interrupt() 1622 musb_g_rx(musb, ep_num); in musb_interrupt() 1627 ep_num++; in musb_interrupt() 1632 ep_num = 1; in musb_interrupt() 1640 musb_host_tx(musb, ep_num); in musb_interrupt() 1643 musb_g_tx(musb, ep_num); in musb_interrupt() 1647 ep_num++; in musb_interrupt()
|