Lines Matching +full:primecell +full:- +full:periphid
1 /* SPDX-License-Identifier: GPL-2.0-only */
7 * region or that is derived from a PrimeCell.
31 * Class 0xF remains for PrimeCell and legacy components. (AMBA_CID above)
35 * Class 0x2-0x8,0xA and 0xD-0xD are presently reserved.
37 * Remaining CID bits stay as 0xb105-00d
44 * the amba_id->data pointer.
69 unsigned int periphid; member
112 #define amba_get_drvdata(d) dev_get_drvdata(&d->dev)
113 #define amba_set_drvdata(d,p) dev_set_drvdata(&d->dev, p)
128 return -EINVAL; in __amba_driver_register()
149 #define amba_config(d) AMBA_CONFIG_BITS((d)->periphid)
150 #define amba_rev(d) AMBA_REV_BITS((d)->periphid)
151 #define amba_manf(d) AMBA_MANF_BITS((d)->periphid)
152 #define amba_part(d) AMBA_PART_BITS((d)->periphid)
172 .periphid = id, \
183 .periphid = id, \
187 * module_amba_driver() - Helper macro for drivers that don't do anything
196 * builtin_amba_driver() - Helper macro for drivers that don't do anything