/linux/drivers/fpga/tests/ |
H A D | fpga-bridge-test.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * KUnit test for the FPGA Bridge 12 #include <linux/fpga/fpga-bridge.h> 17 bool enable; member 21 struct fpga_bridge *bridge; member 33 static int op_enable_set(struct fpga_bridge *bridge, bool enable) in op_enable_set() argument 35 struct bridge_stats *stats = bridge->priv; in op_enable_set() 37 stats->enable = enable; in op_enable_set() 43 * Fake FPGA bridge that implements only the enable_set op to track 51 * register_test_bridge() - Register a fake FPGA bridge for testing. [all …]
|
H A D | fpga-region-test.c | 1 // SPDX-License-Identifier: GPL-2.0 12 #include <linux/fpga/fpga-bridge.h> 13 #include <linux/fpga/fpga-mgr.h> 14 #include <linux/fpga/fpga-region.h> 23 bool enable; member 30 struct fpga_bridge *bridge; member 53 struct mgr_stats *stats = mgr->priv; in op_write() 55 stats->write_count++; in op_write() 70 static int op_enable_set(struct fpga_bridge *bridge, bool enable) in op_enable_set() argument 72 struct bridge_stats *stats = bridge->priv; in op_enable_set() [all …]
|
/linux/Documentation/devicetree/bindings/fpga/ |
H A D | fpga-bridge.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/fpga/fpga-bridge.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: FPGA Bridge 10 - Michal Simek <michal.simek@amd.com> 14 pattern: "^fpga-bridge(@.*|-([0-9]|[1-9][0-9]+))?$" 16 bridge-enable: 18 0 if driver should disable bridge at startup 19 1 if driver should enable bridge at startup [all …]
|
H A D | altr,freeze-bridge-controller.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/fpga/altr,freeze-bridge-controller.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Altera Freeze Bridge Controller 10 The Altera Freeze Bridge Controller manages one or more freeze bridges. 12 changes from passing through the bridge. The controller can also 13 unfreeze/enable the bridges which allows traffic to pass through the bridge 17 - Xu Yilun <yilun.xu@intel.com> 20 - $ref: fpga-bridge.yaml# [all …]
|
/linux/Documentation/devicetree/bindings/ata/ |
H A D | cortina,gemini-sata-bridge.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/ata/cortina,gemini-sata-bridge.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Cortina Systems Gemini SATA Bridge 10 - Linus Walleij <linus.walleij@linaro.org> 13 The Gemini SATA bridge in a SoC-internal PATA to SATA bridge that 19 const: cortina,gemini-sata-bridge 28 reset-names: 30 - const: sata0 [all …]
|
/linux/drivers/media/usb/gspca/m5602/ |
H A D | m5602_ov9650.c | 1 // SPDX-License-Identifier: GPL-2.0-only 25 {BRIDGE, M5602_XB_MCU_CLK_DIV, 0x02}, 26 {BRIDGE, M5602_XB_MCU_CLK_CTRL, 0xb0}, 27 {BRIDGE, M5602_XB_SEN_CLK_DIV, 0x00}, 28 {BRIDGE, M5602_XB_SEN_CLK_CTRL, 0xb0}, 29 {BRIDGE, M5602_XB_ADC_CTRL, 0xc0}, 30 {BRIDGE, M5602_XB_SENSOR_CTRL, 0x00}, 32 {BRIDGE, M5602_XB_SENSOR_TYPE, 0x08}, 33 {BRIDGE, M5602_XB_GPIO_DIR, 0x05}, 34 {BRIDGE, M5602_XB_GPIO_DAT, 0x04}, [all …]
|
/linux/drivers/staging/vme_user/ |
H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0 3 bool "VME bridge support" 6 Enable support for VME (VersaModular Eurocard bus) bridge modules. 7 The bridge allows connecting VME devices to systems with existing 11 Note that this only enables the bridge framework. You'll also 12 likely want to enable driver for specific bridge device you have 17 comment "VME Bridge Drivers" 20 tristate "Tundra TSI148 VME bridge support" 23 If you say Y here you get support for the Tundra TSI148 VME-to-PCI/X 24 bridge chip (and pin-compatible clones). [all …]
|
/linux/tools/testing/selftests/net/forwarding/ |
H A D | bridge_vlan_mcast.sh | 2 # SPDX-License-Identifier: GPL-2.0 40 ip link add dev br0 type bridge mcast_snooping 1 mcast_querier 1 vlan_filtering 1 52 bridge vlan add vid 10-11 dev $swp1 master 53 bridge vlan add vid 10-11 dev $swp2 master 55 ip link set dev br0 type bridge mcast_vlan_snooping 1 56 check_err $? "Could not enable global vlan multicast snooping" 57 log_test "Vlan multicast snooping enable" 108 bridge -j mdb show dev br0 | 109 jq -e ".[].mdb[] | select(.grp == \"$TEST_GROUP\" and .vid == 10)" &>/dev/null 110 if [ $expect -eq 0 ]; then [all …]
|
/linux/drivers/gpu/drm/bridge/ |
H A D | ite-it66121.c | 1 // SPDX-License-Identifier: GPL-2.0-only 5 * Copyright (C) 2018-2019, Artem Mygaiev 10 #include <linux/media-bus-format.h> 30 #include <sound/hdmi-codec.h> 299 struct drm_bridge bridge; member 341 gpiod_set_value(ctx->gpio_reset, 1); in it66121_hw_reset() 343 gpiod_set_value(ctx->gpio_reset, 0); in it66121_hw_reset() 348 return regmap_write(ctx->regmap, IT66121_MASTER_SEL_REG, IT66121_MASTER_SEL_HOST); in it66121_preamble_ddc() 353 return regmap_write(ctx->regmap, IT66121_AFE_DRV_REG, 0); in it66121_fire_afe() 362 if (ctx->bus_width == 12) in it66121_configure_input() [all …]
|
H A D | tc358767.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * TC358767/TC358867/TC9595 DSI/DPI-to-DPI/(e)DP bridge driver 6 * All modes are supported -- DPI->(e)DP / DSI->DPI / DSI->(e)DP . 27 #include <linux/media-bus-format.h> 44 /* DSI D-PHY Layer registers */ 77 #define DSI_STARTDSI 0x0204 /* START control bit of DSI-TX */ 82 /* Lane enable PPI and DSI register bits */ 110 #define SUB_CFG_TYPE_CONFIG3 (2 << 2) /* LSB aligned 8-bit */ 151 #define SYSRSTENB 0x050c /* System Reset/Enable Register */ 184 #define VID_MN_GEN BIT(6) /* Auto-generate M/N values */ [all …]
|
/linux/drivers/gpu/drm/mediatek/ |
H A D | mtk_hdmi.c | 1 // SPDX-License-Identifier: GPL-2.0-only 7 #include <linux/arm-smccc.h> 24 #include <sound/hdmi-codec.h> 154 struct drm_bridge bridge; member 180 return container_of(b, struct mtk_hdmi, bridge); in hdmi_ctx_from_bridge() 185 regmap_update_bits(hdmi->regs, VIDEO_CFG_4, in mtk_hdmi_hw_vid_black() 189 static void mtk_hdmi_hw_make_reg_writable(struct mtk_hdmi *hdmi, bool enable) in mtk_hdmi_hw_make_reg_writable() argument 194 * MT8173 HDMI hardware has an output control bit to enable/disable HDMI in mtk_hdmi_hw_make_reg_writable() 197 * this control bit to enable HDMI output in supervisor mode. in mtk_hdmi_hw_make_reg_writable() 199 if (hdmi->conf && hdmi->conf->tz_disabled) in mtk_hdmi_hw_make_reg_writable() [all …]
|
/linux/tools/testing/selftests/net/ |
H A D | test_bridge_neigh_suppress.sh | 2 # SPDX-License-Identifier: GPL-2.0 4 # This test is for checking bridge neighbor suppression functionality. The 6 # host is connected to each bridge over multiple VLANs. The test checks that 10 # +----- [all...] |
/linux/drivers/gpu/drm/mcde/ |
H A D | mcde_drv.c | 1 // SPDX-License-Identifier: GPL-2.0 5 * (C) ST-Ericsson SA 2013 9 * DOC: ST-Ericsson MCDE Driver 11 * The MCDE (short for multi-channel display engine) is a graphics 15 * ST-Ericsson U8500 where is was used for mass-market deployments 18 * It can do 1080p30 on SDTV CCIR656, DPI-2, DBI-2 or DSI for 25 * Memory -> Overlay -> Channel -> FIFO -> 8 formatters -> DSI/DPI 26 * External 0..5 0..3 A,B, 6 x DSI bridge 41 * helpers. We then provide a bridge to the DSI port, and on the DSI port 42 * bridge we connect hang a panel bridge or other bridge. This may be subject [all …]
|
/linux/arch/arm/kernel/ |
H A D | bios32.c | 1 // SPDX-License-Identifier: GPL-2.0 5 * PCI bios-type initialisation for PCI machines 16 #include <asm/mach-types.h> 30 list_for_each_entry(dev, &bus->devices, bus_list) { in pcibios_bus_report_status() 34 * ignore host bridge - we handle in pcibios_bus_report_status() 37 if (dev->bus->number == 0 && dev->devfn == 0) in pcibios_bus_report_status() 54 list_for_each_entry(dev, &bus->devices, bus_list) in pcibios_bus_report_status() 55 if (dev->subordinate) in pcibios_bus_report_status() 56 pcibios_bus_report_status(dev->subordinate, status_mask, warn); in pcibios_bus_report_status() 70 * Note that the arbiter/ISA bridge appears to be buggy, specifically in [all …]
|
/linux/drivers/ata/ |
H A D | sata_gemini.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Cortina Systems Gemini SATA bridge add-on to Faraday FTIDE010 23 * struct sata_gemini - a state container for a Gemini SATA bridge 28 * @sata_bridge: if the device enables the SATA bridge 57 * 111-100 - Reserved 58 * Mode 0: 000 - ata0 master <-> sata0 59 * ata1 master <-> sata1 61 * Mode 1: 001 - ata0 master <-> sata0 62 * ata1 master <-> sata1 64 * Mode 2: 010 - ata1 master <-> sata1 [all …]
|
/linux/include/uapi/linux/ |
H A D | if_link.h | 1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ 43 * struct rtnl_link_stats64 - The main device statistics structure. 93 * - 30.3.1.1.21 aMulticastFramesReceivedOK 103 * - 30.3.1.1.23 aInRangeLengthErrors 104 * - 30.3.1.1.24 aOutOfRangeLengthField 105 * - 30. [all...] |
/linux/drivers/pci/ |
H A D | pci.c | 1 // SPDX-License-Identifier: GPL-2.0 5 * Copyright 1993 -- 1997 Drew Eckhardt, Frederic Potter, 6 * David Mosberger-Tang 8 * Copyright 1997 -- 2000 Martin Mares <mj@ucw.cz> 82 unsigned int delay_ms = max(dev->d3hot_delay, pci_pm_d3hot_delay); in pci_dev_d3_sleep() 95 return dev->reset_methods[0] != 0; in pci_reset_supported() 114 * pci=hpmmiosize=nnM overrides non-prefetchable MMIO size, 125 /* PCIe MPS/MRRS strategy; can be overridden by kernel command-line param */ 142 * measured in 32-bit words, not bytes. 184 * pci_bus_max_busnr - returns maximum PCI bus number of given bus' children [all …]
|
/linux/Documentation/i2c/busses/ |
H A D | i2c-ali15x3.rst | 2 Kernel driver i2c-ali15x3 6 * Acer Labs, Inc. ALI 1533 and 1543C (south bridge) 12 - Frodo Looijaard <frodol@dds.nl>, 13 - Philip Edelbrock <phil@netroedge.com>, 14 - Mark D. Studebaker <mdsxyz123@yahoo.com> 17 ----------------- 24 ----- 33 modprobe i2c-ali15x3 force_addr=0xe800 40 ----------- 45 The M1543C is a South bridge for desktop systems. [all …]
|
/linux/drivers/gpu/drm/rockchip/ |
H A D | cdn-dp-core.c | 1 // SPDX-License-Identifier: GPL-2.0-only 4 * Author: Chris Zhong <zyw@rock-chips.com> 16 #include <sound/hdmi-codec.h> 27 #include "cdn-dp-core.h" 28 #include "cdn-dp-reg.h" 30 static inline struct cdn_dp_device *bridge_to_dp(struct drm_bridge *bridge) in bridge_to_dp() argument 32 return container_of(bridge, struct cdn_dp_device, bridge); in bridge_to_dp() 63 { .compatible = "rockchip,rk3399-cdn-dp", 75 ret = clk_prepare_enable(dp->grf_clk); in cdn_dp_grf_write() 77 DRM_DEV_ERROR(dp->dev, "Failed to prepare_enable grf clock\n"); in cdn_dp_grf_write() [all …]
|
/linux/drivers/pcmcia/ |
H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 9 Say Y here if you want to attach PCMCIA- or PC-cards to your Linux 10 computer. These are credit-card size devices such as network cards, 21 tristate "16-bit PCMCIA support" 26 This option enables support for 16-bit PCMCIA cards. Most older 27 PC-cards are such 16-bit PCMCIA cards, so unless you know you're 28 only using 32-bit CardBus cards, say Y or M here. 30 To use 16-bit PCMCIA cards, you will need supporting software in 48 automatically using the in-kernel firmware loader and the hotplug 49 subsystem, instead of relying on cardmgr from pcmcia-cs to do so. [all …]
|
/linux/drivers/gpu/drm/bridge/adv7511/ |
H A D | adv7511_cec.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * adv7511_cec.c - Analog Devices ADV7511/33 cec driver 38 unsigned int offset = adv7511->info->reg_cec_offset; in adv_cec_tx_raw_status() 41 if (regmap_read(adv7511->regmap_cec, in adv_cec_tx_raw_status() 49 drm_connector_hdmi_cec_transmit_attempt_done(adv7511->cec_connector, in adv_cec_tx_raw_status() 65 if (regmap_read(adv7511->regmap_cec, in adv_cec_tx_raw_status() 77 drm_connector_hdmi_cec_transmit_done(adv7511->cec_connector, status, in adv_cec_tx_raw_status() 83 drm_connector_hdmi_cec_transmit_attempt_done(adv7511->cec_connector, in adv_cec_tx_raw_status() 91 unsigned int offset = adv7511->info->reg_cec_offset; in adv7511_cec_rx() 97 if (regmap_read(adv7511->regmap_cec, in adv7511_cec_rx() [all …]
|
/linux/Documentation/devicetree/bindings/display/bridge/ |
H A D | chipone,icn6211.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/display/bridge/chipone,icn6211.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Chipone ICN6211 MIPI-DSI to RGB Converter bridge 10 - Jagan Teki <jagan@amarulasolutions.com> 13 ICN6211 is MIPI-DSI to RGB Converter bridge from chipone. 21 - chipone,icn6211 27 clock-names: 36 enable-gpios: [all …]
|
H A D | ti,sn65dsi86.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/display/bridge/ti,sn65dsi86.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: SN65DSI86 DSI to eDP bridge chip 10 - Douglas Anderson <dianders@chromium.org> 13 The Texas Instruments SN65DSI86 bridge takes MIPI DSI in and outputs eDP. 23 enable-gpios: 27 suspend-gpios: 29 description: GPIO specifier for GPIO1 pin on bridge (active low). [all …]
|
/linux/drivers/net/ethernet/marvell/prestera/ |
H A D | prestera_switchdev.c | 1 // SPDX-License-Identifier: BSD-3-Clause OR GPL-2.0 2 /* Copyright (c) 2019-2020 Marvell International Ltd. All rights reserved */ 52 struct prestera_bridge *bridge; member 82 struct prestera_bridge *bridge; member 100 struct prestera_bridge *bridge; in prestera_bridge_find() local 102 list_for_each_entry(bridge, &sw->swdev->bridge_list, head) in prestera_bridge_find() 103 if (bridge->dev == br_dev) in prestera_bridge_find() 104 return bridge; in prestera_bridge_find() 110 __prestera_bridge_port_find(const struct prestera_bridge *bridge, in __prestera_bridge_port_find() argument 115 list_for_each_entry(br_port, &bridge->port_list, head) in __prestera_bridge_port_find() [all …]
|
/linux/drivers/media/i2c/ |
H A D | st-mipid02.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * Driver for ST MIPID02 CSI-2 to PARALLEL bridge 20 #include <media/mipi-csi2.h> 21 #include <media/v4l2-async.h> 22 #include <media/v4l2-cci.h> 23 #include <media/v4l2-ctrls.h> 24 #include <media/v4l2-device.h> 25 #include <media/v4l2-fwnode.h> 26 #include <media/v4l2-subdev.h> 216 static int mipid02_get_regulators(struct mipid02_dev *bridge) in mipid02_get_regulators() argument [all …]
|