Searched refs:net2272_reg_addr (Results 1 – 2 of 2) sorted by relevance
/Linux-v5.4/drivers/usb/gadget/udc/ |
D | net2272.h | 476 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()
|
D | net2272.c | 389 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()
|