Home
last modified time | relevance | path

Searched refs:lpc (Results 1 – 25 of 39) sorted by relevance

12

/linux/drivers/phy/
H A Dphy-lpc18xx-usb-otg.c29 struct lpc18xx_usb_otg_phy *lpc = phy_get_drvdata(phy); in lpc18xx_usb_otg_phy_init() local
33 ret = clk_set_rate(lpc->clk, 480000000); in lpc18xx_usb_otg_phy_init()
37 return clk_prepare(lpc->clk); in lpc18xx_usb_otg_phy_init()
42 struct lpc18xx_usb_otg_phy *lpc = phy_get_drvdata(phy); in lpc18xx_usb_otg_phy_exit() local
44 clk_unprepare(lpc->clk); in lpc18xx_usb_otg_phy_exit()
51 struct lpc18xx_usb_otg_phy *lpc = phy_get_drvdata(phy); in lpc18xx_usb_otg_phy_power_on() local
54 ret = clk_enable(lpc->clk); in lpc18xx_usb_otg_phy_power_on()
59 ret = regmap_update_bits(lpc->reg, LPC18XX_CREG_CREG0, in lpc18xx_usb_otg_phy_power_on()
62 clk_disable(lpc->clk); in lpc18xx_usb_otg_phy_power_on()
71 struct lpc18xx_usb_otg_phy *lpc = phy_get_drvdata(phy); in lpc18xx_usb_otg_phy_power_off() local
[all …]
/linux/Documentation/devicetree/bindings/watchdog/
H A Dst_lpc_wdt.txt7 [See: ../rtc/rtc-st-lpc.txt for RTC options]
8 [See: ../timer/st,stih407-lpc for Clocksource options]
12 - compatible : Should be: "st,stih407-lpc"
16 - st,lpc-mode : The LPC can run either one of three modes:
33 lpc@fde05000 {
34 compatible = "st,stih407-lpc";
39 st,lpc-mode = <ST_LPC_MODE_WDT>;
/linux/Documentation/devicetree/bindings/rtc/
H A Drtc-st-lpc.txt8 [See: ../timer/st,stih407-lpc for Clocksource options]
12 - compatible : Must be: "st,stih407-lpc"
16 - st,lpc-mode : The LPC can run either one of three modes:
23 lpc@fde05000 {
24 compatible = "st,stih407-lpc";
27 st,lpc-mode = <ST_LPC_MODE_RTC>;
/linux/Documentation/devicetree/bindings/timer/
H A Dst,stih407-lpc8 [See: ../rtc/rtc-st-lpc.txt for RTC options]
12 - compatible : Must be: "st,stih407-lpc"
16 - st,lpc-mode : The LPC can run either one of three modes:
23 lpc@fde05000 {
24 compatible = "st,stih407-lpc";
27 st,lpc-mode = <ST_LPC_MODE_CLKSRC>;
/linux/arch/arm/boot/dts/aspeed/
H A Daspeed-bmc-amd-ethanolx.dts251 aspeed,lpc-io-reg = <0x60>;
256 aspeed,lpc-io-reg = <0x62>;
261 aspeed,lpc-io-reg = <0xCA2>;
266 aspeed,lpc-io-reg = <0x97DE>;
275 //Enable lpc clock
281 aspeed,lpc-io-reg = <0x3f8>;
282 aspeed,lpc-interrupts = <4 IRQ_TYPE_LEVEL_HIGH>;
H A Daspeed-bmc-tyan-s8036.dts145 aspeed,lpc-io-reg = <0xffff>;
146 aspeed,lpc-interrupts = <15 IRQ_TYPE_LEVEL_HIGH>;
361 aspeed,lpc-io-reg = <0xca8>;
366 aspeed,lpc-io-reg = <0xca2>;
367 aspeed,lpc-interrupts = <1 IRQ_TYPE_LEVEL_HIGH>;
H A Daspeed-bmc-amd-daytonax.dts97 aspeed,lpc-io-reg = <0x3f8>;
98 aspeed,lpc-interrupts = <4 IRQ_TYPE_LEVEL_HIGH>;
207 aspeed,lpc-io-reg = <0xca2>;
H A Daspeed-bmc-asrock-spc621d8hm3.dts75 aspeed,lpc-io-reg = <0x2f8>;
76 aspeed,lpc-interrupts = <3 IRQ_TYPE_LEVEL_HIGH>;
213 aspeed,lpc-io-reg = <0xca2>;
H A Daspeed-bmc-tyan-s7106.dts146 aspeed,lpc-io-reg = <0xffff>;
147 aspeed,lpc-interrupts = <15 IRQ_TYPE_LEVEL_HIGH>;
408 aspeed,lpc-io-reg = <0xca8>;
413 aspeed,lpc-io-reg = <0xca2>;
H A Daspeed-bmc-ibm-bonnell.dts571 aspeed,lpc-io-reg = <0xca8 0xcac>;
576 aspeed,lpc-io-reg = <0xca2>;
577 aspeed,lpc-interrupts = <11 IRQ_TYPE_LEVEL_LOW>;
H A Daspeed-bmc-ibm-balcones.dts552 aspeed,lpc-io-reg = <0xca8 0xcac>;
557 aspeed,lpc-io-reg = <0xca2>;
558 aspeed,lpc-interrupts = <11 IRQ_TYPE_LEVEL_LOW>;
H A Daspeed-bmc-opp-tacoma.dts839 aspeed,lpc-io-reg = <0xca8 0xcac>;
844 aspeed,lpc-io-reg = <0xca2>;
845 aspeed,lpc-interrupts = <11 IRQ_TYPE_LEVEL_LOW>;
H A Daspeed-bmc-inspur-nf5280m6.dts661 aspeed,lpc-io-reg = <0xca2>;
666 aspeed,lpc-io-reg = <0xca4>;
H A Daspeed-bmc-bytedance-g220a.dts345 aspeed,lpc-io-reg = <0xCA2>;
350 aspeed,lpc-io-reg = <0xCA4>;
/linux/arch/powerpc/platforms/powernv/
H A Dopal-lpc.c187 struct lpc_debugfs_entry *lpc = filp->private_data; in lpc_debug_read() local
204 if (lpc->lpc_type == OPAL_LPC_FW) { in lpc_debug_read()
210 rc = opal_lpc_read(opal_lpc_chip_id, lpc->lpc_type, pos, in lpc_debug_read()
278 struct lpc_debugfs_entry *lpc = filp->private_data; in lpc_debug_write() local
295 if (lpc->lpc_type == OPAL_LPC_FW) { in lpc_debug_write()
334 rc = opal_lpc_write(opal_lpc_chip_id, lpc->lpc_type, pos, in lpc_debug_write()
/linux/drivers/soc/aspeed/
H A DMakefile2 obj-$(CONFIG_ASPEED_LPC_CTRL) += aspeed-lpc-ctrl.o
3 obj-$(CONFIG_ASPEED_LPC_SNOOP) += aspeed-lpc-snoop.o
/linux/arch/powerpc/platforms/512x/
H A Dmpc512x_shared.c489 static struct mpc512x_lpc __iomem *lpc; in mpc512x_cs_config() local
495 if (!lpc) { in mpc512x_cs_config()
497 lpc = of_iomap(np, 0); in mpc512x_cs_config()
499 if (!lpc) in mpc512x_cs_config()
503 out_be32(&lpc->cs_cfg[cs], val); in mpc512x_cs_config()
/linux/drivers/usb/mtu3/
H A Dmtu3_gadget_ep0.c330 u32 lpc; in ep0_handle_feature_dev() local
349 lpc = mtu3_readl(mbase, U3D_LINK_POWER_CONTROL); in ep0_handle_feature_dev()
351 lpc |= SW_U1_REQUEST_ENABLE; in ep0_handle_feature_dev()
353 lpc &= ~SW_U1_REQUEST_ENABLE; in ep0_handle_feature_dev()
354 mtu3_writel(mbase, U3D_LINK_POWER_CONTROL, lpc); in ep0_handle_feature_dev()
364 lpc = mtu3_readl(mbase, U3D_LINK_POWER_CONTROL); in ep0_handle_feature_dev()
366 lpc |= SW_U2_REQUEST_ENABLE; in ep0_handle_feature_dev()
368 lpc &= ~SW_U2_REQUEST_ENABLE; in ep0_handle_feature_dev()
369 mtu3_writel(mbase, U3D_LINK_POWER_CONTROL, lpc); in ep0_handle_feature_dev()
/linux/arch/arm/boot/dts/nxp/
H A DMakefile3 subdir-y += lpc
/linux/drivers/mcb/
H A DMakefile9 obj-$(CONFIG_MCB_LPC) += mcb-lpc.o
H A DKconfig39 If build as a module, the module is called mcb-lpc.ko
/linux/Documentation/translations/zh_CN/core-api/
H A Dindex.rst122 dma-isa-lpc
/linux/Documentation/core-api/
H A Dindex.rst112 dma-isa-lpc
/linux/Documentation/devicetree/bindings/clock/st/
H A Dst,flexgen.txt116 "clk-dss-lpc",
/linux/arch/powerpc/boot/dts/
H A Dmpc5121.dtsi325 lpc@10000 {
326 compatible = "fsl,mpc5121-lpc";

12