Home
last modified time | relevance | path

Searched +full:dp +full:- +full:bridge (Results 1 – 25 of 136) sorted by relevance

123456

/Linux-v6.1/net/dsa/
Dport.c1 // SPDX-License-Identifier: GPL-2.0-or-later
5 * Copyright (c) 2017 Savoir-faire Linux Inc.
18 * dsa_port_notify - Notify the switching fabric of changes to a port
19 * @dp: port on which change occurred
21 * @v: event-specific value.
25 * reconfigure themselves for cross-chip operations. Can also be used to
29 static int dsa_port_notify(const struct dsa_port *dp, unsigned long e, void *v) in dsa_port_notify() argument
31 return dsa_tree_notify(dp->ds->dst, e, v); in dsa_port_notify()
34 static void dsa_port_notify_bridge_fdb_flush(const struct dsa_port *dp, u16 vid) in dsa_port_notify_bridge_fdb_flush() argument
36 struct net_device *brport_dev = dsa_port_to_bridge_port(dp); in dsa_port_notify_bridge_fdb_flush()
[all …]
Ddsa_priv.h1 /* SPDX-License-Identifier: GPL-2.0-or-later */
3 * net/dsa/dsa_priv.h - Hardware switch handling
4 * Copyright (c) 2008-2009 Marvell Semiconductor
57 const struct dsa_port *dp; member
58 struct dsa_bridge bridge; member
65 const struct dsa_port *dp; member
81 const struct dsa_port *dp; member
88 const struct dsa_port *dp; member
96 const struct dsa_port *dp; member
103 const struct dsa_port *dp; member
[all …]
Dtag_8021q.c1 // SPDX-License-Identifier: GPL-2.0
12 /* Binary structure of the fake 12-bit VID field (when the TPID is
16 * +-----------+-----+-----------------+-----------+-----------------------+
18 * +-----------+-----+-----------------+-----------+-----------------------+
20 * RSV - VID[11:10]:
23 * SWITCH_ID - VID[8:6]:
26 * VBID - { VID[9], VID[5:4] }:
27 * Virtual bridge ID. If between 1 and 7, packet targets the broadcast
28 * domain of a bridge. If transmitted as zero, packet targets a single
31 * PORT - VID[3:0]:
[all …]
Dslave.c1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * net/dsa/slave.c - Slave device handling
4 * Copyright (c) 2008-2009 Marvell Semiconductor
31 const unsigned char *addr = standalone_work->addr; in dsa_slave_standalone_event_work()
32 struct net_device *dev = standalone_work->dev; in dsa_slave_standalone_event_work()
33 struct dsa_port *dp = dsa_slave_to_port(dev); in dsa_slave_standalone_event_work() local
35 struct dsa_switch *ds = dp->ds; in dsa_slave_standalone_event_work()
36 u16 vid = standalone_work->vid; in dsa_slave_standalone_event_work()
39 switch (standalone_work->event) { in dsa_slave_standalone_event_work()
41 err = dsa_port_standalone_host_fdb_add(dp, addr, vid); in dsa_slave_standalone_event_work()
[all …]
Dtag_ocelot.c1 // SPDX-License-Identifier: GPL-2.0
7 /* If the port is under a VLAN-aware bridge, remove the VLAN header from the
9 * the packet to the bridge VLAN. Otherwise, leave the classified VLAN at zero,
10 * which is the pvid of standalone and VLAN-unaware bridge ports.
12 static void ocelot_xmit_get_vlan_info(struct sk_buff *skb, struct dsa_port *dp, in ocelot_xmit_get_vlan_info() argument
15 struct net_device *br = dsa_port_bridge_dev_get(dp); in ocelot_xmit_get_vlan_info()
28 if (ntohs(hdr->h_vlan_proto) == proto) { in ocelot_xmit_get_vlan_info()
44 struct dsa_port *dp = dsa_slave_to_port(netdev); in ocelot_xmit_common() local
45 struct dsa_switch *ds = dp->ds; in ocelot_xmit_common()
52 ocelot_xmit_get_vlan_info(skb, dp, &vlan_tci, &tag_type); in ocelot_xmit_common()
[all …]
Dtag_sja1105.c1 // SPDX-License-Identifier: GPL-2.0
18 /* Trap-to-host format (no trailer present) */
28 /* Meta frame format (for 2-step TX timestamps) */
72 return ds->tagger_data; in sja1105_tagger_private()
75 /* Similar to is_link_local_ether_addr(hdr->h_dest) but also covers PTP */
79 u64 dmac = ether_addr_to_u64(hdr->h_dest); in sja1105_is_link_local()
81 if (ntohs(hdr->h_proto) == ETH_P_SJA1105_META) in sja1105_is_link_local()
106 * Structure of the meta-data follow-up frame. in sja1105_meta_unpack()
112 * same and the E/T puts zeroes in the high-order byte, use in sja1105_meta_unpack()
115 packing(buf, &meta->tstamp, 31, 0, 4, UNPACK, 0); in sja1105_meta_unpack()
[all …]
Ddsa2.c1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * net/dsa/dsa2.c - Hardware switch handling, binding version 2
4 * Copyright (c) 2008-2009 Marvell Semiconductor
30 * dsa_tree_notify - Execute code for all switches in a DSA switch tree.
33 * @v: event-specific value.
41 struct raw_notifier_head *nh = &dst->nh; in dsa_tree_notify()
50 * dsa_broadcast - Notify all DSA trees in the system.
52 * @v: event-specific value.
54 * Can be used to notify the switching fabric of events such as cross-chip
55 * bridging between disjoint trees (such as islands of tagger-compatible
[all …]
/Linux-v6.1/drivers/gpu/drm/msm/dp/
Ddp_drm.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * Copyright (c) 2017-2020, The Linux Foundation. All rights reserved.
17 * dp_bridge_detect - callback to determine if connector is connected
18 * @bridge: Pointer to drm bridge structure
19 * Returns: Bridge's 'is connected' status
21 static enum drm_connector_status dp_bridge_detect(struct drm_bridge *bridge) in dp_bridge_detect() argument
23 struct msm_dp *dp; in dp_bridge_detect() local
25 dp = to_dp_bridge(bridge)->dp_display; in dp_bridge_detect()
27 drm_dbg_dp(dp->drm_dev, "is_connected = %s\n", in dp_bridge_detect()
28 (dp->is_connected) ? "true" : "false"); in dp_bridge_detect()
[all …]
Ddp_parser.h1 /* SPDX-License-Identifier: GPL-2.0-only */
3 * Copyright (c) 2012-2020, The Linux Foundation. All rights reserved.
11 #include <linux/phy/phy-dp.h>
15 #define DP_LABEL "MDSS DP DISPLAY"
51 * struct dp_display_data - display related device tree data.
68 * struct dp_ctrl_resource - controller's IO related data
80 * struct dp_pinctrl - DP's pin control
82 * @pin: pin-controller's instance
94 /* Regulators for DP devices */
107 * struct dp_parser - DP parser's data exposed to clients
[all …]
Ddp_display.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * Copyright (c) 2017-2020, The Linux Foundation. All rights reserved.
174 { .compatible = "qcom,sc7180-dp", .data = &sc7180_dp_cfg },
175 { .compatible = "qcom,sc7280-dp", .data = &sc7280_dp_cfg },
176 { .compatible = "qcom,sc7280-edp", .data = &sc7280_dp_cfg },
177 { .compatible = "qcom,sc8180x-dp", .data = &sc8180x_dp_cfg },
178 { .compatible = "qcom,sc8180x-edp", .data = &sc8180x_dp_cfg },
179 { .compatible = "qcom,sm8350-dp", .data = &sm8350_dp_cfg },
185 struct msm_dp *dp = dev_get_drvdata(dev); in dev_get_dp_display_private() local
187 return container_of(dp, struct dp_display_private, dp_display); in dev_get_dp_display_private()
[all …]
/Linux-v6.1/drivers/gpu/drm/exynos/
Dexynos_dp.c1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * Samsung SoC DP (Display Port) interface driver.
21 #include <drm/bridge/analogix_dp.h>
51 struct exynos_dp_device *dp = to_dp(plat_data); in exynos_dp_crtc_clock_enable() local
52 struct drm_encoder *encoder = &dp->encoder; in exynos_dp_crtc_clock_enable()
54 if (!encoder->crtc) in exynos_dp_crtc_clock_enable()
55 return -EPERM; in exynos_dp_crtc_clock_enable()
57 exynos_drm_pipe_clk_enable(to_exynos_crtc(encoder->crtc), enable); in exynos_dp_crtc_clock_enable()
75 struct exynos_dp_device *dp = to_dp(plat_data); in exynos_dp_get_modes() local
79 if (dp->plat_data.panel) in exynos_dp_get_modes()
[all …]
/Linux-v6.1/drivers/gpu/drm/bridge/analogix/
Danalogix_dp_core.c1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * Analogix DP (Display Port) core interface driver.
21 #include <drm/bridge/analogix_dp.h>
44 static int analogix_dp_init_dp(struct analogix_dp_device *dp) in analogix_dp_init_dp() argument
48 analogix_dp_reset(dp); in analogix_dp_init_dp()
50 analogix_dp_swreset(dp); in analogix_dp_init_dp()
52 analogix_dp_init_analog_param(dp); in analogix_dp_init_dp()
53 analogix_dp_init_interrupt(dp); in analogix_dp_init_dp()
56 analogix_dp_enable_sw_function(dp); in analogix_dp_init_dp()
58 analogix_dp_config_interrupt(dp); in analogix_dp_init_dp()
[all …]
Danalogix-anx6345.c1 /* SPDX-License-Identifier: GPL-2.0-only */
32 #include "analogix-i2c-dptx.h"
33 #include "analogix-i2c-txcommon.h"
49 struct drm_bridge bridge; member
74 static inline struct anx6345 *bridge_to_anx6345(struct drm_bridge *bridge) in bridge_to_anx6345() argument
76 return container_of(bridge, struct anx6345, bridge); in bridge_to_anx6345()
94 return anx_dp_aux_transfer(anx6345->map[I2C_IDX_DPTX], msg); in anx6345_aux_transfer()
103 err = anx6345_clear_bits(anx6345->map[I2C_IDX_TXCOM], in anx6345_dp_link_training()
109 err = drm_dp_dpcd_readb(&anx6345->aux, DP_MAX_LINK_RATE, &dp_bw); in anx6345_dp_link_training()
119 DRM_DEBUG_KMS("DP bandwidth (%#02x) not supported\n", dp_bw); in anx6345_dp_link_training()
[all …]
/Linux-v6.1/Documentation/devicetree/bindings/display/bridge/
Dcdns,mhdp8546.yaml1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
3 ---
4 $id: "http://devicetree.org/schemas/display/bridge/cdns,mhdp8546.yaml#"
5 $schema: "http://devicetree.org/meta-schemas/core.yaml#"
7 title: Cadence MHDP8546 bridge
10 - Swapnil Jakhade <sjakhade@cadence.com>
11 - Yuti Amonkar <yamonkar@cadence.com>
16 - cdns,mhdp8546
17 - ti,j721e-mhdp8546
22 - description:
[all …]
Dtoshiba,tc358767.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/display/bridge/toshiba,tc358767.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Toshiba TC358767 eDP bridge bindings
10 - Andrey Gusakov <andrey.gusakov@cogentembedded.com>
12 description: The TC358767 is bridge device which converts DSI/DPI to eDP/DP
20 - 0x68
21 - 0x0f
23 i2c address of the bridge, 0x68 or 0x0f, depending on bootstrap pins
[all …]
Danalogix_dp.txt1 Analogix Display Port bridge bindings
3 Required properties for dp-controller:
4 -compatible:
6 * "samsung,exynos5-dp"
7 * "rockchip,rk3288-dp"
8 * "rockchip,rk3399-edp"
9 -reg:
12 -interrupts:
14 -clocks:
15 from common clock binding: handle to dp clock.
[all …]
/Linux-v6.1/drivers/gpu/drm/bridge/
Dmegachips-stdpxxxx-ge-b850v3-fw.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * Driver for MegaChips STDP4028 with GE B850v3 firmware (LVDS-DP)
4 * Driver for MegaChips STDP2690 with GE B850v3 firmware (DP-DP++)
10 * This driver creates a drm_bridge and a drm_connector for the LVDS to DP++
11 * display bridge of the GE B850v3. There are two physical bridges on the video
12 * signal pipeline: a STDP4028(LVDS to DP) and a STDP2690(DP to DP++). The
19 * Host -> LVDS|--(STDP4028)--|DP -> DP|--(STDP2690)--|DP++ -> Video output
61 struct drm_bridge bridge; member
70 struct i2c_adapter *adapter = client->adapter; in stdp2690_get_edid()
77 .addr = client->addr, in stdp2690_get_edid()
[all …]
Ddisplay-connector.c1 // SPDX-License-Identifier: GPL-2.0
9 #include <linux/media-bus-format.h>
22 struct drm_bridge bridge; member
32 to_display_connector(struct drm_bridge *bridge) in to_display_connector() argument
34 return container_of(bridge, struct display_connector, bridge); in to_display_connector()
37 static int display_connector_attach(struct drm_bridge *bridge, in display_connector_attach() argument
40 return flags & DRM_BRIDGE_ATTACH_NO_CONNECTOR ? 0 : -EINVAL; in display_connector_attach()
44 display_connector_detect(struct drm_bridge *bridge) in display_connector_detect() argument
46 struct display_connector *conn = to_display_connector(bridge); in display_connector_detect()
48 if (conn->hpd_gpio) { in display_connector_detect()
[all …]
Dcros-ec-anx7688.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * CrOS EC ANX7688 HDMI->DP bridge driver
38 struct drm_bridge bridge; member
43 bridge_to_cros_ec_anx7688(struct drm_bridge *bridge) in bridge_to_cros_ec_anx7688() argument
45 return container_of(bridge, struct cros_ec_anx7688, bridge); in bridge_to_cros_ec_anx7688()
48 static bool cros_ec_anx7688_bridge_mode_fixup(struct drm_bridge *bridge, in cros_ec_anx7688_bridge_mode_fixup() argument
52 struct cros_ec_anx7688 *anx = bridge_to_cros_ec_anx7688(bridge); in cros_ec_anx7688_bridge_mode_fixup()
58 if (!anx->filter) in cros_ec_anx7688_bridge_mode_fixup()
62 ret = regmap_bulk_read(anx->regmap, ANX7688_DP_BANDWIDTH_REG, regs, 2); in cros_ec_anx7688_bridge_mode_fixup()
81 requiredbw = mode->clock * 8 * 3; in cros_ec_anx7688_bridge_mode_fixup()
[all …]
DKconfig1 # SPDX-License-Identifier: GPL-2.0-only
6 Bridge registration and lookup framework.
13 DRM bridge wrapper of DRM panels
19 tristate "Cadence DPI/DSI bridge"
26 Support Cadence DPI to DSI bridge. This is an internal
27 bridge and is meant to be directly embedded in a SoC.
30 tristate "Chipone ICN6211 MIPI-DSI/RGB Converter bridge"
37 ICN6211 is MIPI-DSI/RGB Converter bridge from chipone.
55 tristate "ChromeOS EC ANX7688 bridge"
61 ChromeOS EC ANX7688 is an ultra-low power
[all …]
Dti-sn65dsi86.c1 // SPDX-License-Identifier: GPL-2.0
134 * struct ti_sn65dsi86 - Platform data for ti-sn65dsi86 driver.
135 * @bridge_aux: AUX-bus sub device for MIPI-to-eDP bridge functionality.
136 * @gpio_aux: AUX-bus sub device for GPIO controller functionality.
137 * @aux_aux: AUX-bus sub device for eDP AUX channel functionality.
138 * @pwm_aux: AUX-bus sub device for PWM controller functionality.
143 * @bridge: Our bridge.
148 * @next_bridge: The bridge on the eDP side.
149 * @enable_gpio: The GPIO we toggle to enable the bridge.
153 * @ln_polrs: Value for the 4-bit LN_POLRS field of SN_ENH_FRAME_REG.
[all …]
/Linux-v6.1/include/net/
Ddsa.h1 /* SPDX-License-Identifier: GPL-2.0-or-later */
3 * include/net/dsa.h - Driver for Distributed Switch Architecture switch chips
4 * Copyright (c) 2008-2009 Marvell Semiconductor
121 #define DSA_TAG_DRIVER_ALIAS "dsa_tag-"
139 /* Notifier chain for switch-wide events */
148 /* Maps offloaded LAG netdevs to a zero-based linear ID for
180 /* LAG IDs are one-based, the dst->lags array is zero-based */
182 for ((_id) = 1; (_id) <= (_dst)->lags_len; (_id)++) \
183 if ((_dst)->lags[(_id) - 1])
186 list_for_each_entry((_dp), &(_dst)->ports, list) \
[all …]
/Linux-v6.1/drivers/gpu/drm/bridge/cadence/
DKconfig1 # SPDX-License-Identifier: GPL-2.0-only
3 tristate "Cadence DPI/DP bridge"
11 Support Cadence DPI to DP bridge. This is an internal
12 bridge and is meant to be directly embedded in a SoC.
14 in DP format.
20 bool "J721E Cadence DPI/DP wrapper support"
23 Support J721E Cadence DPI/DP wrapper. This is a wrapper
Dcdns-mhdp8546-core.c1 // SPDX-License-Identifier: GPL-2.0
3 * Cadence MHDP8546 DP bridge driver.
7 * Authors: Quentin Schulz <quentin.schulz@free-electrons.com>
14 * - Implement optimized mailbox communication using mailbox interrupts
15 * - Add support for power management
16 * - Add support for features like audio, MST and fast link training
17 * - Implement request_fw_cancel to handle HW_STATE
18 * - Fix asynchronous loading of firmware implementation
19 * - Add DRM helper function for cdns_mhdp_lower_link_rate
29 #include <linux/media-bus-format.h>
[all …]
/Linux-v6.1/tools/testing/selftests/drivers/net/mlxsw/
Ddevlink_trap_l3_drops.sh2 # SPDX-License-Identifier: GPL-2.0
4 # Test devlink-trap L3 drops functionality over mlxsw. Each registered L3 drop
8 # +---------------------------------+
16 # +----|----------------------------+
18 # +----|----------------------------------------------------------------------+
28 # +----|----------------------------------------------------------------------+
30 # +----|----------------------------+
38 # +---------------------------------+
67 ip -4 route add default vrf v$h1 nexthop via 192.0.2.2
68 ip -6 route add default vrf v$h1 nexthop via 2001:db8:1::2
[all …]

123456