Searched refs:txBuf (Results 1 – 3 of 3) sorted by relevance
/freebsd/sys/dev/flash/ |
H A D | mx25l.c | 162 uint8_t txBuf[2], rxBuf[2]; in mx25l_wait_for_device_ready() local 169 txBuf[0] = CMD_READ_STATUS; in mx25l_wait_for_device_ready() 170 cmd.tx_cmd = txBuf; in mx25l_wait_for_device_ready() 183 uint8_t txBuf[8], rxBuf[8]; in mx25l_get_device_ident() local 190 memset(txBuf, 0, sizeof(txBuf)); in mx25l_get_device_ident() 193 txBuf[0] = CMD_READ_IDENT; in mx25l_get_device_ident() 194 cmd.tx_cmd = &txBuf; in mx25l_get_device_ident() 224 uint8_t txBuf[1], rxBuf[1]; in mx25l_set_writable() local 229 memset(txBuf, 0, sizeof(txBuf)); in mx25l_set_writable() 232 txBuf[0] = writable ? CMD_WRITE_ENABLE : CMD_WRITE_DISABLE; in mx25l_set_writable() [all …]
|
H A D | at45d.c | 168 uint8_t rxBuf[8], txBuf[8]; in at45d_get_status() local 173 memset(txBuf, 0, sizeof(txBuf)); in at45d_get_status() 176 txBuf[0] = STATUS_REGISTER_READ; in at45d_get_status() 177 cmd.tx_cmd = txBuf; in at45d_get_status() 188 uint8_t rxBuf[8], txBuf[8]; in at45d_get_mfg_info() local 193 memset(txBuf, 0, sizeof(txBuf)); in at45d_get_mfg_info() 196 txBuf[0] = MANUFACTURER_ID; in at45d_get_mfg_info() 197 cmd.tx_cmd = &txBuf; in at45d_get_mfg_info() 438 uint8_t rxBuf[8], txBuf[8]; in at45d_task() local 452 memset(txBuf, 0, sizeof(txBuf)); in at45d_task() [all …]
|
/freebsd/sys/dev/etherswitch/micrel/ |
H A D | ksz8995ma.c | 853 uint8_t txBuf[8], rxBuf[8]; in ksz8995ma_readreg() local 858 memset(txBuf, 0, sizeof(txBuf)); in ksz8995ma_readreg() 862 txBuf[0] = KSZ8995MA_SPI_READ; in ksz8995ma_readreg() 863 txBuf[1] = addr; in ksz8995ma_readreg() 864 cmd.tx_cmd = &txBuf; in ksz8995ma_readreg() 878 uint8_t txBuf[8], rxBuf[8]; in ksz8995ma_writereg() local 883 memset(txBuf, 0, sizeof(txBuf)); in ksz8995ma_writereg() 887 txBuf[0] = KSZ8995MA_SPI_WRITE; in ksz8995ma_writereg() 888 txBuf[1] = addr; in ksz8995ma_writereg() 889 txBuf[2] = value; in ksz8995ma_writereg() [all …]
|