| /kernel/linux/linux-6.6/net/dsa/ |
| D | port.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 5 * Copyright (c) 2017 Savoir-faire Linux Inc. 22 * dsa_port_notify - Notify the switching fabric of changes to a port 23 * @dp: port on which change occurred 25 * @v: event-specific value. 29 * reconfigure themselves for cross-chip operations. Can also be used to 33 static int dsa_port_notify(const struct dsa_port *dp, unsigned long e, void *v) in dsa_port_notify() argument 35 return dsa_tree_notify(dp->ds->dst, e, v); in dsa_port_notify() 38 static void dsa_port_notify_bridge_fdb_flush(const struct dsa_port *dp, u16 vid) in dsa_port_notify_bridge_fdb_flush() argument 40 struct net_device *brport_dev = dsa_port_to_bridge_port(dp); in dsa_port_notify_bridge_fdb_flush() [all …]
|
| D | tag.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 29 return ops->needed_headroom + ops->needed_tailroom; in dsa_tag_protocol_overhead() 35 struct dsa_port *cpu_dp = dev->dsa_ptr; in dsa_master_find_slave() 36 struct dsa_switch_tree *dst = cpu_dp->dst; in dsa_master_find_slave() 37 struct dsa_port *dp; in dsa_master_find_slave() local 39 list_for_each_entry(dp, &dst->ports, list) in dsa_master_find_slave() 40 if (dp->ds->index == device && dp->index == port && in dsa_master_find_slave() 41 dp->type == DSA_PORT_TYPE_USER) in dsa_master_find_slave() 42 return dp->slave; in dsa_master_find_slave() 47 /* If under a bridge with vlan_filtering=0, make sure to send pvid-tagged [all …]
|
| D | tag_8021q.c | 1 // SPDX-License-Identifier: GPL-2.0 15 /* Binary structure of the fake 12-bit VID field (when the TPID is 19 * +-----------+-----+-----------------+-----------+-----------------------+ 21 * +-----------+-----+-----------------+-----------+-----------------------+ 23 * RSV - VID[11:10]: 26 * SWITCH_ID - VID[8:6]: 29 * VBID - { VID[9], VID[5:4] }: 30 * Virtual bridge ID. If between 1 and 7, packet targets the broadcast 31 * domain of a bridge. If transmitted as zero, packet targets a single 34 * PORT - VID[3:0]: [all …]
|
| D | slave.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * net/dsa/slave.c - Slave device handling 4 * Copyright (c) 2008-2009 Marvell Semiconductor 70 return ds->ops->port_fdb_add && ds->ops->port_fdb_del && in dsa_switch_supports_uc_filtering() 71 ds->fdb_isolation && !ds->vlan_filtering_is_global && in dsa_switch_supports_uc_filtering() 72 !ds->needs_standalone_vlan_filtering; in dsa_switch_supports_uc_filtering() 77 return ds->ops->port_mdb_add && ds->ops->port_mdb_del && in dsa_switch_supports_mc_filtering() 78 ds->fdb_isolation && !ds->vlan_filtering_is_global && in dsa_switch_supports_mc_filtering() 79 !ds->needs_standalone_vlan_filtering; in dsa_switch_supports_mc_filtering() 86 const unsigned char *addr = standalone_work->addr; in dsa_slave_standalone_event_work() [all …]
|
| D | trace.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 2 /* Copyright 2022-2023 NXP 10 switch (db->type) { in dsa_db_print() 12 sprintf(buf, "port %s", db->dp->name); in dsa_db_print() 15 sprintf(buf, "lag %s id %d", db->lag.dev->name, db->lag.id); in dsa_db_print() 18 sprintf(buf, "bridge %s num %d", db->bridge.dev->name, in dsa_db_print() 19 db->bridge.num); in dsa_db_print() 27 const char *dsa_port_kind(const struct dsa_port *dp) in dsa_port_kind() argument 29 switch (dp->type) { in dsa_port_kind()
|
| /kernel/linux/linux-6.6/drivers/gpu/drm/msm/dp/ |
| D | dp_drm.c | 1 // 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 …]
|
| D | dp_parser.h | 1 /* 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" 52 * struct dp_display_data - display related device tree data. 69 * struct dp_ctrl_resource - controller's IO related data 81 * struct dp_pinctrl - DP's pin control 83 * @pin: pin-controller's instance 95 /* Regulators for DP devices */ 108 * struct dp_parser - DP parser's data exposed to clients [all …]
|
| D | dp_display.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Copyright (c) 2017-2020, The Linux Foundation. All rights reserved. 32 MODULE_PARM_DESC(psr_enabled, "enable PSR for eDP and DP displays"); 180 { .compatible = "qcom,sc7180-dp", .data = &sc7180_dp_descs }, 181 { .compatible = "qcom,sc7280-dp", .data = &sc7280_dp_descs }, 182 { .compatible = "qcom,sc7280-edp", .data = &sc7280_dp_descs }, 183 { .compatible = "qcom,sc8180x-dp", .data = &sc8180x_dp_descs }, 184 { .compatible = "qcom,sc8180x-edp", .data = &sc8180x_dp_descs }, 185 { .compatible = "qcom,sc8280xp-dp", .data = &sc8280xp_dp_descs }, 186 { .compatible = "qcom,sc8280xp-edp", .data = &sc8280xp_edp_descs }, [all …]
|
| /kernel/linux/linux-5.10/drivers/gpu/drm/exynos/ |
| D | exynos_dp.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * Samsung SoC DP (Display Port) interface driver. 20 #include <drm/bridge/analogix_dp.h> 50 struct exynos_dp_device *dp = to_dp(plat_data); in exynos_dp_crtc_clock_enable() local 51 struct drm_encoder *encoder = &dp->encoder; in exynos_dp_crtc_clock_enable() 53 if (!encoder->crtc) in exynos_dp_crtc_clock_enable() 54 return -EPERM; in exynos_dp_crtc_clock_enable() 56 exynos_drm_pipe_clk_enable(to_exynos_crtc(encoder->crtc), enable); in exynos_dp_crtc_clock_enable() 74 struct exynos_dp_device *dp = to_dp(plat_data); in exynos_dp_get_modes() local 78 if (dp->plat_data.panel) in exynos_dp_get_modes() [all …]
|
| /kernel/linux/linux-6.6/drivers/gpu/drm/xlnx/ |
| D | zynqmp_dp.c | 1 // SPDX-License-Identifier: GPL-2.0 5 * Copyright (C) 2017 - 2020 Xilinx, Inc. 8 * - Hyun Woo Kwon <hyun.kwon@xilinx.com> 9 * - Laurent Pinchart <laurent.pinchart@ideasonboard.com> 39 MODULE_PARM_DESC(aux_timeout_ms, "DP aux timeout value in msec (default: 50)"); 46 MODULE_PARM_DESC(power_on_delay_ms, "DP power on delay in msec (default: 4)"); 241 * struct zynqmp_dp_link_config - Common link config between source and sink 251 * struct zynqmp_dp_mode - Configured mode of DisplayPort 265 * struct zynqmp_dp_config - Configuration of DisplayPort from DTS 266 * @misc0: misc0 configuration (per DP v1.2 spec) [all …]
|
| /kernel/linux/linux-6.6/drivers/gpu/drm/exynos/ |
| D | exynos_dp.c | 1 // 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 …]
|
| /kernel/linux/linux-5.10/drivers/gpu/drm/bridge/analogix/ |
| D | analogix_dp_core.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * Analogix DP (Display Port) core interface driver. 21 #include <drm/bridge/analogix_dp.h> 43 static int analogix_dp_init_dp(struct analogix_dp_device *dp) in analogix_dp_init_dp() argument 47 analogix_dp_reset(dp); in analogix_dp_init_dp() 49 analogix_dp_swreset(dp); in analogix_dp_init_dp() 51 analogix_dp_init_analog_param(dp); in analogix_dp_init_dp() 52 analogix_dp_init_interrupt(dp); in analogix_dp_init_dp() 55 analogix_dp_enable_sw_function(dp); in analogix_dp_init_dp() 57 analogix_dp_config_interrupt(dp); in analogix_dp_init_dp() [all …]
|
| /kernel/linux/linux-6.6/drivers/gpu/drm/bridge/analogix/ |
| D | analogix_dp_core.c | 1 // 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 …]
|
| /kernel/linux/linux-5.10/Documentation/devicetree/bindings/display/bridge/ |
| D | cdns,mhdp8546.yaml | 1 # 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 23 - description: [all …]
|
| /kernel/linux/linux-6.6/Documentation/devicetree/bindings/display/bridge/ |
| D | cdns,mhdp8546.yaml | 1 # 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 …]
|
| D | toshiba,tc358767.yaml | 1 # 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/TC358867/TC9595 DSI/DPI/eDP bridge 10 - Andrey Gusakov <andrey.gusakov@cogentembedded.com> 13 The TC358767/TC358867/TC9595 is bridge device which 14 converts DSI/DPI to eDP/DP . 19 - items: 20 - enum: [all …]
|
| /kernel/linux/linux-5.10/drivers/gpu/drm/bridge/ |
| D | megachips-stdpxxxx-ge-b850v3-fw.c | 1 // 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 …]
|
| /kernel/linux/linux-6.6/drivers/gpu/drm/bridge/ |
| D | megachips-stdpxxxx-ge-b850v3-fw.c | 1 // 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 …]
|
| D | display-connector.c | 1 // SPDX-License-Identifier: GPL-2.0 9 #include <linux/media-bus-format.h> 21 struct drm_bridge bridge; member 31 to_display_connector(struct drm_bridge *bridge) in to_display_connector() argument 33 return container_of(bridge, struct display_connector, bridge); in to_display_connector() 36 static int display_connector_attach(struct drm_bridge *bridge, in display_connector_attach() argument 39 return flags & DRM_BRIDGE_ATTACH_NO_CONNECTOR ? 0 : -EINVAL; in display_connector_attach() 43 display_connector_detect(struct drm_bridge *bridge) in display_connector_detect() argument 45 struct display_connector *conn = to_display_connector(bridge); in display_connector_detect() 47 if (conn->hpd_gpio) { in display_connector_detect() [all …]
|
| /kernel/linux/linux-6.6/drivers/gpu/drm/bridge/cadence/ |
| D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 3 tristate "Cadence DPI/DSI bridge" 11 Support Cadence DPI to DSI bridge. This is an internal 12 bridge and is meant to be directly embedded in a SoC. 25 tristate "Cadence DPI/DP bridge" 33 Support Cadence DPI to DP bridge. This is an internal 34 bridge and is meant to be directly embedded in a SoC. 36 in DP format. 42 bool "J721E Cadence DPI/DP wrapper support" 45 Support J721E Cadence DPI/DP wrapper. This is a wrapper
|
| /kernel/linux/linux-6.6/include/net/ |
| D | dsa.h | 1 /* 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 126 /* Notifier chain for switch-wide events */ 135 /* Maps offloaded LAG netdevs to a zero-based linear ID for 167 /* LAG IDs are one-based, the dst->lags array is zero-based */ 169 for ((_id) = 1; (_id) <= (_dst)->lags_len; (_id)++) \ 170 if ((_dst)->lags[(_id) - 1]) 173 list_for_each_entry((_dp), &(_dst)->ports, list) \ 177 list_for_each_entry((_dp), &(_ds)->dst->ports, list) \ [all …]
|
| /kernel/linux/linux-5.10/net/dsa/ |
| D | dsa_priv.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 3 * net/dsa/dsa_priv.h - Hardware switch handling 4 * Copyright (c) 2008-2009 Marvell Semiconductor 86 struct dsa_port *dp; member 119 struct dsa_port *cpu_dp = dev->dsa_ptr; in dsa_master_find_slave() 120 struct dsa_switch_tree *dst = cpu_dp->dst; in dsa_master_find_slave() 121 struct dsa_port *dp; in dsa_master_find_slave() local 123 list_for_each_entry(dp, &dst->ports, list) in dsa_master_find_slave() 124 if (dp->ds->index == device && dp->index == port && in dsa_master_find_slave() 125 dp->type == DSA_PORT_TYPE_USER) in dsa_master_find_slave() [all …]
|
| /kernel/linux/linux-5.10/drivers/gpu/drm/bridge/cadence/ |
| D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 3 tristate "Cadence DPI/DP bridge" 8 Support Cadence DPI to DP bridge. This is an internal 9 bridge and is meant to be directly embedded in a SoC. 11 in DP format. 17 bool "J721E Cadence DPI/DP wrapper support" 20 Support J721E Cadence DPI/DP wrapper. This is a wrapper
|
| D | cdns-mhdp8546-core.c | 1 // 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 33 #include <linux/phy/phy-dp.h> [all …]
|
| /kernel/linux/linux-6.6/tools/testing/selftests/net/ |
| D | test_vxlan_mdb.sh | 2 # SPDX-License-Identifier: GPL-2.0 12 # +------------------------------------+ +------------------------------------+ 19 # | +---------+---------+ | | +---------+---------+ | 33 # +-----------------|------------------+ +-----------------|------------------+ 35 # +-----------------|------------------+ +-----------------|------------------+ 49 # | +---------+---------+ | | +---------+---------+ | 56 # +------------------------------------+ +------------------------------------+ 59 # Kselftest framework requirement - SKIP code is 4. 122 # All tests in this script. Can be overridden with -t option. 140 if [ ${rc} -eq ${expected} ]; then [all …]
|