Home
last modified time | relevance | path

Searched refs:mb_ctx_tbl (Results 1 – 1 of 1) sorted by relevance

/Zephyr-latest/subsys/modbus/
Dmodbus_core.c61 static struct modbus_context mb_ctx_tbl[] = { variable
156 if (iface >= ARRAY_SIZE(mb_ctx_tbl)) { in modbus_get_context()
161 ctx = &mb_ctx_tbl[iface]; in modbus_get_context()
173 for (int i = 0; i < ARRAY_SIZE(mb_ctx_tbl); i++) { in modbus_iface_get_by_ctx()
174 if (&mb_ctx_tbl[i] == ctx) { in modbus_iface_get_by_ctx()
184 for (int i = 0; i < ARRAY_SIZE(mb_ctx_tbl); i++) { in modbus_iface_get_by_name()
185 if (strcmp(iface_name, mb_ctx_tbl[i].iface_name) == 0) { in modbus_iface_get_by_name()
197 if (iface >= ARRAY_SIZE(mb_ctx_tbl)) { in modbus_init_iface()
202 ctx = &mb_ctx_tbl[iface]; in modbus_init_iface()