• Home
  • Raw
  • Download

Lines Matching refs:enable

43 static void bcm_hwclock_set(u32 mask, int enable)  in bcm_hwclock_set()  argument
48 if (enable) in bcm_hwclock_set()
58 static void enet_misc_set(struct clk *clk, int enable) in enet_misc_set() argument
71 bcm_hwclock_set(mask, enable); in enet_misc_set()
82 static void enetx_set(struct clk *clk, int enable) in enetx_set() argument
84 if (enable) in enetx_set()
96 bcm_hwclock_set(mask, enable); in enetx_set()
113 static void ephy_set(struct clk *clk, int enable) in ephy_set() argument
116 bcm_hwclock_set(CKCTL_6358_EPHY_EN, enable); in ephy_set()
127 static void swpkt_sar_set(struct clk *clk, int enable) in swpkt_sar_set() argument
130 bcm_hwclock_set(CKCTL_6368_SWPKT_SAR_EN, enable); in swpkt_sar_set()
142 static void swpkt_usb_set(struct clk *clk, int enable) in swpkt_usb_set() argument
145 bcm_hwclock_set(CKCTL_6368_SWPKT_USB_EN, enable); in swpkt_usb_set()
157 static void enetsw_set(struct clk *clk, int enable) in enetsw_set() argument
160 bcm_hwclock_set(CKCTL_6328_ROBOSW_EN, enable); in enetsw_set()
162 bcm_hwclock_set(CKCTL_6362_ROBOSW_EN, enable); in enetsw_set()
164 if (enable) { in enetsw_set()
171 bcm_hwclock_set(CKCTL_6368_ROBOSW_EN, enable); in enetsw_set()
176 if (enable) { in enetsw_set()
192 static void pcm_set(struct clk *clk, int enable) in pcm_set() argument
195 bcm_hwclock_set(CKCTL_3368_PCM_EN, enable); in pcm_set()
197 bcm_hwclock_set(CKCTL_6358_PCM_EN, enable); in pcm_set()
207 static void usbh_set(struct clk *clk, int enable) in usbh_set() argument
210 bcm_hwclock_set(CKCTL_6328_USBH_EN, enable); in usbh_set()
212 bcm_hwclock_set(CKCTL_6348_USBH_EN, enable); in usbh_set()
214 bcm_hwclock_set(CKCTL_6362_USBH_EN, enable); in usbh_set()
216 bcm_hwclock_set(CKCTL_6368_USBH_EN, enable); in usbh_set()
226 static void usbd_set(struct clk *clk, int enable) in usbd_set() argument
229 bcm_hwclock_set(CKCTL_6328_USBD_EN, enable); in usbd_set()
231 bcm_hwclock_set(CKCTL_6362_USBD_EN, enable); in usbd_set()
233 bcm_hwclock_set(CKCTL_6368_USBD_EN, enable); in usbd_set()
243 static void spi_set(struct clk *clk, int enable) in spi_set() argument
258 bcm_hwclock_set(mask, enable); in spi_set()
268 static void hsspi_set(struct clk *clk, int enable) in hsspi_set() argument
279 bcm_hwclock_set(mask, enable); in hsspi_set()
294 static void xtm_set(struct clk *clk, int enable) in xtm_set() argument
299 if (enable) in xtm_set()
304 bcm_hwclock_set(CKCTL_6368_SAR_EN, enable); in xtm_set()
306 if (enable) { in xtm_set()
323 static void ipsec_set(struct clk *clk, int enable) in ipsec_set() argument
326 bcm_hwclock_set(CKCTL_6362_IPSEC_EN, enable); in ipsec_set()
328 bcm_hwclock_set(CKCTL_6368_IPSEC_EN, enable); in ipsec_set()
339 static void pcie_set(struct clk *clk, int enable) in pcie_set() argument
342 bcm_hwclock_set(CKCTL_6328_PCIE_EN, enable); in pcie_set()
344 bcm_hwclock_set(CKCTL_6362_PCIE_EN, enable); in pcie_set()