core.c (d4d9781d1dd04ff134e3d43383dfa9991f7c54c6) | core.c (44a8e3772f53a5337e74700fc166a3d4c3ef59a2) |
---|---|
1/* 2 * Broadcom specific AMBA 3 * Core ops 4 * 5 * Licensed under the GNU/GPL. See COPYING for details. 6 */ 7 8#include "bcma_private.h" | 1/* 2 * Broadcom specific AMBA 3 * Core ops 4 * 5 * Licensed under the GNU/GPL. See COPYING for details. 6 */ 7 8#include "bcma_private.h" |
9#include <linux/export.h> |
|
9#include <linux/bcma/bcma.h> 10 11bool bcma_core_is_enabled(struct bcma_device *core) 12{ 13 if ((bcma_aread32(core, BCMA_IOCTL) & (BCMA_IOCTL_CLK | BCMA_IOCTL_FGC)) 14 != BCMA_IOCTL_CLK) 15 return false; 16 if (bcma_aread32(core, BCMA_RESET_CTL) & BCMA_RESET_CTL_RESET) --- 110 unchanged lines hidden --- | 10#include <linux/bcma/bcma.h> 11 12bool bcma_core_is_enabled(struct bcma_device *core) 13{ 14 if ((bcma_aread32(core, BCMA_IOCTL) & (BCMA_IOCTL_CLK | BCMA_IOCTL_FGC)) 15 != BCMA_IOCTL_CLK) 16 return false; 17 if (bcma_aread32(core, BCMA_RESET_CTL) & BCMA_RESET_CTL_RESET) --- 110 unchanged lines hidden --- |