| /linux/drivers/net/ethernet/oki-semi/pch_gbe/ |
| H A D | pch_gbe_phy.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Copyright (C) 1999 - 2010 Intel Corporation. 12 #define PHY_MAX_REG_ADDRESS 0x1F /* 5 bit address bus (0-0x1F) */ 25 #define PHY_1000T_CTRL 0x09 /* 1000Base-T Control Register */ 26 #define PHY_1000T_STATUS 0x0A /* 1000Base-T Status Register */ 85 #define PHY_1000T_CTRL_DEFAULT 0x0300 /* 1000Base-T Control Register */ 89 * pch_gbe_phy_get_id - Retrieve the PHY ID and revision 90 * @hw: Pointer to the HW structure 95 s32 pch_gbe_phy_get_id(struct pch_gbe_hw *hw) in pch_gbe_phy_get_id() argument 97 struct pch_gbe_adapter *adapter = pch_gbe_hw_to_adapter(hw); in pch_gbe_phy_get_id() [all …]
|
| /linux/drivers/gpu/drm/msm/disp/mdp5/ |
| H A D | mdp5_cfg.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Copyright (c) 2014-2015 The Linux Foundation. All rights reserved. 10 int revision; member 72 { .id = 3, .pp = -1, .dspp = -1, 74 { .id = 4, .pp = -1, .dspp = -1, 157 { .id = 1, .pp = -1, .dspp = -1, 236 { .id = 3, .pp = -1, .dspp = -1, 238 { .id = 4, .pp = -1, .dspp = -1, 333 { .id = 3, .pp = -1, .dspp = -1, 335 { .id = 4, .pp = -1, .dspp = -1, [all …]
|
| /linux/arch/arm/boot/dts/ti/omap/ |
| H A D | omap34xx.dtsi | 1 // SPDX-License-Identifier: GPL-2.0-only 5 * Copyright (C) 2013 Texas Instruments Incorporated - https://www.ti.com/ 8 #include <dt-bindings/bus/ti-sysc.h> 9 #include <dt-bindings/media/omap3-isp.h> 16 /* OMAP343x/OMAP35xx variants OPP1-6 */ 17 operating-points-v2 = <&cpu0_opp_table>; 19 clock-latency = <300000>; /* From legacy driver */ 20 #cooling-cells = <2>; 24 cpu0_opp_table: opp-table { 25 compatible = "operating-points-v2-ti-cpu"; [all …]
|
| H A D | am335x-osd335x-common.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 3 * Copyright (C) 2012 Texas Instruments Incorporated - https://www.ti.com/ 11 cpu0-supply = <&dcdc2_reg>; 26 * Therefore, from a DEVICE_ID revision point of view, the silicon looks 27 * like it is Revision 2.1. However, from an EFUSE_SMA point of view for 28 * the HW OPP table, the silicon looks like it is Revision 1.0 (ie the 31 opp-1000000000 { 33 opp-supported-hw = <0x06 0x0100>; 38 i2c0_pins: pinmux-i2c0-pins { 39 pinctrl-single,pins = < [all …]
|
| /linux/drivers/gpu/drm/amd/include/ |
| H A D | discovery.h | 99 uint8_t revision; /* HCID Revision */ member 117 uint8_t revision; /* Hardware ID.revision version */ member 119 uint8_t variant : 4; /* HW variant */ 120 uint8_t sub_revision : 4; /* HCID Sub-Revision */ 122 uint8_t sub_revision : 4; /* HCID Sub-Revision */ 123 uint8_t variant : 4; /* HW variant */ 134 uint8_t revision; /* Hardware ID.revision version */ member 136 uint8_t sub_revision : 4; /* HCID Sub-Revision */ 137 uint8_t variant : 4; /* HW variant */ 139 uint8_t variant : 4; /* HW variant */ [all …]
|
| /linux/Documentation/networking/devlink/ |
| H A D | mlxsw.rst | 1 .. SPDX-License-Identifier: GPL-2.0 13 .. list-table:: Generic parameters implemented 15 * - Name 16 - Mode 17 * - ``fw_load_policy`` 18 - driverinit 20 The ``mlxsw`` driver also implements the following driver-specific 23 .. list-table:: Driver-specific parameters implemented 26 * - Name 27 - Type [all …]
|
| /linux/Documentation/devicetree/bindings/memory-controllers/ti/ |
| H A D | emif.txt | 3 EMIF - External Memory Interface - is an SDRAM controller used in 4 TI SoCs. EMIF supports, based on the IP revision, one or more of 11 - compatible : Should be of the form "ti,emif-<ip-rev>" where <ip-rev> 12 is the IP revision of the specific EMIF instance. For newer controllers, 14 "ti,emif-am3352" 15 "ti,emif-am4372" 16 "ti,emif-dra7xx" 17 "ti,emif-keystone" 19 - phy-type : <u32> indicating the DDR phy type. Following are the 24 - device-handle : phandle to a "lpddr2" node representing the memory part [all …]
|
| /linux/drivers/clk/ |
| H A D | clk-cs2000-cp.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * CS2000 -- CIRRUS LOGIC Fractional-N Clock Synthesizer & Clock Multiplier 8 #include <linux/clk-provider.h> 25 #define Ratio_Val(x, nth) ((x >> (24 - (8 * nth))) & 0xFF) 26 #define Val_Ratio(x, nth) ((x & 0xFF) << (24 - (8 * nth))) 70 #define hw_to_priv(_hw) container_of(_hw, struct cs2000_priv, hw) 71 #define priv_to_client(priv) (priv->client) 72 #define priv_to_dev(priv) (&(priv_to_client(priv)->dev)) 103 struct clk_hw hw; member 119 { .compatible = "cirrus,cs2000-cp", }, [all …]
|
| H A D | clk-si5341.c | 1 // SPDX-License-Identifier: GPL-2.0 15 #include <linux/clk-provider.h> 52 struct clk_hw hw; member 57 container_of(_hw, struct clk_si5341_synth, hw) 61 struct clk_hw hw; member 67 container_of(_hw, struct clk_si5341_output, hw) 70 struct clk_hw hw; member 86 #define to_clk_si5341(_hw) container_of(_hw, struct clk_si5341, hw) 127 /* Input dividers (48-bit) */ 138 ((output)->data->reg_output_offset[(output)->index]) [all …]
|
| /linux/drivers/crypto/marvell/octeontx2/ |
| H A D | otx2_cpt_common.h | 1 /* SPDX-License-Identifier: GPL-2.0-only 28 /* HW capability flags */ 41 /* Take mbox id from end of CPT mbox range in AF (range 0xA00 - 0xBFF) */ 49 * This message is only used between CPT PF <-> CPT VF 83 * This messages are only used between CPT PF <-> CPT VF 94 /* CPT HW capabilities */ 116 * Message request and response to get HW capabilities for each 147 return pdev->device == OTX2_CPT_PCI_PF_DEVICE_ID || in is_dev_otx2() 148 pdev->device == OTX2_CPT_PCI_VF_DEVICE_ID; in is_dev_otx2() 153 return pdev->subsystem_device == CPT_PCI_SUBSYS_DEVID_CN10K_A; in is_dev_cn10ka() [all …]
|
| /linux/drivers/media/rc/ |
| H A D | ene_ir.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 11 #define ENE_STATUS 0 /* hardware status - unused */ 60 /* IRQ registers block (for revision B) */ 72 /* IRQ registers block (for revision C,D) */ 101 /* Knobs for protocol decoding - will document when/if will use them */ 108 /* Actual register which contains RLC RX data - read by firmware */ 112 /* RLC configuration - sample period (1us resolution) + idle mode */ 125 * Low nibble - number of carrier pulses to average 126 * High nibble - number of initial carrier pulses to discard 148 #define ENE_ECHV 0xFF00 /* hardware revision */ [all …]
|
| /linux/arch/riscv/kernel/ |
| H A D | acpi.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * RISC-V Specific Low-Level ACPI Boot Support 5 * Copyright (C) 2013-2014, Linaro Ltd. 12 * Copyright (C) 2021-2023, Ventana Micro Systems Inc. 17 #include <linux/efi-bgrt.h> 41 return -EINVAL; in parse_acpi() 51 return -EINVAL; /* Core will print when we return error */ in parse_acpi() 58 * acpi_fadt_sanity_check() - Check FADT presence and carry out sanity 72 * and carry out revision and ACPI HW reduced compliancy tests in acpi_fadt_sanity_check() 79 return -ENODEV; in acpi_fadt_sanity_check() [all …]
|
| /linux/drivers/net/wireless/broadcom/b43legacy/ |
| H A D | main.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 6 * Copyright (c) 2005 Martin Langer <martin-langer@gmx.de> 7 * Copyright (c) 2005-2008 Stefano Brivio <stefano.brivio@polimi.it> 14 * driver Copyright(c) 2003 - 2004 Intel Corporation. 27 #include <linux/dma-mapping.h> 157 if (!wl || !wl->current_dev) in b43legacy_ratelimit() 159 if (b43legacy_status(wl->current_dev) < B43legacy_STAT_STARTED) in b43legacy_ratelimit() 179 printk(KERN_INFO "b43legacy-%s: %pV", in b43legacyinfo() 180 (wl && wl->hw) ? wiphy_name(wl->hw->wiphy) : "wlan", &vaf); in b43legacyinfo() 198 printk(KERN_ERR "b43legacy-%s ERROR: %pV", in b43legacyerr() [all …]
|
| /linux/arch/arm64/kernel/ |
| H A D | acpi.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * ARM64 Specific Low-Level ACPI Boot Support 5 * Copyright (C) 2013-2014, Linaro Ltd. 16 #include <linux/arm-smccc.h> 19 #include <linux/efi-bgrt.h> 54 return -EINVAL; in parse_acpi() 66 return -EINVAL; /* Core will print when we return error */ in parse_acpi() 122 * acpi_fadt_sanity_check() - Check FADT presence and carry out sanity 136 * and carry out revision and ACPI HW reduced compliance tests in acpi_fadt_sanity_check() 143 return -ENODEV; in acpi_fadt_sanity_check() [all …]
|
| /linux/drivers/infiniband/hw/hns/ |
| H A D | hns_roce_main.c | 15 * - Redistributions of source code must retain the above 19 * - Redistributions in binary form must reproduce the above 51 if (hr_dev->pci_dev->revision >= PCI_REVISION_ID_HIP09) in hns_roce_set_mac() 54 if (!memcmp(hr_dev->dev_addr[port], addr, ETH_ALEN)) in hns_roce_set_mac() 58 hr_dev->dev_addr[port][i] = addr[i]; in hns_roce_set_mac() 60 phy_port = hr_dev->iboe.phy_port[port]; in hns_roce_set_mac() 61 return hr_dev->hw->set_mac(hr_dev, phy_port, addr); in hns_roce_set_mac() 66 struct hns_roce_dev *hr_dev = to_hr_dev(attr->device); in hns_roce_add_gid() 67 u32 port = attr->port_num - 1; in hns_roce_add_gid() 70 if (port >= hr_dev->caps.num_ports) in hns_roce_add_gid() [all …]
|
| /linux/tools/testing/selftests/drivers/net/mlxsw/ |
| H A D | devlink_linecard.sh | 2 # SPDX-License-Identifier: GPL-2.0 5 # LC_SLOT - If not set, all probed line cards are going to be tested, 41 devlink lc show $DEVLINK_DEV lc $lc -j | jq -e -r ".[][][].state" 75 devlink port -j | jq -e -r ".[][] | select(.lc==$lc) | .port" | wc -l 91 devlink lc show $DEVLINK_DEV lc $lc -j | jq -e -r ".[][][].nested_devlink" 140 provisioned_type=$(devlink lc show $DEVLINK_DEV lc $lc -j | jq -e -r ".[][][].type") 170 supported_types_count=$(devlink lc show $DEVLINK_DEV lc $lc -j | \ 171 jq -e -r ".[][][].supported_types | length") 176 type=$(devlink lc show $DEVLINK_DEV lc $lc -j | \ 177 jq -e -r ".[][][].supported_types[$type_index]") [all …]
|
| /linux/drivers/crypto/cavium/nitrox/ |
| H A D | nitrox_debugfs.c | 1 // SPDX-License-Identifier: GPL-2.0 11 struct nitrox_device *ndev = s->private; in firmware_show() 13 seq_printf(s, "Version: %s\n", ndev->hw.fw_name[0]); in firmware_show() 14 seq_printf(s, "Version: %s\n", ndev->hw.fw_name[1]); in firmware_show() 22 struct nitrox_device *ndev = s->private; in device_show() 24 seq_printf(s, "NITROX [%d]\n", ndev->idx); in device_show() 25 seq_printf(s, " Part Name: %s\n", ndev->hw.partname); in device_show() 26 seq_printf(s, " Frequency: %d MHz\n", ndev->hw.freq); in device_show() 27 seq_printf(s, " Device ID: 0x%0x\n", ndev->hw.device_id); in device_show() 28 seq_printf(s, " Revision ID: 0x%0x\n", ndev->hw.revision_id); in device_show() [all …]
|
| /linux/Documentation/devicetree/bindings/powerpc/fsl/ |
| H A D | srio.txt | 5 - compatible 9 Revision Register (SRIO IPBRR1) Major ID equal to 0x01c0. 11 Optionally, a compatible string of "fsl,srio-vX.Y" where X is Major 12 version in IP Block Revision Register and Y is Minor version. If this 15 - reg 17 Value type: <prop-encoded-array> 22 - interrupts 24 Value type: <prop_encoded-array> 31 property. (Typically shared with port-write). 33 - fsl,srio-rmu-handle: [all …]
|
| /linux/drivers/scsi/isci/ |
| H A D | host.h | 7 * Copyright(c) 2008 - 2011 Intel Corporation. All rights reserved. 20 * Foundation, Inc., 51 Franklin St - Fifth Floor, Boston, MA 02110-1301 USA. 26 * Copyright(c) 2008 - 2011 Intel Corporation. All rights reserved. 72 * struct sci_power_control - 129 * isci_host - primary host/controller object 131 * @device_table: rni (hw remote node index) to remote device lookup table 135 * @task_context_table: hw task context table 136 * @remote_node_context_table: hw remote node context table 137 * @completion_queue: hw-producer driver-consumer communication ring 138 * @completion_queue_get: tracks the driver 'head' of the ring to notify hw [all …]
|
| /linux/drivers/ntb/hw/intel/ |
| H A D | ntb_hw_gen4.h | 1 /* SPDX-License-Identifier: (GPL-2.0 OR BSD-3-Clause) */ 8 /* Supported PCI device revision range for ICX */ 31 #define GEN4_INTVEC_OFFSET 0x0050 /* 0-32 vecs */ 34 #define GEN4_IM_SPAD_OFFSET 0x0080 /* 0-15 SPADs */ 35 #define GEN4_IM_SPAD_SEM_OFFSET 0x00c0 /* SPAD hw semaphore */ 37 #define GEN4_IM_DOORBELL_OFFSET 0x0100 /* 0-31 doorbells */ 117 pdev->revision >= PCI_DEVICE_REVISION_ICX_MIN && in pdev_is_ICX() 118 pdev->revision <= PCI_DEVICE_REVISION_ICX_MAX) in pdev_is_ICX() 126 pdev->revision > PCI_DEVICE_REVISION_ICX_MAX) in pdev_is_SPR()
|
| /linux/arch/sparc/include/asm/ |
| H A D | mbus.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 32 /* HW Mbus module bugs we have to deal with */ 55 #define ROSS_604_REV_F 0x1 /* revision f */ 56 #define ROSS_605 0xf /* revision a, a.1, and a.2 */ 57 #define ROSS_605_REV_B 0xe /* revision b */
|
| /linux/drivers/net/wireless/mediatek/mt76/mt76x0/ |
| H A D | usb.c | 1 // SPDX-License-Identifier: GPL-2.0-only 20 { USB_DEVICE(0x148f, 0x761a) }, /* TP-Link TL-WDN5200 */ 21 { USB_DEVICE(0x148f, 0x760a) }, /* TP-Link unknown */ 22 { USB_DEVICE(0x0b05, 0x17d1) }, /* Asus USB-AC51 */ 23 { USB_DEVICE(0x0b05, 0x17db) }, /* Asus USB-AC50 */ 24 { USB_DEVICE(0x0df6, 0x0075) }, /* Sitecom WLA-3100 */ 25 { USB_DEVICE(0x2019, 0xab31) }, /* Planex GW-450D */ 26 { USB_DEVICE(0x2001, 0x3d02) }, /* D-LINK DWA-171 rev B1 */ 29 { USB_DEVICE(0x04bb, 0x0951) }, /* I-O DATA WN-AC433UK */ 32 { USB_DEVICE(0x20f4, 0x806b) }, /* TRENDnet TEW-806UBH */ [all …]
|
| /linux/drivers/net/ethernet/intel/igc/ |
| H A D | igc_phy.c | 1 // SPDX-License-Identifier: GPL-2.0 8 * igc_check_reset_block - Check if PHY reset is blocked 9 * @hw: pointer to the HW structure 15 s32 igc_check_reset_block(struct igc_hw *hw) in igc_check_reset_block() argument 26 * igc_get_phy_id - Retrieve the PHY ID and revision 27 * @hw: pointer to the HW structure 30 * revision in the hardware structure. 32 s32 igc_get_phy_id(struct igc_hw *hw) in igc_get_phy_id() argument 34 struct igc_phy_info *phy = &hw->phy; in igc_get_phy_id() 38 ret_val = phy->ops.read_reg(hw, PHY_ID1, &phy_id); in igc_get_phy_id() [all …]
|
| /linux/include/uapi/linux/netfilter/ |
| H A D | x_tables.h | 1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ 18 __u8 revision; member 41 __u8 revision; member 75 /* The argument to IPT_SO_GET_REVISION_*. Returns highest revision 76 * kernel supports, if >= revision. */ 79 __u8 revision; member 86 #define XT_RETURN (-NF_REPEAT - 1) 91 * personal pleasure to remove it -HW 136 __i < (e)->target_offset; \ 137 __i += __m->u.match_size) { \ [all …]
|
| /linux/drivers/net/ethernet/freescale/enetc/ |
| H A D | enetc.h | 1 /* SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause) */ 2 /* Copyright 2017-2019 NXP */ 8 #include <linux/dma-mapping.h> 21 #define ENETC_MAX_MTU (ENETC_MAC_MAXFRM_SIZE - \ 64 #define ENETC_SKB_CB(skb) ((struct enetc_skb_cb *)((skb)->cb)) 82 (SKB_WITH_OVERHEAD(ENETC_RXB_TRUESIZE) - ENETC_RXB_PAD) 84 (SKB_WITH_OVERHEAD(ENETC_RXB_TRUESIZE) - XDP_PACKET_HEADROOM) 187 if (unlikely(++*i == bdr->bd_count)) in enetc_bdr_idx_inc() 193 if (bdr->next_to_clean > bdr->next_to_use) in enetc_bd_unused() 194 return bdr->next_to_clean - bdr->next_to_use - 1; in enetc_bd_unused() [all …]
|