/openbmc/linux/Documentation/devicetree/bindings/gpio/ |
H A D | delta,tn48m-gpio.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/gpio/delta,tn48m-gpio.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Robert Marko <robert.marko@sartura.hr> 13 This module is part of the Delta TN48M multi-function device. For more 14 details see ../mfd/delta,tn48m-cpld.yaml. 17 It provides 12 pins in total, they are input-only or ouput-only type. 22 - delta,tn48m-gpo 23 - delta,tn48m-gpi [all …]
|
/openbmc/u-boot/doc/ |
H A D | README.iomux | 1 SPDX-License-Identifier: GPL-2.0+ 7 U-Boot console multiplexing 11 ------------------------------ 23 A user can use a comma-separated list of devices to set stdin, stdout 31 finds acceptable, but the code has only been tested with serial and 40 the iomux_tstc() routine in a for-loop. iomux_tstc() in turn calls 44 the for-loop until iomux_tstc() returns true and the input can be 55 Thus, a user can see the ouput for any device registered for stdout 68 ------- 78 characters) lines works fine when serial is the only device used.
|
/openbmc/u-boot/board/aspeed/slt_ast2600/ |
H A D | slt_ast2600.c | 1 // SPDX-License-Identifier: GPL-2.0+ 28 gd->bd->bi_boot_params = CONFIG_SYS_SDRAM_BASE + 0x100; in board_init() 46 * chip. So only one MDIO channel can access the PHY chip at a time and in board_init() 51 * GPIOS[1:0] -> MDC1 & MDIO1 in board_init() 52 * GPIOB[5:4] -> MDC2 & MDIO2 in board_init() 53 * GPIOA[1:0] -> MDC3 & MDIO3 in board_init() 54 * GPIOA[3:2] -> MDC4 & MDIO4 in board_init() 67 * set 32 GPIO ouput pins for ATE report in board_init() 68 * GPIOV[7:0] -> ATE[7:0] in board_init() 69 * GPIOY[3:0] -> ATE[11:8] in board_init() [all …]
|
/openbmc/linux/drivers/clk/ |
H A D | clk-gate.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * Copyright (C) 2010-2011 Canonical Ltd <jeremy.kerr@canonical.com> 4 * Copyright (C) 2011-2012 Mike Turquette, Linaro Ltd <mturquette@linaro.org> 9 #include <linux/clk-provider.h> 18 * DOC: basic gatable clock which can gate and ungate it's ouput 21 * prepare - clk_(un)prepare only ensures parent is (un)prepared 22 * enable - clk_enable and clk_disable are functional & control gating 23 * rate - inherits rate from parent. No clk_set_rate support 24 * parent - fixed parent. No clk_set_parent support 29 if (gate->flags & CLK_GATE_BIG_ENDIAN) in clk_gate_readl() [all …]
|
/openbmc/u-boot/drivers/gpio/ |
H A D | lpc32xx_gpio.c | 1 // SPDX-License-Identifier: GPL-2.0+ 6 * Written-by: Albert ARIBAUD <albert.aribaud@3adev.fr> 11 #include <asm/arch-lpc32xx/cpu.h> 12 #include <asm/arch-lpc32xx/gpio.h> 13 #include <asm-generic/gpio.h> 17 * LPC32xx GPIOs work in banks but are non-homogeneous: 18 * - each bank holds a different number of GPIOs 19 * - some GPIOs are input/ouput, some input only, some output only; 20 * - some GPIOs have different meanings as an input and as an output; 21 * - some GPIOs are controlled on a given port and bit index, but [all …]
|
/openbmc/qemu/hw/gpio/ |
H A D | stm32l4x5_gpio.c | 2 * STM32L4x5 GPIO (General Purpose Input/Ouput) 4 * Copyright (c) 2024 Arnaud Minier <arnaud.minier@telecom-paris.fr> 5 * Copyright (c) 2024 Inès Varhol <ines.varhol@telecom-paris.fr> 7 * SPDX-License-Identifier: GPL-2.0-or-later 10 * See the COPYING file in the top-level directory. 15 * for STM32L4x5 and STM32L4x6 advanced Arm ® -based 32-bit MCUs. 16 * https://www.st.com/en/microcontrollers-microprocessors/stm32l4x5/documentation.html 24 #include "hw/qdev-clock.h" 25 #include "hw/qdev-properties.h" 51 return extract32(s->pupdr, 2 * pin, 2) == 1; in is_pull_up() [all …]
|
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-devtools/php/php/ |
H A D | php-fpm.conf | 7 ; '-p' argument from the command line. 13 ; - the global prefix if it's been set (-p arguement) 14 ; - /usr otherwise 25 ;pid = run/php-fpm.pid 31 ; Default Value: log/php-fpm.log 32 ;error_log = log/php-fpm.log 44 ; Default Value: php-fpm 45 ;syslog.ident = php-fpm 79 ; Specify the nice(2) priority to apply to the master process (only if set) 80 ; The value can vary from -19 (highest priority) to 20 (lower priority) [all …]
|
/openbmc/u-boot/arch/powerpc/include/asm/ |
H A D | fsl_lbc.h | 1 /* SPDX-License-Identifier: GPL-2.0+ */ 3 * Copyright (C) 2004-2008,2010-2011 Freescale Semiconductor, Inc. 16 /* BR - Base Registers 84 /* OR - Option Registers 142 #define P2SZ_TO_AM(s) ((~((s) - 1)) & 0xffff8000) /* must be pow of 2 */ 224 /* MxMR - UPM Machine A/B/C Mode Registers 246 #define MxMR_GPL_x4DIS 0x00040000 /* GPL_A4 Ouput Line Disable */ 285 /* LBCR - Local Bus Configuration Register 300 /* LCRR - Clock Ratio Register 322 /* CLKDIV is five bits only on 8536, 8572, and 8610, so far, but the fifth bit [all …]
|
/openbmc/u-boot/include/ |
H A D | mpc8xx.h | 1 /* SPDX-License-Identifier: GPL-2.0+ */ 3 * (C) Copyright 2000-2004 17 /*----------------------------------------------------------------------- 23 /*----------------------------------------------------------------------- 24 * SYPCR - System Protection Control Register 11-9 34 /*----------------------------------------------------------------------- 35 * SIUMCR - SIU Module Configuration Register 11-6 48 #define SIUMCR_DBGC01 0x00200000 /* - " - */ 49 #define SIUMCR_DBGC10 0x00400000 /* - " - */ 50 #define SIUMCR_DBGC11 0x00600000 /* - " - */ [all …]
|
/openbmc/u-boot/board/compulab/cm_fx6/ |
H A D | cm_fx6.c | 1 // SPDX-License-Identifier: GPL-2.0+ 3 * Board functions for Compulab CM-FX6 board 5 * Copyright (C) 2014, Compulab Ltd - http://compulab.co.il/ 28 #include <asm/mach-imx/mxc_i2c.h> 29 #include <asm/mach-imx/sata.h> 30 #include <asm/mach-imx/video.h> 34 #include <dm/device-internal.h> 82 setbits_le32(&mxc_ccm->CCGR3, MXC_CCM_CCGR3_IPU1_IPU_DI0_MASK); in cm_fx6_enable_hdmi() 87 .bus = -1, 113 clrbits_le32(&iomuxc_regs->gpr[3], MXC_CCM_CCGR3_IPU1_IPU_DI0_MASK); in cm_fx6_setup_display() [all …]
|
/openbmc/linux/drivers/net/ethernet/freescale/ |
H A D | fec_ptp.c | 1 // SPDX-License-Identifier: GPL-2.0 93 * fec_ptp_read - read raw cycle counter (to be used by time counter) 106 tempval = readl(fep->hwp + FEC_ATIME_CTRL); in fec_ptp_read() 108 writel(tempval, fep->hwp + FEC_ATIME_CTRL); in fec_ptp_read() 110 if (fep->quirks & FEC_QUIRK_BUG_CAPTURE) in fec_ptp_read() 113 return readl(fep->hwp + FEC_ATIME); in fec_ptp_read() 121 * This function enble the PPS ouput on the timer channel. 130 spin_lock_irqsave(&fep->tmreg_lock, flags); in fec_ptp_enable_pps() 132 if (fep->pps_enable == enable) { in fec_ptp_enable_pps() 133 spin_unlock_irqrestore(&fep->tmreg_lock, flags); in fec_ptp_enable_pps() [all …]
|
/openbmc/u-boot/scripts/ |
H A D | spelling.txt | 796 ony||only 805 ouput||output 1230 vicefersa||vice-versa
|
/openbmc/linux/arch/ia64/kernel/ |
H A D | palinfo.c | 1 // SPDX-License-Identifier: GPL-2.0-only 7 * Intel IA-64 Architecture Software Developer's Manual v1.0. 10 * Copyright (C) 2000-2001, 2003 Hewlett-Packard Co 41 MODULE_DESCRIPTION("/proc interface to IA-64 PAL"); 77 "Non-temporal, all levels", 86 "Non-temporal, level 1", 88 "Non-temporal, all levels", 121 * - a pointer to a buffer to hold the string 122 * - a 64-bit vector 124 * - a pointer to the end of the buffer [all …]
|
/openbmc/linux/drivers/usb/gadget/function/ |
H A D | f_uac2.c | 1 // SPDX-License-Identifier: GPL-2.0+ 3 * f_uac2.c -- USB Audio Class 2.0 Function 14 #include <linux/usb/audio-v2.h> 26 * USB-OUT -> IT_1 -> FU -> OT_3 -> ALSA_Capture 27 * ALSA_Playback -> IT_2 -> FU -> OT_4 -> USB-IN 34 #define USB_OUT_FU_ID (out_feature_unit_desc->bUnitID) 35 #define USB_IN_FU_ID (in_feature_unit_desc->bUnitID) 53 #define EPIN_EN(_opts) ((_opts)->p_chmask != 0) 54 #define EPOUT_EN(_opts) ((_opts)->c_chmask != 0) 56 && ((_opts)->p_mute_present \ [all …]
|
/openbmc/linux/sound/i2c/other/ |
H A D | ak4xxx-adda.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 6 * Copyright (c) 2000-2004 Jaroslav Kysela <perex@perex.cz>, 18 #include <sound/ak4xxx-adda.h> 29 ak->ops.lock(ak, chip); in snd_akm4xxx_write() 30 ak->ops.write(ak, chip, reg, val); in snd_akm4xxx_write() 34 ak->ops.unlock(ak, chip); in snd_akm4xxx_write() 45 for (chip = 0; chip < ak->num_dacs/2; chip++) { in ak4524_reset() 50 for (reg = 0x04; reg < ak->total_regs; reg++) in ak4524_reset() 62 snd_akm4xxx_write(ak, 0, 0x01, 0x02); /* reset and soft-mute */ in ak435X_reset() 65 for (reg = 0x00; reg < ak->total_regs; reg++) in ak435X_reset() [all …]
|
/openbmc/u-boot/board/freescale/mx6sabresd/ |
H A D | mx6sabresd.c | 1 // SPDX-License-Identifier: GPL-2.0+ 9 #include <asm/arch/imx-regs.h> 11 #include <asm/arch/mx6-pins.h> 12 #include <asm/mach-imx/spi.h> 15 #include <asm/mach-imx/mxc_i2c.h> 16 #include <asm/mach-imx/iomux-v3.h> 17 #include <asm/mach-imx/boot_mode.h> 18 #include <asm/mach-imx/video.h> 33 #include <usb/ehci-ci.h> 65 gd->ram_size = imx_ddr_size(); in dram_init() [all …]
|
/openbmc/linux/sound/soc/ti/ |
H A D | omap-mcbsp.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * omap-mcbsp.c -- OMAP ALSA SoC DAI driver using McBSP port 24 #include "omap-mcbsp-priv.h" 25 #include "omap-mcbsp.h" 26 #include "sdma-pcm.h" 41 dev_dbg(mcbsp->dev, "**** McBSP%d regs ****\n", mcbsp->id); in omap_mcbsp_dump_reg() 42 dev_dbg(mcbsp->dev, "DRR2: 0x%04x\n", MCBSP_READ(mcbsp, DRR2)); in omap_mcbsp_dump_reg() 43 dev_dbg(mcbsp->dev, "DRR1: 0x%04x\n", MCBSP_READ(mcbsp, DRR1)); in omap_mcbsp_dump_reg() 44 dev_dbg(mcbsp->dev, "DXR2: 0x%04x\n", MCBSP_READ(mcbsp, DXR2)); in omap_mcbsp_dump_reg() 45 dev_dbg(mcbsp->dev, "DXR1: 0x%04x\n", MCBSP_READ(mcbsp, DXR1)); in omap_mcbsp_dump_reg() [all …]
|
/openbmc/linux/scripts/ |
H A D | spelling.txt | 1047 none existent||non-existent 1084 ony||only 1096 ouput||output 1681 vicefersa||vice-versa
|
/openbmc/linux/drivers/video/fbdev/via/ |
H A D | viafbdev.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * Copyright 1998-2009 VIA Technologies, Inc. All Rights Reserved. 4 * Copyright 2001-2008 S3 Graphics, Inc. All Rights Reserved. 13 #include <linux/via-core.h> 48 * only CX700, VX800, VX855, VX900 were documented 50 * VIA_6C can be onle pre-CX700 (probably only on CLE266) as 6C is used for PLL 76 var->grayscale = 0; in viafb_fill_var_color_info() 77 var->red.msb_right = 0; in viafb_fill_var_color_info() 78 var->green.msb_right = 0; in viafb_fill_var_color_info() 79 var->blue.msb_right = 0; in viafb_fill_var_color_info() [all …]
|
/openbmc/linux/sound/soc/codecs/ |
H A D | rt5651.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * rt5651.c -- RT5651 ALSA SoC audio codec driver 23 #include <sound/soc-dapm.h> 287 static const DECLARE_TLV_DB_SCALE(out_vol_tlv, -4650, 150, 0); 288 static const DECLARE_TLV_DB_MINMAX(dac_vol_tlv, -6562, 0); 289 static const DECLARE_TLV_DB_SCALE(in_vol_tlv, -3450, 150, 0); 290 static const DECLARE_TLV_DB_MINMAX(adc_vol_tlv, -1762, 3000); 369 * set_dmic_clk - Set parameter of dmic. 379 struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); in set_dmic_clk() 383 rate = rt5651->sysclk / rl6231_get_pre_div(rt5651->regmap, in set_dmic_clk() [all …]
|
H A D | rt5640.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * rt5640.c -- RT5640/RT5639 ALSA SoC audio codec driver 27 #include <sound/soc-dapm.h> 340 static const DECLARE_TLV_DB_SCALE(out_vol_tlv, -4650, 150, 0); 341 static const DECLARE_TLV_DB_MINMAX(dac_vol_tlv, -6562, 0); 342 static const DECLARE_TLV_DB_SCALE(in_vol_tlv, -3450, 150, 0); 343 static const DECLARE_TLV_DB_MINMAX(adc_vol_tlv, -1762, 3000); 451 * set_dmic_clk - Set parameter of dmic. 461 struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); in set_dmic_clk() 465 rate = rt5640->sysclk / rl6231_get_pre_div(rt5640->regmap, in set_dmic_clk() [all …]
|
H A D | rt5670.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * rt5670.c -- RT5670 ALSA SoC audio codec driver 25 #include <sound/soc-dapm.h> 31 #include "rt5670-dsp.h" 50 MODULE_PARM_DESC(quirk, "Board-specific quirk override"); 422 * rt5670_headset_detect - Detect headset. 457 rt5670->jack_type = SND_JACK_HEADSET; in rt5670_headset_detect() 464 rt5670->jack_type = SND_JACK_HEADPHONE; in rt5670_headset_detect() 471 rt5670->jack_type = 0; in rt5670_headset_detect() 476 return rt5670->jack_type; in rt5670_headset_detect() [all …]
|
/openbmc/s2600wf-misc/hsbp-manager/src/ |
H A D | hsbp_manager.cpp | 8 // http://www.apache.org/licenses/LICENSE-2.0 39 #include <linux/i2c-dev.h> 53 constexpr size_t maxDrives = 8; // only 1 byte alloted 95 rootBus = -1; in clearConfig() 114 int file = -1; 119 /* Execute below operation only when mode of operation is SMBus. By in initialize() 128 file = open(("/dev/i2c-" + std::to_string(bus)).c_str(), in initialize() 133 << "\" - Unable to open bus : " << bus << "\n"; in initialize() 141 << "\" - Unable to set address to " << address in initialize() 154 << "\" - Byte map error ! Unable to find " in initialize() [all …]
|
/openbmc/u-boot/cmd/aspeed/nettest/ |
H A D | phy.c | 1 // SPDX-License-Identifier: GPL-2.0+ 63 //------------------------------------------------------------ 65 //------------------------------------------------------------ 71 if (eng->env.is_new_mdio_reg[eng->run.mdio_idx]) { in phy_write() 73 MDIO_SET_PHY_ADDR(eng->phy.Adr) | in phy_write() 75 writel(wr_data, eng->run.mdio_base); in phy_write() 76 /* check time-out */ in phy_write() 77 while (readl(eng->run.mdio_base) & MDIO_FIRE_BUSY) { in phy_write() 79 if (!eng->run.tm_tx_only) in phy_write() 81 "[PHY-Write] Time out: %08x\n", in phy_write() [all …]
|
/openbmc/linux/sound/pci/ac97/ |
H A D | ac97_patch.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 33 err = snd_ctl_add(ac97->bus->card, snd_ac97_cnew(&controls[idx], ac97)); in patch_build_controls() 49 kctl = snd_ctl_find_id(ac97->bus->card, &sid); in reset_tlv() 50 if (kctl && kctl->tlv.p) in reset_tlv() 51 kctl->tlv.p = tlv; in reset_tlv() 60 mutex_lock(&ac97->page_mutex); in ac97_update_bits_page() 65 mutex_unlock(&ac97->page_mutex); /* unlock paging */ in ac97_update_bits_page() 70 * shared line-in/mic controls 83 ucontrol->value.enumerated.item[0] = ac97->indep_surround; in ac97_surround_jack_mode_get() 90 unsigned char indep = !!ucontrol->value.enumerated.item[0]; in ac97_surround_jack_mode_put() [all …]
|