Lines Matching refs:enable

41 static void bcm_hwclock_set(u32 mask, int enable)  in bcm_hwclock_set()  argument
46 if (enable) in bcm_hwclock_set()
56 static void enet_misc_set(struct clk *clk, int enable) in enet_misc_set() argument
69 bcm_hwclock_set(mask, enable); in enet_misc_set()
80 static void enetx_set(struct clk *clk, int enable) in enetx_set() argument
82 if (enable) in enetx_set()
94 bcm_hwclock_set(mask, enable); in enetx_set()
111 static void ephy_set(struct clk *clk, int enable) in ephy_set() argument
114 bcm_hwclock_set(CKCTL_6358_EPHY_EN, enable); in ephy_set()
125 static void enetsw_set(struct clk *clk, int enable) in enetsw_set() argument
128 bcm_hwclock_set(CKCTL_6328_ROBOSW_EN, enable); in enetsw_set()
130 bcm_hwclock_set(CKCTL_6362_ROBOSW_EN, enable); in enetsw_set()
135 enable); in enetsw_set()
139 if (enable) { in enetsw_set()
155 static void pcm_set(struct clk *clk, int enable) in pcm_set() argument
158 bcm_hwclock_set(CKCTL_3368_PCM_EN, enable); in pcm_set()
160 bcm_hwclock_set(CKCTL_6358_PCM_EN, enable); in pcm_set()
170 static void usbh_set(struct clk *clk, int enable) in usbh_set() argument
173 bcm_hwclock_set(CKCTL_6328_USBH_EN, enable); in usbh_set()
175 bcm_hwclock_set(CKCTL_6348_USBH_EN, enable); in usbh_set()
177 bcm_hwclock_set(CKCTL_6362_USBH_EN, enable); in usbh_set()
179 bcm_hwclock_set(CKCTL_6368_USBH_EN, enable); in usbh_set()
189 static void usbd_set(struct clk *clk, int enable) in usbd_set() argument
192 bcm_hwclock_set(CKCTL_6328_USBD_EN, enable); in usbd_set()
194 bcm_hwclock_set(CKCTL_6362_USBD_EN, enable); in usbd_set()
196 bcm_hwclock_set(CKCTL_6368_USBD_EN, enable); in usbd_set()
206 static void spi_set(struct clk *clk, int enable) in spi_set() argument
221 bcm_hwclock_set(mask, enable); in spi_set()
231 static void hsspi_set(struct clk *clk, int enable) in hsspi_set() argument
242 bcm_hwclock_set(mask, enable); in hsspi_set()
253 static void xtm_set(struct clk *clk, int enable) in xtm_set() argument
259 CKCTL_6368_SWPKT_SAR_EN, enable); in xtm_set()
261 if (enable) { in xtm_set()
278 static void ipsec_set(struct clk *clk, int enable) in ipsec_set() argument
281 bcm_hwclock_set(CKCTL_6362_IPSEC_EN, enable); in ipsec_set()
283 bcm_hwclock_set(CKCTL_6368_IPSEC_EN, enable); in ipsec_set()
294 static void pcie_set(struct clk *clk, int enable) in pcie_set() argument
297 bcm_hwclock_set(CKCTL_6328_PCIE_EN, enable); in pcie_set()
299 bcm_hwclock_set(CKCTL_6362_PCIE_EN, enable); in pcie_set()