Lines Matching refs:presp
111 uint8_t *presp; in mbs_fc01_coil_read() local
148 presp = &ctx->tx_adu.data[1]; in mbs_fc01_coil_read()
149 memset(presp, 0, num_bytes); in mbs_fc01_coil_read()
152 presp = &ctx->tx_adu.data[1]; in mbs_fc01_coil_read()
169 *presp |= bit_mask; in mbs_fc01_coil_read()
180 presp++; in mbs_fc01_coil_read()
210 uint8_t *presp; in mbs_fc02_di_read() local
247 presp = &ctx->tx_adu.data[1]; in mbs_fc02_di_read()
249 *presp++ = 0x00; in mbs_fc02_di_read()
253 presp = &ctx->tx_adu.data[1]; in mbs_fc02_di_read()
270 *presp |= bit_mask; in mbs_fc02_di_read()
281 presp++; in mbs_fc02_di_read()
311 uint8_t *presp; in mbs_fc03_hreg_read() local
362 presp = &ctx->tx_adu.data[1]; in mbs_fc03_hreg_read()
371 sys_put_be16(reg, presp); in mbs_fc03_hreg_read()
372 presp += sizeof(uint16_t); in mbs_fc03_hreg_read()
386 sys_put_be32(reg, presp); in mbs_fc03_hreg_read()
387 presp += sizeof(uint32_t); in mbs_fc03_hreg_read()
423 uint8_t *presp; in mbs_fc04_inreg_read() local
474 presp = &ctx->tx_adu.data[1]; in mbs_fc04_inreg_read()
483 sys_put_be16(reg, presp); in mbs_fc04_inreg_read()
484 presp += sizeof(uint16_t); in mbs_fc04_inreg_read()
498 sys_put_be32(reg, presp); in mbs_fc04_inreg_read()
499 presp += sizeof(uint32_t); in mbs_fc04_inreg_read()