Searched refs:comset (Results 1 – 3 of 3) sorted by relevance
438 cmd.comset.address = buf[pos++]; in pd_decode_command()439 cmd.comset.baud_rate = buf[pos++]; in pd_decode_command()440 cmd.comset.baud_rate |= buf[pos++] << 8; in pd_decode_command()441 cmd.comset.baud_rate |= buf[pos++] << 16; in pd_decode_command()442 cmd.comset.baud_rate |= buf[pos++] << 24; in pd_decode_command()443 if (cmd.comset.address >= 0x7F || in pd_decode_command()444 (cmd.comset.baud_rate != 9600 && in pd_decode_command()445 cmd.comset.baud_rate != 19200 && in pd_decode_command()446 cmd.comset.baud_rate != 38400 && in pd_decode_command()447 cmd.comset.baud_rate != 115200 && in pd_decode_command()[all …]
260 buf[len++] = cmd->comset.address; in cp_build_command()261 buf[len++] = BYTE_0(cmd->comset.baud_rate); in cp_build_command()262 buf[len++] = BYTE_1(cmd->comset.baud_rate); in cp_build_command()263 buf[len++] = BYTE_2(cmd->comset.baud_rate); in cp_build_command()264 buf[len++] = BYTE_3(cmd->comset.baud_rate); in cp_build_command()
269 struct osdp_cmd_comset comset; /**< Comset command structure */ member