Home
last modified time | relevance | path

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

/openbmc/qemu/hw/pci/
H A Dshpc.c111 #define SHPC_SIZEOF(d) SHPC_SLOT_REG((d)->shpc->nslots) macro
191 memset(shpc->config, 0, SHPC_SIZEOF(d)); in shpc_reset()
400 if (addr >= SHPC_SIZEOF(d)) { in shpc_write()
403 l = MIN(l, SHPC_SIZEOF(d) - addr); in shpc_write()
423 if (addr >= SHPC_SIZEOF(d)) { in shpc_read()
426 l = MIN(l, SHPC_SIZEOF(d) - addr); in shpc_read()
622 shpc->config = g_malloc0(SHPC_SIZEOF(d)); in shpc_init()
623 shpc->cmask = g_malloc0(SHPC_SIZEOF(d)); in shpc_init()
624 shpc->wmask = g_malloc0(SHPC_SIZEOF(d)); in shpc_init()
625 shpc->w1cmask = g_malloc0(SHPC_SIZEOF(d)); in shpc_init()
[all …]