| /linux/Documentation/devicetree/bindings/ata/ |
| H A D | baikal,bt1-ahci.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/ata/baikal,bt1-ahci.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Baikal-T1 SoC AHCI SATA controller 10 - Serge Semin <fancer.lancer@gmail.com> 13 AHCI SATA controller embedded into the Baikal-T1 SoC is based on the 14 DWC AHCI SATA v4.10a IP-core. 17 - $ref: snps,dwc-ahci-common.yaml# 21 const: baikal,bt1-ahci [all …]
|
| H A D | snps,dwc-ahci-common.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/ata/snps,dwc-ahci-common.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Serge Semin <fancer.lancer@gmail.com> 19 - $ref: ahci-common.yaml# 31 PM-alive clock, RxOOB detection clock, embedded PHYs reference (Rx/Tx) 36 clock-names: 41 - description: Application APB/AHB/AXI BIU clock 43 - pclk [all …]
|
| H A D | snps,dwc-ahci.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/ata/snps,dwc-ahci.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Serge Semin <fancer.lancer@gmail.com> 20 - snps,dwc-ahci 21 - snps,spear-ahci 23 - compatible 26 - $ref: snps,dwc-ahci-common.yaml# 31 - description: Synopsys AHCI SATA-compatible devices [all …]
|
| /linux/drivers/net/wireless/ath/ath5k/ |
| H A D | desc.c | 2 * Copyright (c) 2004-2008 Reyk Floeter <reyk@openbsd.org> 3 * Copyright (c) 2006-2008 Nick Kossifidis <mickflemm@gmail.com> 4 * Copyright (c) 2007-2008 Pavel Roskin <proski@gnu.org> 34 * Here we handle the processing of the low-level hw descriptors 35 * that hw reads and writes via DMA for each TX and RX attempt (that means 36 * we can also have descriptors for failed TX/RX tries). We have two kind of 37 * descriptors for RX and TX, control descriptors tell the hw how to send or 53 * ath5k_hw_setup_2word_tx_desc() - Initialize a 2-word tx control descriptor 62 * @tx_tries0: Max number of retransmissions 69 * Internal function to initialize a 2-Word TX control descriptor [all …]
|
| H A D | base.c | 1 /*- 2 * Copyright (c) 2002-2005 Sam Leffler, Errno Consulting 3 * Copyright (c) 2004-2005 Atheros Communications, Inc. 20 * 3. Neither the names of the above-listed copyright holders nor the names 47 #include <linux/dma-mapping.h> 205 tsf -= 0x8000; in ath5k_extend_tsf() 256 struct ath5k_hw *ah = hw->priv; in ath5k_reg_notifier() 285 /* UNII-3 */ in ath5k_is_standard_channel() 287 /* 802.11j 5.030-5.080 GHz (20MHz) */ in ath5k_is_standard_channel() 296 unsigned int mode, unsigned int max) in ath5k_setup_channels() argument [all …]
|
| /linux/drivers/input/touchscreen/ |
| H A D | ads7846.c | 1 // SPDX-License-Identifier: GPL-2.0-only 10 * - corgi_ts.c 11 * Copyright (C) 2004-2005 Richard Purdie 12 * - omap_ts.[hc], ads7846.h, ts_osk.c 39 * Support for ads7843 tested on Atmel at91sam926x-EK. 53 * note. The strength of filtering can be set in the board-* specific 76 * driver is used with DMA-based SPI controllers (like atmel_spi) on 77 * systems where main memory is not DMA-coherent (most non-x86 boards). 85 struct ads7846_buf *rx; member 152 /* leave chip selected when we're done, for quicker re-select? */ [all …]
|
| /linux/arch/arm/boot/dts/st/ |
| H A D | spear1310-evb.dts | 1 // SPDX-License-Identifier: GPL-2.0-or-later 8 /dts-v1/; 13 compatible = "st,spear1310-evb", "st,spear1310"; 14 #address-cells = <1>; 15 #size-cells = <1>; 23 pinctrl-names = "default"; 24 pinctrl-0 = <&state_default>; 63 smi-pmx { 127 label = "u-boot"; 149 compatible = "gpio-keys"; [all …]
|
| H A D | spear1340-evb.dts | 1 // SPDX-License-Identifier: GPL-2.0-or-later 8 /dts-v1/; 13 compatible = "st,spear1340-evb", "st,spear1340"; 14 #address-cells = <1>; 15 #size-cells = <1>; 23 pinctrl-names = "default"; 24 pinctrl-0 = <&state_default>; 47 spdif-in { 51 spdif-out { 59 smi-pmx { [all …]
|
| /linux/drivers/net/vmxnet3/ |
| H A D | vmxnet3_defs.h | 4 * Copyright (C) 2008-2024, VMware, Inc. All Rights Reserved. 18 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 23 * Maintained by: pv-drivers@vmware.com 56 VMXNET3_REG_RXPROD = 0x800, /* Rx Producer Index for ring 1 */ 57 VMXNET3_REG_RXPROD2 = 0xA00 /* Rx Producer Index for ring 2 */ 63 VMXNET3_REG_LB_RXPROD = 0x1400, /* Rx Producer Index for ring 1 */ 64 VMXNET3_REG_LB_RXPROD2 = 0x1800, /* Rx Producer Index for ring 2 */ 73 #define VMXNET3_REG_ALIGN 8 /* All registers are 8-byte aligned. */ 133 * Little Endian layout of bitfields - 139 * Big Endian layout of bitfields - [all …]
|
| /linux/drivers/net/ethernet/intel/ixgbe/ |
| H A D | ixgbe_ptp.c | 1 // SPDX-License-Identifier: GPL-2.0 2 /* Copyright(c) 1999 - 2018 Intel Corporation. */ 30 * Period * [ 2 ^ ( MaxWidth - PeriodWidth ) ] 47 * +--------------+ +--------------+ 49 * *--------------+ +--------------+ 52 * +--------------+ +--------------+ 54 * *--------------+ +--------------+ 58 * 2^36 * 10^-9 / 60 = 1.14 minutes or 69 seconds 61 * 2^43 * 10^-9 / 3600 = 2.4 hours 89 * represents units of 2^-32 nanoseconds, and uses 31 bits for this, with the [all …]
|
| /linux/arch/arm/boot/dts/microchip/ |
| H A D | at91sam9x5ek.dtsi | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * at91sam9x5ek.dtsi - Device Tree file for AT91SAM9x5CM Base board 11 model = "Atmel AT91SAM9X5-EK"; 16 stdout-path = "serial0:115200n8"; 20 compatible = "atmel,sam9x5-wm8731-audio"; 24 atmel,audio-routing = 30 atmel,ssc-controller = <&ssc0>; 31 atmel,audio-codec = <&wm8731>; 36 atmel,adc-ts-wires = <4>; 37 atmel,adc-ts-pressure-threshold = <10000>; [all …]
|
| /linux/drivers/spi/ |
| H A D | spi-slave-time.c | 5 * as two 32-bit unsigned integers in binary format and in network byte order, 9 * Copyright (C) 2016-2017 Glider bvba 18 * # spidev_test -D /dev/spidev2.0 -p dummy-8B 21 * max speed: 500000 Hz (500 KHz) 22 * RX | 00 00 04 6D 00 09 5B BB ... 48 ret = priv->msg.status; in spi_slave_time_complete() 59 dev_info(&priv->spi->dev, "Terminating\n"); in spi_slave_time_complete() 60 complete(&priv->finished); in spi_slave_time_complete() 67 u64 ts; in spi_slave_time_submit() local 69 ts = local_clock(); in spi_slave_time_submit() [all …]
|
| /linux/tools/testing/selftests/net/ |
| H A D | txtimestamp.c | 1 // SPDX-License-Identifier: GPL-2.0-only 8 * - SCHED, SND and ACK timestamps 9 * - RAW, UDP and TCP 10 * - IPv4 and IPv6 11 * - various packet sizes (to test GSO and TSO) 17 * A simple `nc6 [-u] -l -p $DESTPORT` will do 87 static int saved_tskey = -1; 88 static int saved_tskey_type = -1; 92 int64_t max; member 103 static int64_t timespec_to_ns64(struct timespec *ts) in timespec_to_ns64() argument [all …]
|
| H A D | so_txtime.c | 1 // SPDX-License-Identifier: GPL-2.0 8 * mode using the '-r' option. Receiver will compare arrival timestamps to 10 * queue. The streams can differ due to out-of-order delivery and drops. 65 struct timespec ts; in gettime_ns() local 67 if (clock_gettime(clock, &ts)) in gettime_ns() 70 return ts.tv_sec * (1000ULL * 1000 * 1000) + ts.tv_nsec; in gettime_ns() 73 static void do_send_one(int fdt, struct timed_send *ts) in do_send_one() argument 82 iov.iov_base = &ts->data; in do_send_one() 90 if (ts->delay_us >= 0) { in do_send_one() 95 tdeliver = glob_tstart + ts->delay_us * 1000; in do_send_one() [all …]
|
| /linux/drivers/net/wireless/quantenna/qtnfmac/pcie/ |
| H A D | topaz_pcie.c | 1 // SPDX-License-Identifier: GPL-2.0+ 103 static void qtnf_deassert_intx(struct qtnf_pcie_topaz_state *ts) in qtnf_deassert_intx() argument 105 void __iomem *reg = ts->base.sysctl_bar + TOPAZ_PCIE_CFG0_OFFSET; in qtnf_deassert_intx() 113 static inline int qtnf_topaz_intx_asserted(struct qtnf_pcie_topaz_state *ts) in qtnf_topaz_intx_asserted() argument 115 void __iomem *reg = ts->base.sysctl_bar + TOPAZ_PCIE_CFG0_OFFSET; in qtnf_topaz_intx_asserted() 121 static void qtnf_topaz_reset_ep(struct qtnf_pcie_topaz_state *ts) in qtnf_topaz_reset_ep() argument 124 TOPAZ_LH_IPC4_INT(ts->base.sysctl_bar)); in qtnf_topaz_reset_ep() 126 pci_restore_state(ts->base.pdev); in qtnf_topaz_reset_ep() 129 static void setup_rx_irqs(struct qtnf_pcie_topaz_state *ts) in setup_rx_irqs() argument 131 void __iomem *reg = PCIE_DMA_WR_DONE_IMWR_ADDR_LOW(ts->base.dmareg_bar); in setup_rx_irqs() [all …]
|
| /linux/drivers/net/wireless/ath/ath9k/ |
| H A D | dynack.c | 28 * ath_dynack_get_max_to - set max timeout according to channel width 34 const struct ath9k_channel *chan = ah->curchan; in ath_dynack_get_max_to() 49 * ath_dynack_ewma - EWMA (Exponentially Weighted Moving Average) calculation 54 return (new * (EWMA_DIV - EWMA_LEVEL) + in ath_dynack_ewma() 61 * ath_dynack_get_sifs - get sifs time based on phy used 71 if (IS_CHAN_QUARTER_RATE(ah->curchan)) in ath_dynack_get_sifs() 73 else if (IS_CHAN_HALF_RATE(ah->curchan)) in ath_dynack_get_sifs() 82 * ath_dynack_bssidmask - filter out ACK frames based on BSSID mask 92 if ((common->macaddr[i] & common->bssidmask[i]) != in ath_dynack_bssidmask() 93 (mac[i] & common->bssidmask[i])) in ath_dynack_bssidmask() [all …]
|
| /linux/arch/arm64/boot/dts/qcom/ |
| H A D | msm8998-fxtec-pro1.dts | 1 // SPDX-License-Identifier: BSD-3-Clause 7 /dts-v1/; 9 #include <dt-bindings/input/input.h> 10 #include <dt-bindings/leds/common.h> 11 #include <dt-bindings/pinctrl/qcom,pmic-gpio.h> 20 chassis-type = "handset"; 21 qcom,board-id = <0x02000b 0x10>; 29 * Until we hook up type-c detection, we 32 extcon_usb: extcon-usb { 33 compatible = "linux,extcon-usb-gpio"; [all …]
|
| H A D | sc7280-qcard.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 14 #include <dt-bindings/iio/qcom,spmi-adc7-pmk8350.h> 15 #include <dt-bindings/iio/qcom,spmi-adc7-pmr735a.h> 16 #include <dt-bindings/pinctrl/qcom,pmic-gpio.h> 17 #include <dt-bindings/regulator/qcom,rpmh-regulator.h> 34 wcd9385: audio-codec-1 { 35 compatible = "qcom,wcd9385-codec"; 36 pinctrl-names = "default", "sleep"; 37 pinctrl-0 = <&wcd_reset_n>, <&us_euro_hs_sel>; 38 pinctrl-1 = <&wcd_reset_n_sleep>, <&us_euro_hs_sel>; [all …]
|
| H A D | msm8998-xiaomi-sagit.dts | 1 // SPDX-License-Identifier: BSD-3-Clause 3 * Xiaomi Mi 6 (sagit) device tree source based on msm8998-mtp.dtsi 10 /dts-v1/; 16 #include <dt-bindings/input/input.h> 17 #include <dt-bindings/leds/common.h> 18 #include <dt-bindings/pinctrl/qcom,pmic-gpio.h> 24 /delete-node/ &adsp_mem; 25 /delete-node/ &mpss_mem; 26 /delete-node/ &venus_mem; 27 /delete-node/ &mba_mem; [all …]
|
| H A D | msm8998-oneplus-common.dtsi | 1 // SPDX-License-Identifier: BSD-3-Clause 3 * OnePlus 5(T) (cheeseburger / dumpling) common device tree source based on msm8998-mtp.dtsi 9 /dts-v1/; 11 #include <dt-bindings/gpio/gpio.h> 12 #include <dt-bindings/pinctrl/qcom,pmic-gpio.h> 20 qcom,msm-id = <292 0x20001>; /* 8998 v2.1 */ 23 #address-cells = <2>; 24 #size-cells = <2>; 29 compatible = "simple-framebuffer"; 47 power-domains = <&mmcc MDSS_GDSC>; [all …]
|
| /linux/arch/arm/boot/dts/cirrus/ |
| H A D | ep93xx-ts7250.dts | 1 // SPDX-License-Identifier: GPL-2.0 5 /dts-v1/; 10 model = "TS-7250 SBC"; 11 #address-cells = <1>; 12 #size-cells = <1>; 25 compatible = "gpio-leds"; 26 led-0 { 29 linux,default-trigger = "heartbeat"; 33 led-1 { 42 nand-controller@60000000 { [all …]
|
| /linux/drivers/scsi/hisi_sas/ |
| H A D | hisi_sas_v1_hw.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 325 /* dma rx */ 374 /* trans rx */ 414 void __iomem *regs = hisi_hba->regs + off; in hisi_sas_read32() 422 void __iomem *regs = hisi_hba->regs + off; in hisi_sas_write32() 430 void __iomem *regs = hisi_hba->regs + (0x400 * phy_no) + off; in hisi_sas_phy_write32() 438 void __iomem *regs = hisi_hba->regs + (0x400 * phy_no) + off; in hisi_sas_phy_read32() 471 memcpy(&identify_frame._un4_11[0], hisi_hba->sas_addr, SAS_ADDR_SIZE); in config_id_frame_v1_hw() 472 memcpy(&identify_frame.sas_addr[0], hisi_hba->sas_addr, SAS_ADDR_SIZE); in config_id_frame_v1_hw() 493 struct domain_device *device = sas_dev->sas_device; in setup_itct_v1_hw() [all …]
|
| /linux/drivers/net/ethernet/pensando/ionic/ |
| H A D | ionic_phc.c | 1 // SPDX-License-Identifier: GPL-2.0 2 /* Copyright(c) 2017 - 2021 Pensando Systems, Inc */ 24 return -ERANGE; in ionic_hwstamp_tx_mode() 70 struct ionic *ionic = lif->ionic; in ionic_lif_hwstamp_set_ts_config() 72 struct hwtstamp_config ts; in ionic_lif_hwstamp_set_ts_config() local 79 if (!lif->phc || !lif->phc->ptp) in ionic_lif_hwstamp_set_ts_config() 80 return -EOPNOTSUPP; in ionic_lif_hwstamp_set_ts_config() 82 mutex_lock(&lif->phc->config_lock); in ionic_lif_hwstamp_set_ts_config() 93 config = &ts; in ionic_lif_hwstamp_set_ts_config() 94 memcpy(config, &lif->phc->ts_config, sizeof(*config)); in ionic_lif_hwstamp_set_ts_config() [all …]
|
| /linux/sound/soc/codecs/ |
| H A D | idt821034.c | 1 // SPDX-License-Identifier: GPL-2.0 28 u8 spi_tx_buf; /* Cannot use stack area for SPI (dma-safe memory) */ 29 u8 spi_rx_buf; /* Cannot use stack area for SPI (dma-safe memory) */ 55 .tx_buf = &idt821034->spi_tx_buf, in idt821034_8bit_write() 59 .tx_buf = &idt821034->spi_tx_buf, in idt821034_8bit_write() 64 idt821034->spi_tx_buf = val; in idt821034_8bit_write() 66 dev_vdbg(&idt821034->spi->de in idt821034_8bit_write() 165 u8 ts; idt821034_set_codec_conf() local 408 int max = mc->max; idt821034_kctrl_gain_get() local 440 int max = mc->max; idt821034_kctrl_gain_put() local [all...] |
| /linux/drivers/net/ethernet/google/gve/ |
| H A D | gve_desc_dqo.h | 1 /* SPDX-License-Identifier: (GPL-2.0 OR MIT) 4 * Copyright (C) 2015-2021 Google, Inc. 46 #define GVE_TX_MAX_BUF_SIZE_DQO ((16 * 1024) - 1) 48 /* Maximum number of data descriptors allowed per packet, or per-TSO segment. */ 79 /* Max segment size in TSO excluding headers. */ 126 /* If `skb->l4_hash` is set, this value should be 127 * derived from `skb->hash`. 148 /* For types 0-4 this is the TX queue ID associated with this 177 #define GVE_COMPL_TYPE_DQO_REINJECTION 0x3 /* Re-injection completion */ 186 __le16 buf_id; /* ID returned in Rx completion descriptor */ [all …]
|