| /kernel/linux/linux-5.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 …]
|
| /kernel/linux/linux-6.6/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 …]
|
| /kernel/linux/linux-5.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 …]
|
| /kernel/linux/linux-6.6/drivers/gpu/drm/ |
| D | drm_bridge.c | 47 * A bridge is always attached to a single &drm_encoder at a time, but can be 50 * [ CRTC ---> ] Encoder ---> Bridge A ---> Bridge B 52 * Here, the output of the encoder feeds to bridge A, and that furthers feeds to 53 * bridge B. Bridge chains can be arbitrarily long, and shall be fully linear: 54 * Chaining multiple bridges to the output of a bridge, or the same bridge to 66 * Display drivers are responsible for linking encoders with the first bridge 67 * in the chains. This is done by acquiring the appropriate bridge with 68 * devm_drm_of_get_bridge(). Once acquired, the bridge shall be attached to the 71 * Bridges are responsible for linking themselves with the next bridge in the 93 * DRM bridge chain functions shall be called manually. [all …]
|
| /kernel/linux/linux-6.6/drivers/media/i2c/ |
| D | st-mipid02.c | 3 * Driver for ST MIPID02 CSI-2 to PARALLEL bridge 241 static int mipid02_read_reg(struct mipid02_dev *bridge, u16 reg, u8 *val) in mipid02_read_reg() argument 243 struct i2c_client *client = bridge->i2c_client; in mipid02_read_reg() 271 static int mipid02_write_reg(struct mipid02_dev *bridge, u16 reg, u8 val) in mipid02_write_reg() argument 273 struct i2c_client *client = bridge->i2c_client; in mipid02_write_reg() 297 static int mipid02_get_regulators(struct mipid02_dev *bridge) in mipid02_get_regulators() argument 302 bridge->supplies[i].supply = mipid02_supply_name[i]; in mipid02_get_regulators() 304 return devm_regulator_bulk_get(&bridge->i2c_client->dev, in mipid02_get_regulators() 306 bridge->supplies); in mipid02_get_regulators() 309 static void mipid02_apply_reset(struct mipid02_dev *bridge) in mipid02_apply_reset() argument [all …]
|
| /kernel/linux/linux-5.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 …]
|
| /kernel/linux/linux-6.6/drivers/char/agp/ |
| D | backend.c | 70 struct agp_bridge_data *bridge; in agp_backend_acquire() local 72 bridge = agp_find_bridge(pdev); in agp_backend_acquire() 74 if (!bridge) in agp_backend_acquire() 77 if (atomic_read(&bridge->agp_in_use)) in agp_backend_acquire() 79 atomic_inc(&bridge->agp_in_use); in agp_backend_acquire() 80 return bridge; in agp_backend_acquire() 87 * @bridge: the AGP backend to release 94 void agp_backend_release(struct agp_bridge_data *bridge) in agp_backend_release() argument 97 if (bridge) in agp_backend_release() 98 atomic_dec(&bridge->agp_in_use); in agp_backend_release() [all …]
|
| /kernel/linux/linux-5.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 …]
|
| /kernel/linux/linux-6.6/drivers/gpu/drm/bridge/ |
| D | panel.c | 19 struct drm_bridge bridge; member 26 drm_bridge_to_panel_bridge(struct drm_bridge *bridge) in drm_bridge_to_panel_bridge() argument 28 return container_of(bridge, struct panel_bridge, bridge); in drm_bridge_to_panel_bridge() 58 static int panel_bridge_attach(struct drm_bridge *bridge, in panel_bridge_attach() argument 61 struct panel_bridge *panel_bridge = drm_bridge_to_panel_bridge(bridge); in panel_bridge_attach() 68 if (!bridge->encoder) { in panel_bridge_attach() 76 ret = drm_connector_init(bridge->dev, connector, in panel_bridge_attach() 84 drm_panel_bridge_set_orientation(connector, bridge); in panel_bridge_attach() 87 bridge->encoder); in panel_bridge_attach() 89 if (bridge->dev->registered) { in panel_bridge_attach() [all …]
|
| D | Kconfig | 6 Bridge registration and lookup framework. 13 DRM bridge wrapper of DRM panels 19 tristate "Chipone ICN6211 MIPI-DSI/RGB Converter bridge" 26 ICN6211 is MIPI-DSI/RGB Converter bridge from chipone. 44 tristate "ChromeOS EC ANX7688 bridge" 68 tristate "Freescale i.MX8MP LDB bridge" 77 tristate "ITE IT6505 DisplayPort bridge" 89 ITE IT6505 DisplayPort bridge chip driver. 92 tristate "Lontium LT8912B DSI/HDMI bridge" 100 Driver for Lontium LT8912B DSI to HDMI bridge [all …]
|
| /kernel/linux/linux-5.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 …]
|
| /kernel/linux/linux-5.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 …]
|
| /kernel/linux/linux-6.6/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 …]
|
| /kernel/linux/linux-6.6/include/drm/ |
| D | drm_bridge.h | 49 * @DRM_BRIDGE_ATTACH_NO_CONNECTOR: When this flag is set the bridge 62 * This callback is invoked whenever our bridge is being attached to a 72 int (*attach)(struct drm_bridge *bridge, 78 * This callback is invoked whenever our bridge is being detached from a 83 void (*detach)(struct drm_bridge *bridge); 89 * bridge. This should be implemented if the bridge has some sort of 90 * restriction in the modes it can display. For example, a given bridge 116 enum drm_mode_status (*mode_valid)(struct drm_bridge *bridge, 126 * &drm_bridge. The parameter adjusted_mode is the input mode the bridge 130 * This is the only hook that allows a bridge to reject a modeset. If [all …]
|
| /kernel/linux/linux-6.6/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" 71 * bridge that is not capable of a burst transfer of more than 77 * BIST register: implemented as read-only, as "A bridge that 152 * are RO, and bridge control (31:16) are a mix of RW, RO, 318 pci_bridge_emul_read_ssid(struct pci_bridge_emul *bridge, int reg, u32 *value) in pci_bridge_emul_read_ssid() argument 323 ((bridge->pcie_start > bridge->ssid_start) ? (bridge->pcie_start << 8) : 0); in pci_bridge_emul_read_ssid() 327 *value = bridge->subsystem_vendor_id | in pci_bridge_emul_read_ssid() [all …]
|
| /kernel/linux/linux-6.6/tools/testing/selftests/net/forwarding/ |
| D | bridge_mdb.sh | 67 ip link add name br0 type bridge vlan_filtering 1 vlan_default_pvid 0 \ 69 bridge vlan add vid 10 dev br0 self 70 bridge vlan add vid 20 dev br0 self 75 bridge vlan add vid 10 dev $swp1 76 bridge vlan add vid 20 dev $swp1 80 bridge vlan add vid 10 dev $swp2 81 bridge vlan add vid 20 dev $swp2 92 bridge vlan del vid 20 dev $swp2 93 bridge vlan del vid 10 dev $swp2 97 bridge vlan del vid 20 dev $swp1 [all …]
|
| D | bridge_locked_port.sh | 45 ip link add dev br0 type bridge vlan_filtering 1 50 bridge link set dev $swp1 learning off 102 bridge link set dev $swp1 locked on 107 bridge fdb add `mac_get $h1` dev $swp1 master static 112 bridge link set dev $swp1 locked off 113 bridge fdb del `mac_get $h1` dev $swp1 master static 127 bridge vlan add vid 100 dev $swp1 128 bridge vlan add vid 100 dev $swp2 133 bridge link set dev $swp1 locked on 137 bridge fdb add `mac_get $h1` dev $swp1 vlan 100 master static [all …]
|
| /kernel/linux/linux-6.6/tools/testing/selftests/drivers/net/dsa/ |
| D | bridge_mdb.sh | 67 ip link add name br0 type bridge vlan_filtering 1 vlan_default_pvid 0 \ 69 bridge vlan add vid 10 dev br0 self 70 bridge vlan add vid 20 dev br0 self 75 bridge vlan add vid 10 dev $swp1 76 bridge vlan add vid 20 dev $swp1 80 bridge vlan add vid 10 dev $swp2 81 bridge vlan add vid 20 dev $swp2 92 bridge vlan del vid 20 dev $swp2 93 bridge vlan del vid 10 dev $swp2 97 bridge vlan del vid 20 dev $swp1 [all …]
|
| D | bridge_locked_port.sh | 45 ip link add dev br0 type bridge vlan_filtering 1 50 bridge link set dev $swp1 learning off 102 bridge link set dev $swp1 locked on 107 bridge fdb add `mac_get $h1` dev $swp1 master static 112 bridge link set dev $swp1 locked off 113 bridge fdb del `mac_get $h1` dev $swp1 master static 127 bridge vlan add vid 100 dev $swp1 128 bridge vlan add vid 100 dev $swp2 133 bridge link set dev $swp1 locked on 137 bridge fdb add `mac_get $h1` dev $swp1 vlan 100 master static [all …]
|
| /kernel/linux/linux-5.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 …]
|
| /kernel/linux/linux-6.6/tools/testing/selftests/drivers/net/mlxsw/ |
| D | vxlan.sh | 89 ip link add dev br0 type bridge mcast_snooping 0 106 ip link add dev br0 type bridge mcast_snooping 0 vlan_filtering 1 116 log_test "vxlan device with a vlan-aware bridge" 123 ip link add dev br0 type bridge 133 log_test "vxlan device with a multicast enabled bridge" 140 ip link add dev br0 type bridge mcast_snooping 0 160 ip link add dev br0 type bridge mcast_snooping 0 177 ip link add dev br0 type bridge mcast_snooping 0 194 ip link add dev br0 type bridge mcast_snooping 0 213 ip link add dev br0 type bridge mcast_snooping 0 [all …]
|
| /kernel/linux/linux-6.6/drivers/staging/vme_user/ |
| 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 …]
|
| /kernel/linux/linux-5.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 …]
|