/Linux-v6.1/drivers/usb/gadget/udc/ |
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 …]
|
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 …]
|
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 …]
|
/Linux-v6.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-v6.1/sound/soc/ti/ |
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 …]
|
/Linux-v6.1/Documentation/networking/ |
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 …]
|
/Linux-v6.1/drivers/usb/musb/ |
D | davinci.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * Copyright (C) 2005-2006 by Texas Instruments 18 #include <linux/dma-mapping.h> 24 #include <asm/mach-types.h> 54 /* power everything up; start the on-chip PHY and its PLL */ in phy_on() 68 /* powerdown the on-chip PHY, its PLL, and the OTG block */ in phy_off() 81 tmp = (musb->epmask & DAVINCI_USB_TX_ENDPTS_MASK) in davinci_musb_enable() 83 musb_writel(musb->ctrl_base, DAVINCI_USB_INT_MASK_SET_REG, tmp); in davinci_musb_enable() 85 tmp = (musb->epmask & (0xfffe & DAVINCI_USB_RX_ENDPTS_MASK)) in davinci_musb_enable() 87 musb_writel(musb->ctrl_base, DAVINCI_USB_INT_MASK_SET_REG, tmp); in davinci_musb_enable() [all …]
|
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 …]
|
D | am35x.c | 1 // SPDX-License-Identifier: GPL-2.0 9 * Copyright (c) 2008-2009, MontaVista Software, Inc. <source@mvista.com> 19 #include <linux/dma-mapping.h> 21 #include <linux/platform_data/usb-omap.h> 79 * am35x_musb_enable - enable interrupts 83 void __iomem *reg_base = musb->ctrl_base; in am35x_musb_enable() 87 epmask = ((musb->epmask & AM35X_TX_EP_MASK) << AM35X_INTR_TX_SHIFT) | in am35x_musb_enable() 88 ((musb->epmask & AM35X_RX_EP_MASK) << AM35X_INTR_RX_SHIFT); in am35x_musb_enable() 99 * am35x_musb_disable - disable HDRC and flush interrupts 103 void __iomem *reg_base = musb->ctrl_base; in am35x_musb_disable() [all …]
|
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> 137 struct musb *musb = platform_get_drvdata(glue->musb); in dsps_mod_timer() 141 wait = msecs_to_jiffies(glue->wrp->poll_timeout); in dsps_mod_timer() 145 mod_timer(&musb->dev_timer, jiffies + wait); in dsps_mod_timer() 153 if (glue->vbus_irq) in dsps_mod_timer_optional() 156 dsps_mod_timer(glue, -1); in dsps_mod_timer_optional() 167 * dsps_musb_enable - enable interrupts 171 struct device *dev = musb->controller; in dsps_musb_enable() [all …]
|
/Linux-v6.1/arch/mips/include/asm/sgi/ |
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.
|
/Linux-v6.1/Documentation/m68k/ |
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 …]
|
/Linux-v6.1/drivers/pwm/ |
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 …]
|
/Linux-v6.1/drivers/bcma/ |
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 …]
|
/Linux-v6.1/drivers/clocksource/ |
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 …]
|
D | timer-cadence-ttc.c | 1 // SPDX-License-Identifier: GPL-2.0-only 5 * Copyright (C) 2011-2013 Xilinx 22 * This driver configures the 2 16/32-bit count-up timers as follows: 29 * common to all the timer channels (T1, T2, and T3). With a pre-scaler of 32, 30 * the timers are clocked at 78.125KHz (12.8 us resolution). 33 * obtained from device tree. The pre-scaler of 32 is used. 54 * Setup the timers to use pre-scaling, using a fixed value for now that will 59 #define CLK_CNTRL_PRESCALE ((PRESCALE_EXPONENT - 1) << 1) 66 * struct ttc_timer - This definition defines local timer structure 104 * ttc_set_interval - Set the timer interval value [all …]
|
/Linux-v6.1/drivers/siox/ |
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 …]
|
/Linux-v6.1/sound/soc/codecs/ |
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 …]
|
/Linux-v6.1/tools/perf/pmu-events/arch/x86/broadwellde/ |
D | pipeline.json | 8 …: "This event counts the number of the divide operations executed. Uses edge-detect and a cmask va… 23 "BriefDescription": "Speculative and retired macro-conditional branches", 28 …": "This event counts both taken and not taken speculative and retired macro-conditional branch in… 33 …"BriefDescription": "Speculative and retired macro-unconditional branches excluding calls and indi… 38 …": "This event counts both taken and not taken speculative and retired macro-unconditional branch … 73 "BriefDescription": "Not taken macro-conditional branches", 78 "PublicDescription": "This event counts not taken macro-conditional branch instructions.", 83 "BriefDescription": "Taken speculative and retired macro-conditional branches", 88 …"PublicDescription": "This event counts taken speculative and retired macro-conditional branch ins… 93 …"BriefDescription": "Taken speculative and retired macro-conditional branch instructions excluding… [all …]
|
/Linux-v6.1/tools/perf/pmu-events/arch/x86/broadwell/ |
D | pipeline.json | 8 …: "This event counts the number of the divide operations executed. Uses edge-detect and a cmask va… 23 "BriefDescription": "Speculative and retired macro-conditional branches", 28 …": "This event counts both taken and not taken speculative and retired macro-conditional branch in… 33 …"BriefDescription": "Speculative and retired macro-unconditional branches excluding calls and indi… 38 …": "This event counts both taken and not taken speculative and retired macro-unconditional branch … 73 "BriefDescription": "Not taken macro-conditional branches", 78 "PublicDescription": "This event counts not taken macro-conditional branch instructions.", 83 "BriefDescription": "Taken speculative and retired macro-conditional branches", 88 …"PublicDescription": "This event counts taken speculative and retired macro-conditional branch ins… 93 …"BriefDescription": "Taken speculative and retired macro-conditional branch instructions excluding… [all …]
|
/Linux-v6.1/tools/perf/pmu-events/arch/x86/broadwellx/ |
D | pipeline.json | 8 …: "This event counts the number of the divide operations executed. Uses edge-detect and a cmask va… 23 "BriefDescription": "Speculative and retired macro-conditional branches", 28 …": "This event counts both taken and not taken speculative and retired macro-conditional branch in… 33 …"BriefDescription": "Speculative and retired macro-unconditional branches excluding calls and indi… 38 …": "This event counts both taken and not taken speculative and retired macro-unconditional branch … 73 "BriefDescription": "Not taken macro-conditional branches", 78 "PublicDescription": "This event counts not taken macro-conditional branch instructions.", 83 "BriefDescription": "Taken speculative and retired macro-conditional branches", 88 …"PublicDescription": "This event counts taken speculative and retired macro-conditional branch ins… 93 …"BriefDescription": "Taken speculative and retired macro-conditional branch instructions excluding… [all …]
|
/Linux-v6.1/drivers/net/wireless/ath/ath9k/ |
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 …]
|
/Linux-v6.1/drivers/tty/serial/ |
D | sunsu.c | 1 // SPDX-License-Identifier: GPL-2.0 6 * Copyright (C) 1998-1999 Pete Zaitcev (zaitcev@yahoo.com) 13 * Theodore Ts'o <tytso@mit.edu>, 2001-Oct-12 16 * David S. Miller (davem@davemloft.net), 2002-Jul-29 50 /* We are on a NS PC87303 clocked with 24.0 MHz, which results 106 offset <<= up->port.regshift; in serial_in() 108 switch (up->port.iotype) { in serial_in() 110 outb(up->port.hub6 - 1 + offset, up->port.iobase); in serial_in() 111 return inb(up->port.iobase + 1); in serial_in() 114 return readb(up->port.membase + offset); in serial_in() [all …]
|
/Linux-v6.1/include/linux/spi/ |
D | spi.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later 31 * INTERFACES between SPI master-side drivers and SPI slave protocol handlers, 37 * struct spi_statistics - statistics for spi transfers 38 * @syncp: seqcount to protect members in this struct for per-cpu udate 39 * on 32-bit systems 41 * @messages: number of spi-messages handled 90 u64_stats_update_begin(&__lstats->syncp); \ 91 u64_stats_add(&__lstats->field, count); \ 92 u64_stats_update_end(&__lstats->syncp); \ 101 u64_stats_update_begin(&__lstats->syncp); \ [all …]
|
/Linux-v6.1/drivers/net/ieee802154/ |
D | mrf24j40.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * Driver for Microchip MRF24J40 802.15.4 Wireless-PAN Networking controller 150 #define REG_WAKETIMEL 0x222 /* Wake-up Time Match Value Low */ 151 #define REG_WAKETIMEH 0x223 /* Wake-up Time Match Value High */ 184 /* Device configuration: Only channels 11-26 on page 0 are supported. */ 188 - ((u32)1 << MRF24J40_CHAN_MIN)) 256 #define printdev(X) (&X->spi->dev) 512 return -EINVAL; in mrf24j40_long_regmap_write() 543 __le16 fc = ieee802154_get_fc_from_skb(devrec->tx_skb); in write_tx_buf_complete() 553 devrec->tx_post_msg.complete = NULL; in write_tx_buf_complete() [all …]
|