Home
last modified time | relevance | path

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

12

/Linux-v5.10/drivers/phy/
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-v5.10/Documentation/devicetree/bindings/mfd/
Daspeed-lpc.txt47 "aspeed,ast2400-lpc", "simple-mfd"
48 "aspeed,ast2500-lpc", "simple-mfd"
65 "aspeed,ast2400-lpc-bmc"
66 "aspeed,ast2500-lpc-bmc"
75 "aspeed,ast2400-lpc-host", "simple-mfd", "syscon"
76 "aspeed,ast2500-lpc-host", "simple-mfd", "syscon"
88 lpc: lpc@1e789000 {
89 compatible = "aspeed,ast2500-lpc", "simple-mfd";
96 lpc_bmc: lpc-bmc@0 {
97 compatible = "aspeed,ast2500-lpc-bmc";
[all …]
/Linux-v5.10/Documentation/devicetree/bindings/watchdog/
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-v5.10/Documentation/devicetree/bindings/timer/
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-v5.10/Documentation/devicetree/bindings/rtc/
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-v5.10/arch/powerpc/platforms/powernv/
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()
DMakefile3 obj-y += idle.o opal-rtc.o opal-nvram.o opal-lpc.o opal-flash.o
/Linux-v5.10/drivers/soc/aspeed/
DMakefile2 obj-$(CONFIG_ASPEED_LPC_CTRL) += aspeed-lpc-ctrl.o
3 obj-$(CONFIG_ASPEED_LPC_SNOOP) += aspeed-lpc-snoop.o
/Linux-v5.10/arch/powerpc/platforms/512x/
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-v5.10/Documentation/devicetree/bindings/net/
Dlpc-eth.txt4 - compatible: Should be "nxp,lpc-eth"
21 compatible = "nxp,lpc-eth";
/Linux-v5.10/Documentation/devicetree/bindings/ipmi/
Daspeed-kcs-bmc.txt23 - aspeed,lpc-io-reg : The host CPU LPC IO address for the device
30 aspeed,lpc-reg = <0xca2>;
Dnpcm7xx-kcs-bmc.txt16 compatible = "nuvoton,npcm750-lpc-kcs", "simple-mfd", "syscon";
/Linux-v5.10/drivers/usb/mtu3/
Dmtu3_gadget_ep0.c328 u32 lpc; in ep0_handle_feature_dev() local
347 lpc = mtu3_readl(mbase, U3D_LINK_POWER_CONTROL); in ep0_handle_feature_dev()
349 lpc |= SW_U1_REQUEST_ENABLE; in ep0_handle_feature_dev()
351 lpc &= ~SW_U1_REQUEST_ENABLE; in ep0_handle_feature_dev()
352 mtu3_writel(mbase, U3D_LINK_POWER_CONTROL, lpc); in ep0_handle_feature_dev()
362 lpc = mtu3_readl(mbase, U3D_LINK_POWER_CONTROL); in ep0_handle_feature_dev()
364 lpc |= SW_U2_REQUEST_ENABLE; in ep0_handle_feature_dev()
366 lpc &= ~SW_U2_REQUEST_ENABLE; in ep0_handle_feature_dev()
367 mtu3_writel(mbase, U3D_LINK_POWER_CONTROL, lpc); in ep0_handle_feature_dev()
/Linux-v5.10/arch/arm/boot/dts/
Daspeed-g6.dtsi451 lpc: lpc@1e789000 { label
452 compatible = "aspeed,ast2600-lpc", "simple-mfd";
459 lpc_bmc: lpc-bmc@0 {
460 compatible = "aspeed,ast2600-lpc-bmc", "simple-mfd", "syscon";
489 lpc_host: lpc-host@80 {
490 compatible = "aspeed,ast2600-lpc-host", "simple-mfd", "syscon";
505 lpc_ctrl: lpc-ctrl@0 {
506 compatible = "aspeed,ast2600-lpc-ctrl";
512 lpc_snoop: lpc-snoop@0 {
513 compatible = "aspeed,ast2600-lpc-snoop";
[all …]
Daspeed-g4.dtsi340 lpc: lpc@1e789000 { label
341 compatible = "aspeed,ast2400-lpc", "simple-mfd";
348 lpc_bmc: lpc-bmc@0 {
349 compatible = "aspeed,ast2400-lpc-bmc";
353 lpc_host: lpc-host@80 {
354 compatible = "aspeed,ast2400-lpc-host", "simple-mfd", "syscon";
362 lpc_ctrl: lpc-ctrl@0 {
363 compatible = "aspeed,ast2400-lpc-ctrl";
369 lpc_snoop: lpc-snoop@10 {
370 compatible = "aspeed,ast2400-lpc-snoop";
[all …]
Daspeed-g5.dtsi431 lpc: lpc@1e789000 { label
432 compatible = "aspeed,ast2500-lpc", "simple-mfd";
439 lpc_bmc: lpc-bmc@0 {
440 compatible = "aspeed,ast2500-lpc-bmc", "simple-mfd", "syscon";
468 lpc_host: lpc-host@80 {
469 compatible = "aspeed,ast2500-lpc-host", "simple-mfd", "syscon";
484 lpc_ctrl: lpc-ctrl@0 {
485 compatible = "aspeed,ast2500-lpc-ctrl";
491 lpc_snoop: lpc-snoop@10 {
492 compatible = "aspeed,ast2500-lpc-snoop";
[all …]
Dstih410-clock.dtsi166 "clk-dss-lpc",
328 "clk-lpc-0",
329 "clk-lpc-1";
Dstih418-clock.dtsi163 "clk-dss-lpc",
329 "clk-lpc-0",
330 "clk-lpc-1";
Dstih407-clock.dtsi165 "clk-dss-lpc",
318 "clk-lpc-0",
319 "clk-lpc-1";
Dstih407-family.dtsi7 #include <dt-bindings/mfd/st-lpc.h>
601 lpc@8787000 {
602 compatible = "st,stih407-lpc";
608 st,lpc-mode = <ST_LPC_MODE_WDT>;
611 lpc@8788000 {
612 compatible = "st,stih407-lpc";
616 st,lpc-mode = <ST_LPC_MODE_CLKSRC>;
Daspeed-bmc-facebook-tiogapass.dts81 // Enable lpc clock
116 aspeed,lpc-io-reg = <0xca8>;
122 aspeed,lpc-io-reg = <0xca2>;
/Linux-v5.10/drivers/misc/
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-v5.10/drivers/mcb/
DMakefile9 obj-$(CONFIG_MCB_LPC) += mcb-lpc.o
DKconfig39 If build as a module, the module is called mcb-lpc.ko
/Linux-v5.10/Documentation/core-api/
Dindex.rst91 dma-isa-lpc

12