Home
last modified time | relevance | path

Searched refs:epctrl (Results 1 – 4 of 4) sorted by relevance

/linux-2.6.39/drivers/usb/gadget/
Dfsl_udc_core.c364 u32 epctrl; in dr_ep_get_stall() local
366 epctrl = fsl_readl(&dr_regs->endptctrl[ep_num]); in dr_ep_get_stall()
368 return (epctrl & EPCTRL_TX_EP_STALL) ? 1 : 0; in dr_ep_get_stall()
370 return (epctrl & EPCTRL_RX_EP_STALL) ? 1 : 0; in dr_ep_get_stall()
537 u32 epctrl; in fsl_ep_disable() local
548 epctrl = fsl_readl(&dr_regs->endptctrl[ep_num]); in fsl_ep_disable()
550 epctrl &= ~EPCTRL_TX_ENABLE; in fsl_ep_disable()
552 epctrl &= ~EPCTRL_RX_ENABLE; in fsl_ep_disable()
553 fsl_writel(epctrl, &dr_regs->endptctrl[ep_num]); in fsl_ep_disable()
841 u32 epctrl; in fsl_ep_dequeue() local
[all …]
Ds3c-hsotg.c2235 u32 epctrl; in s3c_hsotg_ep_enable() local
2259 epctrl = readl(hsotg->regs + epctrl_reg); in s3c_hsotg_ep_enable()
2262 __func__, epctrl, epctrl_reg); in s3c_hsotg_ep_enable()
2266 epctrl &= ~(S3C_DxEPCTL_EPType_MASK | S3C_DxEPCTL_MPS_MASK); in s3c_hsotg_ep_enable()
2267 epctrl |= S3C_DxEPCTL_MPS(mps); in s3c_hsotg_ep_enable()
2271 epctrl |= S3C_DxEPCTL_USBActEp; in s3c_hsotg_ep_enable()
2279 epctrl |= S3C_DxEPCTL_SNAK; in s3c_hsotg_ep_enable()
2294 epctrl |= S3C_DxEPCTL_EPType_Bulk; in s3c_hsotg_ep_enable()
2305 epctrl |= S3C_DxEPCTL_TxFNum(index); in s3c_hsotg_ep_enable()
2308 epctrl |= S3C_DxEPCTL_EPType_Intterupt; in s3c_hsotg_ep_enable()
[all …]
Datmel_usba_udc.c1360 u32 epctrl; in usba_control_irq() local
1364 epctrl = usba_ep_readl(ep, CTL); in usba_control_irq()
1367 ep->ep.name, ep->state, epstatus, epctrl); in usba_control_irq()
1374 if ((epctrl & USBA_TX_PK_RDY) && !(epstatus & USBA_TX_PK_RDY)) { in usba_control_irq()
1386 if ((epstatus & epctrl) & USBA_TX_COMPLETE) { in usba_control_irq()
1427 if ((epstatus & epctrl) & USBA_RX_BK_RDY) { in usba_control_irq()
1548 u32 epctrl; in usba_ep_irq() local
1551 epctrl = usba_ep_readl(ep, CTL); in usba_ep_irq()
1555 while ((epctrl & USBA_TX_PK_RDY) && !(epstatus & USBA_TX_PK_RDY)) { in usba_ep_irq()
1589 epctrl = usba_ep_readl(ep, CTL); in usba_ep_irq()
[all …]
/linux-2.6.39/drivers/usb/class/
Dcdc-acm.c938 struct usb_endpoint_descriptor *epctrl = NULL; in acm_probe() local
1074 epctrl = ep; in acm_probe()
1082 if (!epctrl || !epread || !epwrite) in acm_probe()
1120 epctrl = &control_interface->cur_altsetting->endpoint[0].desc; in acm_probe()
1150 ctrlsize = le16_to_cpu(epctrl->wMaxPacketSize); in acm_probe()
1275 usb_rcvintpipe(usb_dev, epctrl->bEndpointAddress), in acm_probe()
1278 epctrl->bInterval ? epctrl->bInterval : 0xff); in acm_probe()