Lines Matching refs:txBuf
116 uint8_t txBuf[3], rxBuf[3]; in w25n_read_status_register() local
122 txBuf[0] = CMD_READ_STATUS; in w25n_read_status_register()
123 txBuf[1] = reg; in w25n_read_status_register()
124 cmd.tx_cmd = txBuf; in w25n_read_status_register()
151 uint8_t txBuf[4], rxBuf[4]; in w25n_set_page_address() local
155 txBuf[0] = CMD_PAGE_DATA_READ; in w25n_set_page_address()
156 txBuf[1] = 0; /* dummy */ in w25n_set_page_address()
157 txBuf[2] = (page_idx >> 8) & 0xff; in w25n_set_page_address()
158 txBuf[3] = (page_idx >> 0) & 0xff; in w25n_set_page_address()
159 cmd.tx_cmd = txBuf; in w25n_set_page_address()
172 uint8_t txBuf[8], rxBuf[8]; in w25n_get_device_ident() local
179 memset(txBuf, 0, sizeof(txBuf)); in w25n_get_device_ident()
182 txBuf[0] = CMD_READ_IDENT; in w25n_get_device_ident()
183 cmd.tx_cmd = &txBuf; in w25n_get_device_ident()
218 uint8_t txBuf[4], rxBuf[4]; in w25n_read() local
280 txBuf[0] = CMD_FAST_READ; in w25n_read()
281 txBuf[1] = 0; /* column address 15:8 */ in w25n_read()
282 txBuf[2] = 0; /* column address 7:0 */ in w25n_read()
283 txBuf[3] = 0; /* dummy byte */ in w25n_read()
286 cmd.tx_cmd = txBuf; in w25n_read()