Searched refs:astlpc (Results 1 – 9 of 9) sorted by relevance
/libmctp-latest/ |
D | astlpc.c | 294 static inline int mctp_astlpc_kcs_write(struct mctp_binding_astlpc *astlpc, in mctp_astlpc_kcs_write() argument 298 return astlpc->ops.kcs_write(astlpc->ops_data, reg, val); in mctp_astlpc_kcs_write() 301 static inline int mctp_astlpc_kcs_read(struct mctp_binding_astlpc *astlpc, in mctp_astlpc_kcs_read() argument 305 return astlpc->ops.kcs_read(astlpc->ops_data, reg, val); in mctp_astlpc_kcs_read() 308 static inline int mctp_astlpc_lpc_write(struct mctp_binding_astlpc *astlpc, in mctp_astlpc_lpc_write() argument 312 astlpc_prdebug(astlpc, "%s: %zu bytes to 0x%lx", __func__, len, offset); in mctp_astlpc_lpc_write() 317 if (astlpc->ops.lpc_write) { in mctp_astlpc_lpc_write() 318 void *data = astlpc->ops_data; in mctp_astlpc_lpc_write() 320 return astlpc->ops.lpc_write(data, buf, offset, len); in mctp_astlpc_lpc_write() 324 assert(astlpc->lpc_map); in mctp_astlpc_lpc_write() [all …]
|
D | libmctp-astlpc.h | 40 void mctp_astlpc_destroy(struct mctp_binding_astlpc *astlpc); 44 bool mctp_astlpc_tx_done(struct mctp_binding_astlpc *astlpc); 45 int mctp_astlpc_poll(struct mctp_binding_astlpc *astlpc); 51 int mctp_astlpc_init_pollfd(struct mctp_binding_astlpc *astlpc,
|
D | Makefile.am | 15 libmctp_la_SOURCES += astlpc.c crc32.c 16 include_HEADERS += libmctp-astlpc.h
|
D | CMakeLists.txt | 25 add_library (mctp STATIC alloc.c astlpc.c crc32.c core.c log.c libmctp.h serial.c crc-16-ccitt.c) 47 add_test (NAME astlpc COMMAND test_astlpc)
|
D | Makefile.inc | 3 LIBMCTP_BINDINGS ?= serial astlpc
|
/libmctp-latest/tests/ |
D | test_astlpc.c | 38 struct mctp_binding_astlpc astlpc; member 49 struct mctp_binding_astlpc *astlpc; member 64 container_of(b, struct mctp_binding_astlpc_mmio, astlpc) 188 ep->astlpc = mctp_astlpc_init(mode, mtu, lpc_mem, in endpoint_init() 190 assert(ep->astlpc); in endpoint_init() 192 return mctp_register_bus(ep->mctp, &ep->astlpc->binding, eid); in endpoint_init() 197 mctp_astlpc_destroy(ep->astlpc); in endpoint_destroy() 220 mctp_astlpc_poll(ctx->bmc.astlpc); in network_init() 226 mctp_astlpc_poll(ctx->host.astlpc); in network_init() 239 const size_t tx_body = src->astlpc->layout.tx.offset + 4 + 4; in astlpc_assert_tx_packet() [all …]
|
/libmctp-latest/utils/ |
D | mctp-astlpc-daemon.c | 54 struct mctp_binding_astlpc *astlpc; in main() local 62 astlpc = mctp_astlpc_init_fileio(); in main() 63 assert(astlpc); in main() 65 mctp_astlpc_register_bus(astlpc, mctp, local_eid); in main() 80 mctp_astlpc_init_pollfd(astlpc, &pollfds[1]); in main() 97 rc = mctp_astlpc_poll(astlpc); in main() 103 rc = mctp_astlpc_poll(astlpc); in main()
|
D | mctp-demux-daemon.c | 213 struct mctp_binding_astlpc *astlpc; in binding_astlpc_init() local 223 astlpc = mctp_astlpc_init_fileio(path); in binding_astlpc_init() 224 if (!astlpc) { in binding_astlpc_init() 229 mctp_register_bus(mctp, mctp_binding_astlpc_core(astlpc), eid); in binding_astlpc_init() 231 binding->data = astlpc; in binding_astlpc_init() 237 struct mctp_binding_astlpc *astlpc = binding->data; in binding_astlpc_destroy() local 239 mctp_unregister_bus(mctp, mctp_binding_astlpc_core(astlpc)); in binding_astlpc_destroy() 241 mctp_astlpc_destroy(astlpc); in binding_astlpc_destroy()
|
/libmctp-latest/docs/bindings/ |
D | vendor-ibm-astlpc.md | 444 - The astlpc binding found in [libmctp][libmctp]
|