Home
last modified time | relevance | path

Searched full:bridge (Results 1 – 25 of 3173) sorted by relevance

12345678910>>...127

/kernel/linux/linux-4.19/drivers/gpu/drm/
Ddrm_bridge.c40 * A bridge is always attached to a single &drm_encoder at a time, but can be
41 * either connected to it directly, or through an intermediate bridge::
43 * encoder ---> bridge B ---> bridge A
45 * Here, the output of the encoder feeds to bridge B, and that furthers feeds to
46 * bridge A.
48 * The driver using the bridge is responsible to make the associations between
67 * drm_bridge_add - add the given bridge to the global bridge list
69 * @bridge: bridge control structure
71 void drm_bridge_add(struct drm_bridge *bridge) in drm_bridge_add() argument
74 list_add_tail(&bridge->list, &bridge_list); in drm_bridge_add()
[all …]
/kernel/linux/linux-5.10/drivers/fpga/
Dfpga-bridge.c3 * 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-4.19/drivers/fpga/
Dfpga-bridge.c3 * FPGA Bridge Framework Driver
8 #include <linux/fpga/fpga-bridge.h>
28 * fpga_bridge_enable - Enable transactions on the bridge
30 * @bridge: FPGA bridge
34 int fpga_bridge_enable(struct fpga_bridge *bridge) in fpga_bridge_enable() argument
36 dev_dbg(&bridge->dev, "enable\n"); in fpga_bridge_enable()
38 if (bridge->br_ops && bridge->br_ops->enable_set) in fpga_bridge_enable()
39 return bridge->br_ops->enable_set(bridge, 1); in fpga_bridge_enable()
46 * fpga_bridge_disable - Disable transactions on the bridge
48 * @bridge: FPGA bridge
[all …]
/kernel/linux/linux-5.10/drivers/gpu/drm/
Ddrm_bridge.c41 * 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-5.10/drivers/media/i2c/
Dst-mipid02.c3 * 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-5.10/drivers/char/agp/
Dbackend.c69 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 …]
Dgeneric.c178 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 …]
/kernel/linux/linux-4.19/drivers/char/agp/
Dbackend.c69 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-5.10/include/drm/
Ddrm_bridge.h48 * @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/
Dm5602_ov7660.c23 {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 …]
Dm5602_s5k4aa.c20 {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 …]
Dm5602_s5k83a.c41 {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 …]
/kernel/linux/linux-4.19/drivers/media/usb/gspca/m5602/
Dm5602_ov7660.c27 {BRIDGE, M5602_XB_MCU_CLK_DIV, 0x02},
28 {BRIDGE, M5602_XB_MCU_CLK_CTRL, 0xb0},
29 {BRIDGE, M5602_XB_SEN_CLK_DIV, 0x00},
30 {BRIDGE, M5602_XB_SEN_CLK_CTRL, 0xb0},
31 {BRIDGE, M5602_XB_ADC_CTRL, 0xc0},
32 {BRIDGE, M5602_XB_SENSOR_TYPE, 0x0d},
33 {BRIDGE, M5602_XB_SENSOR_CTRL, 0x00},
34 {BRIDGE, M5602_XB_GPIO_DIR, 0x03},
35 {BRIDGE, M5602_XB_GPIO_DIR, 0x03},
36 {BRIDGE, M5602_XB_ADC_CTRL, 0xc0},
[all …]
Dm5602_s5k4aa.c24 {BRIDGE, M5602_XB_MCU_CLK_DIV, 0x02, 0x00},
25 {BRIDGE, M5602_XB_MCU_CLK_CTRL, 0xb0, 0x00},
26 {BRIDGE, M5602_XB_SEN_CLK_DIV, 0x00, 0x00},
27 {BRIDGE, M5602_XB_SEN_CLK_CTRL, 0xb0, 0x00},
28 {BRIDGE, M5602_XB_ADC_CTRL, 0xc0, 0x00},
29 {BRIDGE, M5602_XB_SENSOR_TYPE, 0x0d, 0x00},
30 {BRIDGE, M5602_XB_SENSOR_CTRL, 0x00, 0x00},
32 {BRIDGE, M5602_XB_GPIO_DIR, 0x1d, 0x00},
33 {BRIDGE, M5602_XB_GPIO_DAT, 0x08, 0x00},
34 {BRIDGE, M5602_XB_SEN_CLK_DIV, 0xb0, 0x00},
[all …]
Dm5602_s5k83a.c45 {BRIDGE, M5602_XB_MCU_CLK_DIV, 0x02, 0x00},
46 {BRIDGE, M5602_XB_MCU_CLK_CTRL, 0xb0, 0x00},
47 {BRIDGE, M5602_XB_SEN_CLK_DIV, 0x00, 0x00},
48 {BRIDGE, M5602_XB_SEN_CLK_CTRL, 0xb0, 0x00},
49 {BRIDGE, M5602_XB_ADC_CTRL, 0xc0, 0x00},
50 {BRIDGE, M5602_XB_SENSOR_TYPE, 0x0d, 0x00},
51 {BRIDGE, M5602_XB_SENSOR_CTRL, 0x00, 0x00},
53 {BRIDGE, M5602_XB_SIG_INI, 0x00, 0x00},
54 {BRIDGE, M5602_XB_GPIO_DIR, 0x1d, 0x00},
55 {BRIDGE, M5602_XB_GPIO_DAT, 0x08, 0x00},
[all …]
/kernel/linux/linux-5.10/tools/testing/selftests/drivers/net/mlxsw/
Dvxlan.sh64 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-5.10/drivers/vme/bridges/
Dvme_fake.c3 * 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 …]
Dvme_ca91cx42.c3 * 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 …]
/kernel/linux/linux-4.19/drivers/vme/bridges/
Dvme_fake.c2 * Fake VME bridge support.
4 * This drive provides a fake VME bridge chip, this enables debugging of the
100 struct fake_driver *bridge; in fake_VIRQ_tasklet() local
103 bridge = fake_bridge->driver_priv; in fake_VIRQ_tasklet()
105 vme_irq_handler(fake_bridge, bridge->int_level, bridge->int_statid); in fake_VIRQ_tasklet()
134 struct fake_driver *bridge; in fake_irq_generate() local
136 bridge = fake_bridge->driver_priv; in fake_irq_generate()
138 mutex_lock(&bridge->vme_int); in fake_irq_generate()
140 bridge->int_level = level; in fake_irq_generate()
142 bridge->int_statid = statid; in fake_irq_generate()
[all …]
Dvme_ca91cx42.c2 * Support for the Tundra Universe I/II VME-PCI Bridge Chips
59 static u32 ca91cx42_DMA_irqhandler(struct ca91cx42_driver *bridge) in ca91cx42_DMA_irqhandler() argument
61 wake_up(&bridge->dma_queue); in ca91cx42_DMA_irqhandler()
66 static u32 ca91cx42_LM_irqhandler(struct ca91cx42_driver *bridge, u32 stat) in ca91cx42_LM_irqhandler() argument
74 bridge->lm_callback[i](bridge->lm_data[i]); in ca91cx42_LM_irqhandler()
83 static u32 ca91cx42_MB_irqhandler(struct ca91cx42_driver *bridge, int mbox_mask) in ca91cx42_MB_irqhandler() argument
85 wake_up(&bridge->mbox_queue); in ca91cx42_MB_irqhandler()
90 static u32 ca91cx42_IACK_irqhandler(struct ca91cx42_driver *bridge) in ca91cx42_IACK_irqhandler() argument
92 wake_up(&bridge->iack_queue); in ca91cx42_IACK_irqhandler()
100 struct ca91cx42_driver *bridge; in ca91cx42_VERR_irqhandler() local
[all …]
/kernel/linux/linux-4.19/drivers/gpu/drm/bridge/
Dpanel.c21 struct drm_bridge bridge; member
28 drm_bridge_to_panel_bridge(struct drm_bridge *bridge) in drm_bridge_to_panel_bridge() argument
30 return container_of(bridge, struct panel_bridge, bridge); in drm_bridge_to_panel_bridge()
60 static int panel_bridge_attach(struct drm_bridge *bridge) in panel_bridge_attach() argument
62 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()
92 static void panel_bridge_detach(struct drm_bridge *bridge) in panel_bridge_detach() argument
94 struct panel_bridge *panel_bridge = drm_bridge_to_panel_bridge(bridge); in panel_bridge_detach()
[all …]
DKconfig5 Bridge registration and lookup framework.
13 DRM bridge wrapper of DRM panels
19 tristate "Analogix ANX78XX bridge"
29 tristate "Cadence DPI/DSI bridge"
35 Support Cadence DPI to DSI bridge. This is an internal
36 bridge and is meant to be directly embedded in a SoC.
39 tristate "Dumb VGA DAC Bridge support"
67 tristate "NXP PTN3460 DP/LVDS bridge"
72 NXP PTN3460 eDP-LVDS bridge chip driver.
75 tristate "Parade eDP/LVDS bridge"
[all …]
/kernel/linux/linux-5.10/drivers/gpu/drm/bridge/
DKconfig6 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"
60 Driver for Lontium LT9611 DSI to HDMI bridge
102 tristate "NXP PTN3460 DP/LVDS bridge"
107 NXP PTN3460 eDP-LVDS bridge chip driver.
110 tristate "Parade eDP/LVDS bridge"
[all …]
Dpanel.c17 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
90 struct panel_bridge *panel_bridge = drm_bridge_to_panel_bridge(bridge); in panel_bridge_detach()
[all …]
/kernel/linux/linux-4.19/include/drm/
Ddrm_bridge.h42 * This callback is invoked whenever our bridge is being attached to a
51 int (*attach)(struct drm_bridge *bridge);
56 * This callback is invoked whenever our bridge is being detached from a
61 void (*detach)(struct drm_bridge *bridge);
67 * bridge. This should be implemented if the bridge has some sort of
68 * restriction in the modes it can display. For example, a given bridge
94 enum drm_mode_status (*mode_valid)(struct drm_bridge *bridge,
103 * &drm_bridge. The parameter adjusted_mode is the input mode the bridge
107 * This is the only hook that allows a bridge to reject a modeset. If
124 * that modes are filtered consistently put any bridge constraints and
[all …]

12345678910>>...127