Searched refs:cmdReg (Results 1 – 2 of 2) sorted by relevance
838 unsigned char cmdReg; in shutdown() local871 cmdReg = readb(&icom_port->dram->CmdReg); in shutdown()872 if (cmdReg & CMD_SND_BREAK) { in shutdown()873 writeb(cmdReg & ~CMD_SND_BREAK, &icom_port->dram->CmdReg); in shutdown()881 unsigned char cmdReg; in icom_write() local914 cmdReg = readb(&icom_port->dram->CmdReg); in icom_write()915 writeb(cmdReg | CMD_XMIT_RCV_ENABLE, in icom_write()1247 unsigned char cmdReg; in icom_stop_tx() local1250 cmdReg = readb(&icom_port->dram->CmdReg); in icom_stop_tx()1251 writeb(cmdReg | CMD_HOLD_XMIT, &icom_port->dram->CmdReg); in icom_stop_tx()[all …]
265 void writefifo(const uint8_t cmdReg, const uint8_t val) in writefifo() argument 267 // Based on the spec, writing cmdReg to address val on this device, will in writefifo() 269 std::vector<uint8_t> writeData = {cmdReg, val}; in writefifo()