Lines Matching refs:tx_buf
58 u16 tx_buf = JBT_COMMAND | reg; in jbt_ret_write_0() local
60 rc = spi_write(ddata->spi_dev, (u8 *)&tx_buf, in jbt_ret_write_0()
72 u16 tx_buf[2]; in jbt_reg_write_1() local
74 tx_buf[0] = JBT_COMMAND | reg; in jbt_reg_write_1()
75 tx_buf[1] = JBT_DATA | data; in jbt_reg_write_1()
76 rc = spi_write(ddata->spi_dev, (u8 *)tx_buf, in jbt_reg_write_1()
88 u16 tx_buf[3]; in jbt_reg_write_2() local
90 tx_buf[0] = JBT_COMMAND | reg; in jbt_reg_write_2()
91 tx_buf[1] = JBT_DATA | (data >> 8); in jbt_reg_write_2()
92 tx_buf[2] = JBT_DATA | (data & 0xff); in jbt_reg_write_2()
94 rc = spi_write(ddata->spi_dev, (u8 *)tx_buf, in jbt_reg_write_2()