Home
last modified time | relevance | path

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

/openbmc/linux/drivers/net/dsa/
H A Dvitesse-vsc73xx-platform.c42 static u32 vsc73xx_make_addr(u8 block, u8 subblock, u8 reg) in vsc73xx_make_addr() function
64 offset = vsc73xx_make_addr(block, subblock, reg); in vsc73xx_platform_read()
82 offset = vsc73xx_make_addr(block, subblock, reg); in vsc73xx_platform_write()
H A Dvitesse-vsc73xx-spi.c40 static u8 vsc73xx_make_addr(u8 mode, u8 block, u8 subblock) in vsc73xx_make_addr() function
77 cmd[0] = vsc73xx_make_addr(VSC73XX_CMD_SPI_MODE_READ, block, subblock); in vsc73xx_spi_read()
119 cmd[0] = vsc73xx_make_addr(VSC73XX_CMD_SPI_MODE_WRITE, block, subblock); in vsc73xx_spi_write()