Lines Matching refs:tx_buf
69 u16 tx_buf = JBT_COMMAND | reg; in jbt_ret_write_0() local
71 rc = spi_write(ddata->spi_dev, (u8 *)&tx_buf, in jbt_ret_write_0()
83 u16 tx_buf[2]; in jbt_reg_write_1() local
85 tx_buf[0] = JBT_COMMAND | reg; in jbt_reg_write_1()
86 tx_buf[1] = JBT_DATA | data; in jbt_reg_write_1()
87 rc = spi_write(ddata->spi_dev, (u8 *)tx_buf, in jbt_reg_write_1()
99 u16 tx_buf[3]; in jbt_reg_write_2() local
101 tx_buf[0] = JBT_COMMAND | reg; in jbt_reg_write_2()
102 tx_buf[1] = JBT_DATA | (data >> 8); in jbt_reg_write_2()
103 tx_buf[2] = JBT_DATA | (data & 0xff); in jbt_reg_write_2()
105 rc = spi_write(ddata->spi_dev, (u8 *)tx_buf, in jbt_reg_write_2()