mips-cpc.h (5e2aa2ed08e2e280121dc7cf5609c87d464f12ef) | mips-cpc.h (15d45cce3a0e0716fa49c768f887c6406dfb91f7) |
---|---|
1/* 2 * Copyright (C) 2013 Imagination Technologies 3 * Author: Paul Burton <paul.burton@imgtec.com> 4 * 5 * This program is free software; you can redistribute it and/or modify it 6 * under the terms of the GNU General Public License as published by the 7 * Free Software Foundation; either version 2 of the License, or (at your 8 * option) any later version. --- 11 unchanged lines hidden (view full) --- 20/** 21 * mips_cpc_default_phys_base - retrieve the default physical base address of 22 * the CPC 23 * 24 * Returns the default physical base address of the Cluster Power Controller 25 * memory mapped registers. This is platform dependant & must therefore be 26 * implemented per-platform. 27 */ | 1/* 2 * Copyright (C) 2013 Imagination Technologies 3 * Author: Paul Burton <paul.burton@imgtec.com> 4 * 5 * This program is free software; you can redistribute it and/or modify it 6 * under the terms of the GNU General Public License as published by the 7 * Free Software Foundation; either version 2 of the License, or (at your 8 * option) any later version. --- 11 unchanged lines hidden (view full) --- 20/** 21 * mips_cpc_default_phys_base - retrieve the default physical base address of 22 * the CPC 23 * 24 * Returns the default physical base address of the Cluster Power Controller 25 * memory mapped registers. This is platform dependant & must therefore be 26 * implemented per-platform. 27 */ |
28extern phys_t mips_cpc_default_phys_base(void); | 28extern phys_addr_t mips_cpc_default_phys_base(void); |
29 30/** 31 * mips_cpc_phys_base - retrieve the physical base address of the CPC 32 * 33 * This function returns the physical base address of the Cluster Power 34 * Controller memory mapped registers, or 0 if no Cluster Power Controller 35 * is present. It may be overriden by individual platforms which determine 36 * this address in a different way. 37 */ | 29 30/** 31 * mips_cpc_phys_base - retrieve the physical base address of the CPC 32 * 33 * This function returns the physical base address of the Cluster Power 34 * Controller memory mapped registers, or 0 if no Cluster Power Controller 35 * is present. It may be overriden by individual platforms which determine 36 * this address in a different way. 37 */ |
38extern phys_t __weak mips_cpc_phys_base(void); | 38extern phys_addr_t __weak mips_cpc_phys_base(void); |
39 40/** 41 * mips_cpc_probe - probe for a Cluster Power Controller 42 * 43 * Attempt to detect the presence of a Cluster Power Controller. Returns 0 if 44 * a CPC is successfully detected, else -errno. 45 */ 46#ifdef CONFIG_MIPS_CPC --- 136 unchanged lines hidden --- | 39 40/** 41 * mips_cpc_probe - probe for a Cluster Power Controller 42 * 43 * Attempt to detect the presence of a Cluster Power Controller. Returns 0 if 44 * a CPC is successfully detected, else -errno. 45 */ 46#ifdef CONFIG_MIPS_CPC --- 136 unchanged lines hidden --- |