Home
last modified time | relevance | path

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

/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 …]
/drivers/soc/aspeed/
DMakefile2 obj-$(CONFIG_ASPEED_LPC_CTRL) += aspeed-lpc-ctrl.o
3 obj-$(CONFIG_ASPEED_LPC_SNOOP) += aspeed-lpc-snoop.o
/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()
/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()
Dapds990x.c434 u32 lpc; /* Lux per count */ in apds990x_get_lux() local
446 lpc = APDS990X_LUX_OUTPUT_SCALE * (chip->cf.df * chip->cf.ga) / in apds990x_get_lux()
449 return (iac * lpc) / APDS_PARAM_SCALE; in apds990x_get_lux()
/drivers/mcb/
DMakefile9 obj-$(CONFIG_MCB_LPC) += mcb-lpc.o
DKconfig39 If build as a module, the module is called mcb-lpc.ko
/drivers/pinctrl/nuvoton/
Dpinctrl-npcm7xx.c626 NPCM7XX_GRP(lpc), \
769 NPCM7XX_SFUNC(lpc);
887 NPCM7XX_MKFUNC(lpc),
1021 NPCM7XX_PINCFG(95, lpc, NONE, 0, espi, MFSEL4, 8, gpio, MFSEL1, 26, 0),
1090 NPCM7XX_PINCFG(161, lpc, NONE, 0, espi, MFSEL4, 8, gpio, MFSEL1, 26, DSTR(8, 12)),
1092 NPCM7XX_PINCFG(163, lpc, NONE, 0, espi, MFSEL4, 8, gpio, MFSEL1, 26, 0),
1093 NPCM7XX_PINCFG(164, lpc, NONE, 0, espi, MFSEL4, 8, gpio, MFSEL1, 26, SLEWLPC),
1094 NPCM7XX_PINCFG(165, lpc, NONE, 0, espi, MFSEL4, 8, gpio, MFSEL1, 26, SLEWLPC),
1095 NPCM7XX_PINCFG(166, lpc, NONE, 0, espi, MFSEL4, 8, gpio, MFSEL1, 26, SLEWLPC),
1096 NPCM7XX_PINCFG(167, lpc, NONE, 0, espi, MFSEL4, 8, gpio, MFSEL1, 26, SLEWLPC),
/drivers/rtc/
DMakefile163 obj-$(CONFIG_RTC_DRV_ST_LPC) += rtc-st-lpc.o
DKconfig1812 module will be called rtc-st-lpc.
/drivers/gpu/drm/amd/display/dc/dcn10/
Ddcn10_hubp.c1121 enum cursor_lines_per_chunk lpc = hubp1_get_lines_per_chunk( in hubp1_cursor_set_attributes() local
1138 CURSOR_LINES_PER_CHUNK, lpc); in hubp1_cursor_set_attributes()
/drivers/gpu/drm/amd/display/dc/dcn20/
Ddcn20_hubp.c600 enum cursor_lines_per_chunk lpc = hubp2_get_lines_per_chunk( in hubp2_cursor_set_attributes() local
618 CURSOR_LINES_PER_CHUNK, lpc); in hubp2_cursor_set_attributes()