Home
last modified time | relevance | path

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

/linux-4.4.14/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 return regmap_update_bits(lpc->reg, LPC18XX_CREG_CREG0, in lpc18xx_usb_otg_phy_power_on()
69 struct lpc18xx_usb_otg_phy *lpc = phy_get_drvdata(phy); in lpc18xx_usb_otg_phy_power_off() local
72 ret = regmap_update_bits(lpc->reg, LPC18XX_CREG_CREG0, in lpc18xx_usb_otg_phy_power_off()
[all …]
/linux-4.4.14/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 : Must be one of: "st,stih407-lpc" "st,stih416-lpc"
13 "st,stih415-lpc" "st,stid127-lpc"
17 - st,lpc-mode : The LPC can run either one of three modes:
34 lpc@fde05000 {
35 compatible = "st,stih407-lpc";
40 st,lpc-mode = <ST_LPC_MODE_WDT>;
/linux-4.4.14/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-4.4.14/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-4.4.14/arch/powerpc/platforms/powernv/
Dopal-lpc.c192 struct lpc_debugfs_entry *lpc = filp->private_data; in lpc_debug_read() local
209 if (lpc->lpc_type == OPAL_LPC_FW) { in lpc_debug_read()
215 rc = opal_lpc_read(opal_lpc_chip_id, lpc->lpc_type, pos, in lpc_debug_read()
283 struct lpc_debugfs_entry *lpc = filp->private_data; in lpc_debug_write() local
300 if (lpc->lpc_type == OPAL_LPC_FW) { in lpc_debug_write()
339 rc = opal_lpc_write(opal_lpc_chip_id, lpc->lpc_type, pos, in lpc_debug_write()
DMakefile2 obj-y += opal-rtc.o opal-nvram.o opal-lpc.o opal-flash.o
/linux-4.4.14/Documentation/devicetree/bindings/net/
Dlpc-eth.txt4 - compatible: Should be "nxp,lpc-eth"
16 compatible = "nxp,lpc-eth";
/linux-4.4.14/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-4.4.14/drivers/misc/
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()
Dapds990x.c449 u32 lpc; /* Lux per count */ in apds990x_get_lux() local
461 lpc = APDS990X_LUX_OUTPUT_SCALE * (chip->cf.df * chip->cf.ga) / in apds990x_get_lux()
464 return (iac * lpc) / APDS_PARAM_SCALE; in apds990x_get_lux()
/linux-4.4.14/arch/arm/boot/dts/
Dstih407-family.dtsi10 #include <dt-bindings/mfd/st-lpc.h>
522 lpc@8787000 {
523 compatible = "st,stih407-lpc";
529 st,lpc-mode = <ST_LPC_MODE_WDT>;
532 lpc@8788000 {
533 compatible = "st,stih407-lpc";
537 st,lpc-mode = <ST_LPC_MODE_RTC>;
Dstih407-clock.dtsi183 "clk-dss-lpc",
321 "clk-lpc-0",
322 "clk-lpc-1";
Dstih410-clock.dtsi186 "clk-dss-lpc",
333 "clk-lpc-0",
334 "clk-lpc-1";
Dstih418-clock.dtsi186 "clk-dss-lpc",
343 "clk-lpc-0",
344 "clk-lpc-1";
Dlpc32xx.dtsi83 compatible = "nxp,lpc-eth";
/linux-4.4.14/Documentation/devicetree/bindings/clock/st/
Dst,flexgen.txt105 "clk-dss-lpc",
/linux-4.4.14/Documentation/devicetree/bindings/mfd/
Dcros-ec.txt34 - compatible: "google,cros-ec-lpc"
/linux-4.4.14/Documentation/devicetree/bindings/iio/frequency/
Dadf4350.txt74 lo_pll0_rx_adf4351: adf4351-rx-lpc@4 {
/linux-4.4.14/arch/powerpc/boot/dts/
Dmpc5121.dtsi329 lpc@10000 {
330 compatible = "fsl,mpc5121-lpc";
/linux-4.4.14/drivers/rtc/
DMakefile144 obj-$(CONFIG_RTC_DRV_ST_LPC) += rtc-st-lpc.o
DKconfig1582 module will be called rtc-st-lpc.
/linux-4.4.14/
DMAINTAINERS1575 F: drivers/rtc/rtc-st-lpc.c