Home
last modified time | relevance | path

Searched refs:ar7_is_titan (Results 1 – 3 of 3) sorted by relevance

/openbmc/linux/arch/mips/include/asm/mach-ar7/
H A Dar7.h107 static inline int ar7_is_titan(void) in ar7_is_titan() function
115 return ar7_is_titan() ? AR7_CHIP_TITAN : (readl((void *) in ar7_chip_id()
128 return (readl((void *)KSEG1ADDR(AR7_REGS_GPIO + (ar7_is_titan() ? 0x24 : in ar7_chip_rev()
/openbmc/linux/arch/mips/ar7/
H A Dgpio.c165 return ar7_is_titan() ? ar7_gpio_enable_titan(gpio) : in ar7_gpio_enable()
192 return ar7_is_titan() ? ar7_gpio_disable_titan(gpio) : in ar7_gpio_disable()
303 if (!ar7_is_titan()) { in ar7_gpio_init()
328 if (ar7_is_titan()) in ar7_gpio_init()
H A Dplatform.c656 if (ar7_is_titan()) in ar7_register_devices()