Home
last modified time | relevance | path

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

123

/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-facebook-elbert.dts59 aspeed,lpc-io-reg = <0xca8>;
64 aspeed,lpc-io-reg = <0xca2>;
H A Daspeed-g6.dtsi572 lpc: lpc@1e789000 { label
573 compatible = "aspeed,ast2600-lpc-v2", "simple-mfd", "syscon";
614 lpc_ctrl: lpc-ctrl@80 {
615 compatible = "aspeed,ast2600-lpc-ctrl";
621 lpc_snoop: lpc-snoop@80 {
622 compatible = "aspeed,ast2600-lpc-snoop";
635 compatible = "aspeed,ast2600-lpc-reset";
H A Daspeed-g4.dtsi356 lpc: lpc@1e789000 { label
357 compatible = "aspeed,ast2400-lpc-v2", "simple-mfd", "syscon";
365 lpc_ctrl: lpc-ctrl@80 {
366 compatible = "aspeed,ast2400-lpc-ctrl";
372 lpc_snoop: lpc-snoop@90 {
373 compatible = "aspeed,ast2400-lpc-snoop";
386 compatible = "aspeed,ast2400-lpc-reset";
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-g5.dtsi441 lpc: lpc@1e789000 { label
442 compatible = "aspeed,ast2500-lpc-v2", "simple-mfd", "syscon";
482 lpc_ctrl: lpc-ctrl@80 {
483 compatible = "aspeed,ast2500-lpc-ctrl";
489 lpc_snoop: lpc-snoop@90 {
490 compatible = "aspeed,ast2500-lpc-snoop";
498 compatible = "aspeed,ast2500-lpc-reset";
H A Daspeed-bmc-facebook-tiogapass.dts81 // Enable lpc clock
111 aspeed,lpc-io-reg = <0xca8>;
117 aspeed,lpc-io-reg = <0xca2>;
/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/Documentation/devicetree/bindings/net/
H A Dlpc-eth.txt4 - compatible: Should be "nxp,lpc-eth"
21 compatible = "nxp,lpc-eth";
/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/drivers/misc/
H A Dcs5535-mfgpt.c99 uint32_t zsel, lpc, dummy; in cs5535_mfgpt_set_irq() local
129 rdmsr(MSR_PIC_IRQM_LPC, lpc, dummy); in cs5535_mfgpt_set_irq()
130 if (lpc & (1 << *irq)) in cs5535_mfgpt_set_irq()
/linux/arch/arm/boot/dts/nxp/
H A DMakefile3 subdir-y += lpc
/linux/drivers/gpu/drm/amd/display/dc/hubp/dcn32/
H A Ddcn32_hubp.c114 enum cursor_lines_per_chunk lpc = hubp2_get_lines_per_chunk( in hubp32_cursor_set_attributes() local
137 CURSOR_LINES_PER_CHUNK, lpc); in hubp32_cursor_set_attributes()
/linux/drivers/mcb/
H A DMakefile9 obj-$(CONFIG_MCB_LPC) += mcb-lpc.o
/linux/arch/arm/boot/dts/st/
H A Dstih407-family.dtsi7 #include <dt-bindings/mfd/st-lpc.h>
631 lpc@8787000 {
632 compatible = "st,stih407-lpc";
638 st,lpc-mode = <ST_LPC_MODE_WDT>;
641 lpc@8788000 {
642 compatible = "st,stih407-lpc";
646 st,lpc-mode = <ST_LPC_MODE_CLKSRC>;
/linux/Documentation/devicetree/bindings/ipmi/
H A Dnpcm7xx-kcs-bmc.txt17 compatible = "nuvoton,npcm750-lpc-kcs", "simple-mfd", "syscon";

123