Home
last modified time | relevance | path

Searched refs:ep_reg (Results 1 – 3 of 3) sorted by relevance

/openbmc/u-boot/drivers/usb/gadget/
H A Daspeed_usbtty.c127 #define ast_ep_read(ep_reg, reg) \ argument
128 __raw_readl((ep_reg) + (reg))
129 #define ast_ep_write(ep_reg, val, reg) \ argument
130 __raw_writel((u32)val, (ep_reg) + (reg))
143 u32 ep_reg; in udc_stall_ep() local
150 ast_ep_write(ep_reg, ast_ep_read(ep_reg, AST_EP_CONFIG) | in udc_stall_ep()
164 u32 ep_reg, length; in udc_endpoint_write() local
190 ast_ep_write(ep_reg, data, AST_EP_DMA_BUFF); in udc_endpoint_write()
212 u32 ep_reg; in aspeed_udc_ep_handle() local
573 u32 ep_reg; in udc_setup_ep() local
[all …]
/openbmc/linux/drivers/usb/gadget/udc/
H A Daspeed_udc.c183 void __iomem *ep_reg; member
275 readl((ep)->ep_reg + (reg))
277 writel((val), (ep)->ep_reg + (reg))
1382 ep->ep_reg = udc->reg + AST_UDC_EP_BASE + in ast_udc_init_ep()
/openbmc/linux/drivers/net/wireless/ralink/rt2x00/
H A Drt2800lib.c3431 u8 rfcsr, ep_reg; in rt2800_config_channel_rf55xx() local
3513 ep_reg = 0x2; in rt2800_config_channel_rf55xx()
3618 ep_reg = 0x3; in rt2800_config_channel_rf55xx()
3627 rt2x00_set_field8(&rfcsr, RFCSR49_EP, ep_reg); in rt2800_config_channel_rf55xx()
3636 rt2x00_set_field8(&rfcsr, RFCSR50_EP, ep_reg); in rt2800_config_channel_rf55xx()