/openbmc/linux/Documentation/devicetree/bindings/clock/ |
H A D | ti,lmk04832.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Liam Beguin <liambeguin@gmail.com> 21 - ti,lmk04832 26 '#address-cells': 29 '#size-cells': 32 '#clock-cells': 35 spi-max-frequency: 40 - description: PLL2 reference clock. [all …]
|
/openbmc/linux/drivers/clk/ |
H A D | clk-lmk04832.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * LMK04832 Ultra Low-Noise JESD204B Compliant Clock Jitter Cleaner 14 #include <linux/clk-provider.h> 22 /* 0x000 - 0x00d System Functions */ 34 /* 0x100 - 0x137 Device Clock and SYSREF Clock Output Control */ 75 /* 0x138 - 0x145 SYSREF, SYNC, and Device Config */ 124 /* 0x146 - 0x14a CLKin Control */ 134 /* 0x14b - 0x152 Holdover */ 136 /* 0x153 - 0x15f PLL1 Configuration */ 143 /* 0x160 - 0x16e PLL2 Configuration */ [all …]
|
H A D | clk-npcm8xx.c | 1 // SPDX-License-Identifier: GPL-2.0 11 #define pr_fmt(fmt) "npcm8xx_clk: " fmt argument 15 #include <linux/clk-provider.h> 23 #include <dt-bindings/clock/nuvoton,npcm845-clk.h> 24 #include <soc/nuvoton/clock-npcm8xx.h> 190 { NPCM8XX_CLKDIV1, 21, 5, "pre_adc", &npcm8xx_muxes[6].hw, CLK_DIVIDER_READ_ONLY, 0, -1 }, 207 …{ NPCM8XX_CLKDIV2, 16, 5, "clkout", &npcm8xx_muxes[8].hw, CLK_DIVIDER_READ_ONLY, 0, NPCM8XX_CLK_CL… 237 val = readl_relaxed(pll->pllcon); in npcm8xx_clk_pll_recalc_rate() 265 return ERR_PTR(-ENOMEM); in npcm8xx_clk_register_pll() 273 pll->pllcon = pllcon; in npcm8xx_clk_register_pll() [all …]
|
/openbmc/linux/sound/soc/sh/rcar/ |
H A D | adg.c | 1 // SPDX-License-Identifier: GPL-2.0 3 // Helper routines for R-Car sound ADG. 6 #include <linux/clk-provider.h> 16 #define CLKOUT 0 macro 34 struct clk *clkout[CLKOUTMAX]; member 50 (i < adg->clkin_size) && \ 51 ((pos) = adg->clkin[i]); \ 55 (i < adg->clkout_size) && \ 56 ((pos) = adg->clkout[i]); \ 58 #define rsnd_priv_to_adg(priv) ((struct rsnd_adg *)(priv)->adg) [all …]
|
/openbmc/linux/drivers/video/fbdev/omap2/omapfb/dss/ |
H A D | dss.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 22 #define pr_fmt(fmt) DSS_SUBSYS_NAME ": " fmt argument 24 #define pr_fmt(fmt) fmt argument 59 #define FLD_MASK(start, end) (((1 << ((start) - (end) + 1)) - 1) << (end)) 105 * Type-A PLLs: clkout[]/mX[] refer to hsdiv outputs m4, m5, m6, m7. 106 * Type-B PLLs: clkout[0] refers to m2. 112 unsigned long clkout[DSS_PLL_MAX_HSDIVS]; member 266 /* dss-of */ 330 u8 dsi_get_pixel_size(enum omap_dss_dsi_pixel_format fmt); 333 static inline u8 dsi_get_pixel_size(enum omap_dss_dsi_pixel_format fmt) in dsi_get_pixel_size() argument
|
H A D | dsi.c | 1 // SPDX-License-Identifier: GPL-2.0-only 407 return to_platform_device(dssdev->dev); in dsi_get_dsidev_from_dssdev() 428 return out ? to_platform_device(out->dev) : NULL; in dsi_get_dsidev_from_id() 438 case DSI_PROTO: base = dsi->proto_base; break; in dsi_write_reg() 439 case DSI_PHY: base = dsi->phy_base; break; in dsi_write_reg() 440 case DSI_PLL: base = dsi->pll_base; break; in dsi_write_reg() 454 case DSI_PROTO: base = dsi->proto_base; break; in dsi_read_reg() 455 case DSI_PHY: base = dsi->phy_base; break; in dsi_read_reg() 456 case DSI_PLL: base = dsi->pll_base; break; in dsi_read_reg() 468 down(&dsi->bus_lock); in dsi_bus_lock() [all …]
|
/openbmc/linux/drivers/gpu/drm/omapdrm/dss/ |
H A D | dss.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 30 #define pr_fmt(fmt) DSS_SUBSYS_NAME ": " fmt argument 32 #define pr_fmt(fmt) fmt argument 64 #define FLD_MASK(start, end) (((1 << ((start) - (end) + 1)) - 1) << (end)) 126 * Type-A PLLs: clkout[]/mX[] refer to hsdiv outputs m4, m5, m6, m7. 127 * Type-B PLLs: clkout[0] refers to m2. 133 unsigned long clkout[DSS_PLL_MAX_HSDIVS]; member
|
/openbmc/linux/drivers/net/can/cc770/ |
H A D | cc770_isa.c | 1 // SPDX-License-Identifier: GPL-2.0-only 9 * Bosch CC770 and Intel AN82527 CAN controllers on the ISA or PC-104 bus. 32 * Note: for clk, cir, bcr and cor, the first argument re-defines the 42 #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt argument 61 MODULE_DESCRIPTION("Socket-CAN driver for CC770 on the ISA bus"); 72 static u8 cir[MAXDEV] = {[0 ... (MAXDEV - 1)] = 0xff}; 73 static u8 cor[MAXDEV] = {[0 ... (MAXDEV - 1)] = 0xff}; 74 static u8 bcr[MAXDEV] = {[0 ... (MAXDEV - 1)] = 0xff}; 75 static int indirect[MAXDEV] = {[0 ... (MAXDEV - 1)] = -1}; 114 return readb(priv->reg_base + reg); in cc770_isa_mem_read_reg() [all …]
|
H A D | cc770.c | 1 // SPDX-License-Identifier: GPL-2.0-only 8 #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt argument 44 * 2. Support of silent (listen-only) mode. 47 * Details are available from Bosch's "CC770_Product_Info_2007-01.pdf", 59 * "msgobj15_eff". If not equal 0, it will receive 29-bit EFF frames, 64 MODULE_PARM_DESC(msgobj15_eff, "Extended 29-bit frames for message object 15 " 65 "(default: 11-bit standard frames)"); 103 return MSGOBJ_LAST + 2 - intid; in intid2obj() 113 for (o = 0; o < ARRAY_SIZE(priv->obj_flags); o++) { in enable_all_objs() 114 obj_flags = priv->obj_flags[o]; in enable_all_objs() [all …]
|
/openbmc/linux/drivers/media/i2c/ |
H A D | ds90ub953.c | 1 // SPDX-License-Identifier: GPL-2.0 11 #include <linux/clk-provider.h> 16 #include <linux/i2c-atr.h> 26 #include <media/v4l2-ctrls.h> 27 #include <media/v4l2-event.h> 28 #include <media/v4l2-fwnode.h> 29 #include <media/v4l2-mediabus.h> 30 #include <media/v4l2-subdev.h> 121 /* FPD-Link III CSI-2 synchronous mode */ 123 /* FPD-Link III CSI-2 non-synchronous mode, external ref clock */ [all …]
|
H A D | ds90ub913.c | 1 // SPDX-License-Identifier: GPL-2.0 12 #include <linux/clk-provider.h> 17 #include <linux/i2c-atr.h> 25 #include <media/v4l2-fwnode.h> 26 #include <media/v4l2-mediabus.h> 27 #include <media/v4l2-subdev.h> 103 /* Only RAW10 with 8-bit payload is supported at the moment */ 127 ret = regmap_read(priv->regmap, reg, &v); in ub913_read() 129 dev_err(&priv->client->dev, in ub913_read() 142 ret = regmap_write(priv->regmap, reg, val); in ub913_write() [all …]
|
/openbmc/linux/drivers/media/usb/gspca/ |
H A D | stk1135.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 11 #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt argument 45 /* -- read a register -- */ 48 struct usb_device *dev = gspca_dev->dev; in reg_r() 51 if (gspca_dev->usb_err < 0) in reg_r() 58 gspca_dev->usb_buf, 1, in reg_r() 62 index, gspca_dev->usb_buf[0]); in reg_r() 65 gspca_dev->usb_err = ret; in reg_r() 69 return gspca_dev->usb_buf[0]; in reg_r() 72 /* -- write a register -- */ [all …]
|
/openbmc/u-boot/arch/arm/include/asm/arch-mx7ulp/ |
H A D | scg.h | 1 /* SPDX-License-Identifier: GPL-2.0+ */ 12 #define clk_debug(fmt, args...) printf(fmt, ##args) argument 14 #define clk_debug(fmt, args...) argument 187 /* 0: Sys-OSC, 1: FIRC */ 264 u32 clkoutcnfg; /* SCG CLKOUT Configuration Register */
|
/openbmc/linux/sound/soc/codecs/ |
H A D | wm8731.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * wm8731.c -- WM8731 ALSA SoC Audio driver 6 * Copyright 2006-12 Wolfson Microelectronics, plc 76 if (wm8731->deemph) { in wm8731_set_deemph() 79 if (abs(wm8731_deemph[i] - wm8731->playback_fs) < in wm8731_set_deemph() 80 abs(wm8731_deemph[best] - wm8731->playback_fs)) in wm8731_set_deemph() 90 dev_dbg(component->dev, "Set deemphasis %d (%dHz)\n", in wm8731_set_deemph() 102 ucontrol->value.integer.value[0] = wm8731->deemph; in wm8731_get_deemph() 112 unsigned int deemph = ucontrol->value.integer.value[0]; in wm8731_put_deemph() 116 return -EINVAL; in wm8731_put_deemph() [all …]
|
H A D | ssm2602.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 85 48, 127, TLV_DB_SCALE_ITEM(-7400, 100, 0) 88 static const DECLARE_TLV_DB_SCALE(ssm260x_inpga_tlv, -3450, 150, 0); 89 static const DECLARE_TLV_DB_SCALE(ssm260x_sidetone_tlv, -1500, 300, 0); 99 SOC_ENUM("Playback De-emphasis", ssm2602_enum[1]), 178 ARRAY_SIZE(ssm260x_output_mixer_controls) - 1), /* Last element is the mic */ 302 return -EINVAL; in ssm2602_get_coeff() 309 struct snd_soc_component *component = dai->component; in ssm2602_hw_params() 311 int srate = ssm2602_get_coeff(ssm2602->sysclk, params_rate(params)); in ssm2602_hw_params() 317 regmap_write(ssm2602->regmap, SSM2602_SRATE, srate); in ssm2602_hw_params() [all …]
|
/openbmc/linux/ |
H A D | opengrok2.0.log | 1 2024-12-28 20:05:26.116-0600 FINEST t586 Statistics.logIt: Added: '/openbmc/linux/tools/testing/selftests/drivers/net/mlxsw/rtnetlink.sh' (ShAnalyzer) (took 79 ms) 2 2024-12-28 20:05:26.112-0600 FINER t592 IndexDatabase.createAnnotationCache: failed to create annotation: repository {dir='/opengrok/src/openbmc/qemu',type=git,historyCache=on,renamed=false,merge=true,annotationCache=off} does not allow to create annotation cache for '/opengrok/src/openbmc/qemu/chardev/spice.c' 3 2024-12-28 20:05:26.116-0600 FINEST t592 Statistics.logIt: Added: '/openbmc/qemu/chardev/spice.c' (CAnalyzer) (took 33 ms) 4 2024-1 [all...] |
H A D | opengrok1.0.log | 1 2024-12-28 20:07:11.902-0600 FINER t583 IndexDatabase.createAnnotationCache: failed to create annotation: repository {dir='/opengrok/src/openbmc/linux',type=git,historyCache=on,renamed=false,merge=true,annotationCache=off} does not allow to create annotation cache for '/opengrok/src/openbmc/linux/drivers/net/ethernet/marvell/mvpp2/mvpp2_prs.c' 2 2024-12-28 20:07:11.913-0600 FINEST t583 Statistics.logIt: Added: '/openbmc/linux/drivers/net/ethernet/marvell/mvpp2/mvpp2_prs.c' (CAnalyzer) (took 116 ms) 3 2024-12-28 20:07:11.899-0600 FINER t593 IndexDatabase.createAnnotationCache: failed to create annotation: repository {dir='/opengrok/src/openbmc/linux',type=git,historyCache=on,renamed=false,merge=true,annotationCache=off} does not allow to create annotation cache for '/opengrok/src/openbmc/linux/tools/testing/selftests/powerpc/tm/tm-signa [all...] |