Home
last modified time | relevance | path

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

/openbmc/libmctp/
H A Di2c-internal.h11 #ifndef MCTP_I2C_NEIGH_COUNT
12 #define MCTP_I2C_NEIGH_COUNT 4 macro
34 struct mctp_i2c_neigh neigh[MCTP_I2C_NEIGH_COUNT];
H A Di2c.c46 for (size_t i = 0; i < MCTP_I2C_NEIGH_COUNT; i++) { in mctp_i2c_neigh_get()
65 for (size_t i = 0; i < MCTP_I2C_NEIGH_COUNT; i++) { in mctp_i2c_neigh_add()
/openbmc/libmctp/tests/
H A Dtest_i2c.c160 for (size_t i = 0; i < MCTP_I2C_NEIGH_COUNT; i++) { in test_neigh_expiry()
172 assert((int)EID_B + MCTP_I2C_NEIGH_COUNT < 254); in test_neigh_expiry()
173 assert((int)I2C_ADDR_B + MCTP_I2C_NEIGH_COUNT < 0x7f); in test_neigh_expiry()
176 for (size_t i = 0; i < MCTP_I2C_NEIGH_COUNT - 1; i++) { in test_neigh_expiry()
185 for (size_t i = 0; i < MCTP_I2C_NEIGH_COUNT; i++) { in test_neigh_expiry()
193 rx_test->i2c->own_addr + MCTP_I2C_NEIGH_COUNT + 1; in test_neigh_expiry()
194 uint8_t eid = EID_B + MCTP_I2C_NEIGH_COUNT + 1; in test_neigh_expiry()