Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/usb/gadget/udc/
Dnet2272.h476 net2272_reg_addr(struct net2272 *dev, unsigned int reg) in net2272_reg_addr() function
493 writeb((u8)reg, net2272_reg_addr(dev, REGADDRPTR)); in net2272_write()
494 writeb(value, net2272_reg_addr(dev, REGDATA)); in net2272_write()
497 writeb(value, net2272_reg_addr(dev, reg)); in net2272_write()
514 writeb((u8)reg, net2272_reg_addr(dev, REGADDRPTR)); in net2272_read()
515 ret = readb(net2272_reg_addr(dev, REGDATA)); in net2272_read()
518 ret = readb(net2272_reg_addr(dev, reg)); in net2272_read()
Dnet2272.c389 u16 __iomem *ep_data = net2272_reg_addr(ep->dev, EP_DATA); in net2272_write_packet()
497 u16 __iomem *ep_data = net2272_reg_addr(ep->dev, EP_DATA); in net2272_read_packet()
1824 writew(status, net2272_reg_addr(dev, EP_DATA)); in net2272_handle_stat0_irqs()
1838 writew(status, net2272_reg_addr(dev, EP_DATA)); in net2272_handle_stat0_irqs()
1849 writew(status, net2272_reg_addr(dev, EP_DATA)); in net2272_handle_stat0_irqs()