Lines Matching refs:cc
664 #define bcma_cc_read32(cc, offset) \ argument
665 bcma_read32((cc)->core, offset)
666 #define bcma_cc_write32(cc, offset, val) \ argument
667 bcma_write32((cc)->core, offset, val)
669 #define bcma_cc_mask32(cc, offset, mask) \ argument
670 bcma_cc_write32(cc, offset, bcma_cc_read32(cc, offset) & (mask))
671 #define bcma_cc_set32(cc, offset, set) \ argument
672 bcma_cc_write32(cc, offset, bcma_cc_read32(cc, offset) | (set))
673 #define bcma_cc_maskset32(cc, offset, mask, set) \ argument
674 bcma_cc_write32(cc, offset, (bcma_cc_read32(cc, offset) & (mask)) | (set))
677 #define bcma_pmu_read32(cc, offset) \ argument
678 bcma_read32((cc)->pmu.core, offset)
679 #define bcma_pmu_write32(cc, offset, val) \ argument
680 bcma_write32((cc)->pmu.core, offset, val)
682 #define bcma_pmu_mask32(cc, offset, mask) \ argument
683 bcma_pmu_write32(cc, offset, bcma_pmu_read32(cc, offset) & (mask))
684 #define bcma_pmu_set32(cc, offset, set) \ argument
685 bcma_pmu_write32(cc, offset, bcma_pmu_read32(cc, offset) | (set))
686 #define bcma_pmu_maskset32(cc, offset, mask, set) \ argument
687 bcma_pmu_write32(cc, offset, (bcma_pmu_read32(cc, offset) & (mask)) | (set))
689 extern u32 bcma_chipco_watchdog_timer_set(struct bcma_drv_cc *cc, u32 ticks);
691 extern u32 bcma_chipco_get_alp_clock(struct bcma_drv_cc *cc);
693 void bcma_chipco_irq_mask(struct bcma_drv_cc *cc, u32 mask, u32 value);
695 u32 bcma_chipco_irq_status(struct bcma_drv_cc *cc, u32 mask);
698 u32 bcma_chipco_gpio_in(struct bcma_drv_cc *cc, u32 mask);
699 u32 bcma_chipco_gpio_out(struct bcma_drv_cc *cc, u32 mask, u32 value);
700 u32 bcma_chipco_gpio_outen(struct bcma_drv_cc *cc, u32 mask, u32 value);
701 u32 bcma_chipco_gpio_control(struct bcma_drv_cc *cc, u32 mask, u32 value);
702 u32 bcma_chipco_gpio_intmask(struct bcma_drv_cc *cc, u32 mask, u32 value);
703 u32 bcma_chipco_gpio_polarity(struct bcma_drv_cc *cc, u32 mask, u32 value);
704 u32 bcma_chipco_gpio_pullup(struct bcma_drv_cc *cc, u32 mask, u32 value);
705 u32 bcma_chipco_gpio_pulldown(struct bcma_drv_cc *cc, u32 mask, u32 value);
708 extern void bcma_chipco_pll_write(struct bcma_drv_cc *cc, u32 offset,
710 extern void bcma_chipco_pll_maskset(struct bcma_drv_cc *cc, u32 offset,
712 extern void bcma_chipco_chipctl_maskset(struct bcma_drv_cc *cc,
714 extern void bcma_chipco_regctl_maskset(struct bcma_drv_cc *cc,
716 extern void bcma_pmu_spuravoid_pllupdate(struct bcma_drv_cc *cc, int spuravoid);
718 extern u32 bcma_pmu_get_bus_clock(struct bcma_drv_cc *cc);