Lines Matching defs:addr
26 static int w5100_spi_read(struct net_device *ndev, u32 addr) in w5100_spi_read()
38 static int w5100_spi_write(struct net_device *ndev, u32 addr, u8 data) in w5100_spi_write()
46 static int w5100_spi_read16(struct net_device *ndev, u32 addr) in w5100_spi_read16()
60 static int w5100_spi_write16(struct net_device *ndev, u32 addr, u16 data) in w5100_spi_write16()
71 static int w5100_spi_readbulk(struct net_device *ndev, u32 addr, u8 *buf, in w5100_spi_readbulk()
87 static int w5100_spi_writebulk(struct net_device *ndev, u32 addr, const u8 *buf, in w5100_spi_writebulk()
139 static int w5200_spi_read(struct net_device *ndev, u32 addr) in w5200_spi_read()
151 static int w5200_spi_write(struct net_device *ndev, u32 addr, u8 data) in w5200_spi_write()
159 static int w5200_spi_read16(struct net_device *ndev, u32 addr) in w5200_spi_read16()
171 static int w5200_spi_write16(struct net_device *ndev, u32 addr, u16 data) in w5200_spi_write16()
183 static int w5200_spi_readbulk(struct net_device *ndev, u32 addr, u8 *buf, in w5200_spi_readbulk()
213 static int w5200_spi_writebulk(struct net_device *ndev, u32 addr, const u8 *buf, in w5200_spi_writebulk()
255 #define W5500_SPI_BLOCK_SELECT(addr) (((addr) >> 16) & 0x1f) argument
256 #define W5500_SPI_READ_CONTROL(addr) (W5500_SPI_BLOCK_SELECT(addr) << 3) argument
257 #define W5500_SPI_WRITE_CONTROL(addr) \ argument
284 static int w5500_spi_read(struct net_device *ndev, u32 addr) in w5500_spi_read()
300 static int w5500_spi_write(struct net_device *ndev, u32 addr, u8 data) in w5500_spi_write()
313 static int w5500_spi_read16(struct net_device *ndev, u32 addr) in w5500_spi_read16()
329 static int w5500_spi_write16(struct net_device *ndev, u32 addr, u16 data) in w5500_spi_write16()
343 static int w5500_spi_readbulk(struct net_device *ndev, u32 addr, u8 *buf, in w5500_spi_readbulk()
372 static int w5500_spi_writebulk(struct net_device *ndev, u32 addr, const u8 *buf, in w5500_spi_writebulk()