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.c112 #define SHPC_SIZEOF(d) SHPC_SLOT_REG((d)->shpc->nslots) macro
220 memset(shpc->config, 0, SHPC_SIZEOF(d)); in shpc_reset()
446 if (addr >= SHPC_SIZEOF(d)) { in shpc_write()
449 l = MIN(l, SHPC_SIZEOF(d) - addr); in shpc_write()
469 if (addr >= SHPC_SIZEOF(d)) { in shpc_read()
472 l = MIN(l, SHPC_SIZEOF(d) - addr); in shpc_read()
668 shpc->config = g_malloc0(SHPC_SIZEOF(d)); in shpc_init()
669 shpc->cmask = g_malloc0(SHPC_SIZEOF(d)); in shpc_init()
670 shpc->wmask = g_malloc0(SHPC_SIZEOF(d)); in shpc_init()
671 shpc->w1cmask = g_malloc0(SHPC_SIZEOF(d)); in shpc_init()
[all …]