static int rtas_write_config(struct device_node *dn, int where, int size, u32 val) 
int rtas_write_config(struct device_node *dn, int where, int size, u32 val) 
static int rtas_write_config(struct device_node *dn, int where, int size, u32 val){	unsigned long buid, addr;	int ret;	if (!dn)		return PCIBIOS_DEVICE_NOT_FOUND;	if (!config_access_valid(dn, where))		return PCIBIOS_BAD_REGISTER_NUMBER;	addr = ((where & 0xf00) << 20) | (dn->busno << 16) |		(dn->devfn << 8) | (where & 0xff);	buid = dn->phb->buid;	if (buid) {		ret = rtas_call(ibm_write_pci_config, 5, 1, NULL, addr, buid >> 32, buid & 0xffffffff, size, (ulong) val);	} else {		ret = rtas_call(write_pci_config, 3, 1, NULL, addr, size, (ulong)val);	}	if (ret)		return PCIBIOS_DEVICE_NOT_FOUND;	return PCIBIOS_SUCCESSFUL;}
10457	/local/tlutelli/issta_data/temp/c/2005_temp/2005/10457/1635317facea3094ddf34082cd86797efb1d9f7e/rtas_pci.c/clean/arch/ppc64/kernel/rtas_pci.c