Searched refs:net2272_reg_addr (Results 1 – 2 of 2) sorted by relevance
/linux-5.19.10/drivers/usb/gadget/udc/ |
D | net2272.h | 473 net2272_reg_addr(struct net2272 *dev, unsigned int reg) in net2272_reg_addr() function 490 writeb((u8)reg, net2272_reg_addr(dev, REGADDRPTR)); in net2272_write() 491 writeb(value, net2272_reg_addr(dev, REGDATA)); in net2272_write() 494 writeb(value, net2272_reg_addr(dev, reg)); in net2272_write() 511 writeb((u8)reg, net2272_reg_addr(dev, REGADDRPTR)); in net2272_read() 512 ret = readb(net2272_reg_addr(dev, REGDATA)); in net2272_read() 515 ret = readb(net2272_reg_addr(dev, reg)); in net2272_read()
|
D | net2272.c | 388 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() 1836 writew(status, net2272_reg_addr(dev, EP_DATA)); in net2272_handle_stat0_irqs() 1850 writew(status, net2272_reg_addr(dev, EP_DATA)); in net2272_handle_stat0_irqs() 1861 writew(status, net2272_reg_addr(dev, EP_DATA)); in net2272_handle_stat0_irqs()
|