Home
last modified time | relevance | path

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

123

/OK3568_Linux_fs/kernel/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 …]
/OK3568_Linux_fs/buildroot/dl/sox/git/src/
H A Dlpc10.c123 priv_t * lpc = (priv_t *)ft->priv; in startread() local
125 if ((lpc->decst = create_lpc10_decoder_state()) == NULL) { in startread()
129 lpc->samples = LPC10_SAMPLES_PER_FRAME; in startread()
135 priv_t * lpc = (priv_t *)ft->priv; in startwrite() local
137 if ((lpc->encst = create_lpc10_encoder_state()) == NULL) { in startwrite()
141 lpc->samples = 0; in startwrite()
148 priv_t * lpc = (priv_t *)ft->priv; in read_samples() local
154 if (lpc->samples == LPC10_SAMPLES_PER_FRAME) { in read_samples()
160 lpc10_decode(bits, lpc->speech, lpc->decst); in read_samples()
161 lpc->samples = 0; in read_samples()
[all …]
/OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/mfd/
H A 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 …]
/OK3568_Linux_fs/kernel/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>;
/OK3568_Linux_fs/kernel/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>;
/OK3568_Linux_fs/kernel/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>;
/OK3568_Linux_fs/external/xserver/hw/dmx/glxProxy/
H A Dglxsingle.c1038 GLbyte *lpc = pc; in __glXDispSwap_GetTexImage() local
1040 lpc += sz_xGLXSingleReq; in __glXDispSwap_GetTexImage()
1041 __GLX_SWAP_INT(lpc + 0); in __glXDispSwap_GetTexImage()
1042 __GLX_SWAP_INT(lpc + 4); in __glXDispSwap_GetTexImage()
1043 __GLX_SWAP_INT(lpc + 8); in __glXDispSwap_GetTexImage()
1044 __GLX_SWAP_INT(lpc + 12); in __glXDispSwap_GetTexImage()
1047 *(GLboolean *) (lpc + 16) = !*(GLboolean *) (lpc + 16); in __glXDispSwap_GetTexImage()
1056 GLbyte *lpc = pc; in __glXDispSwap_GetColorTable() local
1058 lpc += sz_xGLXSingleReq; in __glXDispSwap_GetColorTable()
1059 __GLX_SWAP_INT(lpc + 0); in __glXDispSwap_GetColorTable()
[all …]
/OK3568_Linux_fs/u-boot/arch/x86/cpu/intel_common/
H A Dcpu.c34 struct udevice *dev, *lpc; in cpu_common_init() local
56 ret = uclass_first_device(UCLASS_LPC, &lpc); in cpu_common_init()
59 if (!lpc) in cpu_common_init()
/OK3568_Linux_fs/kernel/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()
/OK3568_Linux_fs/kernel/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
/OK3568_Linux_fs/u-boot/arch/x86/cpu/ivybridge/
H A Dcpu.c131 struct udevice *dev, *lpc; in checkcpu() local
177 uclass_first_device(UCLASS_LPC, &lpc); in checkcpu()
178 enable_usb_bar(pci_get_controller(lpc->parent)); in checkcpu()
/OK3568_Linux_fs/kernel/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()
/OK3568_Linux_fs/u-boot/doc/device-tree-bindings/misc/
H A Dintel-lpc.txt8 - compatible = "intel,lpc"
45 lpc {
46 compatible = "intel,lpc";
/OK3568_Linux_fs/kernel/drivers/usb/mtu3/
H A 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()
/OK3568_Linux_fs/kernel/arch/arm/boot/dts/
H A 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 …]
H A 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 …]
H A 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 …]
/OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/net/
H A Dlpc-eth.txt4 - compatible: Should be "nxp,lpc-eth"
21 compatible = "nxp,lpc-eth";
/OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/ipmi/
H A Daspeed-kcs-bmc.txt23 - aspeed,lpc-io-reg : The host CPU LPC IO address for the device
30 aspeed,lpc-reg = <0xca2>;
/OK3568_Linux_fs/kernel/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()
/OK3568_Linux_fs/u-boot/arch/arm/dts/
H A Dast2500.dtsi971 lpc: lpc@1e789000 { label
972 compatible = "aspeed,ast2500-lpc", "simple-mfd";
979 lpc_bmc: lpc-bmc@0 {
980 compatible = "aspeed,ast2500-lpc-bmc";
984 lpc_host: lpc-host@80 {
985 compatible = "aspeed,ast2500-lpc-host", "simple-mfd", "syscon";
H A Dstih407-family.dtsi10 #include <dt-bindings/mfd/st-lpc.h>
570 lpc@8787000 {
571 compatible = "st,stih407-lpc";
577 st,lpc-mode = <ST_LPC_MODE_WDT>;
580 lpc@8788000 {
581 compatible = "st,stih407-lpc";
585 st,lpc-mode = <ST_LPC_MODE_CLKSRC>;
/OK3568_Linux_fs/u-boot/arch/x86/lib/
H A Dlpc-uclass.c13 UCLASS_DRIVER(lpc) = {
/OK3568_Linux_fs/kernel/drivers/mcb/
H A DMakefile9 obj-$(CONFIG_MCB_LPC) += mcb-lpc.o
/OK3568_Linux_fs/u-boot/arch/x86/cpu/broadwell/
H A DMakefile9 obj-y += lpc.o

123