/linux-6.12.1/Documentation/devicetree/bindings/clock/ |
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 …]
|
/linux-6.12.1/drivers/clk/ |
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 …]
|
/linux-6.12.1/sound/soc/sh/rcar/ |
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 …]
|
/linux-6.12.1/drivers/video/fbdev/omap2/omapfb/dss/ |
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
|
D | dsi.c | 1 // SPDX-License-Identifier: GPL-2.0-only 408 return to_platform_device(dssdev->dev); in dsi_get_dsidev_from_dssdev() 429 return out ? to_platform_device(out->dev) : NULL; in dsi_get_dsidev_from_id() 439 case DSI_PROTO: base = dsi->proto_base; break; in dsi_write_reg() 440 case DSI_PHY: base = dsi->phy_base; break; in dsi_write_reg() 441 case DSI_PLL: base = dsi->pll_base; break; in dsi_write_reg() 455 case DSI_PROTO: base = dsi->proto_base; break; in dsi_read_reg() 456 case DSI_PHY: base = dsi->phy_base; break; in dsi_read_reg() 457 case DSI_PLL: base = dsi->pll_base; break; in dsi_read_reg() 469 down(&dsi->bus_lock); in dsi_bus_lock() [all …]
|
/linux-6.12.1/drivers/gpu/drm/omapdrm/dss/ |
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
|
/linux-6.12.1/drivers/net/can/cc770/ |
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 …]
|
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 …]
|
/linux-6.12.1/drivers/media/i2c/ |
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 …]
|
D | ds90ub913.c | 1 // SPDX-License-Identifier: GPL-2.0 11 #include <linux/clk-provider.h> 16 #include <linux/i2c-atr.h> 24 #include <media/v4l2-fwnode.h> 25 #include <media/v4l2-mediabus.h> 26 #include <media/v4l2-subdev.h> 102 /* Only RAW10 with 8-bit payload is supported at the moment */ 126 ret = regmap_read(priv->regmap, reg, &v); in ub913_read() 128 dev_err(&priv->client->dev, in ub913_read() 141 ret = regmap_write(priv->regmap, reg, val); in ub913_write() [all …]
|
D | max96717.c | 1 // SPDX-License-Identifier: GPL-2.0 10 #include <linux/clk-provider.h> 14 #include <linux/i2c-mux.h> 18 #include <media/v4l2-cci.h> 19 #include <media/v4l2-ctrls.h> 20 #include <media/v4l2-fwnode.h> 21 #include <media/v4l2-subdev.h> 154 priv->mux = i2c_mux_alloc(priv->client->adapter, &priv->client->dev, in max96717_i2c_mux_init() 157 if (!priv->mux) in max96717_i2c_mux_init() 158 return -ENOMEM; in max96717_i2c_mux_init() [all …]
|
/linux-6.12.1/drivers/media/usb/gspca/ |
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 …]
|
/linux-6.12.1/sound/soc/codecs/ |
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 …]
|
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 …]
|