Home
last modified time | relevance | path

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

/openbmc/libmctp/
H A Dastlpc.c287 #define LPC_WIN_SIZE (1 * 1024 * 1024) macro
473 if (buf->offset + buf->size > LPC_WIN_SIZE) { in mctp_astlpc_buffer_validate()
477 name, (LPC_WIN_SIZE / (1024 * 1024)), buf->offset, in mctp_astlpc_buffer_validate()
542 sz = ((LPC_WIN_SIZE - control_size) / 2); in mctp_astlpc_init_bmc()
1404 astlpc->lpc_map = lpc_map_base + map.size - LPC_WIN_SIZE; in mctp_astlpc_init_fileio_lpc()
/openbmc/libmctp/tests/
H A Dtest_astlpc.c562 ctx.lpc_mem = calloc(1, LPC_WIN_SIZE); in astlpc_test_simple_indirect_message_bmc_to_host()
576 ctx.bmc.mmio.lpc_size = LPC_WIN_SIZE; in astlpc_test_simple_indirect_message_bmc_to_host()
588 ctx.host.mmio.lpc_size = LPC_WIN_SIZE; in astlpc_test_simple_indirect_message_bmc_to_host()
779 .rx = { LPC_WIN_SIZE - BUFFER_MIN + 1, BUFFER_MIN }, in astlpc_test_buffers_rx_window_violation()
790 .tx = { LPC_WIN_SIZE - BUFFER_MIN + 1, BUFFER_MIN }, in astlpc_test_buffers_tx_window_violation()