• Home
  • Raw
  • Download

Lines Matching refs:epcfgreg

266 	u32 epcfgreg;  in xudc_wrstatus()  local
268 epcfgreg = udc->read_fn(udc->addr + ep0->offset)| in xudc_wrstatus()
270 udc->write_fn(udc->addr, ep0->offset, epcfgreg); in xudc_wrstatus()
285 u32 epcfgreg; in xudc_epconfig() local
291 epcfgreg = ((ep->is_in << 29) | (ep->is_iso << 28) | in xudc_epconfig()
293 udc->write_fn(udc->addr, ep->offset, epcfgreg); in xudc_epconfig()
756 u32 epcfgreg; in xudc_ep_set_halt() local
778 epcfgreg = udc->read_fn(udc->addr + ep->offset); in xudc_ep_set_halt()
779 epcfgreg |= XUSB_EP_CFG_STALL_MASK; in xudc_ep_set_halt()
780 udc->write_fn(udc->addr, ep->offset, epcfgreg); in xudc_ep_set_halt()
783 epcfgreg = udc->read_fn(udc->addr + ep->offset); in xudc_ep_set_halt()
784 epcfgreg &= ~XUSB_EP_CFG_STALL_MASK; in xudc_ep_set_halt()
785 udc->write_fn(udc->addr, ep->offset, epcfgreg); in xudc_ep_set_halt()
788 epcfgreg = udc->read_fn(ep->udc->addr + ep->offset); in xudc_ep_set_halt()
789 epcfgreg &= ~XUSB_EP_CFG_DATA_TOGGLE_MASK; in xudc_ep_set_halt()
790 udc->write_fn(udc->addr, ep->offset, epcfgreg); in xudc_ep_set_halt()
1451 u32 epcfgreg; in xudc_clear_stall_all_ep() local
1456 epcfgreg = udc->read_fn(udc->addr + ep->offset); in xudc_clear_stall_all_ep()
1457 epcfgreg &= ~XUSB_EP_CFG_STALL_MASK; in xudc_clear_stall_all_ep()
1458 udc->write_fn(udc->addr, ep->offset, epcfgreg); in xudc_clear_stall_all_ep()
1461 epcfgreg = udc->read_fn(udc->addr + ep->offset); in xudc_clear_stall_all_ep()
1462 epcfgreg &= ~XUSB_EP_CFG_DATA_TOGGLE_MASK; in xudc_clear_stall_all_ep()
1463 udc->write_fn(udc->addr, ep->offset, epcfgreg); in xudc_clear_stall_all_ep()
1568 u32 epcfgreg; in xudc_ep0_stall() local
1571 epcfgreg = udc->read_fn(udc->addr + ep0->offset); in xudc_ep0_stall()
1572 epcfgreg |= XUSB_EP_CFG_STALL_MASK; in xudc_ep0_stall()
1573 udc->write_fn(udc->addr, ep0->offset, epcfgreg); in xudc_ep0_stall()
1609 u32 epcfgreg; in xudc_getstatus() local
1626 epcfgreg = udc->read_fn(udc->addr + target_ep->offset); in xudc_getstatus()
1627 halt = epcfgreg & XUSB_EP_CFG_STALL_MASK; in xudc_getstatus()
1665 u32 epcfgreg; in xudc_set_clear_feature() local
1701 epcfgreg = udc->read_fn(udc->addr + target_ep->offset); in xudc_set_clear_feature()
1704 epcfgreg &= ~XUSB_EP_CFG_STALL_MASK; in xudc_set_clear_feature()
1706 target_ep->offset, epcfgreg); in xudc_set_clear_feature()
1709 epcfgreg |= XUSB_EP_CFG_STALL_MASK; in xudc_set_clear_feature()
1712 epcfgreg); in xudc_set_clear_feature()
1715 epcfgreg &= ~(XUSB_EP_CFG_STALL_MASK | in xudc_set_clear_feature()
1719 epcfgreg); in xudc_set_clear_feature()
1865 u32 epcfgreg; in xudc_ep0_in() local
1903 epcfgreg = udc->read_fn(udc->addr + ep0->offset); in xudc_ep0_in()
1904 epcfgreg |= XUSB_EP_CFG_DATA_TOGGLE_MASK; in xudc_ep0_in()
1905 udc->write_fn(udc->addr, ep0->offset, epcfgreg); in xudc_ep0_in()