Home
last modified time | relevance | path

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

12

/Linux-v5.4/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.4/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.4/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.4/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.4/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.4/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.4/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.4/arch/arc/plat-eznps/
Dsmp.c57 struct nps_host_reg_aux_lpc lpc; in eznps_init_core() local
69 lpc.mep = 1; in eznps_init_core()
70 write_aux_reg(CTOP_AUX_LPC, lpc.value); in eznps_init_core()
/Linux-v5.4/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-v5.4/Documentation/devicetree/bindings/net/
Dlpc-eth.txt4 - compatible: Should be "nxp,lpc-eth"
16 compatible = "nxp,lpc-eth";
/Linux-v5.4/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.4/drivers/usb/mtu3/
Dmtu3_gadget_ep0.c320 u32 lpc; in ep0_handle_feature_dev() local
339 lpc = mtu3_readl(mbase, U3D_LINK_POWER_CONTROL); in ep0_handle_feature_dev()
341 lpc |= SW_U1_REQUEST_ENABLE; in ep0_handle_feature_dev()
343 lpc &= ~SW_U1_REQUEST_ENABLE; in ep0_handle_feature_dev()
344 mtu3_writel(mbase, U3D_LINK_POWER_CONTROL, lpc); in ep0_handle_feature_dev()
354 lpc = mtu3_readl(mbase, U3D_LINK_POWER_CONTROL); in ep0_handle_feature_dev()
356 lpc |= SW_U2_REQUEST_ENABLE; in ep0_handle_feature_dev()
358 lpc &= ~SW_U2_REQUEST_ENABLE; in ep0_handle_feature_dev()
359 mtu3_writel(mbase, U3D_LINK_POWER_CONTROL, lpc); in ep0_handle_feature_dev()
/Linux-v5.4/arch/arm/boot/dts/
Daspeed-g4.dtsi323 lpc: lpc@1e789000 { label
324 compatible = "aspeed,ast2400-lpc", "simple-mfd";
331 lpc_bmc: lpc-bmc@0 {
332 compatible = "aspeed,ast2400-lpc-bmc";
336 lpc_host: lpc-host@80 {
337 compatible = "aspeed,ast2400-lpc-host", "simple-mfd", "syscon";
345 lpc_ctrl: lpc-ctrl@0 {
346 compatible = "aspeed,ast2400-lpc-ctrl";
352 lpc_snoop: lpc-snoop@0 {
353 compatible = "aspeed,ast2400-lpc-snoop";
[all …]
Daspeed-g5.dtsi385 lpc: lpc@1e789000 { label
386 compatible = "aspeed,ast2500-lpc", "simple-mfd";
393 lpc_bmc: lpc-bmc@0 {
394 compatible = "aspeed,ast2500-lpc-bmc", "simple-mfd", "syscon";
422 lpc_host: lpc-host@80 {
423 compatible = "aspeed,ast2500-lpc-host", "simple-mfd", "syscon";
438 lpc_ctrl: lpc-ctrl@0 {
439 compatible = "aspeed,ast2500-lpc-ctrl";
445 lpc_snoop: lpc-snoop@0 {
446 compatible = "aspeed,ast2500-lpc-snoop";
[all …]
Dstih407-clock.dtsi165 "clk-dss-lpc",
318 "clk-lpc-0",
319 "clk-lpc-1";
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-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>;
/Linux-v5.4/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.4/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.4/Documentation/devicetree/bindings/ipmi/
Dnpcm7xx-kcs-bmc.txt16 compatible = "nuvoton,npcm750-lpc-kcs", "simple-mfd", "syscon";
/Linux-v5.4/drivers/pinctrl/nuvoton/
Dpinctrl-npcm7xx.c627 NPCM7XX_GRP(lpc), \
770 NPCM7XX_SFUNC(lpc);
888 NPCM7XX_MKFUNC(lpc),
1022 NPCM7XX_PINCFG(95, lpc, NONE, 0, espi, MFSEL4, 8, gpio, MFSEL1, 26, 0),
1091 NPCM7XX_PINCFG(161, lpc, NONE, 0, espi, MFSEL4, 8, gpio, MFSEL1, 26, DS(8, 12)),
1093 NPCM7XX_PINCFG(163, lpc, NONE, 0, espi, MFSEL4, 8, gpio, MFSEL1, 26, 0),
1094 NPCM7XX_PINCFG(164, lpc, NONE, 0, espi, MFSEL4, 8, gpio, MFSEL1, 26, SLEWLPC),
1095 NPCM7XX_PINCFG(165, lpc, NONE, 0, espi, MFSEL4, 8, gpio, MFSEL1, 26, SLEWLPC),
1096 NPCM7XX_PINCFG(166, lpc, NONE, 0, espi, MFSEL4, 8, gpio, MFSEL1, 26, SLEWLPC),
1097 NPCM7XX_PINCFG(167, lpc, NONE, 0, espi, MFSEL4, 8, gpio, MFSEL1, 26, SLEWLPC),
/Linux-v5.4/Documentation/devicetree/bindings/clock/st/
Dst,flexgen.txt109 "clk-dss-lpc",

12