Home
last modified time | relevance | path

Searched refs:net2272_reg_addr (Results 1 – 2 of 2) sorted by relevance

/kernel/linux/linux-5.10/drivers/usb/gadget/udc/
Dnet2272.h472 net2272_reg_addr(struct net2272 *dev, unsigned int reg) in net2272_reg_addr() function
489 writeb((u8)reg, net2272_reg_addr(dev, REGADDRPTR)); in net2272_write()
490 writeb(value, net2272_reg_addr(dev, REGDATA)); in net2272_write()
493 writeb(value, net2272_reg_addr(dev, reg)); in net2272_write()
510 writeb((u8)reg, net2272_reg_addr(dev, REGADDRPTR)); in net2272_read()
511 ret = readb(net2272_reg_addr(dev, REGDATA)); in net2272_read()
514 ret = readb(net2272_reg_addr(dev, reg)); in net2272_read()
Dnet2272.c388 u16 __iomem *ep_data = net2272_reg_addr(ep->dev, EP_DATA); in net2272_write_packet()
496 u16 __iomem *ep_data = net2272_reg_addr(ep->dev, EP_DATA); in net2272_read_packet()
1823 writew(status, net2272_reg_addr(dev, EP_DATA)); in net2272_handle_stat0_irqs()
1837 writew(status, net2272_reg_addr(dev, EP_DATA)); in net2272_handle_stat0_irqs()
1848 writew(status, net2272_reg_addr(dev, EP_DATA)); in net2272_handle_stat0_irqs()