Home
last modified time | relevance | path

Searched refs:bridge (Results 1 – 25 of 866) sorted by relevance

12345678910>>...35

/linux/drivers/gpu/drm/
A Ddrm_bridge.c260 ret = bridge->funcs->attach(bridge, flags); in drm_bridge_attach()
268 state = bridge->funcs->atomic_reset(bridge); in drm_bridge_attach()
283 bridge->funcs->detach(bridge); in drm_bridge_attach()
314 bridge->funcs->detach(bridge); in drm_bridge_detach()
538 bridge->funcs->post_disable(bridge); in drm_bridge_chain_post_disable()
622 bridge->funcs->enable(bridge); in drm_bridge_chain_enable()
705 bridge->funcs->post_disable(bridge); in drm_atomic_bridge_chain_post_disable()
788 bridge->funcs->enable(bridge); in drm_atomic_bridge_chain_enable()
1129 return bridge->funcs->detect(bridge); in drm_bridge_detect()
1214 bridge->funcs->hpd_enable(bridge); in drm_bridge_hpd_enable()
[all …]
A Ddrm_bridge_connector.c101 struct drm_bridge *bridge; in drm_bridge_connector_hpd_notify() local
105 if (bridge->funcs->hpd_notify) in drm_bridge_connector_hpd_notify()
106 bridge->funcs->hpd_notify(bridge, status); in drm_bridge_connector_hpd_notify()
243 edid = bridge->funcs->get_edid(bridge, connector); in drm_bridge_connector_get_modes_edid()
264 struct drm_bridge *bridge; in drm_bridge_connector_get_modes() local
271 if (bridge) in drm_bridge_connector_get_modes()
279 if (bridge) in drm_bridge_connector_get_modes()
280 return bridge->funcs->get_modes(bridge, connector); in drm_bridge_connector_get_modes()
319 struct drm_bridge *bridge; in drm_bridge_connector_init() local
359 if (bridge->ddc) in drm_bridge_connector_init()
[all …]
/linux/drivers/char/agp/
A Dbackend.c73 if (!bridge) in agp_backend_acquire()
79 return bridge; in agp_backend_acquire()
95 if (bridge) in agp_backend_release()
145 struct page *page = bridge->driver->agp_alloc_page(bridge); in agp_backend_initialize()
156 bridge->scratch_page = bridge->driver->mask_memory(bridge, in agp_backend_initialize()
166 if (bridge->driver->create_gatt_table(bridge)) { in agp_backend_initialize()
203 bridge->driver->free_gatt_table(bridge); in agp_backend_initialize()
217 bridge->driver->free_gatt_table(bridge); in agp_backend_cleanup()
239 bridge = kzalloc(sizeof(*bridge), GFP_KERNEL); in agp_alloc_bridge()
240 if (!bridge) in agp_alloc_bridge()
[all …]
A Dgeneric.c237 new->bridge = bridge; in agp_allocate_memory()
244 new->bridge = bridge; in agp_allocate_memory()
260 new->bridge = bridge; in agp_allocate_memory()
274 new->bridge = bridge; in agp_allocate_memory()
900 bridge->current_size = A_IDX8(bridge); in agp_generic_create_gatt_table()
903 bridge->current_size = A_IDX16(bridge); in agp_generic_create_gatt_table()
906 bridge->current_size = A_IDX32(bridge); in agp_generic_create_gatt_table()
1034 bridge = mem->bridge; in agp_generic_insert_memory()
1094 writel(bridge->driver->mask_memory(bridge, in agp_generic_insert_memory()
1113 bridge = mem->bridge; in agp_generic_remove_memory()
[all …]
A Duninorth-agp.c297 if (bridge == NULL) in agp_uninorth_suspend()
350 if (bridge == NULL) in agp_uninorth_resume()
385 temp = bridge->current_size; in uninorth_create_gatt_table()
397 bridge->current_size = A_IDX32(bridge); in uninorth_create_gatt_table()
455 temp = bridge->current_size; in uninorth_free_gatt_table()
463 vunmap(bridge->gatt_table); in uninorth_free_gatt_table()
653 if (!bridge) in agp_uninorth_probe()
661 bridge->dev = pdev; in agp_uninorth_probe()
662 bridge->capndx = cap_ptr; in agp_uninorth_probe()
681 agp_remove_bridge(bridge); in agp_uninorth_remove()
[all …]
/linux/drivers/fpga/
A Dfpga-bridge.c33 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()
51 if (bridge->br_ops && bridge->br_ops->enable_set) in fpga_bridge_disable()
52 return bridge->br_ops->enable_set(bridge, 0); in fpga_bridge_disable()
78 return bridge; in __fpga_bridge_get()
298 if (bridge->br_ops && bridge->br_ops->enable_show) in state_show()
299 enable = bridge->br_ops->enable_show(bridge); in state_show()
338 bridge = kzalloc(sizeof(*bridge), GFP_KERNEL); in fpga_bridge_create()
339 if (!bridge) in fpga_bridge_create()
469 if (bridge->br_ops && bridge->br_ops->fpga_bridge_remove) in fpga_bridge_unregister()
[all …]
/linux/drivers/media/i2c/
A Dst-mipid02.c546 if (!bridge->s_subdev) in mipid02_stream_enable()
549 memset(&bridge->r, 0, sizeof(bridge->r)); in mipid02_stream_enable()
590 bridge->r.mode_reg2); in mipid02_stream_enable()
693 fmt = &bridge->fmt; in mipid02_get_fmt()
737 fmt = &bridge->fmt; in mipid02_set_fmt_sink()
876 bridge->rx = ep; in mipid02_parse_rx_ep()
892 ret = v4l2_async_subdev_nf_register(&bridge->sd, &bridge->notifier); in mipid02_parse_rx_ep()
928 bridge->tx = ep; in mipid02_parse_tx_ep()
946 bridge = devm_kzalloc(dev, sizeof(*bridge), GFP_KERNEL); in mipid02_probe()
947 if (!bridge) in mipid02_probe()
[all …]
/linux/include/drm/
A Ddrm_bridge.h71 int (*attach)(struct drm_bridge *bridge,
82 void (*detach)(struct drm_bridge *bridge);
156 bool (*mode_fixup)(struct drm_bridge *bridge,
180 void (*disable)(struct drm_bridge *bridge);
232 void (*mode_set)(struct drm_bridge *bridge,
283 void (*enable)(struct drm_bridge *bridge);
578 int (*get_modes)(struct drm_bridge *bridge,
816 if (list_is_last(&bridge->chain_node, &bridge->encoder->bridge_chain)) in drm_bridge_get_next_bridge()
819 return list_next_entry(bridge, chain_node); in drm_bridge_get_next_bridge()
832 if (list_is_first(&bridge->chain_node, &bridge->encoder->bridge_chain)) in drm_bridge_get_prev_bridge()
[all …]
/linux/drivers/vme/bridges/
A Dvme_fake.c96 struct fake_driver *bridge; in fake_VIRQ_tasklet() local
101 vme_irq_handler(fake_bridge, bridge->int_level, bridge->int_statid); in fake_VIRQ_tasklet()
136 bridge->int_level = level; in fake_irq_generate()
428 end = bridge->slaves[i].vme_base + bridge->slaves[i].size; in fake_vmeread8()
467 end = bridge->slaves[i].vme_base + bridge->slaves[i].size; in fake_vmeread16()
500 end = bridge->slaves[i].vme_base + bridge->slaves[i].size; in fake_vmeread32()
631 end = bridge->slaves[i].vme_base + bridge->slaves[i].size; in fake_vmewrite8()
662 end = bridge->slaves[i].vme_base + bridge->slaves[i].size; in fake_vmewrite16()
693 end = bridge->slaves[i].vme_base + bridge->slaves[i].size; in fake_vmewrite32()
956 bridge->lm_enabled = 1; in fake_lm_attach()
[all …]
A Dvme_ca91cx42.c57 wake_up(&bridge->dma_queue); in ca91cx42_DMA_irqhandler()
70 bridge->lm_callback[i](bridge->lm_data[i]); in ca91cx42_LM_irqhandler()
81 wake_up(&bridge->mbox_queue); in ca91cx42_MB_irqhandler()
88 wake_up(&bridge->iack_queue); in ca91cx42_IACK_irqhandler()
96 struct ca91cx42_driver *bridge; in ca91cx42_VERR_irqhandler() local
113 struct ca91cx42_driver *bridge; in ca91cx42_LERR_irqhandler() local
131 struct ca91cx42_driver *bridge; in ca91cx42_VIRQ_irqhandler() local
308 mutex_lock(&bridge->vme_int); in ca91cx42_irq_generate()
1568 iowrite32(bridge->crcsr_bus - crcsr_addr, bridge->base + VCSR_TO); in ca91cx42_crcsr_init()
1594 bridge->crcsr_kernel, bridge->crcsr_bus); in ca91cx42_crcsr_exit()
[all …]
A Dvme_tsi148.c81 wake_up(&bridge->dma_queue[0]); in tsi148_DMA_irqhandler()
103 bridge->lm_callback[i](bridge->lm_data[i]); in tsi148_LM_irqhandler()
121 struct tsi148_driver *bridge; in tsi148_MB_irqhandler() local
142 struct tsi148_driver *bridge; in tsi148_PERR_irqhandler() local
171 struct tsi148_driver *bridge; in tsi148_VERR_irqhandler() local
206 wake_up(&bridge->iack_queue); in tsi148_IACK_irqhandler()
218 struct tsi148_driver *bridge; in tsi148_VIRQ_irqhandler() local
248 struct tsi148_driver *bridge; in tsi148_irqhandler() local
309 struct tsi148_driver *bridge; in tsi148_irq_init() local
2266 bridge->crcsr_kernel, bridge->crcsr_bus); in tsi148_crcsr_exit()
[all …]
/linux/drivers/gpu/drm/bridge/
A Dpanel.c18 struct drm_bridge bridge; member
27 return container_of(bridge, struct panel_bridge, bridge); in drm_bridge_to_panel_bridge()
67 if (!bridge->encoder) { in panel_bridge_attach()
84 bridge->encoder); in panel_bridge_attach()
241 if (!bridge) in drm_panel_bridge_remove()
249 drm_bridge_remove(bridge); in drm_panel_bridge_remove()
307 if (!IS_ERR(bridge)) { in devm_drm_panel_bridge_add_typed()
308 *ptr = bridge; in devm_drm_panel_bridge_add_typed()
314 return bridge; in devm_drm_panel_bridge_add_typed()
361 &panel, &bridge); in devm_drm_of_get_bridge()
[all …]
A Ddisplay-connector.c20 struct drm_bridge bridge; member
31 return container_of(bridge, struct display_connector, bridge); in to_display_connector()
52 if (conn->bridge.ddc && drm_probe_ddc(conn->bridge.ddc)) in display_connector_detect()
55 switch (conn->bridge.type) { in display_connector_detect()
99 struct drm_bridge *bridge = &conn->bridge; in display_connector_hpd_irq() local
101 drm_bridge_hpd_notify(bridge, display_connector_detect(bridge)); in display_connector_hpd_irq()
167 conn->bridge.type = type; in display_connector_probe()
222 if (!conn->bridge.ddc) in display_connector_probe()
265 if (conn->bridge.ddc) in display_connector_probe()
279 conn->bridge.ops); in display_connector_probe()
[all …]
A Dti-tpd12s015.c25 struct drm_bridge bridge; member
37 return container_of(bridge, struct tpd12s015_device, bridge); in to_tpd12s015()
50 bridge, flags); in tpd12s015_attach()
104 struct drm_bridge *bridge = &tpd->bridge; in tpd12s015_hpd_isr() local
106 drm_bridge_hpd_notify(bridge, tpd12s015_detect(bridge)); in tpd12s015_hpd_isr()
124 tpd->bridge.funcs = &tpd12s015_bridge_funcs; in tpd12s015_probe()
125 tpd->bridge.of_node = pdev->dev.of_node; in tpd12s015_probe()
127 tpd->bridge.ops = DRM_BRIDGE_OP_DETECT; in tpd12s015_probe()
173 tpd->bridge.ops |= DRM_BRIDGE_OP_HPD; in tpd12s015_probe()
177 drm_bridge_add(&tpd->bridge); in tpd12s015_probe()
[all …]
A Dnxp-ptn3460.c31 struct drm_bridge bridge; member
40 bridge_to_ptn3460(struct drm_bridge *bridge) in bridge_to_ptn3460() argument
42 return container_of(bridge, struct ptn3460_bridge, bridge); in bridge_to_ptn3460()
166 ptn3460_pre_enable(&ptn_bridge->bridge); in ptn3460_get_edid()
184 ptn3460_disable(&ptn_bridge->bridge); in ptn3460_get_edid()
230 if (!bridge->encoder) { in ptn3460_bridge_attach()
246 bridge->encoder); in ptn3460_bridge_attach()
313 ptn_bridge->bridge.ops = DRM_BRIDGE_OP_EDID; in ptn3460_probe()
315 ptn_bridge->bridge.of_node = dev->of_node; in ptn3460_probe()
316 drm_bridge_add(&ptn_bridge->bridge); in ptn3460_probe()
[all …]
/linux/drivers/vme/
A Dvme.c290 bridge = vdev->bridge; in vme_slave_request()
491 bridge = vdev->bridge; in vme_master_request()
871 bridge = vdev->bridge; in vme_dma_request()
1339 bridge = vdev->bridge; in vme_irq_request()
1388 bridge = vdev->bridge; in vme_irq_free()
1435 bridge = vdev->bridge; in vme_irq_generate()
1473 bridge = vdev->bridge; in vme_lm_request()
1743 bridge = vdev->bridge; in vme_slot_num()
1754 return bridge->slot_get(bridge); in vme_slot_num()
1771 bridge = vdev->bridge; in vme_bus_num()
[all …]
/linux/drivers/pci/
A Dpci-bridge-emul.c270 bridge->conf.cache_line_size = 0x10; in pci_bridge_emul_init()
275 if (!bridge->pci_regs_behavior) in pci_bridge_emul_init()
278 if (bridge->has_pcie) { in pci_bridge_emul_init()
282 bridge->pcie_conf.cap = in pci_bridge_emul_init()
285 bridge->pcie_cap_regs_behavior = in pci_bridge_emul_init()
290 kfree(bridge->pci_regs_behavior); in pci_bridge_emul_init()
310 if (bridge->has_pcie) in pci_bridge_emul_cleanup()
312 kfree(bridge->pci_regs_behavior); in pci_bridge_emul_cleanup()
343 read_op = bridge->ops->read_pcie; in pci_bridge_emul_conf_read()
347 read_op = bridge->ops->read_base; in pci_bridge_emul_conf_read()
[all …]
A Dsetup-bus.c584 if (bridge->io_window_1k) in pci_setup_bridge_io()
673 pci_setup_bridge_io(bridge); in __pci_setup_bridge()
745 if (bridge->io_window) { in pci_bridge_check_ranges()
750 if (bridge->pref_window) { in pci_bridge_check_ranges()
1497 b = bridge->subordinate; in __pci_bridge_assign_resources()
2120 pci_set_master(bridge); in pci_assign_unassigned_bridge_resources()
2137 next = bridge; in pci_reassign_bridge_resources()
2139 bridge = next; in pci_reassign_bridge_resources()
2167 next = bridge->bus ? bridge->bus->self : NULL; in pci_reassign_bridge_resources()
2189 bridge = dev_res->dev; in pci_reassign_bridge_resources()
[all …]
A Dprobe.c574 bridge->release_fn(bridge); in pci_release_host_bridge_dev()
607 bridge = kzalloc(sizeof(*bridge) + priv, GFP_KERNEL); in pci_alloc_host_bridge()
608 if (!bridge) in pci_alloc_host_bridge()
630 if (!bridge) in devm_pci_alloc_host_bridge()
933 bus->bridge = get_device(&bridge->dev); in pci_register_host_bridge()
1117 child->bridge = get_device(&bridge->dev); in pci_alloc_child_bus()
2026 if (!bridge || !pci_is_pcie(bridge)) in pci_configure_mps()
2180 if (bridge && bridge->ltr_path) in pci_configure_ltr()
2207 if (bridge && bridge->ltr_path) { in pci_configure_ltr()
2236 if (bridge && bridge->eetlp_prefix_path) in pci_configure_eetlp_prefix()
[all …]
/linux/drivers/pci/hotplug/
A Dacpiphp_glue.c178 kfree(bridge); in free_bridge()
758 if (bridge) in acpiphp_check_host_bridge()
762 if (bridge) { in acpiphp_check_host_bridge()
782 bridge = context->bridge; in hotplug_event()
783 if (bridge) in hotplug_event()
794 if (bridge) in hotplug_event()
804 if (bridge) { in hotplug_event()
824 if (bridge) in hotplug_event()
864 if (!bridge) in acpiphp_enumerate_slots()
903 context->bridge = bridge; in acpiphp_enumerate_slots()
[all …]
/linux/drivers/net/ethernet/mellanox/mlx5/core/esw/
A Dbridge.c590 bridge, bridge->br_offloads->esw); in mlx5_esw_bridge_ingress_flow_create()
760 bridge = kvzalloc(sizeof(*bridge), GFP_KERNEL); in mlx5_esw_bridge_create()
761 if (!bridge) in mlx5_esw_bridge_create()
779 return bridge; in mlx5_esw_bridge_create()
832 return bridge; in mlx5_esw_bridge_lookup()
1276 bridge = port->bridge; in mlx5_esw_bridge_vlan_filtering_set()
1304 port->bridge = bridge; in mlx5_esw_bridge_vport_init()
1327 struct mlx5_esw_bridge *bridge = port->bridge; in mlx5_esw_bridge_vport_cleanup() local
1473 bridge = port->bridge; in mlx5_esw_bridge_fdb_update_used()
1497 bridge = port->bridge; in mlx5_esw_bridge_fdb_create()
[all …]
/linux/drivers/media/pci/intel/ipu3/
A Dcio2-bridge.c112 struct cio2_bridge *bridge, in cio2_bridge_create_fwnode_properties() argument
141 bridge->data_lanes, in cio2_bridge_create_fwnode_properties()
155 bridge->data_lanes, in cio2_bridge_create_fwnode_properties()
204 sensor = &bridge->sensors[i]; in cio2_bridge_unregister_sensors()
231 sensor = &bridge->sensors[bridge->n_sensors]; in cio2_bridge_connect_sensor()
271 bridge->n_sensors++; in cio2_bridge_connect_sensor()
311 struct cio2_bridge *bridge; in cio2_bridge_init() local
315 bridge = kzalloc(sizeof(*bridge), GFP_KERNEL); in cio2_bridge_init()
316 if (!bridge) in cio2_bridge_init()
321 bridge->cio2_hid_node.name = bridge->cio2_node_name; in cio2_bridge_init()
[all …]
/linux/drivers/gpu/drm/msm/edp/
A Dedp_bridge.c14 void edp_bridge_destroy(struct drm_bridge *bridge) in edp_bridge_destroy() argument
20 struct edp_bridge *edp_bridge = to_edp_bridge(bridge); in edp_bridge_pre_enable()
27 static void edp_bridge_enable(struct drm_bridge *bridge) in edp_bridge_enable() argument
50 struct drm_device *dev = bridge->dev; in edp_bridge_mode_set()
65 if (bridge == first_bridge) { in edp_bridge_mode_set()
84 struct drm_bridge *bridge = NULL; in msm_edp_bridge_init() local
97 bridge = &edp_bridge->base; in msm_edp_bridge_init()
98 bridge->funcs = &edp_bridge_funcs; in msm_edp_bridge_init()
104 return bridge; in msm_edp_bridge_init()
107 if (bridge) in msm_edp_bridge_init()
[all …]
/linux/drivers/net/ethernet/marvell/prestera/
A Dprestera_switchdev.c279 bridge = kzalloc(sizeof(*bridge), GFP_KERNEL); in prestera_bridge_create()
280 if (!bridge) in prestera_bridge_create()
303 return bridge; in prestera_bridge_create()
383 if (!bridge) in prestera_bridge_port_by_dev()
403 br_port->bridge = bridge; in prestera_bridge_port_create()
427 struct prestera_bridge *bridge = br_port->bridge; in prestera_bridge_port_put() local
457 struct prestera_bridge *bridge = br_port->bridge; in prestera_bridge_1d_port_join() local
579 if (!bridge) in prestera_bridge_port_leave()
586 bridge = br_port->bridge; in prestera_bridge_port_leave()
783 bridge = br_port->bridge; in prestera_port_fdb_set()
[all …]
/linux/tools/testing/selftests/drivers/net/mlxsw/
A Dvxlan.sh98 ip link add dev br0 type bridge
475 bridge fdb show brport vxlan0
676 bridge fdb show dev vxlan0
679 bridge fdb show dev vxlan0
683 bridge fdb show dev vxlan0
695 bridge fdb show dev vxlan0
701 bridge fdb show dev vxlan0
713 bridge fdb show dev vxlan0
797 bridge fdb show dev vxlan0
803 bridge fdb show dev vxlan0
[all …]

Completed in 75 milliseconds

12345678910>>...35