/linux-6.14.4/drivers/pinctrl/samsung/ |
D | pinctrl-samsung.c | 1 // SPDX-License-Identifier: GPL-2.0+ 3 // pin-controller/pin-mux/pin-config/gpio-driver for Samsung's SoC's. 32 #include "pinctrl-samsung.h" 42 { "samsung,pin-pud", PINCFG_TYPE_PUD }, 43 { "samsung,pin-drv", PINCFG_TYPE_DRV }, 44 { "samsung,pin-con-pdn", PINCFG_TYPE_CON_PDN }, 45 { "samsung,pin-pud-pdn", PINCFG_TYPE_PUD_PDN }, 46 { "samsung,pin-val", PINCFG_TYPE_DAT }, 53 return pmx->nr_groups; in samsung_get_group_count() 61 return pmx->pin_groups[group].name; in samsung_get_group_name() [all …]
|
D | pinctrl-samsung.h | 1 /* SPDX-License-Identifier: GPL-2.0+ */ 3 * pin-controller/pin-mux/pin-config/gpio-driver for Samsung's SoC's. 25 * enum pincfg_type - possible pin configuration types supported. 27 * @PINCFG_TYPE_DAT: Pin value configuration. 30 * @PINCFG_TYPE_CON_PDN: Pin function in power down mode. 45 * pin configuration (pull up/down and drive strength) type and its value are 46 * packed together into a 16-bits. The upper 8-bits represent the configuration 47 * type and the lower 8-bits hold the value of the configuration type. 57 * Values for the pin CON register, choosing pin function. 64 /* Values for the pin PUD register */ [all …]
|
D | pinctrl-exynos.c | 1 // SPDX-License-Identifier: GPL-2.0+ 29 #include <linux/soc/samsung/exynos-pmu.h> 30 #include <linux/soc/samsung/exynos-regs-pmu.h> 32 #include "pinctrl-samsung.h" 33 #include "pinctrl-exynos.h" 61 if (bank->eint_mask_offset) in exynos_irq_mask() 62 reg_mask = bank->pctl_offset + bank->eint_mask_offset; in exynos_irq_mask() 64 reg_mask = our_chip->eint_mask + bank->eint_offset; in exynos_irq_mask() 66 if (clk_enable(bank->drvdata->pclk)) { in exynos_irq_mask() 67 dev_err(bank->gpio_chip.parent, in exynos_irq_mask() [all …]
|
/linux-6.14.4/Documentation/devicetree/bindings/leds/ |
D | kinetic,ktd2692.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Markuss Broks <[email protected]> 13 KTD2692 is the ideal power solution for high-power flash LEDs. 14 It uses ExpressWire single-wire programming for maximum flexibility. 16 The ExpressWire interface through CTRL pin can control LED on/off and 17 enable/disable the IC, Movie(max 1/3 of Flash current) / Flash mode current, 20 Also, When the AUX pin is pulled high while CTRL pin is high, 21 LED current will be ramped up to the flash-mode current level. [all …]
|
/linux-6.14.4/drivers/pinctrl/nuvoton/ |
D | pinctrl-ma35.c | 1 // SPDX-License-Identifier: GPL-2.0 5 * Author: Shan-Chun Hung <[email protected]> 24 #include "pinctrl-ma35.h" 59 /* GPIO pull-up and pull-down selection control */ 66 * The MA35_GP_REG_INTEN bits 0 ~ 15 control low-level or falling edge trigger, 67 * while bits 16 ~ 31 control high-level or rising edge trigger. 84 /* Non-constant mask variant of FIELD_GET() and FIELD_PREP() */ 85 #define field_get(_mask, _reg) (((_reg) & (_mask)) >> (ffs(_mask) - 1)) 86 #define field_prep(_mask, _val) (((_val) << (ffs(_mask) - 1)) & (_mask)) 146 struct ma35_pin_ctrl *ctrl; member [all …]
|
/linux-6.14.4/drivers/pinctrl/qcom/ |
D | pinctrl-lpass-lpi.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Copyright (c) 2016-2019, The Linux Foundation. All rights reserved. 15 #include <linux/pinctrl/pinconf-generic.h> 19 #include "../pinctrl-utils.h" 21 #include "pinctrl-lpass-lpi.h" 29 struct pinctrl_dev *ctrl; member 41 static int lpi_gpio_read(struct lpi_pinctrl *state, unsigned int pin, in lpi_gpio_read() argument 44 return ioread32(state->tlmm_base + LPI_TLMM_REG_OFFSET * pin + addr); in lpi_gpio_read() 47 static int lpi_gpio_write(struct lpi_pinctrl *state, unsigned int pin, in lpi_gpio_write() argument 50 iowrite32(val, state->tlmm_base + LPI_TLMM_REG_OFFSET * pin + addr); in lpi_gpio_write() [all …]
|
D | pinctrl-spmi-mpp.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Copyright (c) 2012-2014, The Linux Foundation. All rights reserved. 17 #include <linux/pinctrl/pinconf-generic.h> 21 #include <dt-bindings/pinctrl/qcom,pmic-mpp.h> 24 #include "../pinctrl-utils.h" 29 * Pull Up Values - it indicates whether a pull-up should be 100 /* Qualcomm specific pin configurations */ 107 * struct pmic_mpp_pad - keep current MPP settings 110 * @out_value: Cached pin output value. 113 * @paired: Pin operates in paired mode [all …]
|
/linux-6.14.4/drivers/net/ethernet/intel/igc/ |
D | igc_ptp.c | 1 // SPDX-License-Identifier: GPL-2.0 27 struct igc_hw *hw = &adapter->hw; in igc_ptp_read() 34 ts->tv_sec = sec; in igc_ptp_read() 35 ts->tv_nsec = nsec; in igc_ptp_read() 41 struct igc_hw *hw = &adapter->hw; in igc_ptp_write_i225() 43 wr32(IGC_SYSTIML, ts->tv_nsec); in igc_ptp_write_i225() 44 wr32(IGC_SYSTIMH, ts->tv_sec); in igc_ptp_write_i225() 51 struct igc_hw *hw = &igc->hw; in igc_ptp_adjfine_i225() 58 scaled_ppm = -scaled_ppm; in igc_ptp_adjfine_i225() 80 spin_lock_irqsave(&igc->tmreg_lock, flags); in igc_ptp_adjtime_i225() [all …]
|
/linux-6.14.4/drivers/rtc/ |
D | rtc-jz4740.c | 1 // SPDX-License-Identifier: GPL-2.0+ 3 * Copyright (C) 2009-2010, Lars-Peter Clausen <[email protected]> 9 #include <linux/clk-provider.h> 45 /* Magic value to enable writes on jz4780 */ 75 return readl(rtc->base + reg); in jz4740_rtc_reg_read() 80 uint32_t ctrl; in jz4740_rtc_wait_write_ready() local 82 return readl_poll_timeout(rtc->base + JZ_REG_RTC_CTRL, ctrl, in jz4740_rtc_wait_write_ready() 83 ctrl & JZ_RTC_CTRL_WRDY, 0, 1000); in jz4740_rtc_wait_write_ready() 88 uint32_t ctrl; in jz4780_rtc_enable_write() local 95 writel(JZ_RTC_WENR_MAGIC, rtc->base + JZ_REG_RTC_WENR); in jz4780_rtc_enable_write() [all …]
|
/linux-6.14.4/Documentation/devicetree/bindings/display/tilcdc/ |
D | panel.txt | 1 Device-Tree bindings for tilcdc DRM generic panel output driver 4 - compatible: value should be "ti,tilcdc,panel". 5 - panel-info: configuration info to configure LCDC correctly for the panel 6 - ac-bias: AC Bias Pin Frequency 7 - ac-bias-intrpt: AC Bias Pin Transitions per Interrupt 8 - dma-burst-sz: DMA burst size 9 - bpp: Bits per pixel 10 - fdd: FIFO DMA Request Delay 11 - sync-edge: Horizontal and Vertical Sync Edge: 0=rising 1=falling 12 - sync-ctrl: Horizontal and Vertical Sync: Control: 0=ignore [all …]
|
/linux-6.14.4/drivers/net/ethernet/intel/igb/ |
D | igb_ptp.c | 1 // SPDX-License-Identifier: GPL-2.0+ 38 * +--------------+ +---+---+------+ 40 * +--------------+ +---+---+------+ 43 * +----------+---+ +--------------+ 45 * +----------+---+ +--------------+ 50 * 2^45 * 10^-9 / 3600 = 9.77 hours. 53 * 2^40 * 10^-9 / 60 = 18.3 minutes. 67 #define INCVALUE_82576_MASK GENMASK(E1000_TIMINCA_16NS_SHIFT - 1, 0) 79 struct e1000_hw *hw = &igb->hw; in igb_ptp_read_82576() 96 struct e1000_hw *hw = &igb->hw; in igb_ptp_read_82580() [all …]
|
/linux-6.14.4/arch/arm/boot/dts/marvell/ |
D | armada-370-synology-ds213j.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 9 * The 0xf1000000 is the default used by the recent, DT-capable, U-Boot 12 * were delivered with an older version of u-boot that left internal 17 * installing it from u-boot prompt) or adjust the Devive Tree 21 /dts-v1/; 23 #include <dt-bindings/input/input.h> 24 #include <dt-bindings/gpio/gpio.h> 25 #include "armada-370.dtsi" 30 "marvell,armada-370-xp"; 33 stdout-path = "serial0:115200n8"; [all …]
|
/linux-6.14.4/drivers/pinctrl/ |
D | pinctrl-rockchip.c | 1 // SPDX-License-Identifier: GPL-2.0-only 4 * Copyright (c) 2020-2024 Rockchip Electronics Co., Ltd. 8 * With some ideas taken from pinctrl-samsung: 14 * and pinctrl-at91: 15 * Copyright (C) 2011-2012 Jean-Christophe PLAGNIOL-VILLARD <[email protected]> 30 #include <linux/pinctrl/pinconf-generic.h> 37 #include <dt-bindings/pinctrl/rockchip.h> 41 #include "pinctrl-rockchip.h" 67 { .offset = -1 }, \ 68 { .offset = -1 }, \ [all …]
|
/linux-6.14.4/drivers/net/phy/ |
D | icplus.c | 1 // SPDX-License-Identifier: GPL-2.0+ 33 /* IP101A/G - IP1001 */ 42 #define IP101A_G_IRQ_PIN_USED BIT(15) /* INTR pin used */ 69 /* The 32-pin IP101GR package can re-configure the mode of the RXER/INTR_32 pin 70 * (pin number 21). The hardware default is RXER (receive error) mode. But it 102 err = mdiobus_write(phydev->mdio.bus, 30, 0, 0x175c); in ip175c_config_init() 107 err = mdiobus_read(phydev->mdio.bus, 30, 0); in ip175c_config_init() 112 /* enable IP175C mode */ in ip175c_config_init() 113 err = mdiobus_write(phydev->mdio.bus, 29, 31, 0x175c); in ip175c_config_init() 118 err = mdiobus_write(phydev->mdio.bus, 29, 22, 0x420); in ip175c_config_init() [all …]
|
D | bcm-phy-ptp.c | 1 // SPDX-License-Identifier: GPL-2.0 16 #include "bcm-phy-lib.h" 134 struct ptp_pin_desc pin; member 158 #define BCM_SKB_CB(skb) ((struct bcm_ptp_skb_cb *)(skb)->cb) 161 #define BCM_MAX_PULSE_8NS ((1U << 9) - 1) 162 #define BCM_MAX_PERIOD_8NS ((1U << 30) - 1) 165 ((phydev)->drv->phy_id & (phydev)->drv->phy_id_mask) 192 ts->tv_sec = (hb[3] << 16) | hb[2]; in bcm_ptp_get_framesync_ts() 193 ts->tv_nsec = (hb[1] << 16) | hb[0]; in bcm_ptp_get_framesync_ts() 198 u16 ctrl = orig_ctrl & ~(NSE_FRAMESYNC_MASK | NSE_CAPTURE_EN); in bcm_ptp_framesync_disable() local [all …]
|
D | micrel.c | 1 // SPDX-License-Identifier: GPL-2.0+ 9 * Copyright (c) 2010-2013 Micrel, Inc. 126 * The value is calculated as following: (1/1000000)/((2^-32)/4) 132 * The value is calculated as following: (1/1000000)/((2^-32)/8) 186 #define PTP_GPIO_SEL_GPIO_SEL(pin) ((pin) << 8) argument 327 #define LAN8814_GPIO_EN_ADDR(pin) \ argument 328 ((pin) > 15 ? LAN8814_GPIO_EN1 : LAN8814_GPIO_EN2) 329 #define LAN8814_GPIO_EN_BIT(pin) BIT(pin) argument 330 #define LAN8814_GPIO_DIR_ADDR(pin) \ argument 331 ((pin) > 15 ? LAN8814_GPIO_DIR1 : LAN8814_GPIO_DIR2) [all …]
|
/linux-6.14.4/arch/sparc/kernel/ |
D | leon_pci_grpci2.c | 1 // SPDX-License-Identifier: GPL-2.0 31 * - barcfgs : Custom Configuration of Host's 6 target BARs 32 * - irq_mask : Limit which PCI interrupts are enabled 33 * - do_reset : Force PCI Reset on startup 41 * -1 means not configured (let host driver do default setup). 50 * Limit which PCI interrupts are enabled. 0=Disable, 1=Enable. By default 65 /* Enable Debugging Configuration Space Access */ 72 unsigned int ctrl; /* 0x00 Control */ member 79 unsigned int bars[6]; /* 0x20 read-only PCI BARs */ 81 unsigned int ahbmst_map[16]; /* 0x40 AHB->PCI Map per AHB Master */ [all …]
|
/linux-6.14.4/drivers/net/hamradio/ |
D | scc.c | 6 * Please use z8530drv-utils-3.0 with this version. 7 * ------------------ 15 * SCC.C - Linux driver for Z8530 based HDLC cards for AX.25 * 28 The code is likely to fail, and so your kernel could --- even 40 For non-Amateur-Radio use please note that you might need a special 60 ------------------------------- 62 1994-09-13 started to write the driver, rescued most of my own 71 1995-01-31 changed copyright notice to GPL without limitations. 77 1996-10-05 New semester, new driver... 85 * Invents brand new bugs... ;-) [all …]
|
/linux-6.14.4/drivers/net/ethernet/intel/e1000/ |
D | e1000_hw.c | 1 // SPDX-License-Identifier: GPL-2.0 2 /* Copyright(c) 1999 - 2006 Intel Corporation. */ 40 static void e1000_raise_mdi_clk(struct e1000_hw *hw, u32 *ctrl); 41 static void e1000_lower_mdi_clk(struct e1000_hw *hw, u32 *ctrl); 89 * e1000_set_phy_type - Set the phy type member in the hw struct. 94 if (hw->mac_type == e1000_undefined) in e1000_set_phy_type() 95 return -E1000_ERR_PHY_TYPE; in e1000_set_phy_type() 97 switch (hw->phy_id) { in e1000_set_phy_type() 103 hw->phy_type = e1000_phy_m88; in e1000_set_phy_type() 106 if (hw->mac_type == e1000_82541 || in e1000_set_phy_type() [all …]
|
/linux-6.14.4/drivers/tty/serial/ |
D | mxs-auart.c | 1 // SPDX-License-Identifier: GPL-2.0+ 9 * Copyright 2014 Oleksij Rempel <linux@rempel-privat.de> 11 * Copyright 2008-2010 Freescale Semiconductor, Inc. 34 #include <linux/dma-mapping.h> 90 #define AUART_LINECTRL_WLEN(v) ((((v) - 5) & 0x3) << 5) 131 * RW. RX TIMEOUT Enable. Valid for FIFO and DMA. 138 * RW. Receive Timeout Counter Value: number of 8-bit-time to wait before 140 * input is idle, then the watchdog counter will decrement each bit-time. Note 141 * 7-bit-time is added to the programmed value, so a value of zero will set 142 * the counter to 7-bit-time, a value of 0x1 gives 15-bit-time and so on. Also [all …]
|
/linux-6.14.4/drivers/phy/broadcom/ |
D | phy-brcm-usb-init-synopsys.c | 1 // SPDX-License-Identifier: GPL-2.0 13 #include "phy-brcm-usb-init.h" 36 /* Register definitions for the USB CTRL block */ 101 void __iomem *usb_mdio = params->regs[BRCM_REGS_USB_MDIO]; in usb_mdio_write_7211b0() 103 addr &= 0x1f; /* 5-bit address */ in usb_mdio_write_7211b0() 119 void __iomem *usb_mdio = params->regs[BRCM_REGS_USB_MDIO]; in usb_mdio_read_7211b0() 121 addr &= 0x1f; /* 5-bit address */ in usb_mdio_read_7211b0() 146 void __iomem *ctrl = params->regs[BRCM_REGS_CTRL]; in xhci_soft_reset() local 147 void __iomem *xhci_gbl = params->regs[BRCM_REGS_XHCI_GBL]; in xhci_soft_reset() 151 USB_CTRL_UNSET(ctrl, USB_PM, XHC_SOFT_RESETB); in xhci_soft_reset() [all …]
|
/linux-6.14.4/Documentation/core-api/ |
D | debugging-via-ohci1394.rst | 2 Using physical DMA provided by OHCI-1394 FireWire controllers for debugging 6 ------------ 9 to the OHCI-1394 specification which defines the controller to be a PCI 12 PCI-Bus master DMA after applying filters defined by the OHCI-1394 driver. 15 ask the OHCI-1394 controller to perform read and write requests on 28 hardware such as x86, x86-64 and PowerPC. 34 Together with a early initialization of the OHCI-1394 controller for debugging, 41 ------- 43 The firewire-ohci driver in drivers/firewire uses filtered physical 47 Because the firewire-ohci driver depends on the PCI enumeration to be [all …]
|
/linux-6.14.4/drivers/ptp/ |
D | ptp_ocp.c | 1 // SPDX-License-Identifier: GPL-2.0-only 13 #include <linux/clk-provider.h> 15 #include <linux/platform_data/i2c-xiic.h> 16 #include <linux/platform_data/i2c-ocores.h> 24 #include <linux/nvmem-consumer.h> 45 u32 ctrl; member 91 u32 ctrl; member 116 u32 enable; member 135 u32 ctrl; member 156 u32 ctrl; member [all …]
|
/linux-6.14.4/drivers/gpio/ |
D | gpio-realtek-otto.c | 1 // SPDX-License-Identifier: GPL-2.0-only 19 * Pin select: (0) "normal", (1) "dedicate peripheral" 42 * realtek_gpio_ctrl - Realtek Otto GPIO driver data 49 * @bank_read: Read a bank setting as a single 32-bit value 50 * @bank_write: Write a bank setting as a single 32-bit value 53 * The DIR, DATA, and ISR registers consist of four 8-bit port values, packed 54 * into a single 32-bit register. Use @bank_read (@bank_write) to get (assign) 55 * a value from (to) these registers. The IMR register consists of four 16-bit 56 * port values, packed into two 32-bit registers. Use @imr_line_pos to get the 57 * bit shift of the 2-bit field for a line's IMR settings. Shifts larger than [all …]
|
/linux-6.14.4/drivers/net/ethernet/sfc/falcon/ |
D | txc43128_phy.c | 1 // SPDX-License-Identifier: GPL-2.0-only 4 * Copyright 2006-2011 Solarflare Communications Inc. 9 * see www.transwitch.com, part is TXC-43128 30 * Compile-time config 52 /* Lane power-down */ 56 * initiates a logic reset. Self-clearing */ 61 /* Enable bit */ 69 /* Lane power-down */ 108 /* Lane power-down */ 125 /* Vendor-specific BIST registers */ [all …]
|