/Linux-v5.10/drivers/fpga/ |
D | fpga-bridge.c | 3 * FPGA Bridge Framework Driver 8 #include <linux/fpga/fpga-bridge.h> 23 * fpga_bridge_enable - Enable transactions on the bridge 25 * @bridge: FPGA bridge 29 int fpga_bridge_enable(struct fpga_bridge *bridge) in fpga_bridge_enable() argument 31 dev_dbg(&bridge->dev, "enable\n"); in fpga_bridge_enable() 33 if (bridge->br_ops && bridge->br_ops->enable_set) in fpga_bridge_enable() 34 return bridge->br_ops->enable_set(bridge, 1); in fpga_bridge_enable() 41 * fpga_bridge_disable - Disable transactions on the bridge 43 * @bridge: FPGA bridge [all …]
|
/Linux-v5.10/drivers/gpu/drm/ |
D | drm_bridge.c | 41 * A bridge is always attached to a single &drm_encoder at a time, but can be 44 * [ CRTC ---> ] Encoder ---> Bridge A ---> Bridge B 46 * Here, the output of the encoder feeds to bridge A, and that furthers feeds to 47 * bridge B. Bridge chains can be arbitrarily long, and shall be fully linear: 48 * Chaining multiple bridges to the output of a bridge, or the same bridge to 51 * Display drivers are responsible for linking encoders with the first bridge 52 * in the chains. This is done by acquiring the appropriate bridge with 55 * devm_drm_panel_bridge_add_typed()). Once acquired, the bridge shall be 58 * Bridges are responsible for linking themselves with the next bridge in the 80 * DRM bridge chain functions shall be called manually. [all …]
|
D | drm_bridge_connector.c | 22 * The DRM bridge connector helper object provides a DRM connector 28 * To use the helper, display controller drivers create a bridge connector with 34 * The DRM bridge connector operations are implemented based on the operations 36 * to the bridge closest to the connector (at the end of the chain) that 39 * To make use of this helper, all bridges in the chain shall report bridge 40 * operation flags (&drm_bridge->ops) and bridge output type 62 * The last bridge in the chain (closest to the connector) that provides 69 * The last bridge in the chain (closest to the connector) that provides 76 * The last bridge in the chain (closest to the connector) that provides 83 * The last bridge in the chain (closest to the connector) that provides [all …]
|
/Linux-v5.10/drivers/media/i2c/ |
D | st-mipid02.c | 3 * Driver for ST MIPID02 CSI-2 to PARALLEL bridge 218 static int mipid02_read_reg(struct mipid02_dev *bridge, u16 reg, u8 *val) in mipid02_read_reg() argument 220 struct i2c_client *client = bridge->i2c_client; in mipid02_read_reg() 248 static int mipid02_write_reg(struct mipid02_dev *bridge, u16 reg, u8 val) in mipid02_write_reg() argument 250 struct i2c_client *client = bridge->i2c_client; in mipid02_write_reg() 274 static int mipid02_get_regulators(struct mipid02_dev *bridge) in mipid02_get_regulators() argument 279 bridge->supplies[i].supply = mipid02_supply_name[i]; in mipid02_get_regulators() 281 return devm_regulator_bulk_get(&bridge->i2c_client->dev, in mipid02_get_regulators() 283 bridge->supplies); in mipid02_get_regulators() 286 static void mipid02_apply_reset(struct mipid02_dev *bridge) in mipid02_apply_reset() argument [all …]
|
/Linux-v5.10/drivers/char/agp/ |
D | backend.c | 69 struct agp_bridge_data *bridge; in agp_backend_acquire() local 71 bridge = agp_find_bridge(pdev); in agp_backend_acquire() 73 if (!bridge) in agp_backend_acquire() 76 if (atomic_read(&bridge->agp_in_use)) in agp_backend_acquire() 78 atomic_inc(&bridge->agp_in_use); in agp_backend_acquire() 79 return bridge; in agp_backend_acquire() 92 void agp_backend_release(struct agp_bridge_data *bridge) in agp_backend_release() argument 95 if (bridge) in agp_backend_release() 96 atomic_dec(&bridge->agp_in_use); in agp_backend_release() 137 static int agp_backend_initialize(struct agp_bridge_data *bridge) in agp_backend_initialize() argument [all …]
|
D | generic.c | 178 curr->bridge->driver->free_by_type(curr); in agp_free_memory() 182 if (curr->bridge->driver->agp_destroy_pages) { in agp_free_memory() 183 curr->bridge->driver->agp_destroy_pages(curr); in agp_free_memory() 187 curr->bridge->driver->agp_destroy_page( in agp_free_memory() 192 curr->bridge->driver->agp_destroy_page( in agp_free_memory() 209 * @bridge: an agp_bridge_data struct allocated for the AGP host bridge. 213 * Every agp bridge device will allow you to allocate AGP_NORMAL_MEMORY which 218 struct agp_memory *agp_allocate_memory(struct agp_bridge_data *bridge, in agp_allocate_memory() argument 226 if (!bridge) in agp_allocate_memory() 229 cur_memory = atomic_read(&bridge->current_memory_agp); in agp_allocate_memory() [all …]
|
/Linux-v5.10/include/drm/ |
D | drm_bridge.h | 48 * @DRM_BRIDGE_ATTACH_NO_CONNECTOR: When this flag is set the bridge 61 * This callback is invoked whenever our bridge is being attached to a 71 int (*attach)(struct drm_bridge *bridge, 77 * This callback is invoked whenever our bridge is being detached from a 82 void (*detach)(struct drm_bridge *bridge); 88 * bridge. This should be implemented if the bridge has some sort of 89 * restriction in the modes it can display. For example, a given bridge 115 enum drm_mode_status (*mode_valid)(struct drm_bridge *bridge, 125 * &drm_bridge. The parameter adjusted_mode is the input mode the bridge 129 * This is the only hook that allows a bridge to reject a modeset. If [all …]
|
/Linux-v5.10/drivers/media/usb/gspca/m5602/ |
D | m5602_ov7660.c | 23 {BRIDGE, M5602_XB_MCU_CLK_DIV, 0x02}, 24 {BRIDGE, M5602_XB_MCU_CLK_CTRL, 0xb0}, 25 {BRIDGE, M5602_XB_SEN_CLK_DIV, 0x00}, 26 {BRIDGE, M5602_XB_SEN_CLK_CTRL, 0xb0}, 27 {BRIDGE, M5602_XB_ADC_CTRL, 0xc0}, 28 {BRIDGE, M5602_XB_SENSOR_TYPE, 0x0d}, 29 {BRIDGE, M5602_XB_SENSOR_CTRL, 0x00}, 30 {BRIDGE, M5602_XB_GPIO_DIR, 0x03}, 31 {BRIDGE, M5602_XB_GPIO_DIR, 0x03}, 32 {BRIDGE, M5602_XB_ADC_CTRL, 0xc0}, [all …]
|
D | m5602_s5k4aa.c | 20 {BRIDGE, M5602_XB_MCU_CLK_DIV, 0x02, 0x00}, 21 {BRIDGE, M5602_XB_MCU_CLK_CTRL, 0xb0, 0x00}, 22 {BRIDGE, M5602_XB_SEN_CLK_DIV, 0x00, 0x00}, 23 {BRIDGE, M5602_XB_SEN_CLK_CTRL, 0xb0, 0x00}, 24 {BRIDGE, M5602_XB_ADC_CTRL, 0xc0, 0x00}, 25 {BRIDGE, M5602_XB_SENSOR_TYPE, 0x0d, 0x00}, 26 {BRIDGE, M5602_XB_SENSOR_CTRL, 0x00, 0x00}, 28 {BRIDGE, M5602_XB_GPIO_DIR, 0x1d, 0x00}, 29 {BRIDGE, M5602_XB_GPIO_DAT, 0x08, 0x00}, 30 {BRIDGE, M5602_XB_SEN_CLK_DIV, 0xb0, 0x00}, [all …]
|
D | m5602_s5k83a.c | 41 {BRIDGE, M5602_XB_MCU_CLK_DIV, 0x02, 0x00}, 42 {BRIDGE, M5602_XB_MCU_CLK_CTRL, 0xb0, 0x00}, 43 {BRIDGE, M5602_XB_SEN_CLK_DIV, 0x00, 0x00}, 44 {BRIDGE, M5602_XB_SEN_CLK_CTRL, 0xb0, 0x00}, 45 {BRIDGE, M5602_XB_ADC_CTRL, 0xc0, 0x00}, 46 {BRIDGE, M5602_XB_SENSOR_TYPE, 0x0d, 0x00}, 47 {BRIDGE, M5602_XB_SENSOR_CTRL, 0x00, 0x00}, 49 {BRIDGE, M5602_XB_SIG_INI, 0x00, 0x00}, 50 {BRIDGE, M5602_XB_GPIO_DIR, 0x1d, 0x00}, 51 {BRIDGE, M5602_XB_GPIO_DAT, 0x08, 0x00}, [all …]
|
/Linux-v5.10/tools/testing/selftests/drivers/net/mlxsw/ |
D | vxlan.sh | 64 ip link add dev br0 type bridge mcast_snooping 0 81 ip link add dev br0 type bridge mcast_snooping 0 vlan_filtering 1 91 log_test "vxlan device with a vlan-aware bridge" 98 ip link add dev br0 type bridge 108 log_test "vxlan device with a multicast enabled bridge" 115 ip link add dev br0 type bridge mcast_snooping 0 135 ip link add dev br0 type bridge mcast_snooping 0 152 ip link add dev br0 type bridge mcast_snooping 0 169 ip link add dev br0 type bridge mcast_snooping 0 186 ip link add dev br0 type bridge mcast_snooping 0 [all …]
|
/Linux-v5.10/drivers/vme/bridges/ |
D | vme_fake.c | 3 * Fake VME bridge support. 5 * This drive provides a fake VME bridge chip, this enables debugging of the 96 struct fake_driver *bridge; in fake_VIRQ_tasklet() local 99 bridge = fake_bridge->driver_priv; in fake_VIRQ_tasklet() 101 vme_irq_handler(fake_bridge, bridge->int_level, bridge->int_statid); in fake_VIRQ_tasklet() 130 struct fake_driver *bridge; in fake_irq_generate() local 132 bridge = fake_bridge->driver_priv; in fake_irq_generate() 134 mutex_lock(&bridge->vme_int); in fake_irq_generate() 136 bridge->int_level = level; in fake_irq_generate() 138 bridge->int_statid = statid; in fake_irq_generate() [all …]
|
D | vme_ca91cx42.c | 3 * Support for the Tundra Universe I/II VME-PCI Bridge Chips 55 static u32 ca91cx42_DMA_irqhandler(struct ca91cx42_driver *bridge) in ca91cx42_DMA_irqhandler() argument 57 wake_up(&bridge->dma_queue); in ca91cx42_DMA_irqhandler() 62 static u32 ca91cx42_LM_irqhandler(struct ca91cx42_driver *bridge, u32 stat) in ca91cx42_LM_irqhandler() argument 70 bridge->lm_callback[i](bridge->lm_data[i]); in ca91cx42_LM_irqhandler() 79 static u32 ca91cx42_MB_irqhandler(struct ca91cx42_driver *bridge, int mbox_mask) in ca91cx42_MB_irqhandler() argument 81 wake_up(&bridge->mbox_queue); in ca91cx42_MB_irqhandler() 86 static u32 ca91cx42_IACK_irqhandler(struct ca91cx42_driver *bridge) in ca91cx42_IACK_irqhandler() argument 88 wake_up(&bridge->iack_queue); in ca91cx42_IACK_irqhandler() 96 struct ca91cx42_driver *bridge; in ca91cx42_VERR_irqhandler() local [all …]
|
D | vme_tsi148.c | 3 * Support for the Tundra TSI148 VME-PCI Bridge Chip 75 static u32 tsi148_DMA_irqhandler(struct tsi148_driver *bridge, in tsi148_DMA_irqhandler() argument 81 wake_up(&bridge->dma_queue[0]); in tsi148_DMA_irqhandler() 85 wake_up(&bridge->dma_queue[1]); in tsi148_DMA_irqhandler() 95 static u32 tsi148_LM_irqhandler(struct tsi148_driver *bridge, u32 stat) in tsi148_LM_irqhandler() argument 103 bridge->lm_callback[i](bridge->lm_data[i]); in tsi148_LM_irqhandler() 121 struct tsi148_driver *bridge; in tsi148_MB_irqhandler() local 123 bridge = tsi148_bridge->driver_priv; in tsi148_MB_irqhandler() 127 val = ioread32be(bridge->base + TSI148_GCSR_MBOX[i]); in tsi148_MB_irqhandler() 142 struct tsi148_driver *bridge; in tsi148_PERR_irqhandler() local [all …]
|
/Linux-v5.10/drivers/gpu/drm/bridge/ |
D | Kconfig | 6 Bridge registration and lookup framework. 14 DRM bridge wrapper of DRM panels 20 tristate "Cadence DPI/DSI bridge" 27 Support Cadence DPI to DSI bridge. This is an internal 28 bridge and is meant to be directly embedded in a SoC. 52 tristate "Lontium LT9611 DSI/HDMI bridge" 59 Driver for Lontium LT9611 DSI to HDMI bridge 101 tristate "NXP PTN3460 DP/LVDS bridge" 106 NXP PTN3460 eDP-LVDS bridge chip driver. 109 tristate "Parade eDP/LVDS bridge" [all …]
|
D | panel.c | 17 struct drm_bridge bridge; member 24 drm_bridge_to_panel_bridge(struct drm_bridge *bridge) in drm_bridge_to_panel_bridge() argument 26 return container_of(bridge, struct panel_bridge, bridge); in drm_bridge_to_panel_bridge() 56 static int panel_bridge_attach(struct drm_bridge *bridge, in panel_bridge_attach() argument 59 struct panel_bridge *panel_bridge = drm_bridge_to_panel_bridge(bridge); in panel_bridge_attach() 66 if (!bridge->encoder) { in panel_bridge_attach() 74 ret = drm_connector_init(bridge->dev, connector, in panel_bridge_attach() 83 bridge->encoder); in panel_bridge_attach() 88 static void panel_bridge_detach(struct drm_bridge *bridge) in panel_bridge_detach() argument 92 static void panel_bridge_pre_enable(struct drm_bridge *bridge) in panel_bridge_pre_enable() argument [all …]
|
D | display-connector.c | 19 struct drm_bridge bridge; member 26 to_display_connector(struct drm_bridge *bridge) in to_display_connector() argument 28 return container_of(bridge, struct display_connector, bridge); in to_display_connector() 31 static int display_connector_attach(struct drm_bridge *bridge, in display_connector_attach() argument 38 display_connector_detect(struct drm_bridge *bridge) in display_connector_detect() argument 40 struct display_connector *conn = to_display_connector(bridge); in display_connector_detect() 49 if (conn->bridge.ddc && drm_probe_ddc(conn->bridge.ddc)) in display_connector_detect() 52 switch (conn->bridge.type) { in display_connector_detect() 79 static struct edid *display_connector_get_edid(struct drm_bridge *bridge, in display_connector_get_edid() argument 82 struct display_connector *conn = to_display_connector(bridge); in display_connector_get_edid() [all …]
|
D | ti-tpd12s015.c | 25 struct drm_bridge bridge; member 35 static inline struct tpd12s015_device *to_tpd12s015(struct drm_bridge *bridge) in to_tpd12s015() argument 37 return container_of(bridge, struct tpd12s015_device, bridge); in to_tpd12s015() 40 static int tpd12s015_attach(struct drm_bridge *bridge, in tpd12s015_attach() argument 43 struct tpd12s015_device *tpd = to_tpd12s015(bridge); in tpd12s015_attach() 49 ret = drm_bridge_attach(bridge->encoder, tpd->next_bridge, in tpd12s015_attach() 50 bridge, flags); in tpd12s015_attach() 62 static void tpd12s015_detach(struct drm_bridge *bridge) in tpd12s015_detach() argument 64 struct tpd12s015_device *tpd = to_tpd12s015(bridge); in tpd12s015_detach() 69 static enum drm_connector_status tpd12s015_detect(struct drm_bridge *bridge) in tpd12s015_detect() argument [all …]
|
/Linux-v5.10/Documentation/networking/device_drivers/ethernet/ti/ |
D | cpsw_switchdev.rst | 34 to the same bridge, but without enabling "switch" mode, or to different 63 which, by default, equal CPSW Port numbers. As result, bridge has to be 66 ip link add name br0 type bridge 67 ip link set dev br0 type bridge vlan_filtering 0 68 echo 0 > /sys/class/net/br0/bridge/default_pvid 74 ip link add name br0 type bridge 75 ip link set dev br0 type bridge vlan_filtering 0 76 echo 100 > /sys/class/net/br0/bridge/default_pvid 77 ip link set dev br0 type bridge vlan_filtering 1 91 Port's netdev devices have to be in UP before joining to the bridge to avoid [all …]
|
/Linux-v5.10/Documentation/networking/dsa/ |
D | configuration.rst | 21 *bridge* 22 Every switch port is part of one configurable Ethernet bridge 26 Ethernet bridge. 65 *bridge* 99 bridge subsection 112 # create bridge 113 ip link add name br0 type bridge 115 # add ports to bridge 120 # configure the bridge 123 # bring up the bridge [all …]
|
/Linux-v5.10/drivers/pci/hotplug/ |
D | acpiphp_glue.c | 22 * when the bridge is scanned and it loses a refcount when the bridge 24 * - When a P2P bridge is present, we elevate the refcount on the subordinate 105 WARN_ON(context->bridge); in acpiphp_put_context() 110 static inline void get_bridge(struct acpiphp_bridge *bridge) in get_bridge() argument 112 kref_get(&bridge->ref); in get_bridge() 115 static inline void put_bridge(struct acpiphp_bridge *bridge) in put_bridge() argument 117 kref_put(&bridge->ref, free_bridge); in put_bridge() 152 struct acpiphp_bridge *bridge; in free_bridge() local 158 bridge = container_of(kref, struct acpiphp_bridge, ref); in free_bridge() 160 list_for_each_entry_safe(slot, next, &bridge->slots, node) { in free_bridge() [all …]
|
/Linux-v5.10/drivers/pci/ |
D | pci-bridge-emul.c | 8 * PCI bridge when the HW doesn't provide such a root port PCI 9 * bridge. 11 * It emulates a PCI bridge by providing a fake PCI configuration 21 #include "pci-bridge-emul.h" 70 * bridge that is not capable of a burst transfer of more than 76 * BIST register: implemented as read-only, as "A bridge that 146 * are RO, and bridge control (31:16) are a mix of RW, RO, 255 * bridge configuration space. The caller needs to have initialized 260 int pci_bridge_emul_init(struct pci_bridge_emul *bridge, in pci_bridge_emul_init() argument 263 bridge->conf.class_revision |= cpu_to_le32(PCI_CLASS_BRIDGE_PCI << 16); in pci_bridge_emul_init() [all …]
|
D | setup-bus.c | 396 * 1. bridge resource -- IORESOURCE_STARTALIGN in __assign_resources_sorted() 398 * Here just fix the additional alignment for bridge in __assign_resources_sorted() 508 struct pci_dev *bridge = bus->self; in pci_setup_cardbus() local 512 pci_info(bridge, "CardBus bridge to %pR\n", in pci_setup_cardbus() 516 pcibios_resource_to_bus(bridge->bus, ®ion, res); in pci_setup_cardbus() 522 pci_info(bridge, " bridge window %pR\n", res); in pci_setup_cardbus() 523 pci_write_config_dword(bridge, PCI_CB_IO_BASE_0, in pci_setup_cardbus() 525 pci_write_config_dword(bridge, PCI_CB_IO_LIMIT_0, in pci_setup_cardbus() 530 pcibios_resource_to_bus(bridge->bus, ®ion, res); in pci_setup_cardbus() 532 pci_info(bridge, " bridge window %pR\n", res); in pci_setup_cardbus() [all …]
|
/Linux-v5.10/drivers/net/ethernet/marvell/prestera/ |
D | prestera_switchdev.c | 49 struct prestera_bridge *bridge; member 113 static int prestera_bridge_vlan_port_count(struct prestera_bridge *bridge, in prestera_bridge_vlan_port_count() argument 120 list_for_each_entry(br_port, &bridge->port_list, head) { in prestera_bridge_vlan_port_count() 195 port_count = prestera_bridge_vlan_port_count(br_port->bridge, vid); in prestera_port_vlan_bridge_leave() 231 struct prestera_bridge *bridge; in prestera_bridge_create() local 236 netdev_err(dev, "Only one VLAN-aware bridge is supported\n"); in prestera_bridge_create() 240 bridge = kzalloc(sizeof(*bridge), GFP_KERNEL); in prestera_bridge_create() 241 if (!bridge) in prestera_bridge_create() 249 kfree(bridge); in prestera_bridge_create() 253 bridge->bridge_id = bridge_id; in prestera_bridge_create() [all …]
|
/Linux-v5.10/drivers/vme/ |
D | vme.c | 3 * VME Bridge Framework 46 * Find the bridge that the resource is associated with. 89 struct vme_bridge *bridge; in vme_alloc_consistent() local 96 bridge = find_bridge(resource); in vme_alloc_consistent() 97 if (!bridge) { in vme_alloc_consistent() 98 printk(KERN_ERR "Can't find bridge\n"); in vme_alloc_consistent() 102 if (!bridge->parent) { in vme_alloc_consistent() 103 printk(KERN_ERR "Dev entry NULL for bridge %s\n", bridge->name); in vme_alloc_consistent() 107 if (!bridge->alloc_consistent) { in vme_alloc_consistent() 108 printk(KERN_ERR "alloc_consistent not supported by bridge %s\n", in vme_alloc_consistent() [all …]
|