/openbmc/u-boot/drivers/usb/gadget/ |
H A D | at91_udc.c | 1 // SPDX-License-Identifier: GPL-2.0+ 6 * at91_udc -- driver for at91-series USB peripheral controller 31 * This controller is simple and PIO-only. It's used in many AT91-series 33 * at91sam926x (arm926ejs, with MMU), and several no-mmu versions. 43 * (and the transceiver) to stay gated off until they're necessary, saving 55 "ep3-int", 62 __raw_readl((udc)->udp_baseaddr + (reg)) 64 __raw_writel((val), (udc)->udp_baseaddr + (reg)) 68 /*-------------------------------------------------------------------------*/ 72 unsigned stopped = ep->stopped; in done() [all …]
|
/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/usb/gadget/udc/ |
H A D | at91_udc.c | 1 // SPDX-License-Identifier: GPL-2.0+ 3 * at91_udc -- driver for at91-series USB peripheral controller 32 #include <linux/mfd/syscon/atmel-matrix.h> 38 * This controller is simple and PIO-only. It's used in many AT91-series 40 * at91sam926x (arm926ejs, with MMU), and several no-mmu versions. 50 * (and the transceiver) to stay gated off until they're necessary, saving 75 EP_INFO("ep3-int", 90 __raw_readl((udc)->udp_baseaddr + (reg)) 92 __raw_writel((val), (udc)->udp_baseaddr + (reg)) 94 /*-------------------------------------------------------------------------*/ [all …]
|
H A D | lpc32xx_udc.c | 1 // SPDX-License-Identifier: GPL-2.0+ 20 #include <linux/dma-mapping.h> 78 #define DATA_IN 1 /* Expect dev->host transfer */ 79 #define DATA_OUT 2 /* Expect host->dev transfer */ 161 /* USB device peripheral - various */ 164 bool clocked; member 188 dev_dbg(epp->udc->dev, "%s: " fmt, __func__, ## arg) 190 dev_err(epp->udc->dev, "%s: " fmt, __func__, ## arg) 192 dev_info(epp->udc->dev, "%s: " fmt, __func__, ## arg) 194 dev_warn(epp->udc->dev, "%s:" fmt, __func__, ## arg) [all …]
|
H A D | atmel_usba_udc.c | 1 // SPDX-License-Identifier: GPL-2.0 5 * Copyright (C) 2005-2007 Atmel Corporation 15 #include <linux/dma-mapping.h> 39 struct usba_ep *ep = inode->i_private; in queue_dbg_open() 45 return -ENOMEM; in queue_dbg_open() 48 spin_lock_irq(&ep->udc->lock); in queue_dbg_open() 49 list_for_each_entry(req, &ep->queue, queue) { in queue_dbg_open() 53 list_add_tail(&req_copy->queue, queue_data); in queue_dbg_open() 55 spin_unlock_irq(&ep->udc->lock); in queue_dbg_open() 57 file->private_data = queue_data; in queue_dbg_open() [all …]
|
/openbmc/linux/sound/soc/ti/ |
H A D | davinci-i2s.c | 1 // SPDX-License-Identifier: GPL-2.0-only 9 * based on davinci-mcasp.c DT support 31 #include "edma-pcm.h" 32 #include "davinci-i2s.h" 34 #define DRV_NAME "davinci-i2s" 39 * - This driver supports the "Audio Serial Port" (ASP), 42 * - But it labels it a "Multi-channel Buffered Serial Port" 44 * backward-compatible, possibly explaining that confusion. 46 * - OMAP chips have a controller called McBSP, which is 49 * - Newer DaVinci chips have a controller called McASP, [all …]
|
/openbmc/linux/Documentation/networking/ |
H A D | phy.rst | 26 #. Increase code-reuse 27 #. Increase overall code-maintainability 67 for one of the users. (e.g. "git grep fsl,.*-mdio arch/powerpc/boot/dts/") 72 The Reduced Gigabit Medium Independent Interface (RGMII) is a 12-pin 84 or the PCB traces insert the correct 1.5-2ns delay 97 * PHY devices may offer sub-nanosecond granularity in how they allow a 115 PHY_INTERFACE_MODE_RGMII, it should make sure that the MAC-level delays are 130 ----------------------------------------- 197 PHY-specific flags should be set in phydev->dev_flags prior to the call 208 Now just make sure that phydev->supported and phydev->advertising have any [all …]
|
/openbmc/linux/arch/mips/include/asm/sgi/ |
H A D | ioc.h | 20 * All registers are 8-bit wide aligned on 32-bit boundary. Bad things 91 #define SGINT_TCWORD_MOS 0x02 /* One-shot IRQ mode. */ 108 * The timer is the good old 8254. Unlike in PCs it's clocked at exactly 1MHz 113 * This is the constant we're using for calibrating the counter.
|
/openbmc/linux/Documentation/arch/m68k/ |
H A D | buddha-driver.rst | 8 ------------------------------------------------------------------------ 11 Buddha-part of the Catweasel Zorro-II version 21 product number: 0 (42 for Catweasel Z-II) 23 Rom-vector: $1000 25 The card should be a Z-II board, size 64K, not for freemem 26 list, Rom-Vektor is valid, no second Autoconfig-board on the 30 as the Amiga Kickstart does: The lower nibble of the 8-Bit 32 $48, while it doesn't matter how often you're writing to $4a 36 otherwise your chance is only 1:16 to find the board :-). 38 The local memory-map is even active when mapped to $e8: [all …]
|
/openbmc/linux/drivers/pwm/ |
H A D | pwm-sl28cpld.c | 1 // SPDX-License-Identifier: GPL-2.0-only 8 * enough to be briefly explained. It consists of one 8-bit counter. The PWM 14 * Let cnt[7:0] be the counter, clocked at 32kHz: 15 * +-----------+--------+--------------+-----------+---------------+ 17 * +-----------+--------+--------------+-----------+---------------+ 22 * +-----------+--------+--------------+-----------+---------------+ 25 * - The hardware cannot generate a 100% duty cycle if the prescaler is 0. 26 * - The hardware cannot atomically set the prescaler and the counter value, 28 * - The counter is not reset if you switch the prescaler which leads 30 * - The duty cycle will switch immediately and not after a complete cycle. [all …]
|
/openbmc/linux/drivers/bcma/ |
H A D | driver_chipcommon.c | 7 * Copyright 2012, Hauke Mehrtens <hauke@hauke-m.de> 30 if (cc->capabilities & BCMA_CC_CAP_PMU) in bcma_chipco_get_alp_clock() 39 struct bcma_bus *bus = cc->core->bus; in bcma_core_cc_has_pmu_watchdog() 41 if (cc->capabilities & BCMA_CC_CAP_PMU) { in bcma_core_cc_has_pmu_watchdog() 42 if (bus->chipinfo.id == BCMA_CHIP_ID_BCM53573) { in bcma_core_cc_has_pmu_watchdog() 43 WARN(bus->chipinfo.rev <= 1, "No watchdog available\n"); in bcma_core_cc_has_pmu_watchdog() 58 struct bcma_bus *bus = cc->core->bus; in bcma_chipco_watchdog_get_max_timer() 62 if (bus->chipinfo.id == BCMA_CHIP_ID_BCM4706) in bcma_chipco_watchdog_get_max_timer() 64 else if (cc->core->id.rev < 26) in bcma_chipco_watchdog_get_max_timer() 67 nb = (cc->core->id.rev >= 37) ? 32 : 24; in bcma_chipco_watchdog_get_max_timer() [all …]
|
/openbmc/linux/drivers/clocksource/ |
H A D | arm_global_timer.c | 1 // SPDX-License-Identifier: GPL-2.0-only 48 * We are expecting to be clocked by the ARM peripheral clock. 61 * 1. Read the upper 32-bit timer counter register 62 * 2. Read the lower 32-bit timer counter register 63 * 3. Read the upper 32-bit timer counter register again. If the value is 64 * different to the 32-bit upper value read previously, go back to step 2. 65 * Otherwise the 64-bit timer counter value is correct. 95 * 2. Write the lower 32-bit Comparator Value Register. 96 * 3. Write the upper 32-bit Comparator Value Register. 156 * the same event in single-shot mode) in gt_clockevent_interrupt() [all …]
|
H A D | timer-cadence-ttc.c | 1 // SPDX-License-Identifier: GPL-2.0-only 5 * Copyright (C) 2011-2013 Xilinx 23 * This driver configures the 2 16/32-bit count-up timers as follows: 30 * common to all the timer channels (T1, T2, and T3). With a pre-scaler of 32, 31 * the timers are clocked at 78.125KHz (12.8 us resolution). 34 * obtained from device tree. The pre-scaler of 32 is used. 55 * Setup the timers to use pre-scaling, using a fixed value for now that will 60 #define CLK_CNTRL_PRESCALE ((PRESCALE_EXPONENT - 1) << 1) 67 * struct ttc_timer - This definition defines local timer structure 105 * ttc_set_interval - Set the timer interval value [all …]
|
/openbmc/linux/drivers/usb/musb/ |
H A D | da8xx.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * Texas Instruments DA8xx/OMAP-L1x "glue layer" 5 * Copyright (c) 2008-2009 MontaVista Software, Inc. <source@mvista.com> 8 * Copyright (C) 2005-2006 by Texas Instruments 23 #include <linux/dma-mapping.h> 46 #define DA8XX_USB_GENERIC_RNDIS_EP_SIZE_REG(n) (0x50 + (((n) - 1) << 2)) 76 * - not read/write INTRUSB/INTRUSBE (except during 78 * - use INTSET/INTCLR instead. 82 * da8xx_musb_enable - enable interrupts 86 void __iomem *reg_base = musb->ctrl_base; in da8xx_musb_enable() [all …]
|
H A D | musb_dsps.c | 1 // SPDX-License-Identifier: GPL-2.0 21 #include <linux/dma-mapping.h> 25 #include <linux/platform_data/usb-omap.h> 135 struct musb *musb = platform_get_drvdata(glue->musb); in dsps_mod_timer() 139 wait = msecs_to_jiffies(glue->wrp->poll_timeout); in dsps_mod_timer() 143 mod_timer(&musb->dev_timer, jiffies + wait); in dsps_mod_timer() 151 if (glue->vbus_irq) in dsps_mod_timer_optional() 154 dsps_mod_timer(glue, -1); in dsps_mod_timer_optional() 165 * dsps_musb_enable - enable interrupts 169 struct device *dev = musb->controller; in dsps_musb_enable() [all …]
|
/openbmc/linux/drivers/siox/ |
H A D | siox-core.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * Copyright (C) 2015-2017 Pengutronix, Uwe Kleine-König <kernel@pengutronix.de> 14 * The lowest bit in the SIOX status word signals if the in-device watchdog is 23 * clocked in before. The value clocked in is changed in each cycle and so 29 * Each Siox-Device has a 4 bit type number that is neither 0 nor 15. This is 43 mutex_lock(&smaster->lock); in siox_master_lock() 48 mutex_unlock(&smaster->lock); in siox_master_unlock() 83 if (sdevice->statustype) { in siox_device_type_error() 84 if (statustype != sdevice->statustype) in siox_device_type_error() 107 if (siox_device_type_error(sdevice, sdevice->status_read_clean)) in siox_device_synced() [all …]
|
/openbmc/u-boot/drivers/usb/musb-new/ |
H A D | am35x.c | 1 // SPDX-License-Identifier: GPL-2.0 8 * Copyright (c) 2008-2009, MontaVista Software, Inc. <source@mvista.com> 21 #include <linux/dma-mapping.h> 27 #include "linux-compat.h" 83 #define glue_to_musb(g) platform_get_drvdata(g->musb) 86 * am35x_musb_enable - enable interrupts 94 void __iomem *reg_base = musb->ctrl_base; in am35x_musb_enable() 98 epmask = ((musb->epmask & AM35X_TX_EP_MASK) << AM35X_INTR_TX_SHIFT) | in am35x_musb_enable() 99 ((musb->epmask & AM35X_RX_EP_MASK) << AM35X_INTR_RX_SHIFT); in am35x_musb_enable() 114 * am35x_musb_disable - disable HDRC and flush interrupts [all …]
|
H A D | musb_dsps.c | 1 // SPDX-License-Identifier: GPL-2.0 22 #include <linux/dma-mapping.h> 34 #include "linux-compat.h" 142 * dsps_musb_enable - enable interrupts 151 struct device *dev = musb->controller; in dsps_musb_enable() 152 struct platform_device *pdev = to_platform_device(dev->parent); in dsps_musb_enable() 154 const struct dsps_musb_wrapper *wrp = glue->wrp; in dsps_musb_enable() 158 void __iomem *reg_base = musb->ctrl_base; in dsps_musb_enable() 162 epmask = ((musb->epmask & wrp->txep_mask) << wrp->txep_shift) | in dsps_musb_enable() 163 ((musb->epmask & wrp->rxep_mask) << wrp->rxep_shift); in dsps_musb_enable() [all …]
|
/openbmc/linux/tools/perf/pmu-events/arch/x86/meteorlake/ |
H A D | pipeline.json | 7 …y executing divide or square root operations. Accounts for integer and floating-point operations.", 151 …-speculative execution path is known. The branch prediction unit (BPU) predicts the target address… 202 "BriefDescription": "Mispredicted non-taken conditional branch instructions retired.", 212 …"BriefDescription": "Mispredicted non-taken conditional branch instructions retired. This precise … 249 …"BriefDescription": "Miss-predicted near indirect branch instructions retired (excluding returns)", 253 …"PublicDescription": "Counts miss-predicted near indirect branch instructions retired excluding re… 319 …"PublicDescription": "This is a non-precise version (that is, does not use PEBS) of the event that… 343 …"BriefDescription": "Core clocks when the thread is in the C0.1 light-weight slower wakeup time bu… 346 …"PublicDescription": "Counts core clocks when the thread is in the C0.1 light-weight slower wakeup… 352 …"BriefDescription": "Core clocks when the thread is in the C0.2 light-weight faster wakeup time bu… [all …]
|
/openbmc/linux/tools/perf/pmu-events/arch/x86/broadwellde/ |
H A D | pipeline.json | 6 …: "This event counts the number of the divide operations executed. Uses edge-detect and a cmask va… 19 "BriefDescription": "Speculative and retired macro-conditional branches", 22 …": "This event counts both taken and not taken speculative and retired macro-conditional branch in… 27 …"BriefDescription": "Speculative and retired macro-unconditional branches excluding calls and indi… 30 …": "This event counts both taken and not taken speculative and retired macro-unconditional branch … 59 "BriefDescription": "Not taken macro-conditional branches", 62 "PublicDescription": "This event counts not taken macro-conditional branch instructions.", 67 "BriefDescription": "Taken speculative and retired macro-conditional branches", 70 …"PublicDescription": "This event counts taken speculative and retired macro-conditional branch ins… 75 …"BriefDescription": "Taken speculative and retired macro-conditional branch instructions excluding… [all …]
|
/openbmc/linux/tools/perf/pmu-events/arch/x86/broadwellx/ |
H A D | pipeline.json | 6 …: "This event counts the number of the divide operations executed. Uses edge-detect and a cmask va… 19 "BriefDescription": "Speculative and retired macro-conditional branches", 22 …": "This event counts both taken and not taken speculative and retired macro-conditional branch in… 27 …"BriefDescription": "Speculative and retired macro-unconditional branches excluding calls and indi… 30 …": "This event counts both taken and not taken speculative and retired macro-unconditional branch … 59 "BriefDescription": "Not taken macro-conditional branches", 62 "PublicDescription": "This event counts not taken macro-conditional branch instructions.", 67 "BriefDescription": "Taken speculative and retired macro-conditional branches", 70 …"PublicDescription": "This event counts taken speculative and retired macro-conditional branch ins… 75 …"BriefDescription": "Taken speculative and retired macro-conditional branch instructions excluding… [all …]
|
/openbmc/linux/tools/perf/pmu-events/arch/x86/broadwell/ |
H A D | pipeline.json | 6 …: "This event counts the number of the divide operations executed. Uses edge-detect and a cmask va… 19 "BriefDescription": "Speculative and retired macro-conditional branches", 22 …": "This event counts both taken and not taken speculative and retired macro-conditional branch in… 27 …"BriefDescription": "Speculative and retired macro-unconditional branches excluding calls and indi… 30 …": "This event counts both taken and not taken speculative and retired macro-unconditional branch … 59 "BriefDescription": "Not taken macro-conditional branches", 62 "PublicDescription": "This event counts not taken macro-conditional branch instructions.", 67 "BriefDescription": "Taken speculative and retired macro-conditional branches", 70 …"PublicDescription": "This event counts taken speculative and retired macro-conditional branch ins… 75 …"BriefDescription": "Taken speculative and retired macro-conditional branch instructions excluding… [all …]
|
/openbmc/linux/tools/perf/pmu-events/arch/x86/alderlake/ |
H A D | pipeline.json | 17 …y executing divide or square root operations. Accounts for integer and floating-point operations.", 295 …-speculative execution path is known. The branch prediction unit (BPU) predicts the target address… 328 "BriefDescription": "Mispredicted non-taken conditional branch instructions retired.", 366 …"BriefDescription": "Miss-predicted near indirect branch instructions retired (excluding returns)", 370 …"PublicDescription": "Counts miss-predicted near indirect branch instructions retired excluding re… 439 …"PublicDescription": "This is a non-precise version (that is, does not use PEBS) of the event that… 464 …"BriefDescription": "Core clocks when the thread is in the C0.1 light-weight slower wakeup time bu… 467 …"PublicDescription": "Counts core clocks when the thread is in the C0.1 light-weight slower wakeup… 473 …"BriefDescription": "Core clocks when the thread is in the C0.2 light-weight faster wakeup time bu… 476 …"PublicDescription": "Counts core clocks when the thread is in the C0.2 light-weight faster wakeup… [all …]
|
/openbmc/linux/sound/soc/codecs/ |
H A D | wm8955.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * wm8955.c -- WM8955 ALSA SoC Audio driver 50 { 2, 0x0079 }, /* R2 - LOUT1 volume */ 51 { 3, 0x0079 }, /* R3 - ROUT1 volume */ 52 { 5, 0x0008 }, /* R5 - DAC Control */ 53 { 7, 0x000A }, /* R7 - Audio Interface */ 54 { 8, 0x0000 }, /* R8 - Sample Rate */ 55 { 10, 0x00FF }, /* R10 - Left DAC volume */ 56 { 11, 0x00FF }, /* R11 - Right DAC volume */ 57 { 12, 0x000F }, /* R12 - Bass control */ [all …]
|
/openbmc/linux/drivers/net/wireless/ath/ath9k/ |
H A D | beacon.c | 2 * Copyright (c) 2008-2011 Atheros Communications Inc. 17 #include <linux/dma-mapping.h> 24 sc->beacon.tx_processed = false; in ath9k_reset_beacon_status() 25 sc->beacon.tx_last = false; in ath9k_reset_beacon_status() 35 struct ath_hw *ah = sc->sc_ah; in ath9k_beaconq_config() 40 ath9k_hw_get_txq_props(ah, sc->beacon.beaconq, &qi); in ath9k_beaconq_config() 42 if (sc->sc_ah->opmode == NL80211_IFTYPE_AP || in ath9k_beaconq_config() 43 sc->sc_ah->opmode == NL80211_IFTYPE_MESH_POINT) { in ath9k_beaconq_config() 50 txq = sc->tx.txq_map[IEEE80211_AC_BE]; in ath9k_beaconq_config() 51 ath9k_hw_get_txq_props(ah, txq->axq_qnum, &qi_be); in ath9k_beaconq_config() [all …]
|