PCI_CFG_SPACE_EXP_SIZE
cfgres.end |= BIT(28) + (((PCI_CFG_SPACE_EXP_SIZE - 1) & 0xf00) << 16);
dev->cfg_size = PCI_CFG_SPACE_EXP_SIZE;
if (dfl_res_off + (dfl_cnt * sizeof(u32)) > PCI_CFG_SPACE_EXP_SIZE) {
unsigned char virtual_cfg_space[PCI_CFG_SPACE_EXP_SIZE];
info->cfg_space_size = PCI_CFG_SPACE_EXP_SIZE;
mem = kzalloc(PCI_CFG_SPACE_EXP_SIZE, GFP_KERNEL);
for (i = 0; i < PCI_CFG_SPACE_EXP_SIZE; i += 4)
if (where < PCI_CFG_SPACE_EXP_SIZE && priv->cfg1_base)
return PCI_CFG_SPACE_EXP_SIZE;
__ttl = (PCI_CFG_SPACE_EXP_SIZE - PCI_CFG_SPACE_SIZE) / 8; \
pos < PCI_CFG_SPACE_EXP_SIZE; pos += PCI_CFG_SPACE_SIZE) {
return PCI_CFG_SPACE_EXP_SIZE;
return PCI_CFG_SPACE_EXP_SIZE;
pdev->cfg_size = PCI_CFG_SPACE_EXP_SIZE;