• Home
  • Raw
  • Download

Lines Matching refs:command

87 	u8			command[4];  member
155 u8 *command; in dataflash_erase() local
170 x.tx_buf = command = priv->command; in dataflash_erase()
187 command[0] = do_block ? OP_ERASE_BLOCK : OP_ERASE_PAGE; in dataflash_erase()
188 command[1] = (u8)(pageaddr >> 16); in dataflash_erase()
189 command[2] = (u8)(pageaddr >> 8); in dataflash_erase()
190 command[3] = 0; in dataflash_erase()
194 command[0], command[1], command[2], command[3], in dataflash_erase()
236 u8 *command; in dataflash_read() local
246 command = priv->command; in dataflash_read()
249 command[0], command[1], command[2], command[3]); in dataflash_read()
253 x[0].tx_buf = command; in dataflash_read()
267 command[0] = OP_READ_CONTINUOUS; in dataflash_read()
268 command[1] = (u8)(addr >> 16); in dataflash_read()
269 command[2] = (u8)(addr >> 8); in dataflash_read()
270 command[3] = (u8)(addr >> 0); in dataflash_read()
304 u8 *command; in dataflash_write() local
311 x[0].tx_buf = command = priv->command; in dataflash_write()
347 command[0] = OP_TRANSFER_BUF1; in dataflash_write()
348 command[1] = (addr & 0x00FF0000) >> 16; in dataflash_write()
349 command[2] = (addr & 0x0000FF00) >> 8; in dataflash_write()
350 command[3] = 0; in dataflash_write()
353 command[0], command[1], command[2], command[3]); in dataflash_write()
365 command[0] = OP_PROGRAM_VIA_BUF1; in dataflash_write()
366 command[1] = (addr & 0x00FF0000) >> 16; in dataflash_write()
367 command[2] = (addr & 0x0000FF00) >> 8; in dataflash_write()
368 command[3] = (addr & 0x000000FF); in dataflash_write()
371 command[0], command[1], command[2], command[3]); in dataflash_write()
389 command[0] = OP_COMPARE_BUF1; in dataflash_write()
390 command[1] = (addr & 0x00FF0000) >> 16; in dataflash_write()
391 command[2] = (addr & 0x0000FF00) >> 8; in dataflash_write()
392 command[3] = 0; in dataflash_write()
395 command[0], command[1], command[2], command[3]); in dataflash_write()