• Home
  • Raw
  • Download

Lines Matching refs:cc

658 #define bcma_cc_read32(cc, offset) \  argument
659 bcma_read32((cc)->core, offset)
660 #define bcma_cc_write32(cc, offset, val) \ argument
661 bcma_write32((cc)->core, offset, val)
663 #define bcma_cc_mask32(cc, offset, mask) \ argument
664 bcma_cc_write32(cc, offset, bcma_cc_read32(cc, offset) & (mask))
665 #define bcma_cc_set32(cc, offset, set) \ argument
666 bcma_cc_write32(cc, offset, bcma_cc_read32(cc, offset) | (set))
667 #define bcma_cc_maskset32(cc, offset, mask, set) \ argument
668 bcma_cc_write32(cc, offset, (bcma_cc_read32(cc, offset) & (mask)) | (set))
671 #define bcma_pmu_read32(cc, offset) \ argument
672 bcma_read32((cc)->pmu.core, offset)
673 #define bcma_pmu_write32(cc, offset, val) \ argument
674 bcma_write32((cc)->pmu.core, offset, val)
676 #define bcma_pmu_mask32(cc, offset, mask) \ argument
677 bcma_pmu_write32(cc, offset, bcma_pmu_read32(cc, offset) & (mask))
678 #define bcma_pmu_set32(cc, offset, set) \ argument
679 bcma_pmu_write32(cc, offset, bcma_pmu_read32(cc, offset) | (set))
680 #define bcma_pmu_maskset32(cc, offset, mask, set) \ argument
681 bcma_pmu_write32(cc, offset, (bcma_pmu_read32(cc, offset) & (mask)) | (set))
683 extern u32 bcma_chipco_watchdog_timer_set(struct bcma_drv_cc *cc, u32 ticks);
685 extern u32 bcma_chipco_get_alp_clock(struct bcma_drv_cc *cc);
687 void bcma_chipco_irq_mask(struct bcma_drv_cc *cc, u32 mask, u32 value);
689 u32 bcma_chipco_irq_status(struct bcma_drv_cc *cc, u32 mask);
692 u32 bcma_chipco_gpio_in(struct bcma_drv_cc *cc, u32 mask);
693 u32 bcma_chipco_gpio_out(struct bcma_drv_cc *cc, u32 mask, u32 value);
694 u32 bcma_chipco_gpio_outen(struct bcma_drv_cc *cc, u32 mask, u32 value);
695 u32 bcma_chipco_gpio_control(struct bcma_drv_cc *cc, u32 mask, u32 value);
696 u32 bcma_chipco_gpio_intmask(struct bcma_drv_cc *cc, u32 mask, u32 value);
697 u32 bcma_chipco_gpio_polarity(struct bcma_drv_cc *cc, u32 mask, u32 value);
698 u32 bcma_chipco_gpio_pullup(struct bcma_drv_cc *cc, u32 mask, u32 value);
699 u32 bcma_chipco_gpio_pulldown(struct bcma_drv_cc *cc, u32 mask, u32 value);
702 extern void bcma_chipco_pll_write(struct bcma_drv_cc *cc, u32 offset,
704 extern void bcma_chipco_pll_maskset(struct bcma_drv_cc *cc, u32 offset,
706 extern void bcma_chipco_chipctl_maskset(struct bcma_drv_cc *cc,
708 extern void bcma_chipco_regctl_maskset(struct bcma_drv_cc *cc,
710 extern void bcma_pmu_spuravoid_pllupdate(struct bcma_drv_cc *cc, int spuravoid);
712 extern u32 bcma_pmu_get_bus_clock(struct bcma_drv_cc *cc);