Home
last modified time | relevance | path

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

12

/Linux-v4.19/drivers/phy/
Dphy-lpc18xx-usb-otg.c33 struct lpc18xx_usb_otg_phy *lpc = phy_get_drvdata(phy); in lpc18xx_usb_otg_phy_init() local
37 ret = clk_set_rate(lpc->clk, 480000000); in lpc18xx_usb_otg_phy_init()
41 return clk_prepare(lpc->clk); in lpc18xx_usb_otg_phy_init()
46 struct lpc18xx_usb_otg_phy *lpc = phy_get_drvdata(phy); in lpc18xx_usb_otg_phy_exit() local
48 clk_unprepare(lpc->clk); in lpc18xx_usb_otg_phy_exit()
55 struct lpc18xx_usb_otg_phy *lpc = phy_get_drvdata(phy); in lpc18xx_usb_otg_phy_power_on() local
58 ret = clk_enable(lpc->clk); in lpc18xx_usb_otg_phy_power_on()
63 ret = regmap_update_bits(lpc->reg, LPC18XX_CREG_CREG0, in lpc18xx_usb_otg_phy_power_on()
66 clk_disable(lpc->clk); in lpc18xx_usb_otg_phy_power_on()
75 struct lpc18xx_usb_otg_phy *lpc = phy_get_drvdata(phy); in lpc18xx_usb_otg_phy_power_off() local
[all …]
/Linux-v4.19/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-v4.19/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-v4.19/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-v4.19/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-v4.19/arch/powerpc/platforms/powernv/
Dopal-lpc.c191 struct lpc_debugfs_entry *lpc = filp->private_data; in lpc_debug_read() local
208 if (lpc->lpc_type == OPAL_LPC_FW) { in lpc_debug_read()
214 rc = opal_lpc_read(opal_lpc_chip_id, lpc->lpc_type, pos, in lpc_debug_read()
282 struct lpc_debugfs_entry *lpc = filp->private_data; in lpc_debug_write() local
299 if (lpc->lpc_type == OPAL_LPC_FW) { in lpc_debug_write()
338 rc = opal_lpc_write(opal_lpc_chip_id, lpc->lpc_type, pos, in lpc_debug_write()
DMakefile3 obj-y += opal-rtc.o opal-nvram.o opal-lpc.o opal-flash.o
/Linux-v4.19/arch/arc/plat-eznps/
Dsmp.c68 struct nps_host_reg_aux_lpc lpc; in eznps_init_core() local
80 lpc.mep = 1; in eznps_init_core()
81 write_aux_reg(CTOP_AUX_LPC, lpc.value); in eznps_init_core()
/Linux-v4.19/Documentation/devicetree/bindings/arm/hisilicon/
Dhisilicon-low-pin-count.txt10 (a) "hisilicon,hip06-lpc"
11 (b) "hisilicon,hip07-lpc"
23 compatible = "hisilicon,hip06-lpc";
/Linux-v4.19/Documentation/devicetree/bindings/net/
Dlpc-eth.txt4 - compatible: Should be "nxp,lpc-eth"
16 compatible = "nxp,lpc-eth";
/Linux-v4.19/arch/powerpc/platforms/512x/
Dmpc512x_shared.c493 static struct mpc512x_lpc __iomem *lpc; in mpc512x_cs_config() local
499 if (!lpc) { in mpc512x_cs_config()
501 lpc = of_iomap(np, 0); in mpc512x_cs_config()
503 if (!lpc) in mpc512x_cs_config()
507 out_be32(&lpc->cs_cfg[cs], val); in mpc512x_cs_config()
/Linux-v4.19/drivers/usb/mtu3/
Dmtu3_gadget_ep0.c318 u32 lpc; in ep0_handle_feature_dev() local
337 lpc = mtu3_readl(mbase, U3D_LINK_POWER_CONTROL); in ep0_handle_feature_dev()
339 lpc |= SW_U1_ACCEPT_ENABLE; in ep0_handle_feature_dev()
341 lpc &= ~SW_U1_ACCEPT_ENABLE; in ep0_handle_feature_dev()
342 mtu3_writel(mbase, U3D_LINK_POWER_CONTROL, lpc); in ep0_handle_feature_dev()
352 lpc = mtu3_readl(mbase, U3D_LINK_POWER_CONTROL); in ep0_handle_feature_dev()
354 lpc |= SW_U2_ACCEPT_ENABLE; in ep0_handle_feature_dev()
356 lpc &= ~SW_U2_ACCEPT_ENABLE; in ep0_handle_feature_dev()
357 mtu3_writel(mbase, U3D_LINK_POWER_CONTROL, lpc); in ep0_handle_feature_dev()
/Linux-v4.19/Documentation/devicetree/bindings/pinctrl/
Dpinctrl-aspeed.txt149 lpc: lpc@1e789000 {
150 compatible = "aspeed,ast2500-lpc", "simple-mfd";
157 lpc_host: lpc-host@80 {
158 compatible = "aspeed,ast2500-lpc-host", "simple-mfd", "syscon";
/Linux-v4.19/arch/arm/boot/dts/
Daspeed-g4.dtsi264 lpc: lpc@1e789000 { label
265 compatible = "aspeed,ast2400-lpc", "simple-mfd";
272 lpc_bmc: lpc-bmc@0 {
273 compatible = "aspeed,ast2400-lpc-bmc";
277 lpc_host: lpc-host@80 {
278 compatible = "aspeed,ast2400-lpc-host", "simple-mfd", "syscon";
286 lpc_ctrl: lpc-ctrl@0 {
287 compatible = "aspeed,ast2400-lpc-ctrl";
293 lpc_snoop: lpc-snoop@0 {
294 compatible = "aspeed,ast2400-lpc-snoop";
[all …]
Daspeed-g5.dtsi324 lpc: lpc@1e789000 { label
325 compatible = "aspeed,ast2500-lpc", "simple-mfd";
332 lpc_bmc: lpc-bmc@0 {
333 compatible = "aspeed,ast2500-lpc-bmc";
337 lpc_host: lpc-host@80 {
338 compatible = "aspeed,ast2500-lpc-host", "simple-mfd", "syscon";
346 lpc_ctrl: lpc-ctrl@0 {
347 compatible = "aspeed,ast2500-lpc-ctrl";
353 lpc_snoop: lpc-snoop@0 {
354 compatible = "aspeed,ast2500-lpc-snoop";
[all …]
Dstih418-clock.dtsi166 "clk-dss-lpc",
332 "clk-lpc-0",
333 "clk-lpc-1";
Dstih407-clock.dtsi168 "clk-dss-lpc",
321 "clk-lpc-0",
322 "clk-lpc-1";
Dstih407-family.dtsi10 #include <dt-bindings/mfd/st-lpc.h>
604 lpc@8787000 {
605 compatible = "st,stih407-lpc";
611 st,lpc-mode = <ST_LPC_MODE_WDT>;
614 lpc@8788000 {
615 compatible = "st,stih407-lpc";
619 st,lpc-mode = <ST_LPC_MODE_CLKSRC>;
Dstih410-clock.dtsi169 "clk-dss-lpc",
331 "clk-lpc-0",
332 "clk-lpc-1";
/Linux-v4.19/drivers/misc/
DMakefile56 obj-$(CONFIG_ASPEED_LPC_CTRL) += aspeed-lpc-ctrl.o
57 obj-$(CONFIG_ASPEED_LPC_SNOOP) += aspeed-lpc-snoop.o
Dcs5535-mfgpt.c102 uint32_t zsel, lpc, dummy; in cs5535_mfgpt_set_irq() local
132 rdmsr(MSR_PIC_IRQM_LPC, lpc, dummy); in cs5535_mfgpt_set_irq()
133 if (lpc & (1 << *irq)) in cs5535_mfgpt_set_irq()
/Linux-v4.19/drivers/mcb/
DMakefile9 obj-$(CONFIG_MCB_LPC) += mcb-lpc.o
DKconfig38 If build as a module, the module is called mcb-lpc.ko
/Linux-v4.19/Documentation/devicetree/bindings/ipmi/
Dnpcm7xx-kcs-bmc.txt16 compatible = "nuvoton,npcm750-lpc-kcs", "simple-mfd", "syscon";
/Linux-v4.19/Documentation/devicetree/bindings/clock/st/
Dst,flexgen.txt109 "clk-dss-lpc",

12