• Home
  • Raw
  • Download

Lines Matching refs:send_data

21 	u8 send_data[6];  in cxd2880_io_spi_read_reg()  local
33 send_data[0] = 0x0b; in cxd2880_io_spi_read_reg()
35 send_data[0] = 0x0a; in cxd2880_io_spi_read_reg()
37 send_data[3] = 0; in cxd2880_io_spi_read_reg()
38 send_data[4] = 0; in cxd2880_io_spi_read_reg()
39 send_data[5] = 0; in cxd2880_io_spi_read_reg()
42 send_data[1] = sub_address; in cxd2880_io_spi_read_reg()
44 send_data[2] = 255; in cxd2880_io_spi_read_reg()
46 send_data[2] = size; in cxd2880_io_spi_read_reg()
49 spi->write_read(spi, send_data, sizeof(send_data), in cxd2880_io_spi_read_reg()
50 read_data_top, send_data[2]); in cxd2880_io_spi_read_reg()
54 sub_address += send_data[2]; in cxd2880_io_spi_read_reg()
55 read_data_top += send_data[2]; in cxd2880_io_spi_read_reg()
56 size -= send_data[2]; in cxd2880_io_spi_read_reg()
69 u8 send_data[BURST_WRITE_MAX + 4]; in cxd2880_io_spi_write_reg() local
84 send_data[0] = 0x0f; in cxd2880_io_spi_write_reg()
86 send_data[0] = 0x0e; in cxd2880_io_spi_write_reg()
89 send_data[1] = sub_address; in cxd2880_io_spi_write_reg()
91 send_data[2] = 255; in cxd2880_io_spi_write_reg()
93 send_data[2] = size; in cxd2880_io_spi_write_reg()
95 memcpy(&send_data[3], write_data_top, send_data[2]); in cxd2880_io_spi_write_reg()
98 send_data[3 + send_data[2]] = 0x00; in cxd2880_io_spi_write_reg()
99 ret = spi->write(spi, send_data, send_data[2] + 4); in cxd2880_io_spi_write_reg()
101 ret = spi->write(spi, send_data, send_data[2] + 3); in cxd2880_io_spi_write_reg()
106 sub_address += send_data[2]; in cxd2880_io_spi_write_reg()
107 write_data_top += send_data[2]; in cxd2880_io_spi_write_reg()
108 size -= send_data[2]; in cxd2880_io_spi_write_reg()