Home
last modified time | relevance | path

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

/openbmc/linux/drivers/macintosh/
H A Dmediabay.c155 MB_BIS(bay, KEYLARGO_MBCR, KL_MBCR_MB0_ENABLE); in keylargo_mb_content()
156 (void)MB_IN32(bay, KEYLARGO_MBCR); in keylargo_mb_content()
158 MB_BIC(bay, KEYLARGO_MBCR, 0x0000000F); in keylargo_mb_content()
159 (void)MB_IN32(bay, KEYLARGO_MBCR); in keylargo_mb_content()
163 return (MB_IN32(bay, KEYLARGO_MBCR) >> 4) & 7; in keylargo_mb_content()
218 MB_BIC(bay, KEYLARGO_MBCR, KL_MBCR_MB0_DEV_MASK); in keylargo_mb_power()
221 MB_BIS(bay, KEYLARGO_MBCR, KL_MBCR_MB0_DEV_POWER); in keylargo_mb_power()
222 MB_BIS(bay, KEYLARGO_MBCR, KL_MBCR_MB0_DEV_RESET); in keylargo_mb_power()
225 MB_BIC(bay, KEYLARGO_MBCR, 0x0000000F); in keylargo_mb_power()
304 MB_BIS(bay, KEYLARGO_MBCR, KL_MBCR_MB0_ENABLE); in keylargo_mb_init()
[all …]
/openbmc/linux/arch/powerpc/include/asm/
H A Dkeylargo.h17 #define KEYLARGO_MBCR 0x34 /* KL Only, Media bay control/status */ macro
/openbmc/linux/arch/powerpc/platforms/powermac/
H A Dfeature.c1566 MACIO_BIC(KEYLARGO_MBCR, KL_MBCR_MB0_DEV_MASK); in keylargo_shutdown()
1567 MACIO_BIS(KEYLARGO_MBCR, KL_MBCR_MB0_IDE_ENABLE); in keylargo_shutdown()
1710 save_mbcr = MACIO_IN32(KEYLARGO_MBCR); in core99_sleep()
1781 MACIO_OUT32(KEYLARGO_MBCR, save_mbcr); in core99_wake_up()
1782 (void)MACIO_IN32(KEYLARGO_MBCR); udelay(10); in core99_wake_up()