omap_type
if (omap_type() == OMAP2_DEVICE_TYPE_GP)
if (omap_type() == OMAP2_DEVICE_TYPE_GP)
if ((omap_type() != OMAP2_DEVICE_TYPE_GP)
(omap_type() == OMAP2430_REV_ES1_0))) {
if (omap_type() == OMAP3430_REV_ES1_0)
if (cpu_is_omap34xx() && (omap_type() != OMAP2_DEVICE_TYPE_GP))
if (soc_is_omap34xx() && (omap_type() != OMAP2_DEVICE_TYPE_GP))
return sprintf(buf, "%s\n", omap_types[omap_type()]);
EXPORT_SYMBOL(omap_type);
writel_relaxed((omap_type() != OMAP2_DEVICE_TYPE_GP) ? 1 : 0,
if (omap_type() == OMAP2_DEVICE_TYPE_GP || !soc_is_omap44xx())
if (soc_is_omap443x() && (omap_type() != OMAP2_DEVICE_TYPE_GP))
if (omap_type() == OMAP2_DEVICE_TYPE_GP || soc_is_am43xx())
if (omap_type() == OMAP2_DEVICE_TYPE_GP || soc_is_am43xx())
return omap_type() == OMAP2_DEVICE_TYPE_GP;
if (omap_type() != OMAP2_DEVICE_TYPE_GP) {
return omap_type() == OMAP2_DEVICE_TYPE_GP;
if (omap_type() != OMAP2_DEVICE_TYPE_GP) {
if (omap_type() != OMAP2_DEVICE_TYPE_GP)
else if (omap_type() != OMAP2_DEVICE_TYPE_GP)
if (omap_type() != OMAP2_DEVICE_TYPE_GP) {
(omap_type() == OMAP2_DEVICE_TYPE_EMU ||
omap_type() == OMAP2_DEVICE_TYPE_SEC) &&
(omap_type() == OMAP2_DEVICE_TYPE_EMU ||
omap_type() == OMAP2_DEVICE_TYPE_SEC) &&
if (omap_type() != OMAP2_DEVICE_TYPE_GP) {
int omap_type(void);
if (omap_type() == OMAP2_DEVICE_TYPE_GP) {
if ((omap_type() == OMAP2_DEVICE_TYPE_EMU) ||
(omap_type() == OMAP2_DEVICE_TYPE_SEC)) {