/Linux-v6.1/Documentation/devicetree/bindings/ata/ |
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 …]
|
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 …]
|
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> 17 - $ref: snps,dwc-ahci-common.yaml# 22 - description: Synopsys AHCI SATA-compatible devices 23 const: snps,dwc-ahci 24 - description: SPEAr1340 AHCI SATA device 25 const: snps,spear-ahci [all …]
|
/Linux-v6.1/drivers/net/wireless/ath/ath5k/ |
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 49 * TX Control descriptors * 53 * ath5k_hw_setup_2word_tx_desc() - Initialize a 2-word tx control descriptor 60 * @tx_power: Tx power in 0.5dB steps [all …]
|
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-v6.1/arch/arm/boot/dts/ |
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 …]
|
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 …]
|
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-v6.1/drivers/input/touchscreen/ |
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 41 * Support for ads7843 tested on Atmel at91sam926x-EK. 55 * note. The strength of filtering can be set in the board-* specific 78 * driver is used with DMA-based SPI controllers (like atmel_spi) on 79 * systems where main memory is not DMA-coherent (most non-x86 boards). 88 struct ads7846_buf *tx; member 153 /* leave chip selected when we're done, for quicker re-select? */ [all …]
|
/Linux-v6.1/drivers/media/cec/core/ |
D | cec-pin.c | 1 // SPDX-License-Identifier: GPL-2.0-only 10 #include <media/cec-pin.h> 11 #include "cec-pin-priv.h" 61 /* Data bits are 0-7, EOM is bit 8 and ACK is bit 9 */ 73 { "Tx Wait", CEC_TIM_SAMPLE }, 74 { "Tx Wait for High", CEC_TIM_IDLE_SAMPLE }, 75 { "Tx Start Bit Low", CEC_TIM_START_BIT_LOW }, 76 { "Tx Start Bit High", CEC_TIM_START_BIT_TOTAL - CEC_TIM_START_BIT_LOW }, 77 { "Tx Start Bit High Short", CEC_TIM_START_BIT_TOTAL_SHORT - CEC_TIM_START_BIT_LOW }, 78 { "Tx Start Bit High Long", CEC_TIM_START_BIT_TOTAL_LONG - CEC_TIM_START_BIT_LOW }, [all …]
|
/Linux-v6.1/arch/arm64/boot/dts/qcom/ |
D | sc7280-crd-r3.dts | 1 // SPDX-License-Identifier: BSD-3-Clause 8 /dts-v1/; 10 #include "sc7280-idp.dtsi" 11 #include "sc7280-idp-ec-h1.dtsi" 14 model = "Qualcomm Technologies, Inc. sc7280 CRD platform (rev3 - 4)"; 15 compatible = "qcom,sc7280-crd", 16 "google,hoglin-rev3", "google,hoglin-rev4", 17 "google,piglin-rev3", "google,piglin-rev4", 25 stdout-path = "serial0:115200n8"; 30 pmg1110-regulators { [all …]
|
D | sdm845-xiaomi-polaris.dts | 1 // SPDX-License-Identifier: BSD-3-Clause 7 /dts-v1/; 9 #include <dt-bindings/gpio/gpio.h> 10 #include <dt-bindings/pinctrl/qcom,pmic-gpio.h> 11 #include <dt-bindings/regulator/qcom,rpmh-regulator.h> 12 #include <dt-bindings/input/linux-event-codes.h> 13 #include <dt-bindings/sound/qcom,q6afe.h> 14 #include <dt-bindings/sound/qcom,q6asm.h> 24 /delete-node/ &rmtfs_mem; 25 /delete-node/ &adsp_mem; [all …]
|
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 …]
|
D | sdm845-shift-axolotl.dts | 1 // SPDX-License-Identifier: GPL-2.0 8 /dts-v1/; 10 #include <dt-bindings/gpio/gpio.h> 11 #include <dt-bindings/leds/common.h> 12 #include <dt-bindings/regulator/qcom,rpmh-regulator.h> 20 qcom,msm-id = <321 0x20001>; 21 qcom,board-id = <11 0>; 29 #address-cells = <2>; 30 #size-cells = <2>; 33 stdout-path = "serial0"; [all …]
|
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 …]
|
D | sdm845-oneplus-common.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 8 /dts-v1/; 10 #include <dt-bindings/input/linux-event-codes.h> 11 #include <dt-bindings/regulator/qcom,rpmh-regulator.h> 17 /delete-node/ &rmtfs_mem; 26 stdout-path = "serial0:115200n8"; 29 gpio-keys { 30 compatible = "gpio-keys"; 34 pinctrl-names = "default"; 35 pinctrl-0 = <&volume_down_gpio &volume_up_gpio>; [all …]
|
/Linux-v6.1/drivers/net/wireless/ath/ath9k/ |
D | xmit.c | 2 * Copyright (c) 2008-2011 Atheros Communications Inc. 17 #include <linux/dma-mapping.h> 33 #define TIME_SYMBOLS_HALFGI(t) (((t) * 5 - 4) / 18) 35 #define NUM_SYMBOLS_PER_USEC_HALFGI(_usec) (((_usec*5)-4)/18) 43 { 104, 216 }, /* 3: 16-QAM 1/2 */ 44 { 156, 324 }, /* 4: 16-QAM 3/4 */ 45 { 208, 432 }, /* 5: 64-QAM 2/3 */ 46 { 234, 486 }, /* 6: 64-QAM 3/4 */ 47 { 260, 540 }, /* 7: 64-QAM 5/6 */ 58 struct ath_tx_status *ts, int txok); [all …]
|
D | dynack.c | 27 * ath_dynack_get_max_to - set max timeout according to channel width 33 const struct ath9k_channel *chan = ah->curchan; in ath_dynack_get_max_to() 48 * ath_dynack_ewma - EWMA (Exponentially Weighted Moving Average) calculation 53 return (new * (EWMA_DIV - EWMA_LEVEL) + in ath_dynack_ewma() 60 * ath_dynack_get_sifs - get sifs time based on phy used 70 if (IS_CHAN_QUARTER_RATE(ah->curchan)) in ath_dynack_get_sifs() 72 else if (IS_CHAN_HALF_RATE(ah->curchan)) in ath_dynack_get_sifs() 81 * ath_dynack_bssidmask - filter out ACK frames based on BSSID mask 91 if ((common->macaddr[i] & common->bssidmask[i]) != in ath_dynack_bssidmask() 92 (mac[i] & common->bssidmask[i])) in ath_dynack_bssidmask() [all …]
|
/Linux-v6.1/drivers/net/wireless/quantenna/qtnfmac/pcie/ |
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-v6.1/drivers/ata/ |
D | ahci_dwc.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 25 #define DRV_NAME "ahci-dwc" 95 /* Baikal-T1 AHCI SATA specific registers */ 127 struct ahci_dwc_host_priv *dpriv = hpriv->plat_data; in ahci_bt1_init() 134 dev_err(&dpriv->pdev->dev, "No system clocks specified\n"); in ahci_bt1_init() 135 return -EINVAL; in ahci_bt1_init() 145 dev_err(&dpriv->pdev->dev, "Couldn't assert the resets\n"); in ahci_bt1_init() 151 dev_err(&dpriv->pdev->dev, "Couldn't de-assert the resets\n"); in ahci_bt1_init() 163 dpriv = devm_kzalloc(&pdev->dev, sizeof(*dpriv), GFP_KERNEL); in ahci_dwc_get_resources() 165 return ERR_PTR(-ENOMEM); in ahci_dwc_get_resources() [all …]
|
/Linux-v6.1/drivers/net/can/spi/mcp251xfd/ |
D | mcp251xfd-tef.c | 1 // SPDX-License-Identifier: GPL-2.0 3 // mcp251xfd - Microchip MCP251xFD Family CAN controller driver 6 // Marc Kleine-Budde <kernel@pengutronix.de> 26 err = regmap_read(priv->map_reg, MCP251XFD_REG_TEFUA, &tef_ua); in mcp251xfd_tef_tail_get_from_chip() 49 netdev_err(priv->ndev, in mcp251xfd_check_tef_tail() 52 return -EILSEQ; in mcp251xfd_check_tef_tail() 61 const struct mcp251xfd_tx_ring *tx_ring = priv->tx; in mcp251xfd_handle_tefif_recover() 65 err = regmap_read(priv->map_reg, MCP251XFD_REG_TEFSTA, &tef_sta); in mcp251xfd_handle_tefif_recover() 70 netdev_err(priv->ndev, in mcp251xfd_handle_tefif_recover() 72 return -ENOBUFS; in mcp251xfd_handle_tefif_recover() [all …]
|
/Linux-v6.1/drivers/net/ethernet/intel/ixgbe/ |
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-v6.1/tools/testing/selftests/net/ |
D | txtimestamp.c | 1 // SPDX-License-Identifier: GPL-2.0-only 6 * Test software tx timestamping, including 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 85 static int saved_tskey = -1; 86 static int saved_tskey_type = -1; 90 int64_t max; member [all …]
|
/Linux-v6.1/drivers/net/ethernet/aquantia/atlantic/hw_atl/ |
D | hw_atl_b0.c | 1 // SPDX-License-Identifier: GPL-2.0-only 4 * Copyright (C) 2014-2019 aQuantia Corporation 5 * Copyright (C) 2019-2020 Marvell International Ltd. 123 self->aq_fw_ops->set_state(self, MPI_RESET); in hw_atl_b0_hw_reset() 154 struct aq_nic_cfg_s *cfg = self->aq_nic_cfg; in hw_atl_b0_hw_qos_set() 160 if (cfg->is_ptp) { in hw_atl_b0_hw_qos_set() 161 tx_buff_size -= HW_ATL_B0_PTP_TXBUF_SIZE; in hw_atl_b0_hw_qos_set() 162 rx_buff_size -= HW_ATL_B0_PTP_RXBUF_SIZE; in hw_atl_b0_hw_qos_set() 172 tx_buff_size /= cfg->tcs; in hw_atl_b0_hw_qos_set() 173 rx_buff_size /= cfg->tcs; in hw_atl_b0_hw_qos_set() [all …]
|
/Linux-v6.1/drivers/scsi/hisi_sas/ |
D | hisi_sas_v2_hw.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 575 DMA_TX_ERR_BASE = 0x40, /* dw2 bit 15-0 */ 576 SIPC_RX_ERR_BASE = 0x50, /* dw2 bit 31-16*/ 579 /* trans tx*/ 655 /* dma tx */ 714 #define HISI_MAX_SATA_SUPPORT_V2_HW (HISI_SAS_COMMAND_ENTRIES_V2_HW/64 - 1) 731 void __iomem *regs = hisi_hba->regs + off; in hisi_sas_read32() 738 void __iomem *regs = hisi_hba->regs + off; in hisi_sas_read32_relaxed() 745 void __iomem *regs = hisi_hba->regs + off; in hisi_sas_write32() 753 void __iomem *regs = hisi_hba->regs + (0x400 * phy_no) + off; in hisi_sas_phy_write32() [all …]
|