Lines Matching refs:tx_buf
70 u16 tx_buf = JBT_COMMAND | reg; in jbt_ret_write_0() local
72 rc = spi_write(ddata->spi_dev, (u8 *)&tx_buf, in jbt_ret_write_0()
84 u16 tx_buf[2]; in jbt_reg_write_1() local
86 tx_buf[0] = JBT_COMMAND | reg; in jbt_reg_write_1()
87 tx_buf[1] = JBT_DATA | data; in jbt_reg_write_1()
88 rc = spi_write(ddata->spi_dev, (u8 *)tx_buf, in jbt_reg_write_1()
100 u16 tx_buf[3]; in jbt_reg_write_2() local
102 tx_buf[0] = JBT_COMMAND | reg; in jbt_reg_write_2()
103 tx_buf[1] = JBT_DATA | (data >> 8); in jbt_reg_write_2()
104 tx_buf[2] = JBT_DATA | (data & 0xff); in jbt_reg_write_2()
106 rc = spi_write(ddata->spi_dev, (u8 *)tx_buf, in jbt_reg_write_2()