Home
last modified time | relevance | path

Searched +full:clkout +full:- +full:fmt (Results 1 – 11 of 11) sorted by relevance

/Linux-v6.1/Documentation/devicetree/bindings/clock/
Dti,lmk04832.yaml1 # 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-v6.1/drivers/clk/
Dclk-lmk04832.c1 // SPDX-License-Identifier: GPL-2.0
3 * LMK04832 Ultra Low-Noise JESD204B Compliant Clock Jitter Cleaner
14 #include <linux/clk-provider.h>
24 /* 0x000 - 0x00d System Functions */
36 /* 0x100 - 0x137 Device Clock and SYSREF Clock Output Control */
77 /* 0x138 - 0x145 SYSREF, SYNC, and Device Config */
126 /* 0x146 - 0x14a CLKin Control */
136 /* 0x14b - 0x152 Holdover */
138 /* 0x153 - 0x15f PLL1 Configuration */
140 /* 0x160 - 0x16e PLL2 Configuration */
[all …]
/Linux-v6.1/sound/soc/sh/rcar/
Dadg.c1 // 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
30 struct clk *clkout[CLKOUTMAX]; member
50 ((pos) = adg->clk[i]); \
55 ((pos) = adg->clkout[i]); \
57 #define rsnd_priv_to_adg(priv) ((struct rsnd_adg *)(priv)->adg)
73 for (i = 3; i >= 0; i--) { in rsnd_adg_calculate_rbgx()
76 return (u32)((i << 8) | ((div / ratio) - 1)); in rsnd_adg_calculate_rbgx()
[all …]
/Linux-v6.1/drivers/video/fbdev/omap2/omapfb/dss/
Ddss.h1 /* 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
Ddsi.c1 // 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 …]
/Linux-v6.1/drivers/gpu/drm/omapdrm/dss/
Ddss.h1 /* 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-v6.1/drivers/net/can/cc770/
Dcc770_isa.c1 // 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 …]
Dcc770.c1 // 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-v6.1/drivers/media/usb/gspca/
Dstk1135.c1 // 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-v6.1/sound/soc/codecs/
Dwm8731.c1 // 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 …]
Dssm2602.c1 // SPDX-License-Identifier: GPL-2.0-or-later
73 48, 127, TLV_DB_SCALE_ITEM(-7400, 100, 0)
76 static const DECLARE_TLV_DB_SCALE(ssm260x_inpga_tlv, -3450, 150, 0);
77 static const DECLARE_TLV_DB_SCALE(ssm260x_sidetone_tlv, -1500, 300, 0);
87 SOC_ENUM("Playback De-emphasis", ssm2602_enum[1]),
166 ARRAY_SIZE(ssm260x_output_mixer_controls) - 1), /* Last element is the mic */
287 return -EINVAL; in ssm2602_get_coeff()
294 struct snd_soc_component *component = dai->component; in ssm2602_hw_params()
296 int srate = ssm2602_get_coeff(ssm2602->sysclk, params_rate(params)); in ssm2602_hw_params()
302 regmap_write(ssm2602->regmap, SSM2602_SRATE, srate); in ssm2602_hw_params()
[all …]