Lines Matching refs:cmd
58 u8 cmd[4]; in vsc73xx_spi_read() local
69 t[0].tx_buf = cmd; in vsc73xx_spi_read()
70 t[0].len = sizeof(cmd); in vsc73xx_spi_read()
77 cmd[0] = vsc73xx_make_addr(VSC73XX_CMD_SPI_MODE_READ, block, subblock); in vsc73xx_spi_read()
78 cmd[1] = reg; in vsc73xx_spi_read()
79 cmd[2] = 0; in vsc73xx_spi_read()
80 cmd[3] = 0; in vsc73xx_spi_read()
100 u8 cmd[2]; in vsc73xx_spi_write() local
111 t[0].tx_buf = cmd; in vsc73xx_spi_write()
112 t[0].len = sizeof(cmd); in vsc73xx_spi_write()
119 cmd[0] = vsc73xx_make_addr(VSC73XX_CMD_SPI_MODE_WRITE, block, subblock); in vsc73xx_spi_write()
120 cmd[1] = reg; in vsc73xx_spi_write()