* Return the PMU instance, or NULL if no PMU. */
| 88 | * Return the PMU instance, or NULL if no PMU. |
| 89 | */ |
| 90 | static struct bhnd_pmu_query * |
| 91 | bcm_get_pmu(struct bcm_platform *bp) |
| 92 | { |
| 93 | if (!bcm_has_pmu(bp)) |
| 94 | return (NULL); |
| 95 | return (&bp->pmu); |
| 96 | } |
| 97 | |
| 98 | /** |
| 99 | * Return true if a PMU is available, false otherwise. |
no test coverage detected