Lines Matching defs:ctx
32 static void modbus_serial_tx_on(struct modbus_context *ctx) in modbus_serial_tx_on()
43 static void modbus_serial_tx_off(struct modbus_context *ctx) in modbus_serial_tx_off()
53 static void modbus_serial_rx_on(struct modbus_context *ctx) in modbus_serial_rx_on()
64 static void modbus_serial_rx_off(struct modbus_context *ctx) in modbus_serial_rx_off()
99 static int modbus_ascii_rx_adu(struct modbus_context *ctx) in modbus_ascii_rx_adu()
185 static void modbus_ascii_tx_adu(struct modbus_context *ctx) in modbus_ascii_tx_adu()
232 static int modbus_ascii_rx_adu(struct modbus_context *ctx) in modbus_ascii_rx_adu()
237 static void modbus_ascii_tx_adu(struct modbus_context *ctx) in modbus_ascii_tx_adu()
243 static int modbus_rtu_rx_adu(struct modbus_context *ctx) in modbus_rtu_rx_adu()
280 static void rtu_tx_adu(struct modbus_context *ctx) in rtu_tx_adu()
311 static void cb_handler_rx(struct modbus_context *ctx) in cb_handler_rx()
361 static void cb_handler_tx(struct modbus_context *ctx) in cb_handler_tx()
388 struct modbus_context *ctx = (struct modbus_context *)app_data; in uart_cb_handler() local
410 struct modbus_context *ctx; in rtu_tmr_handler() local
422 static int configure_gpio(struct modbus_context *ctx) in configure_gpio()
450 static inline int configure_uart(struct modbus_context *ctx, in configure_uart()
502 void modbus_serial_rx_disable(struct modbus_context *ctx) in modbus_serial_rx_disable()
507 void modbus_serial_rx_enable(struct modbus_context *ctx) in modbus_serial_rx_enable()
512 int modbus_serial_rx_adu(struct modbus_context *ctx) in modbus_serial_rx_adu()
539 int modbus_serial_tx_adu(struct modbus_context *ctx) in modbus_serial_tx_adu()
557 int modbus_serial_init(struct modbus_context *ctx, in modbus_serial_init()
608 void modbus_serial_disable(struct modbus_context *ctx) in modbus_serial_disable()