Home
last modified time | relevance | path

Searched refs:bridge (Results 1 – 200 of 356) sorted by relevance

12

/linux-4.1.27/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.c183 curr->bridge->driver->free_by_type(curr); in agp_free_memory()
187 if (curr->bridge->driver->agp_destroy_pages) { in agp_free_memory()
188 curr->bridge->driver->agp_destroy_pages(curr); in agp_free_memory()
192 curr->bridge->driver->agp_destroy_page( in agp_free_memory()
197 curr->bridge->driver->agp_destroy_page( in agp_free_memory()
222 struct agp_memory *agp_allocate_memory(struct agp_bridge_data *bridge, in agp_allocate_memory() argument
230 if (!bridge) in agp_allocate_memory()
233 cur_memory = atomic_read(&bridge->current_memory_agp); in agp_allocate_memory()
234 if ((cur_memory + page_count > bridge->max_memory_agp) || in agp_allocate_memory()
241 new->bridge = bridge; in agp_allocate_memory()
[all …]
Dsgi-agp.c41 static struct page *sgi_tioca_alloc_page(struct agp_bridge_data *bridge) in sgi_tioca_alloc_page() argument
46 (struct tioca_kernel *)bridge->dev_private_data; in sgi_tioca_alloc_page()
65 tioca_tlbflush(mem->bridge->dev_private_data); in sgi_tioca_tlbflush()
73 sgi_tioca_mask_memory(struct agp_bridge_data *bridge, dma_addr_t addr, in sgi_tioca_mask_memory() argument
79 static void sgi_tioca_agp_enable(struct agp_bridge_data *bridge, u32 mode) in sgi_tioca_agp_enable() argument
81 tioca_fastwrite_enable(bridge->dev_private_data); in sgi_tioca_agp_enable()
110 static int sgi_tioca_create_gatt_table(struct agp_bridge_data *bridge) in sgi_tioca_create_gatt_table() argument
113 (struct tioca_kernel *)bridge->dev_private_data; in sgi_tioca_create_gatt_table()
115 bridge->gatt_table_real = (u32 *) info->ca_gfxgart; in sgi_tioca_create_gatt_table()
116 bridge->gatt_table = bridge->gatt_table_real; in sgi_tioca_create_gatt_table()
[all …]
Duninorth-agp.c227 static void uninorth_agp_enable(struct agp_bridge_data *bridge, u32 mode) in uninorth_agp_enable() argument
232 pci_read_config_dword(bridge->dev, in uninorth_agp_enable()
233 bridge->capndx + PCI_AGP_STATUS, in uninorth_agp_enable()
236 command = agp_collect_device_status(bridge, mode, status); in uninorth_agp_enable()
261 pci_write_config_dword(bridge->dev, in uninorth_agp_enable()
262 bridge->capndx + PCI_AGP_COMMAND, in uninorth_agp_enable()
264 pci_read_config_dword(bridge->dev, in uninorth_agp_enable()
265 bridge->capndx + PCI_AGP_COMMAND, in uninorth_agp_enable()
269 dev_err(&bridge->dev->dev, "can't write UniNorth AGP " in uninorth_agp_enable()
291 struct agp_bridge_data *bridge; in agp_uninorth_suspend() local
[all …]
Dagp.h167 #define A_IDX8(bridge) (A_SIZE_8((bridge)->driver->aperture_sizes) + i) argument
168 #define A_IDX16(bridge) (A_SIZE_16((bridge)->driver->aperture_sizes) + i) argument
169 #define A_IDX32(bridge) (A_SIZE_32((bridge)->driver->aperture_sizes) + i) argument
184 void agp_put_bridge(struct agp_bridge_data *bridge);
185 int agp_add_bridge(struct agp_bridge_data *bridge);
186 void agp_remove_bridge(struct agp_bridge_data *bridge);
193 void agp_generic_enable(struct agp_bridge_data *bridge, u32 mode);
194 int agp_generic_create_gatt_table(struct agp_bridge_data *bridge);
195 int agp_generic_free_gatt_table(struct agp_bridge_data *bridge);
201 struct page *agp_generic_alloc_page(struct agp_bridge_data *bridge);
[all …]
Dvia-agp.c429 static void check_via_agp3 (struct agp_bridge_data *bridge) in check_via_agp3() argument
433 pci_read_config_byte(bridge->dev, VIA_AGPSEL, &reg); in check_via_agp3()
436 bridge->driver = &via_agp3_driver; in check_via_agp3()
443 struct agp_bridge_data *bridge; in agp_via_probe() local
454 bridge = agp_alloc_bridge(); in agp_via_probe()
455 if (!bridge) in agp_via_probe()
458 bridge->dev = pdev; in agp_via_probe()
459 bridge->capndx = cap_ptr; in agp_via_probe()
460 bridge->driver = &via_driver; in agp_via_probe()
469 check_via_agp3(bridge); in agp_via_probe()
[all …]
Dsis-agp.c75 static void sis_delayed_enable(struct agp_bridge_data *bridge, u32 mode) in sis_delayed_enable() argument
85 command = agp_collect_device_status(bridge, mode, command); in sis_delayed_enable()
104 if (device->device == bridge->dev->device) { in sis_delayed_enable()
156 static void sis_get_driver(struct agp_bridge_data *bridge) in sis_get_driver() argument
161 if (bridge->dev->device==sis_broken_chipsets[i]) in sis_get_driver()
184 struct agp_bridge_data *bridge; in agp_sis_probe() local
194 bridge = agp_alloc_bridge(); in agp_sis_probe()
195 if (!bridge) in agp_sis_probe()
198 bridge->driver = &sis_driver; in agp_sis_probe()
199 bridge->dev = pdev; in agp_sis_probe()
[all …]
Damd64-agp.c49 struct agp_bridge_data *bridge = mem->bridge; in amd64_insert_memory() local
56 mask_type = bridge->driver->agp_type_to_mask_type(bridge, type); in amd64_insert_memory()
351 static void amd8151_init(struct pci_dev *pdev, struct agp_bridge_data *bridge) in amd8151_init() argument
373 bridge->major_version = 3; in amd8151_init()
374 bridge->minor_version = 0; in amd8151_init()
515 struct agp_bridge_data *bridge; in agp_amd64_probe() local
529 bridge = agp_alloc_bridge(); in agp_amd64_probe()
530 if (!bridge) in agp_amd64_probe()
535 amd8151_init(pdev, bridge); in agp_amd64_probe()
541 bridge->driver = &amd_8151_driver; in agp_amd64_probe()
[all …]
Defficeon-agp.c158 static int efficeon_free_gatt_table(struct agp_bridge_data *bridge) in efficeon_free_gatt_table() argument
193 static int efficeon_create_gatt_table(struct agp_bridge_data *bridge) in efficeon_create_gatt_table() argument
348 struct agp_bridge_data *bridge; in agp_efficeon_probe() local
365 bridge = agp_alloc_bridge(); in agp_efficeon_probe()
366 if (!bridge) in agp_efficeon_probe()
369 bridge->driver = &efficeon_driver; in agp_efficeon_probe()
370 bridge->dev = pdev; in agp_efficeon_probe()
371 bridge->capndx = cap_ptr; in agp_efficeon_probe()
380 agp_put_bridge(bridge); in agp_efficeon_probe()
393 agp_put_bridge(bridge); in agp_efficeon_probe()
[all …]
Dali-agp.c144 static struct page *m1541_alloc_page(struct agp_bridge_data *bridge) in m1541_alloc_page() argument
305 struct agp_bridge_data *bridge; in agp_ali_probe() local
325 bridge = agp_alloc_bridge(); in agp_ali_probe()
326 if (!bridge) in agp_ali_probe()
329 bridge->dev = pdev; in agp_ali_probe()
330 bridge->capndx = cap_ptr; in agp_ali_probe()
334 bridge->driver = &ali_m1541_bridge; in agp_ali_probe()
362 bridge->driver = &ali_generic_bridge; in agp_ali_probe()
369 bridge->capndx+PCI_AGP_STATUS, in agp_ali_probe()
370 &bridge->mode); in agp_ali_probe()
[all …]
Disoch.c63 static int agp_3_5_isochronous_node_enable(struct agp_bridge_data *bridge, in agp_3_5_isochronous_node_enable() argument
79 struct pci_dev *td = bridge->dev, *dev; in agp_3_5_isochronous_node_enable()
118 pci_read_config_dword(td, bridge->capndx+AGPNISTAT, &tnistat); in agp_3_5_isochronous_node_enable()
119 pci_read_config_dword(td, bridge->capndx+AGPSTAT, &tstatus); in agp_3_5_isochronous_node_enable()
171 pci_read_config_word(td, bridge->capndx+AGPNICMD, &tnicmd); in agp_3_5_isochronous_node_enable()
174 pci_write_config_word(td, bridge->capndx+AGPNICMD, tnicmd); in agp_3_5_isochronous_node_enable()
177 pci_read_config_dword(td, bridge->capndx+AGPNISTAT, &tnistat); in agp_3_5_isochronous_node_enable()
286 static void agp_3_5_nonisochronous_node_enable(struct agp_bridge_data *bridge, in agp_3_5_nonisochronous_node_enable() argument
295 pci_read_config_dword(bridge->dev, bridge->capndx+AGPSTAT, &tstatus); in agp_3_5_nonisochronous_node_enable()
316 int agp_3_5_enable(struct agp_bridge_data *bridge) in agp_3_5_enable() argument
[all …]
Dnvidia-agp.c206 mask_type = agp_generic_type_to_mask_type(mem->bridge, type); in nvidia_insert_memory()
246 mask_type = agp_generic_type_to_mask_type(mem->bridge, type); in nvidia_remove_memory()
339 struct agp_bridge_data *bridge; in agp_nvidia_probe() local
374 bridge = agp_alloc_bridge(); in agp_nvidia_probe()
375 if (!bridge) in agp_nvidia_probe()
378 bridge->driver = &nvidia_driver; in agp_nvidia_probe()
379 bridge->dev_private_data = &nvidia_private, in agp_nvidia_probe()
380 bridge->dev = pdev; in agp_nvidia_probe()
381 bridge->capndx = cap_ptr; in agp_nvidia_probe()
385 bridge->capndx+PCI_AGP_STATUS, in agp_nvidia_probe()
[all …]
Dsworks-agp.c137 static int serverworks_create_gatt_table(struct agp_bridge_data *bridge) in serverworks_create_gatt_table() argument
187 static int serverworks_free_gatt_table(struct agp_bridge_data *bridge) in serverworks_free_gatt_table() argument
400 static void serverworks_agp_enable(struct agp_bridge_data *bridge, u32 mode) in serverworks_agp_enable() argument
405 bridge->capndx + PCI_AGP_STATUS, in serverworks_agp_enable()
408 command = agp_collect_device_status(bridge, mode, command); in serverworks_agp_enable()
416 bridge->capndx + PCI_AGP_COMMAND, in serverworks_agp_enable()
451 struct agp_bridge_data *bridge; in agp_serverworks_probe() local
509 bridge = agp_alloc_bridge(); in agp_serverworks_probe()
510 if (!bridge) in agp_serverworks_probe()
513 bridge->driver = &sworks_driver; in agp_serverworks_probe()
[all …]
Dati-agp.c276 mask_type = agp_generic_type_to_mask_type(mem->bridge, type); in ati_insert_memory()
322 mask_type = agp_generic_type_to_mask_type(mem->bridge, type); in ati_remove_memory()
340 static int ati_create_gatt_table(struct agp_bridge_data *bridge) in ati_create_gatt_table() argument
407 static int ati_free_gatt_table(struct agp_bridge_data *bridge) in ati_free_gatt_table() argument
495 struct agp_bridge_data *bridge; in agp_ati_probe() local
514 bridge = agp_alloc_bridge(); in agp_ati_probe()
515 if (!bridge) in agp_ati_probe()
518 bridge->dev = pdev; in agp_ati_probe()
519 bridge->capndx = cap_ptr; in agp_ati_probe()
521 bridge->driver = &ati_generic_bridge; in agp_ati_probe()
[all …]
Di460-agp.c63 static unsigned long i460_mask_memory (struct agp_bridge_data *bridge,
242 static int i460_create_gatt_table (struct agp_bridge_data *bridge) in i460_create_gatt_table() argument
271 static int i460_free_gatt_table (struct agp_bridge_data *bridge) in i460_free_gatt_table() argument
526 static struct page *i460_alloc_page (struct agp_bridge_data *bridge) in i460_alloc_page() argument
548 static unsigned long i460_mask_memory (struct agp_bridge_data *bridge, in i460_mask_memory() argument
552 return bridge->driver->masks[0].mask in i460_mask_memory()
593 struct agp_bridge_data *bridge; in agp_intel_i460_probe() local
600 bridge = agp_alloc_bridge(); in agp_intel_i460_probe()
601 if (!bridge) in agp_intel_i460_probe()
604 bridge->driver = &intel_i460_driver; in agp_intel_i460_probe()
[all …]
Damd-k7-agp.c122 static int amd_create_gatt_table(struct agp_bridge_data *bridge) in amd_create_gatt_table() argument
171 static int amd_free_gatt_table(struct agp_bridge_data *bridge) in amd_free_gatt_table() argument
409 struct agp_bridge_data *bridge; in agp_amdk7_probe() local
421 bridge = agp_alloc_bridge(); in agp_amdk7_probe()
422 if (!bridge) in agp_amdk7_probe()
425 bridge->driver = &amd_irongate_driver; in agp_amdk7_probe()
426 bridge->dev_private_data = &amd_irongate_private, in agp_amdk7_probe()
427 bridge->dev = pdev; in agp_amdk7_probe()
428 bridge->capndx = cap_ptr; in agp_amdk7_probe()
474 bridge->capndx+PCI_AGP_STATUS, in agp_amdk7_probe()
[all …]
Dparisc-agp.c36 parisc_agp_mask_memory(struct agp_bridge_data *bridge, dma_addr_t addr,
102 parisc_agp_create_gatt_table(struct agp_bridge_data *bridge) in parisc_agp_create_gatt_table() argument
115 parisc_agp_free_gatt_table(struct agp_bridge_data *bridge) in parisc_agp_free_gatt_table() argument
195 parisc_agp_mask_memory(struct agp_bridge_data *bridge, dma_addr_t addr, in parisc_agp_mask_memory() argument
202 parisc_agp_enable(struct agp_bridge_data *bridge, u32 mode) in parisc_agp_enable() argument
209 command = agp_collect_device_status(bridge, mode, command); in parisc_agp_enable()
335 struct agp_bridge_data *bridge; in parisc_agp_setup() local
352 bridge = agp_alloc_bridge(); in parisc_agp_setup()
353 if (!bridge) { in parisc_agp_setup()
357 bridge->driver = &parisc_agp_driver; in parisc_agp_setup()
[all …]
Dintel-agp.c727 struct agp_bridge_data *bridge; in agp_intel_probe() local
734 bridge = agp_alloc_bridge(); in agp_intel_probe()
735 if (!bridge) in agp_intel_probe()
738 bridge->capndx = cap_ptr; in agp_intel_probe()
740 if (intel_gmch_probe(pdev, NULL, bridge)) in agp_intel_probe()
748 bridge->driver = intel_agp_chipsets[i].driver; in agp_intel_probe()
753 if (!bridge->driver) { in agp_intel_probe()
757 agp_put_bridge(bridge); in agp_intel_probe()
761 bridge->dev = pdev; in agp_intel_probe()
762 bridge->dev_private_data = NULL; in agp_intel_probe()
[all …]
Dhp-agp.c291 hp_zx1_create_gatt_table (struct agp_bridge_data *bridge) in hp_zx1_create_gatt_table() argument
319 hp_zx1_free_gatt_table (struct agp_bridge_data *bridge) in hp_zx1_free_gatt_table() argument
400 hp_zx1_mask_memory (struct agp_bridge_data *bridge, dma_addr_t addr, int type) in hp_zx1_mask_memory() argument
406 hp_zx1_enable (struct agp_bridge_data *bridge, u32 mode) in hp_zx1_enable() argument
412 command = agp_collect_device_status(bridge, mode, command); in hp_zx1_enable()
448 struct agp_bridge_data *bridge; in hp_zx1_setup() local
459 bridge = agp_alloc_bridge(); in hp_zx1_setup()
460 if (!bridge) { in hp_zx1_setup()
464 bridge->driver = &hp_zx1_driver; in hp_zx1_setup()
468 bridge->dev = &fake_bridge_dev; in hp_zx1_setup()
[all …]
Dalpha-agp.c73 static void alpha_core_agp_enable(struct agp_bridge_data *bridge, u32 mode) in alpha_core_agp_enable() argument
75 alpha_agp_info *agp = bridge->dev_private_data; in alpha_core_agp_enable()
77 agp->mode.lw = agp_collect_device_status(bridge, mode, in alpha_core_agp_enable()
Dintel-gtt.c137 static void intel_fake_agp_enable(struct agp_bridge_data *bridge, u32 mode) in intel_fake_agp_enable() argument
802 static int intel_fake_agp_create_gatt_table(struct agp_bridge_data *bridge) in intel_fake_agp_create_gatt_table() argument
811 static int intel_fake_agp_free_gatt_table(struct agp_bridge_data *bridge) in intel_fake_agp_free_gatt_table() argument
1345 struct agp_bridge_data *bridge) in intel_gmch_probe() argument
1382 if (bridge) { in intel_gmch_probe()
1383 bridge->driver = &intel_fake_agp_driver; in intel_gmch_probe()
1384 bridge->dev_private_data = &intel_private; in intel_gmch_probe()
1385 bridge->dev = bridge_pdev; in intel_gmch_probe()
/linux-4.1.27/drivers/vme/
Dvme.c87 struct vme_bridge *bridge; in vme_alloc_consistent() local
94 bridge = find_bridge(resource); in vme_alloc_consistent()
95 if (bridge == NULL) { in vme_alloc_consistent()
100 if (bridge->parent == NULL) { in vme_alloc_consistent()
101 printk(KERN_ERR "Dev entry NULL for bridge %s\n", bridge->name); in vme_alloc_consistent()
105 if (bridge->alloc_consistent == NULL) { in vme_alloc_consistent()
107 bridge->name); in vme_alloc_consistent()
111 return bridge->alloc_consistent(bridge->parent, size, dma); in vme_alloc_consistent()
121 struct vme_bridge *bridge; in vme_free_consistent() local
128 bridge = find_bridge(resource); in vme_free_consistent()
[all …]
DKconfig6 bool "VME bridge support"
9 If you say Y here you get support for the VME bridge Framework.
/linux-4.1.27/drivers/vme/bridges/
Dvme_ca91cx42.c57 static u32 ca91cx42_DMA_irqhandler(struct ca91cx42_driver *bridge) in ca91cx42_DMA_irqhandler() argument
59 wake_up(&bridge->dma_queue); in ca91cx42_DMA_irqhandler()
64 static u32 ca91cx42_LM_irqhandler(struct ca91cx42_driver *bridge, u32 stat) in ca91cx42_LM_irqhandler() argument
72 bridge->lm_callback[i](i); in ca91cx42_LM_irqhandler()
81 static u32 ca91cx42_MB_irqhandler(struct ca91cx42_driver *bridge, int mbox_mask) in ca91cx42_MB_irqhandler() argument
83 wake_up(&bridge->mbox_queue); in ca91cx42_MB_irqhandler()
88 static u32 ca91cx42_IACK_irqhandler(struct ca91cx42_driver *bridge) in ca91cx42_IACK_irqhandler() argument
90 wake_up(&bridge->iack_queue); in ca91cx42_IACK_irqhandler()
98 struct ca91cx42_driver *bridge; in ca91cx42_VERR_irqhandler() local
100 bridge = ca91cx42_bridge->driver_priv; in ca91cx42_VERR_irqhandler()
[all …]
Dvme_tsi148.c77 static u32 tsi148_DMA_irqhandler(struct tsi148_driver *bridge, in tsi148_DMA_irqhandler() argument
83 wake_up(&bridge->dma_queue[0]); in tsi148_DMA_irqhandler()
87 wake_up(&bridge->dma_queue[1]); in tsi148_DMA_irqhandler()
97 static u32 tsi148_LM_irqhandler(struct tsi148_driver *bridge, u32 stat) in tsi148_LM_irqhandler() argument
105 bridge->lm_callback[i](i); in tsi148_LM_irqhandler()
123 struct tsi148_driver *bridge; in tsi148_MB_irqhandler() local
125 bridge = tsi148_bridge->driver_priv; in tsi148_MB_irqhandler()
129 val = ioread32be(bridge->base + TSI148_GCSR_MBOX[i]); in tsi148_MB_irqhandler()
144 struct tsi148_driver *bridge; in tsi148_PERR_irqhandler() local
146 bridge = tsi148_bridge->driver_priv; in tsi148_PERR_irqhandler()
[all …]
DKconfig8 (Universe II) VME bridge chip.
14 If you say Y here you get support for the Tundra TSI148 VME bridge
/linux-4.1.27/drivers/pci/hotplug/
Dacpiphp_glue.c119 WARN_ON(context->bridge); in acpiphp_put_context()
124 static inline void get_bridge(struct acpiphp_bridge *bridge) in get_bridge() argument
126 kref_get(&bridge->ref); in get_bridge()
129 static inline void put_bridge(struct acpiphp_bridge *bridge) in put_bridge() argument
131 kref_put(&bridge->ref, free_bridge); in put_bridge()
158 struct acpiphp_bridge *bridge; in free_bridge() local
164 bridge = container_of(kref, struct acpiphp_bridge, ref); in free_bridge()
166 list_for_each_entry_safe(slot, next, &bridge->slots, node) { in free_bridge()
173 context = bridge->context; in free_bridge()
178 context->bridge = NULL; in free_bridge()
[all …]
Dcpcihp_generic.c66 static char *bridge; variable
85 if (!bridge) { in validate_parameters()
89 str = bridge; in validate_parameters()
160 err("Invalid bridge device %s", bridge); in cpcihp_generic_init()
217 module_param(bridge, charp, 0);
218 MODULE_PARM_DESC(bridge, "Hotswap bus bridge device, <bus>:<slot> (bus and slot are in hexadecimal)…
Dshpchp_pci.c41 struct pci_dev *bridge = ctrl->pci_dev; in shpchp_configure_device() local
42 struct pci_bus *parent = bridge->subordinate; in shpchp_configure_device()
71 pci_assign_unassigned_bridge_resources(bridge); in shpchp_configure_device()
Dpciehp_pci.c40 struct pci_dev *bridge = p_slot->ctrl->pcie->port; in pciehp_configure_device() local
41 struct pci_bus *parent = bridge->subordinate; in pciehp_configure_device()
67 pci_assign_unassigned_bridge_resources(bridge); in pciehp_configure_device()
Dacpiphp.h121 struct acpiphp_bridge *bridge; member
Dcpqphp_ctrl.c1035 static int bridge_slot_remove(struct pci_func *bridge) in bridge_slot_remove() argument
1041 secondaryBus = (bridge->config_space[0x06] >> 8) & 0xFF; in bridge_slot_remove()
1042 subordinateBus = (bridge->config_space[0x06] >> 16) & 0xFF; in bridge_slot_remove()
1051 next = cpqhp_slot_list[bridge->bus]; in bridge_slot_remove()
1056 if (next == bridge) { in bridge_slot_remove()
1057 cpqhp_slot_list[bridge->bus] = bridge->next; in bridge_slot_remove()
1061 while ((next->next != bridge) && (next->next != NULL)) in bridge_slot_remove()
1064 if (next->next != bridge) in bridge_slot_remove()
1066 next->next = bridge->next; in bridge_slot_remove()
1068 kfree(bridge); in bridge_slot_remove()
/linux-4.1.27/drivers/gpu/drm/
Ddrm_bridge.c34 int drm_bridge_add(struct drm_bridge *bridge) in drm_bridge_add() argument
37 list_add_tail(&bridge->list, &bridge_list); in drm_bridge_add()
44 void drm_bridge_remove(struct drm_bridge *bridge) in drm_bridge_remove() argument
47 list_del_init(&bridge->list); in drm_bridge_remove()
52 int drm_bridge_attach(struct drm_device *dev, struct drm_bridge *bridge) in drm_bridge_attach() argument
54 if (!dev || !bridge) in drm_bridge_attach()
57 if (bridge->dev) in drm_bridge_attach()
60 bridge->dev = dev; in drm_bridge_attach()
62 if (bridge->funcs->attach) in drm_bridge_attach()
63 return bridge->funcs->attach(bridge); in drm_bridge_attach()
[all …]
Ddrm_crtc_helper.c166 if (encoder->bridge) in drm_encoder_disable()
167 encoder->bridge->funcs->disable(encoder->bridge); in drm_encoder_disable()
174 if (encoder->bridge) in drm_encoder_disable()
175 encoder->bridge->funcs->post_disable(encoder->bridge); in drm_encoder_disable()
315 if (encoder->bridge && encoder->bridge->funcs->mode_fixup) { in drm_crtc_helper_set_mode()
316 ret = encoder->bridge->funcs->mode_fixup( in drm_crtc_helper_set_mode()
317 encoder->bridge, mode, adjusted_mode); in drm_crtc_helper_set_mode()
346 if (encoder->bridge) in drm_crtc_helper_set_mode()
347 encoder->bridge->funcs->disable(encoder->bridge); in drm_crtc_helper_set_mode()
353 if (encoder->bridge) in drm_crtc_helper_set_mode()
[all …]
Ddrm_agpsupport.c106 if (!(dev->agp->bridge = agp_backend_acquire(dev->pdev))) in drm_agp_acquire()
144 agp_backend_release(dev->agp->bridge); in drm_agp_release()
172 agp_enable(dev->agp->bridge, mode.mode); in drm_agp_enable()
213 if (!(memory = agp_allocate_memory(dev->agp->bridge, pages, type))) { in drm_agp_alloc()
405 head->bridge = agp_find_bridge(dev->pdev); in drm_agp_init()
406 if (!head->bridge) { in drm_agp_init()
407 if (!(head->bridge = agp_backend_acquire(dev->pdev))) { in drm_agp_init()
411 agp_copy_info(head->bridge, &head->agp_info); in drm_agp_init()
412 agp_backend_release(head->bridge); in drm_agp_init()
414 agp_copy_info(head->bridge, &head->agp_info); in drm_agp_init()
[all …]
Ddrm_atomic_helper.c284 if (encoder->bridge && encoder->bridge->funcs->mode_fixup) { in mode_fixup()
285 ret = encoder->bridge->funcs->mode_fixup( in mode_fixup()
286 encoder->bridge, &crtc_state->mode, in mode_fixup()
581 if (encoder->bridge) in disable_outputs()
582 encoder->bridge->funcs->disable(encoder->bridge); in disable_outputs()
592 if (encoder->bridge) in disable_outputs()
593 encoder->bridge->funcs->post_disable(encoder->bridge); in disable_outputs()
716 if (encoder->bridge && encoder->bridge->funcs->mode_set) in crtc_set_mode()
717 encoder->bridge->funcs->mode_set(encoder->bridge, in crtc_set_mode()
812 if (encoder->bridge) in drm_atomic_helper_commit_modeset_enables()
[all …]
/linux-4.1.27/drivers/gpu/drm/msm/edp/
Dedp_bridge.c22 void edp_bridge_destroy(struct drm_bridge *bridge) in edp_bridge_destroy() argument
26 static void edp_bridge_pre_enable(struct drm_bridge *bridge) in edp_bridge_pre_enable() argument
28 struct edp_bridge *edp_bridge = to_edp_bridge(bridge); in edp_bridge_pre_enable()
35 static void edp_bridge_enable(struct drm_bridge *bridge) in edp_bridge_enable() argument
40 static void edp_bridge_disable(struct drm_bridge *bridge) in edp_bridge_disable() argument
45 static void edp_bridge_post_disable(struct drm_bridge *bridge) in edp_bridge_post_disable() argument
47 struct edp_bridge *edp_bridge = to_edp_bridge(bridge); in edp_bridge_post_disable()
54 static void edp_bridge_mode_set(struct drm_bridge *bridge, in edp_bridge_mode_set() argument
58 struct drm_device *dev = bridge->dev; in edp_bridge_mode_set()
60 struct edp_bridge *edp_bridge = to_edp_bridge(bridge); in edp_bridge_mode_set()
[all …]
Dedp.c157 edp->bridge = msm_edp_bridge_init(edp); in msm_edp_modeset_init()
158 if (IS_ERR(edp->bridge)) { in msm_edp_modeset_init()
159 ret = PTR_ERR(edp->bridge); in msm_edp_modeset_init()
161 edp->bridge = NULL; in msm_edp_modeset_init()
189 encoder->bridge = edp->bridge; in msm_edp_modeset_init()
191 priv->bridges[priv->num_bridges++] = edp->bridge; in msm_edp_modeset_init()
198 if (edp->bridge) { in msm_edp_modeset_init()
199 edp_bridge_destroy(edp->bridge); in msm_edp_modeset_init()
200 edp->bridge = NULL; in msm_edp_modeset_init()
Dedp.h38 struct drm_bridge *bridge; member
50 void edp_bridge_destroy(struct drm_bridge *bridge);
/linux-4.1.27/drivers/bus/
Dvexpress-config.c86 struct vexpress_config_bridge *bridge = dev_get_drvdata(dev->parent); in vexpress_config_devres_release() local
89 bridge->ops->regmap_exit(regmap, bridge->context); in vexpress_config_devres_release()
94 struct vexpress_config_bridge *bridge; in devm_regmap_init_vexpress_config() local
101 bridge = dev_get_drvdata(dev->parent); in devm_regmap_init_vexpress_config()
102 if (WARN_ON(!bridge)) in devm_regmap_init_vexpress_config()
110 regmap = bridge->ops->regmap_init(dev, bridge->context); in devm_regmap_init_vexpress_config()
127 struct vexpress_config_bridge *bridge; in vexpress_config_bridge_register() local
142 bridge = devm_kmalloc(dev, sizeof(*bridge), GFP_KERNEL); in vexpress_config_bridge_register()
143 if (!bridge) { in vexpress_config_bridge_register()
148 bridge->ops = ops; in vexpress_config_bridge_register()
[all …]
/linux-4.1.27/arch/mips/pci/
Dpci-ip27.c49 bridge_t *bridge; in bridge_probe() local
89 bridge = (bridge_t *) RAW_NODE_SWIN_BASE(nasid, widget_id); in bridge_probe()
94 bridge->b_int_rst_stat = BRIDGE_IRR_ALL_CLR; in bridge_probe()
99 bridge->b_int_device = 0x0; in bridge_probe()
104 bridge->b_wid_control |= BRIDGE_CTRL_IO_SWAP | in bridge_probe()
107 bridge->b_wid_control &= ~BRIDGE_CTRL_PAGE_SIZE; in bridge_probe()
109 bridge->b_wid_control |= BRIDGE_CTRL_PAGE_SIZE; in bridge_probe()
116 bridge->b_wid_int_upper = 0x8000 | (masterwid << 16); in bridge_probe()
117 bridge->b_wid_int_lower = 0x01800090; /* PI_INT_PEND_MOD off*/ in bridge_probe()
118 bridge->b_dir_map = (masterwid << 20); /* DMA */ in bridge_probe()
[all …]
Dops-bridge.c47 bridge_t *bridge = bc->base; in pci_conf0_read_config() local
54 addr = &bridge->b_type0_cfg_dev[slot].f[fn].c[PCI_VENDOR_ID]; in pci_conf0_read_config()
65 addr = &bridge->b_type0_cfg_dev[slot].f[fn].c[where ^ (4 - size)]; in pci_conf0_read_config()
91 addr = &bridge->b_type0_cfg_dev[slot].f[fn].l[where >> 2]; in pci_conf0_read_config()
107 bridge_t *bridge = bc->base; in pci_conf1_read_config() local
115 bridge->b_pci_cfg = (busno << 16) | (slot << 11); in pci_conf1_read_config()
116 addr = &bridge->b_type1_cfg.c[(fn << 8) | PCI_VENDOR_ID]; in pci_conf1_read_config()
127 bridge->b_pci_cfg = (busno << 16) | (slot << 11); in pci_conf1_read_config()
128 addr = &bridge->b_type1_cfg.c[(fn << 8) | (where ^ (4 - size))]; in pci_conf1_read_config()
154 bridge->b_pci_cfg = (busno << 16) | (slot << 11); in pci_conf1_read_config()
[all …]
/linux-4.1.27/drivers/gpu/drm/msm/hdmi/
Dhdmi_bridge.c26 void hdmi_bridge_destroy(struct drm_bridge *bridge) in hdmi_bridge_destroy() argument
30 static void power_on(struct drm_bridge *bridge) in power_on() argument
32 struct drm_device *dev = bridge->dev; in power_on()
33 struct hdmi_bridge *hdmi_bridge = to_hdmi_bridge(bridge); in power_on()
64 static void power_off(struct drm_bridge *bridge) in power_off() argument
66 struct drm_device *dev = bridge->dev; in power_off()
67 struct hdmi_bridge *hdmi_bridge = to_hdmi_bridge(bridge); in power_off()
89 static void hdmi_bridge_pre_enable(struct drm_bridge *bridge) in hdmi_bridge_pre_enable() argument
91 struct hdmi_bridge *hdmi_bridge = to_hdmi_bridge(bridge); in hdmi_bridge_pre_enable()
98 power_on(bridge); in hdmi_bridge_pre_enable()
[all …]
Dhdmi.c229 hdmi->bridge = hdmi_bridge_init(hdmi); in hdmi_modeset_init()
230 if (IS_ERR(hdmi->bridge)) { in hdmi_modeset_init()
231 ret = PTR_ERR(hdmi->bridge); in hdmi_modeset_init()
233 hdmi->bridge = NULL; in hdmi_modeset_init()
261 encoder->bridge = hdmi->bridge; in hdmi_modeset_init()
263 priv->bridges[priv->num_bridges++] = hdmi->bridge; in hdmi_modeset_init()
272 if (hdmi->bridge) { in hdmi_modeset_init()
273 hdmi_bridge_destroy(hdmi->bridge); in hdmi_modeset_init()
274 hdmi->bridge = NULL; in hdmi_modeset_init()
Dhdmi.h63 struct drm_bridge *bridge; member
149 void hdmi_bridge_destroy(struct drm_bridge *bridge);
/linux-4.1.27/drivers/infiniband/hw/mthca/
Dmthca_reset.c47 struct pci_dev *bridge = NULL; in mthca_reset() local
72 while ((bridge = pci_get_device(mdev->pdev->vendor, in mthca_reset()
74 bridge)) != NULL) { in mthca_reset()
75 if (bridge->hdr_type == PCI_HEADER_TYPE_BRIDGE && in mthca_reset()
76 bridge->subordinate == mdev->pdev->bus) { in mthca_reset()
78 pci_name(bridge)); in mthca_reset()
83 if (!bridge) { in mthca_reset()
118 if (bridge) { in mthca_reset()
130 if (pci_read_config_dword(bridge, i * 4, bridge_header + i)) { in mthca_reset()
137 bridge_pcix_cap = pci_find_capability(bridge, PCI_CAP_ID_PCIX); in mthca_reset()
[all …]
/linux-4.1.27/drivers/pci/host/
Dpci-mvebu.c125 struct mvebu_sw_pci_bridge bridge; member
353 if (port->bridge.iolimit < port->bridge.iobase || in mvebu_pcie_handle_iobase_change()
354 port->bridge.iolimitupper < port->bridge.iobaseupper || in mvebu_pcie_handle_iobase_change()
355 !(port->bridge.command & PCI_COMMAND_IO)) { in mvebu_pcie_handle_iobase_change()
381 iobase = ((port->bridge.iobase & 0xF0) << 8) | in mvebu_pcie_handle_iobase_change()
382 (port->bridge.iobaseupper << 16); in mvebu_pcie_handle_iobase_change()
384 port->iowin_size = ((0xFFF | ((port->bridge.iolimit & 0xF0) << 8) | in mvebu_pcie_handle_iobase_change()
385 (port->bridge.iolimitupper << 16)) - in mvebu_pcie_handle_iobase_change()
396 if (port->bridge.memlimit < port->bridge.membase || in mvebu_pcie_handle_membase_change()
397 !(port->bridge.command & PCI_COMMAND_MEMORY)) { in mvebu_pcie_handle_membase_change()
[all …]
Dpci-keystone.c51 struct pci_dev *bridge = bus->self; in quirk_limit_mrrs() local
67 bridge = bus->self; in quirk_limit_mrrs()
71 if (bridge) { in quirk_limit_mrrs()
78 if (pci_match_id(rc_pci_devids, bridge)) { in quirk_limit_mrrs()
/linux-4.1.27/drivers/pci/
Dhost-bridge.c23 return to_pci_host_bridge(root_bus->bridge); in pci_find_host_bridge()
29 struct device *bridge = root_bus->bridge; in pci_get_host_bridge_device() local
31 kobject_get(&bridge->kobj); in pci_get_host_bridge_device()
32 return bridge; in pci_get_host_bridge_device()
40 void pci_set_host_bridge_release(struct pci_host_bridge *bridge, in pci_set_host_bridge_release() argument
44 bridge->release_fn = release_fn; in pci_set_host_bridge_release()
45 bridge->release_data = release_data; in pci_set_host_bridge_release()
51 struct pci_host_bridge *bridge = pci_find_host_bridge(bus); in pcibios_resource_to_bus() local
55 resource_list_for_each_entry(window, &bridge->windows) { in pcibios_resource_to_bus()
76 struct pci_host_bridge *bridge = pci_find_host_bridge(bus); in pcibios_bus_to_resource() local
[all …]
Dsetup-bus.c527 struct pci_dev *bridge = bus->self; in pci_setup_cardbus() local
531 dev_info(&bridge->dev, "CardBus bridge to %pR\n", in pci_setup_cardbus()
535 pcibios_resource_to_bus(bridge->bus, &region, res); in pci_setup_cardbus()
541 dev_info(&bridge->dev, " bridge window %pR\n", res); in pci_setup_cardbus()
542 pci_write_config_dword(bridge, PCI_CB_IO_BASE_0, in pci_setup_cardbus()
544 pci_write_config_dword(bridge, PCI_CB_IO_LIMIT_0, in pci_setup_cardbus()
549 pcibios_resource_to_bus(bridge->bus, &region, res); in pci_setup_cardbus()
551 dev_info(&bridge->dev, " bridge window %pR\n", res); in pci_setup_cardbus()
552 pci_write_config_dword(bridge, PCI_CB_IO_BASE_1, in pci_setup_cardbus()
554 pci_write_config_dword(bridge, PCI_CB_IO_LIMIT_1, in pci_setup_cardbus()
[all …]
Dprobe.c91 put_device(pci_bus->bridge); in release_pcibus_dev()
511 struct pci_host_bridge *bridge = to_pci_host_bridge(dev); in pci_release_host_bridge_dev() local
513 if (bridge->release_fn) in pci_release_host_bridge_dev()
514 bridge->release_fn(bridge); in pci_release_host_bridge_dev()
516 pci_free_resource_list(&bridge->windows); in pci_release_host_bridge_dev()
518 kfree(bridge); in pci_release_host_bridge_dev()
523 struct pci_host_bridge *bridge; in pci_alloc_host_bridge() local
525 bridge = kzalloc(sizeof(*bridge), GFP_KERNEL); in pci_alloc_host_bridge()
526 if (!bridge) in pci_alloc_host_bridge()
529 INIT_LIST_HEAD(&bridge->windows); in pci_alloc_host_bridge()
[all …]
Dof.c56 if (bus->bridge->of_node) in pcibios_get_phb_of_node()
57 return of_node_get(bus->bridge->of_node); in pcibios_get_phb_of_node()
58 if (bus->bridge->parent && bus->bridge->parent->of_node) in pcibios_get_phb_of_node()
59 return of_node_get(bus->bridge->parent->of_node); in pcibios_get_phb_of_node()
Dpci-acpi.c468 if (bus->bridge) in acpi_pci_propagate_wakeup_enable()
469 acpi_pm_device_sleep_wake(bus->bridge, enable); in acpi_pci_propagate_wakeup_enable()
484 struct pci_dev *bridge = bus->self; in acpi_pci_propagate_run_wake() local
486 if (bridge->pme_interrupt) in acpi_pci_propagate_run_wake()
488 if (!acpi_pm_device_run_wake(&bridge->dev, enable)) in acpi_pci_propagate_run_wake()
494 if (bus->bridge) in acpi_pci_propagate_run_wake()
495 acpi_pm_device_run_wake(bus->bridge, enable); in acpi_pci_propagate_run_wake()
544 struct pci_host_bridge *bridge; in acpi_pci_add_bus() local
546 if (acpi_pci_disabled || !bus->bridge) in acpi_pci_add_bus()
559 obj = acpi_evaluate_dsm(ACPI_HANDLE(bus->bridge), pci_acpi_dsm_uuid, 3, in acpi_pci_add_bus()
[all …]
Dpci.c1207 struct pci_dev *bridge; in do_pci_enable_device() local
1215 bridge = pci_upstream_bridge(dev); in do_pci_enable_device()
1216 if (bridge) in do_pci_enable_device()
1217 pcie_aspm_powersave_config_link(bridge); in do_pci_enable_device()
1255 struct pci_dev *bridge; in pci_enable_bridge() local
1258 bridge = pci_upstream_bridge(dev); in pci_enable_bridge()
1259 if (bridge) in pci_enable_bridge()
1260 pci_enable_bridge(bridge); in pci_enable_bridge()
1277 struct pci_dev *bridge; in pci_enable_device_flags() local
1296 bridge = pci_upstream_bridge(dev); in pci_enable_device_flags()
[all …]
Dremove.c134 host_bridge = to_pci_host_bridge(bus->bridge); in pci_stop_root_bus()
152 host_bridge = to_pci_host_bridge(bus->bridge); in pci_remove_root_bus()
DMakefile5 obj-y += access.o bus.o probe.o host-bridge.o remove.o pci.o \
/linux-4.1.27/drivers/gpu/drm/bridge/
Dptn3460.c43 struct drm_bridge bridge; member
53 bridge_to_ptn3460(struct drm_bridge *bridge) in bridge_to_ptn3460() argument
55 return container_of(bridge, struct ptn3460_bridge, bridge); in bridge_to_ptn3460()
128 static void ptn3460_pre_enable(struct drm_bridge *bridge) in ptn3460_pre_enable() argument
130 struct ptn3460_bridge *ptn_bridge = bridge_to_ptn3460(bridge); in ptn3460_pre_enable()
161 static void ptn3460_enable(struct drm_bridge *bridge) in ptn3460_enable() argument
163 struct ptn3460_bridge *ptn_bridge = bridge_to_ptn3460(bridge); in ptn3460_enable()
171 static void ptn3460_disable(struct drm_bridge *bridge) in ptn3460_disable() argument
173 struct ptn3460_bridge *ptn_bridge = bridge_to_ptn3460(bridge); in ptn3460_disable()
189 static void ptn3460_post_disable(struct drm_bridge *bridge) in ptn3460_post_disable() argument
[all …]
Dps8622.c55 struct drm_bridge bridge; member
70 bridge_to_ps8622(struct drm_bridge *bridge) in bridge_to_ps8622() argument
72 return container_of(bridge, struct ps8622_bridge, bridge); in bridge_to_ps8622()
360 static void ps8622_pre_enable(struct drm_bridge *bridge) in ps8622_pre_enable() argument
362 struct ps8622_bridge *ps8622 = bridge_to_ps8622(bridge); in ps8622_pre_enable()
410 static void ps8622_enable(struct drm_bridge *bridge) in ps8622_enable() argument
412 struct ps8622_bridge *ps8622 = bridge_to_ps8622(bridge); in ps8622_enable()
420 static void ps8622_disable(struct drm_bridge *bridge) in ps8622_disable() argument
422 struct ps8622_bridge *ps8622 = bridge_to_ps8622(bridge); in ps8622_disable()
431 static void ps8622_post_disable(struct drm_bridge *bridge) in ps8622_post_disable() argument
[all …]
DKconfig7 tristate "PTN3460 DP/LVDS bridge"
13 ptn3460 eDP-LVDS bridge chip driver.
16 tristate "Parade eDP/LVDS bridge"
24 parade eDP-LVDS bridge chip driver.
Ddw_hdmi.c108 struct drm_bridge *bridge; member
1345 static void dw_hdmi_bridge_mode_set(struct drm_bridge *bridge, in dw_hdmi_bridge_mode_set() argument
1349 struct dw_hdmi *hdmi = bridge->driver_private; in dw_hdmi_bridge_mode_set()
1357 static bool dw_hdmi_bridge_mode_fixup(struct drm_bridge *bridge, in dw_hdmi_bridge_mode_fixup() argument
1364 static void dw_hdmi_bridge_disable(struct drm_bridge *bridge) in dw_hdmi_bridge_disable() argument
1366 struct dw_hdmi *hdmi = bridge->driver_private; in dw_hdmi_bridge_disable()
1371 static void dw_hdmi_bridge_enable(struct drm_bridge *bridge) in dw_hdmi_bridge_enable() argument
1373 struct dw_hdmi *hdmi = bridge->driver_private; in dw_hdmi_bridge_enable()
1378 static void dw_hdmi_bridge_nop(struct drm_bridge *bridge) in dw_hdmi_bridge_nop() argument
1518 struct drm_bridge *bridge; in dw_hdmi_register() local
[all …]
/linux-4.1.27/net/bridge/
DMakefile5 obj-$(CONFIG_BRIDGE) += bridge.o
7 bridge-y := br.o br_device.o br_fdb.o br_forward.o br_if.o br_input.o \
11 bridge-$(CONFIG_SYSFS) += br_sysfs_if.o br_sysfs_br.o
13 bridge-$(subst m,y,$(CONFIG_BRIDGE_NETFILTER)) += br_nf_core.o
17 bridge-$(CONFIG_BRIDGE_IGMP_SNOOPING) += br_multicast.o br_mdb.o
19 bridge-$(CONFIG_BRIDGE_VLAN_FILTERING) += br_vlan.o
DKconfig12 Ethernet bridge, which means that the different Ethernet segments it
17 other third party bridge products.
19 In order to use the Ethernet bridge, you'll need the bridge
20 configuration tools; see <file:Documentation/networking/bridge.txt>
24 If you enable iptables support along with the bridge support then you
25 turn your bridge into a bridging IP firewall.
32 will be called bridge.
42 If you say Y here, then the Ethernet bridge will be able selectively
56 If you say Y here, then the Ethernet bridge will be able selectively
58 any VLAN information configured on the bridge port or bridge device.
/linux-4.1.27/arch/mips/sgi-ip27/
Dip27-irq-pci.c139 bridge_t *bridge; in startup_bridge_irq() local
145 bridge = bc->base; in startup_bridge_irq()
153 bridge->b_int_addr[pin].addr = (0x20000 | swlevel | (bc->nasid << 8)); in startup_bridge_irq()
154 bridge->b_int_enable |= (1 << pin); in startup_bridge_irq()
155 bridge->b_int_enable |= 0x7ffffe00; /* more stuff in int_enable */ in startup_bridge_irq()
164 bridge->b_int_mode |= (1UL << pin); in startup_bridge_irq()
170 device = bridge->b_int_device; in startup_bridge_irq()
173 bridge->b_int_device = device; in startup_bridge_irq()
175 bridge->b_wid_tflush; in startup_bridge_irq()
186 bridge_t *bridge = bc->base; in shutdown_bridge_irq() local
[all …]
/linux-4.1.27/drivers/gpu/drm/sti/
Dsti_dvo.c95 struct drm_bridge *bridge; member
159 static void sti_dvo_disable(struct drm_bridge *bridge) in sti_dvo_disable() argument
161 struct sti_dvo *dvo = bridge->driver_private; in sti_dvo_disable()
183 static void sti_dvo_pre_enable(struct drm_bridge *bridge) in sti_dvo_pre_enable() argument
185 struct sti_dvo *dvo = bridge->driver_private; in sti_dvo_pre_enable()
229 static void sti_dvo_set_mode(struct drm_bridge *bridge, in sti_dvo_set_mode() argument
233 struct sti_dvo *dvo = bridge->driver_private; in sti_dvo_set_mode()
272 static void sti_dvo_bridge_nope(struct drm_bridge *bridge) in sti_dvo_bridge_nope() argument
396 struct drm_bridge *bridge; in sti_dvo_bind() local
412 bridge = devm_kzalloc(dev, sizeof(*bridge), GFP_KERNEL); in sti_dvo_bind()
[all …]
Dsti_hda.c348 static void sti_hda_disable(struct drm_bridge *bridge) in sti_hda_disable() argument
350 struct sti_hda *hda = bridge->driver_private; in sti_hda_disable()
373 static void sti_hda_pre_enable(struct drm_bridge *bridge) in sti_hda_pre_enable() argument
375 struct sti_hda *hda = bridge->driver_private; in sti_hda_pre_enable()
462 static void sti_hda_set_mode(struct drm_bridge *bridge, in sti_hda_set_mode() argument
466 struct sti_hda *hda = bridge->driver_private; in sti_hda_set_mode()
507 static void sti_hda_bridge_nope(struct drm_bridge *bridge) in sti_hda_bridge_nope() argument
643 struct drm_bridge *bridge; in sti_hda_bind() local
659 bridge = devm_kzalloc(dev, sizeof(*bridge), GFP_KERNEL); in sti_hda_bind()
660 if (!bridge) in sti_hda_bind()
[all …]
Dsti_hdmi.c451 static void sti_hdmi_disable(struct drm_bridge *bridge) in sti_hdmi_disable() argument
453 struct sti_hdmi *hdmi = bridge->driver_private; in sti_hdmi_disable()
484 static void sti_hdmi_pre_enable(struct drm_bridge *bridge) in sti_hdmi_pre_enable() argument
486 struct sti_hdmi *hdmi = bridge->driver_private; in sti_hdmi_pre_enable()
530 static void sti_hdmi_set_mode(struct drm_bridge *bridge, in sti_hdmi_set_mode() argument
534 struct sti_hdmi *hdmi = bridge->driver_private; in sti_hdmi_set_mode()
557 static void sti_hdmi_bridge_nope(struct drm_bridge *bridge) in sti_hdmi_bridge_nope() argument
695 struct drm_bridge *bridge; in sti_hdmi_bind() local
725 bridge = devm_kzalloc(dev, sizeof(*bridge), GFP_KERNEL); in sti_hdmi_bind()
726 if (!bridge) in sti_hdmi_bind()
[all …]
/linux-4.1.27/arch/ia64/pci/
Dfixup.c32 struct pci_dev *bridge; in pci_fixup_video() local
44 bridge = bus->self; in pci_fixup_video()
53 if (bridge && (pci_is_bridge(bridge))) { in pci_fixup_video()
54 pci_read_config_word(bridge, PCI_BRIDGE_CONTROL, in pci_fixup_video()
Dpci.c133 struct acpi_device *bridge; member
183 dev_err(&info->bridge->dev, in add_io_space()
219 dev_err(&info->bridge->dev, in add_io_space()
302 dev_err(&info->bridge->dev, in add_window()
307 dev_info(&info->bridge->dev, "host bridge window %pR " in add_window()
313 dev_info(&info->bridge->dev, in add_window()
369 static void release_pci_root_info(struct pci_host_bridge *bridge) in release_pci_root_info() argument
371 struct pci_root_info *info = bridge->release_data; in release_pci_root_info()
387 info->bridge = device; in probe_pci_root_info()
473 pci_set_host_bridge_release(to_pci_host_bridge(pbus->bridge), in pci_acpi_scan_root()
[all …]
/linux-4.1.27/drivers/gpu/drm/msm/dsi/
Ddsi.c172 msm_dsi->bridge = msm_dsi_manager_bridge_init(msm_dsi->id); in msm_dsi_modeset_init()
173 if (IS_ERR(msm_dsi->bridge)) { in msm_dsi_modeset_init()
174 ret = PTR_ERR(msm_dsi->bridge); in msm_dsi_modeset_init()
176 msm_dsi->bridge = NULL; in msm_dsi_modeset_init()
181 encoders[i]->bridge = msm_dsi->bridge; in msm_dsi_modeset_init()
193 priv->bridges[priv->num_bridges++] = msm_dsi->bridge; in msm_dsi_modeset_init()
200 if (msm_dsi->bridge) { in msm_dsi_modeset_init()
201 msm_dsi_manager_bridge_destroy(msm_dsi->bridge); in msm_dsi_modeset_init()
202 msm_dsi->bridge = NULL; in msm_dsi_modeset_init()
Ddsi_manager.c82 static int dsi_mgr_bridge_get_id(struct drm_bridge *bridge) in dsi_mgr_bridge_get_id() argument
84 struct dsi_bridge *dsi_bridge = to_dsi_bridge(bridge); in dsi_mgr_bridge_get_id()
277 static void dsi_mgr_bridge_pre_enable(struct drm_bridge *bridge) in dsi_mgr_bridge_pre_enable() argument
279 int id = dsi_mgr_bridge_get_id(bridge); in dsi_mgr_bridge_pre_enable()
353 static void dsi_mgr_bridge_enable(struct drm_bridge *bridge) in dsi_mgr_bridge_enable() argument
358 static void dsi_mgr_bridge_disable(struct drm_bridge *bridge) in dsi_mgr_bridge_disable() argument
363 static void dsi_mgr_bridge_post_disable(struct drm_bridge *bridge) in dsi_mgr_bridge_post_disable() argument
365 int id = dsi_mgr_bridge_get_id(bridge); in dsi_mgr_bridge_post_disable()
408 static void dsi_mgr_bridge_mode_set(struct drm_bridge *bridge, in dsi_mgr_bridge_mode_set() argument
412 int id = dsi_mgr_bridge_get_id(bridge); in dsi_mgr_bridge_mode_set()
[all …]
Ddsi.h46 struct drm_bridge *bridge; member
62 void msm_dsi_manager_bridge_destroy(struct drm_bridge *bridge);
/linux-4.1.27/drivers/mtd/maps/
Dscx200_docflash.c81 struct pci_dev *bridge; in init_scx200_docflash() local
85 if ((bridge = pci_get_device(PCI_VENDOR_ID_NS, in init_scx200_docflash()
92 pci_dev_put(bridge); in init_scx200_docflash()
98 pci_read_config_dword(bridge, SCx200_DOCCS_BASE, &base); in init_scx200_docflash()
99 pci_read_config_dword(bridge, SCx200_DOCCS_CTRL, &ctrl); in init_scx200_docflash()
100 pci_dev_put(bridge); in init_scx200_docflash()
129 pci_dev_put(bridge); in init_scx200_docflash()
154 pci_write_config_dword(bridge, SCx200_DOCCS_BASE, docmem.start); in init_scx200_docflash()
155 pci_write_config_dword(bridge, SCx200_DOCCS_CTRL, ctrl); in init_scx200_docflash()
/linux-4.1.27/drivers/gpu/drm/nouveau/nvkm/subdev/fb/
Dramnv1a.c35 struct pci_dev *bridge; in nv1a_ram_create() local
39 bridge = pci_get_bus_and_slot(0, PCI_DEVFN(0, 1)); in nv1a_ram_create()
40 if (!bridge) { in nv1a_ram_create()
51 pci_read_config_dword(bridge, 0x7c, &mem); in nv1a_ram_create()
54 pci_read_config_dword(bridge, 0x84, &mem); in nv1a_ram_create()
/linux-4.1.27/Documentation/networking/
Dbridge.txt5 http://www.linuxfoundation.org/collaborate/workgroups/networking/bridge
7 The bridge-utilities are maintained at:
8 git://git.kernel.org/pub/scm/linux/kernel/git/shemminger/bridge-utils.git
11 bridge devices.
14 (more info https://lists.linux-foundation.org/mailman/listinfo/bridge).
Dvxlan.txt16 of the other end, in a manner similar to a learning bridge, or the
38 forwarding table using the new bridge command.
41 # bridge fdb add to 00:17:42:8a:b4:05 dst 192.19.0.2 dev vxlan0
44 # bridge fdb delete 00:17:42:8a:b4:05 dev vxlan0
47 # bridge fdb show dev vxlan0
/linux-4.1.27/net/bridge/netfilter/
Dnf_tables_bridge.c129 net->nft.bridge = kmalloc(sizeof(struct nft_af_info), GFP_KERNEL); in nf_tables_bridge_init_net()
130 if (net->nft.bridge == NULL) in nf_tables_bridge_init_net()
133 memcpy(net->nft.bridge, &nft_af_bridge, sizeof(nft_af_bridge)); in nf_tables_bridge_init_net()
135 if (nft_register_afinfo(net, net->nft.bridge) < 0) in nf_tables_bridge_init_net()
140 kfree(net->nft.bridge); in nf_tables_bridge_init_net()
146 nft_unregister_afinfo(net->nft.bridge); in nf_tables_bridge_exit_net()
147 kfree(net->nft.bridge); in nf_tables_bridge_exit_net()
DKconfig12 tristate "Netfilter nf_table bridge meta support"
15 Add support for bridge dedicated meta key.
18 tristate "Netfilter nf_tables bridge reject support"
34 filtering/NAT/brouting on the Ethernet bridge.
/linux-4.1.27/arch/x86/pci/
Dacpi.c11 struct acpi_device *bridge; member
185 struct device *dev = &info->bridge->dev; in setup_mcfg_map()
300 validate_resources(&info->bridge->dev, crs_res, IORESOURCE_MEM); in add_resources()
301 validate_resources(&info->bridge->dev, crs_res, IORESOURCE_IO); in add_resources()
314 dev_info(&info->bridge->dev, in add_resources()
324 static void release_pci_root_info(struct pci_host_bridge *bridge) in release_pci_root_info() argument
328 struct pci_root_info *info = bridge->release_data; in release_pci_root_info()
330 resource_list_for_each_entry(entry, &bridge->windows) { in release_pci_root_info()
370 info->bridge = device; in probe_pci_root_info()
472 to_pci_host_bridge(bus->bridge), in pci_acpi_scan_root()
[all …]
Dfixup.c325 struct pci_dev *bridge; in pci_fixup_video() local
332 bridge = bus->self; in pci_fixup_video()
341 if (bridge && (pci_is_bridge(bridge))) { in pci_fixup_video()
342 pci_read_config_word(bridge, PCI_BRIDGE_CONTROL, in pci_fixup_video()
Dirq.c530 struct pci_dev *bridge; in pirq_bios_set() local
531 int pin = pci_get_interrupt_pin(dev, &bridge); in pirq_bios_set()
532 return pcibios_set_irq_routing(bridge, pin - 1, irq); in pirq_bios_set()
1217 struct pci_dev *bridge = dev->bus->self; in pirq_enable_irq() local
1220 irq = IO_APIC_get_PCI_irq_vector(bridge->bus->number, in pirq_enable_irq()
1221 PCI_SLOT(bridge->devfn), in pirq_enable_irq()
1226 pci_name(bridge), 'A' + pin - 1, in pirq_enable_irq()
1228 dev = bridge; in pirq_enable_irq()
/linux-4.1.27/drivers/ata/
Dpata_sl82c105.c266 struct pci_dev *bridge; in sl82c105_bridge_revision() local
271 bridge = pci_get_slot(pdev->bus, in sl82c105_bridge_revision()
273 if (!bridge) in sl82c105_bridge_revision()
279 if (bridge->vendor != PCI_VENDOR_ID_WINBOND || in sl82c105_bridge_revision()
280 bridge->device != PCI_DEVICE_ID_WINBOND_83C553 || in sl82c105_bridge_revision()
281 bridge->class >> 8 != PCI_CLASS_BRIDGE_ISA) { in sl82c105_bridge_revision()
282 pci_dev_put(bridge); in sl82c105_bridge_revision()
288 pci_dev_put(bridge); in sl82c105_bridge_revision()
289 return bridge->revision; in sl82c105_bridge_revision()
Dpata_pdc202xx_old.c353 struct pci_dev *bridge = dev->bus->self; in pdc202xx_init_one() local
355 if (bridge && bridge->vendor == PCI_VENDOR_ID_INTEL) { in pdc202xx_init_one()
356 if (bridge->device == PCI_DEVICE_ID_INTEL_I960) in pdc202xx_init_one()
358 if (bridge->device == PCI_DEVICE_ID_INTEL_I960RM) in pdc202xx_init_one()
Dpata_cmd64x.c432 struct pci_dev *bridge = pdev->bus->self; in cmd64x_init_one() local
434 int port_ok = !(bridge && bridge->vendor == in cmd64x_init_one()
/linux-4.1.27/Documentation/devicetree/bindings/interrupt-controller/
Dmarvell,orion-intc.txt29 - compatible: shall be "marvell,orion-bridge-intc"
30 - reg: base address of bridge interrupt registers starting with CAUSE register
31 - interrupts: bridge interrupt of the main interrupt controller
36 - marvell,#interrupts: number of interrupts provided by bridge interrupt
41 compatible = "marvell,orion-bridge-intc";
46 /* Dove bridge provides 5 interrupts */
/linux-4.1.27/drivers/acpi/
Dpci_irq.c234 if (dev->bus->bridge) in acpi_pci_irq_find_prt_entry()
235 handle = ACPI_HANDLE(dev->bus->bridge); in acpi_pci_irq_find_prt_entry()
321 struct pci_dev *bridge; in acpi_pci_irq_lookup() local
339 bridge = dev->bus->self; in acpi_pci_irq_lookup()
340 while (bridge) { in acpi_pci_irq_lookup()
343 if ((bridge->class >> 8) == PCI_CLASS_BRIDGE_CARDBUS) { in acpi_pci_irq_lookup()
345 bridge_pin = bridge->pin; in acpi_pci_irq_lookup()
349 pci_name(bridge))); in acpi_pci_irq_lookup()
355 ret = acpi_pci_irq_find_prt_entry(bridge, pin, &entry); in acpi_pci_irq_lookup()
360 pci_name(bridge))); in acpi_pci_irq_lookup()
[all …]
/linux-4.1.27/drivers/ide/
Dsl82c105.c237 struct pci_dev *bridge; in sl82c105_bridge_revision() local
242 bridge = pci_get_bus_and_slot(dev->bus->number, in sl82c105_bridge_revision()
244 if (!bridge) in sl82c105_bridge_revision()
250 if (bridge->vendor != PCI_VENDOR_ID_WINBOND || in sl82c105_bridge_revision()
251 bridge->device != PCI_DEVICE_ID_WINBOND_83C553 || in sl82c105_bridge_revision()
252 bridge->class >> 8 != PCI_CLASS_BRIDGE_ISA) { in sl82c105_bridge_revision()
253 pci_dev_put(bridge); in sl82c105_bridge_revision()
259 pci_dev_put(bridge); in sl82c105_bridge_revision()
261 return bridge->revision; in sl82c105_bridge_revision()
Dpdc202xx_new.c485 struct pci_dev *bridge = dev->bus->self; in pdc202new_init_one() local
487 if (dev->device == PCI_DEVICE_ID_PROMISE_20270 && bridge && in pdc202new_init_one()
488 bridge->vendor == PCI_VENDOR_ID_DEC && in pdc202new_init_one()
489 bridge->device == PCI_DEVICE_ID_DEC_21150) { in pdc202new_init_one()
505 if (dev->device == PCI_DEVICE_ID_PROMISE_20276 && bridge && in pdc202new_init_one()
506 bridge->vendor == PCI_VENDOR_ID_INTEL && in pdc202new_init_one()
507 (bridge->device == PCI_DEVICE_ID_INTEL_I960 || in pdc202new_init_one()
508 bridge->device == PCI_DEVICE_ID_INTEL_I960RM)) { in pdc202new_init_one()
Dpdc202xx_old.c311 struct pci_dev *bridge = dev->bus->self; in pdc202xx_init_one() local
313 if (bridge && in pdc202xx_init_one()
314 bridge->vendor == PCI_VENDOR_ID_INTEL && in pdc202xx_init_one()
315 (bridge->device == PCI_DEVICE_ID_INTEL_I960 || in pdc202xx_init_one()
316 bridge->device == PCI_DEVICE_ID_INTEL_I960RM)) { in pdc202xx_init_one()
/linux-4.1.27/Documentation/i2c/busses/
Di2c-sis63034 00:00.0 Host bridge: Silicon Integrated Systems [SiS] 630 Host (rev 31)
35 00:01.0 ISA bridge: Silicon Integrated Systems [SiS] 85C503/5513
39 00:00.0 Host bridge: Silicon Integrated Systems [SiS] 730 Host (rev 02)
40 00:01.0 ISA bridge: Silicon Integrated Systems [SiS] 85C503/5513
44 00:00.0 Host bridge: Silicon Integrated Systems [SiS] 760/M760 Host (rev 02)
45 00:02.0 ISA bridge: Silicon Integrated Systems [SiS] SiS964 [MuTIOL Media IO]
Di2c-ali15x34 * Acer Labs, Inc. ALI 1533 and 1543C (south bridge)
40 The M1543C is a South bridge for desktop systems.
41 The M1541 is a South bridge for portable systems.
44 * "Aladdin Pro 2" includes the M1621 Slot 1 North bridge with AGP and
46 * "Aladdin V" includes the M1541 Socket 7 North bridge with AGP and 100MHz
59 * "Aladdin IV" includes the M1541 Socket 7 North bridge
71 00:07.0 ISA bridge: Acer Laboratories Inc. M1533 (rev c3)
Di2c-sis96x26 00:00.0 Host bridge: Silicon Integrated Systems [SiS]: Unknown device 0645
27 00:02.0 ISA bridge: Silicon Integrated Systems [SiS] 85C503/5513
32 00:00.0 Host bridge: Silicon Integrated Systems [SiS]: Unknown device 0645
33 00:02.0 ISA bridge: Silicon Integrated Systems [SiS]: Unknown device 0961
Di2c-i80168 00:1e.0 PCI bridge: Intel Corporation: Unknown device 2418 (rev 01)
69 00:1f.0 ISA bridge: Intel Corporation: Unknown device 2410 (rev 01)
108 If your system has an Intel ICH south bridge, but you do NOT see the
133 host bridge PCI device. Get yours with "lspci -n -v -s 00:00.0":
142 Here the host bridge ID is 2570 (82865G/PE/P), the subvendor ID is 1043
144 names for the bridge ID and the subvendor ID in include/linux/pci_ids.h,
Di2c-ali15354 * Acer Labs, Inc. ALI 1535 (south bridge)
21 The M1535 is a South bridge for portable systems. It is very similar to the
Di2c-ali15634 * Acer Labs, Inc. ALI 1563 (south bridge)
Di2c-via16 - others with South bridge VT82C586B
/linux-4.1.27/drivers/gpu/drm/ttm/
Dttm_agp_backend.c48 struct agp_bridge_data *bridge; member
59 mem = agp_allocate_memory(agp_be->bridge, ttm->num_pages, AGP_USER_MEMORY); in ttm_agp_bind()
114 struct agp_bridge_data *bridge, in ttm_agp_tt_create() argument
125 agp_be->bridge = bridge; in ttm_agp_tt_create()
/linux-4.1.27/drivers/pcmcia/
Dcardbus.c109 struct pci_dev *bridge, *dev, *tmp; in cb_free() local
112 bridge = s->cb_dev; in cb_free()
113 if (!bridge) in cb_free()
116 bus = bridge->subordinate; in cb_free()
DKconfig61 bridge. Virtually all modern PCMCIA bridges do this, and most of
69 tristate "CardBus yenta-compatible bridge support"
75 all modern PCMCIA bridges are CardBus compatible. A "bridge" is
110 tristate "Cirrus PD6729 compatible bridge support"
114 This provides support for the Cirrus PD6729 PCI-to-PCMCIA bridge
118 tristate "i82092 compatible bridge support"
122 This provides support for the Intel I82092AA PCI-to-PCMCIA bridge device,
127 tristate "i82365 compatible bridge support"
134 "bridge" is the hardware inside your computer that PCMCIA cards are
138 tristate "Databook TCIC host bridge support"
Dyenta_socket.c330 u16 bridge; in yenta_set_socket() local
337 bridge = config_readw(socket, CB_BRIDGE_CONTROL) & ~(CB_BRIDGE_CRST | CB_BRIDGE_INTR); in yenta_set_socket()
340 bridge |= (state->flags & SS_RESET) ? CB_BRIDGE_CRST : 0; in yenta_set_socket()
347 bridge |= CB_BRIDGE_INTR; in yenta_set_socket()
358 bridge |= CB_BRIDGE_INTR; in yenta_set_socket()
391 config_writew(socket, CB_BRIDGE_CONTROL, bridge); in yenta_set_socket()
1032 u16 bridge; in yenta_config_init() local
1061 bridge = config_readw(socket, CB_BRIDGE_CONTROL); in yenta_config_init()
1062 bridge &= ~(CB_BRIDGE_CRST | CB_BRIDGE_PREFETCH1 | CB_BRIDGE_ISAEN | CB_BRIDGE_VGAEN); in yenta_config_init()
1063 bridge |= CB_BRIDGE_PREFETCH0 | CB_BRIDGE_POSTEN; in yenta_config_init()
[all …]
/linux-4.1.27/drivers/staging/iio/Documentation/
Dsysfs-bus-iio-ad719215 bridge power down switch found on some converters.
16 In bridge applications, such as strain gauges and load cells,
17 the bridge itself consumes the majority of the current in the
19 the bridge can be disconnected (when it is not being used
/linux-4.1.27/Documentation/devicetree/bindings/soc/mediatek/
Dpwrap.txt15 bridge. In the binding description below the properties needed for bridging
26 "pwrap-bridge": bridge base (IP Pairing)
30 "pwrap-bridge" (IP Pairing)
47 reg-names = "pwrap", "pwrap-bridge";
51 reset-names = "pwrap", "pwrap-bridge";
/linux-4.1.27/Documentation/devicetree/bindings/sound/
Dst,sta350.txt23 0: 2-channel (full-bridge) power, 2-channel data-out
24 1: 2 (half-bridge). 1 (full-bridge) on-board power
71 If present, power bridge correction for THD reduction near maximum
93 - st,bridge-immediate-off:
94 If present, the bridge will be switched off immediately after the
95 power-down-gpio goes low. Otherwise, the bridge will wait for 13
108 If present, the bridge power-down time will be divided by the provided
121 // (full-bridge) power,
126 st,max-power-correction; // enables power bridge
Dst,sta32x.txt23 0: 2-channel (full-bridge) power, 2-channel data-out
24 1: 2 (half-bridge). 1 (full-bridge) on-board power
60 If present, power bridge correction for THD reduction near maximum
82 // (full-bridge) power,
87 st,max-power-correction; // enables power bridge
/linux-4.1.27/drivers/media/pci/mantis/
DKconfig2 tristate "Mantis/Hopper PCI bridge based devices"
6 Support for PCI cards based on the Mantis and Hopper PCi bridge.
24 Support for PCI cards based on the Mantis PCI bridge.
35 Support for PCI cards based on the Hopper PCI bridge.
/linux-4.1.27/Documentation/devicetree/bindings/pci/
Dralink,rt3883-pci.txt29 interrupt controller and the PCI host bridge.
51 b) PCI host bridge:
74 The PCI host bridge node migh have additional sub-nodes representing
83 If a given sub-node represents a PCI bridge it must have following
124 host-bridge {
151 pci-bridge@1 {
185 host-bridge {
186 pci-bridge@1 {
Dfsl,pci.txt3 Typically any Freescale PCI-X bridge hardware strapped into Agent mode
8 The property defined below will allow a PCI-X bridge to be used for bus
17 /* PCI-X bridge known to be PrPMC Monarch */
Dpci-rcar-gen2.txt1 Renesas AHB to PCI bridge
4 This is the bridge used internally to connect the USB controllers to the
5 AHB. There is one bridge instance per USB port connected to the internal
13 second is for the bridge configuration and control registers.
Dpci.txt11 Additionally to the properties specified in the above standards a host bridge
15 If present this property assigns a fixed PCI domain number to a host bridge,
20 number for each host bridge in the system must be unique.
Dv3-v360epc-pci.txt1 V3 Semiconductor V360 EPC PCI bridge
3 This bridge is found in the ARM Integrator/AP (Application Platform)
D83xx-512x-pci.txt3 Freescale 83xx and 512x SOCs include the same pci bridge core.
7 The first is for the internal pci bridge registers
/linux-4.1.27/arch/powerpc/platforms/embedded6xx/
Dholly.c200 struct device_node *bridge = NULL; in holly_restart() local
207 bridge = of_find_node_by_type(NULL, "tsi-bridge"); in holly_restart()
208 if (bridge) { in holly_restart()
209 prop = of_get_property(bridge, "reg", &size); in holly_restart()
210 addr = of_translate_address(bridge, prop); in holly_restart()
DKconfig42 bool "PPC750GX/CL with TSI10x bridge (Hickory/Holly)"
48 Board with TSI108/9 bridge (Hickory/Holly)
/linux-4.1.27/drivers/media/usb/gspca/
Dsunplus.c41 u8 bridge; member
455 switch (sd->bridge) { in spca504B_SetSizeType()
530 reg = sd->bridge == BRIDGE_SPCA536 ? 0x20f0 : 0x21a7; in setbrightness()
539 reg = sd->bridge == BRIDGE_SPCA536 ? 0x20f1 : 0x21a8; in setcontrast()
548 reg = sd->bridge == BRIDGE_SPCA536 ? 0x20f6 : 0x21ae; in setcolors()
557 switch (sd->bridge) { in init_ctl_reg()
588 sd->bridge = id->driver_info >> 8; in sd_config()
600 sd->bridge = BRIDGE_SPCA504B; in sd_config()
608 switch (sd->bridge) { in sd_config()
636 switch (sd->bridge) { in sd_init()
[all …]
Dtopro.c136 u8 bridge; member
1038 if (sd->bridge == BRIDGE_TP6800) in i2c_w()
1067 if (sd->bridge == BRIDGE_TP6800) in i2c_r()
1418 if (sd->bridge == BRIDGE_TP6800) in setexposure()
1422 if (sd->bridge == BRIDGE_TP6800) in setexposure()
1427 if (sd->bridge == BRIDGE_TP6800) in setexposure()
1431 if (sd->bridge == BRIDGE_TP6800) in setexposure()
1437 sd->bridge == BRIDGE_TP6800 ? 0x80 : 0x81); in setexposure()
1479 if (q == 15 && sd->bridge == BRIDGE_TP6810) { in setquality()
3825 if (sd->bridge == BRIDGE_TP6810) in setgamma()
[all …]
Dsonixb.c75 __u8 bridge; /* Type of bridge */ member
118 #define SENS(bridge, sensor, _flags, _sensor_addr) \ argument
120 .bridge_init = bridge, \
674 if (sd->bridge == BRIDGE_103) { in setgain()
936 sd->bridge = id->driver_info & 0xff; in sd_config()
1042 if (sd->bridge == BRIDGE_103) { in sd_init_controls()
1110 if (sd->bridge == BRIDGE_103) { in sd_start()
1155 if (sd->bridge == BRIDGE_103) { in sd_start()
1163 if (sd->bridge == BRIDGE_103) in sd_start()
1185 (sd->bridge == BRIDGE_103) ? 0x30 : 0x1f); in sd_start()
[all …]
Dnw80x.c45 u8 bridge; member
1760 sd->bridge = BRIDGE_NW802; in sd_config()
1764 sd->bridge = BRIDGE_NW801; in sd_config()
1786 if (webcam_chip[sd->webcam] != sd->bridge) { in sd_config()
1788 sd->webcam, sd->bridge); in sd_config()
1792 PDEBUG(D_PROBE, "Bridge nw80%d - type: %d", sd->bridge, sd->webcam); in sd_config()
1794 if (sd->bridge == BRIDGE_NW800) { in sd_config()
1826 switch (sd->bridge) { in sd_init()
1893 if (sd->bridge != BRIDGE_NW801) { in sd_stopN()
1953 reg_r(gspca_dev, sd->bridge == BRIDGE_NW801 ? 0x080d : 0x080c, 4); in do_autogain()
Dov519.c82 char bridge; member
2045 switch (sd->bridge) { in reg_w()
2094 switch (sd->bridge) { in reg_r()
2409 switch (sd->bridge) { in i2c_w()
2444 switch (sd->bridge) { in i2c_r()
2498 switch (sd->bridge) { in ov51x_stop()
2533 switch (sd->bridge) { in ov51x_restart()
2603 switch (sd->bridge) { in ov51x_set_slave_ids()
2648 if (sd->bridge != BRIDGE_OVFX2) { in ov_hires_configure()
2850 switch (sd->bridge) { in ov51x_led_control()
[all …]
Dvc032x.c43 u8 bridge; member
3023 sd->bridge == BRIDGE_VC0321 ? 1 : 3, gspca_dev->usb_buf[0]); in vc032x_probe_sensor()
3024 if (sd->bridge == BRIDGE_VC0321) { in vc032x_probe_sensor()
3137 sd->bridge = id->driver_info >> 8; in sd_config()
3181 sd->bridge = BRIDGE_VC0323; in sd_init()
3211 if (sd->bridge == BRIDGE_VC0321) { in sd_init()
3243 if (sd->bridge == BRIDGE_VC0321) { in sd_init()
3446 if (sd->bridge == BRIDGE_VC0321) { in sd_start()
3642 if (sd->bridge == BRIDGE_VC0321) { in sd_pkt_scan()
3802 #define BF(bridge, flags) \ argument
[all …]
Dsonixj.c77 u8 bridge; member
1528 sd->bridge = id->driver_info >> 16; in sd_config()
1569 switch (sd->bridge) { in sd_init()
1597 switch (sd->bridge) { in sd_init()
2901 #define BS(bridge, sensor) \ argument
2902 .driver_info = (BRIDGE_ ## bridge << 16) \
2904 #define BSF(bridge, sensor, flags) \ argument
2905 .driver_info = (BRIDGE_ ## bridge << 16) \
/linux-4.1.27/Documentation/devicetree/bindings/video/bridge/
Dps8622.txt1 ps8622-bridge bindings
5 - reg: first i2c address of the bridge
18 lvds-bridge@48 {
Dptn3460.txt1 ptn3460 bridge bindings
5 - reg: i2c address of the bridge
26 lvds-bridge@20 {
/linux-4.1.27/include/drm/bridge/
Dptn3460.h28 void ptn3460_destroy(struct drm_bridge *bridge);
39 static inline void ptn3460_destroy(struct drm_bridge *bridge) in ptn3460_destroy() argument
/linux-4.1.27/drivers/staging/media/cxd2099/
DKconfig6 - Micronas ngene PCIe bridge: cineS2 etc.
7 - Digital Devices PCIe bridge: Octopus series
/linux-4.1.27/drivers/media/pci/ddbridge/
DKconfig2 tristate "Digital Devices bridge support"
10 Support for cards with the Digital Devices PCI express bridge:
/linux-4.1.27/drivers/of/
Dof_pci.c130 struct device *bridge = pci_get_host_bridge_device(pci_dev); in of_pci_dma_configure() local
132 if (!bridge->parent) in of_pci_dma_configure()
135 of_dma_configure(dev, bridge->parent->of_node); in of_pci_dma_configure()
136 pci_put_host_bridge_device(bridge); in of_pci_dma_configure()
/linux-4.1.27/sound/pci/oxygen/
Doxygen_lib.c330 struct pci_dev *bridge; in configure_pcie_bridge() local
336 bridge = pci->bus->self; in configure_pcie_bridge()
338 id = pci_match_id(bridge_ids, bridge); in configure_pcie_bridge()
344 pci_read_config_dword(bridge, 0x48, &tmp); in configure_pcie_bridge()
347 pci_write_config_dword(bridge, 0x48, tmp); in configure_pcie_bridge()
349 pci_write_config_dword(bridge, 0x84, 0x0c); in configure_pcie_bridge()
350 pci_read_config_dword(bridge, 0x88, &tmp); in configure_pcie_bridge()
353 pci_write_config_dword(bridge, 0x88, tmp); in configure_pcie_bridge()
357 pci_read_config_dword(bridge, 0x40, &tmp); in configure_pcie_bridge()
359 pci_write_config_dword(bridge, 0x40, tmp); in configure_pcie_bridge()
[all …]
/linux-4.1.27/arch/ia64/sn/kernel/
Dirq.c123 int64_t bridge; in sn_retarget_vector() local
129 bridge = (u64) sn_irq_info->irq_bridge; in sn_retarget_vector()
130 if (!bridge) { in sn_retarget_vector()
134 local_nasid = NASID_GET(bridge); in sn_retarget_vector()
137 local_widget = TIO_SWIN_WIDGETNUM(bridge); in sn_retarget_vector()
139 local_widget = SWIN_WIDGETNUM(bridge); in sn_retarget_vector()
Dtiocx.c305 u64 bridge = (u64) sn_irq_info->irq_bridge; in tiocx_irq_free() local
306 nasid_t nasid = NASID_GET(bridge); in tiocx_irq_free()
310 widget = TIO_SWIN_WIDGETNUM(bridge); in tiocx_irq_free()
/linux-4.1.27/include/linux/
Dpci-acpi.h35 return ACPI_HANDLE(pbus->bridge); in acpi_find_root_bridge_handle()
43 dev = pbus->bridge; in acpi_pci_get_bridge_handle()
Dfmc-sdb.h14 struct sdb_bridge bridge; member
Dagp_backend.h72 struct agp_bridge_data *bridge; member
Dvme.h101 struct vme_bridge *bridge; member
/linux-4.1.27/arch/powerpc/include/asm/
Dpmac_feature.h311 extern void pmac_register_agp_pm(struct pci_dev *bridge,
312 int (*suspend)(struct pci_dev *bridge),
313 int (*resume)(struct pci_dev *bridge));
/linux-4.1.27/drivers/misc/
Dvexpress-syscfg.c253 struct device *bridge; in vexpress_syscfg_probe() local
271 bridge = vexpress_config_bridge_register(pdev->dev.parent, in vexpress_syscfg_probe()
273 if (IS_ERR(bridge)) in vexpress_syscfg_probe()
274 return PTR_ERR(bridge); in vexpress_syscfg_probe()
/linux-4.1.27/tools/lguest/
Dlguest.txt96 Another method is to bridge the tap device to an external interface
97 using --tunnet=bridge:<bridgename>, and perhaps run dhcp on the guest
98 to obtain an IP address. The bridge needs to be configured first:
109 Then use --tunnet=bridge:lg0 when launching the guest.
113 http://www.linuxfoundation.org/collaborate/workgroups/networking/bridge
/linux-4.1.27/drivers/zorro/
Dzorro.c113 struct platform_device *bridge, struct zorro_dev *z) in zorro_find_parent_resource() argument
117 for (i = 0; i < bridge->num_resources; i++) { in zorro_find_parent_resource()
118 struct resource *r = &bridge->resource[i]; in zorro_find_parent_resource()
/linux-4.1.27/include/drm/
Ddrm_crtc.h597 struct drm_bridge *bridge; member
882 int (*attach)(struct drm_bridge *bridge);
883 bool (*mode_fixup)(struct drm_bridge *bridge,
886 void (*disable)(struct drm_bridge *bridge);
887 void (*post_disable)(struct drm_bridge *bridge);
888 void (*mode_set)(struct drm_bridge *bridge,
891 void (*pre_enable)(struct drm_bridge *bridge);
892 void (*enable)(struct drm_bridge *bridge);
1228 extern int drm_bridge_add(struct drm_bridge *bridge);
1229 extern void drm_bridge_remove(struct drm_bridge *bridge);
[all …]
Dintel-gtt.h10 struct agp_bridge_data *bridge);
/linux-4.1.27/arch/powerpc/boot/dts/
Dcurrituck.dts147 /* Legacy interrupts (note the weird polarity, the bridge seems
150 * port of the root complex virtual P2P bridge. But I want
184 /* Legacy interrupts (note the weird polarity, the bridge seems
187 * port of the root complex virtual P2P bridge. But I want
221 /* Legacy interrupts (note the weird polarity, the bridge seems
224 * port of the root complex virtual P2P bridge. But I want
Dakebono.dts275 /* Legacy interrupts (note the weird polarity, the bridge seems
278 * port of the root complex virtual P2P bridge. But I want
315 /* Legacy interrupts (note the weird polarity, the bridge seems
318 * port of the root complex virtual P2P bridge. But I want
355 /* Legacy interrupts (note the weird polarity, the bridge seems
358 * port of the root complex virtual P2P bridge. But I want
395 /* Legacy interrupts (note the weird polarity, the bridge seems
398 * port of the root complex virtual P2P bridge. But I want
Dredwood.dts263 /* Legacy interrupts (note the weird polarity, the bridge seems
266 * port of the root complex virtual P2P bridge. But I want
304 /* Legacy interrupts (note the weird polarity, the bridge seems
307 * port of the root complex virtual P2P bridge. But I want
345 /* Legacy interrupts (note the weird polarity, the bridge seems
348 * port of the root complex virtual P2P bridge. But I want
Dholly.dts45 device_type = "tsi-bridge";
46 compatible = "tsi109-bridge", "tsi108-bridge";
Dkatmai.dts347 /* Legacy interrupts (note the weird polarity, the bridge seems
350 * port of the root complex virtual P2P bridge. But I want
388 /* Legacy interrupts (note the weird polarity, the bridge seems
391 * port of the root complex virtual P2P bridge. But I want
429 /* Legacy interrupts (note the weird polarity, the bridge seems
432 * port of the root complex virtual P2P bridge. But I want
Dmakalu.dts296 /* Legacy interrupts (note the weird polarity, the bridge seems
299 * port of the root complex virtual P2P bridge. But I want
337 /* Legacy interrupts (note the weird polarity, the bridge seems
340 * port of the root complex virtual P2P bridge. But I want
Dkilauea.dts350 /* Legacy interrupts (note the weird polarity, the bridge seems
353 * port of the root complex virtual P2P bridge. But I want
391 /* Legacy interrupts (note the weird polarity, the bridge seems
394 * port of the root complex virtual P2P bridge. But I want
Dicon.dts343 /* Legacy interrupts (note the weird polarity, the bridge seems
346 * port of the root complex virtual P2P bridge. But I want
384 /* Legacy interrupts (note the weird polarity, the bridge seems
387 * port of the root complex virtual P2P bridge. But I want
/linux-4.1.27/drivers/gpu/vga/
Dvgaarb.c468 struct pci_dev *new_bridge, *bridge; in vga_arbiter_check_bridge_sharing() local
483 bridge = bus->self; in vga_arbiter_check_bridge_sharing()
486 if (new_bridge == bridge) { in vga_arbiter_check_bridge_sharing()
497 bridge = bus->self; in vga_arbiter_check_bridge_sharing()
498 if (bridge) { in vga_arbiter_check_bridge_sharing()
499 if (bridge == vgadev->pdev->bus->self) in vga_arbiter_check_bridge_sharing()
520 struct pci_dev *bridge; in vga_arbiter_add_pci_device() local
566 bridge = bus->self; in vga_arbiter_add_pci_device()
567 if (bridge) { in vga_arbiter_add_pci_device()
569 pci_read_config_word(bridge, PCI_BRIDGE_CONTROL, in vga_arbiter_add_pci_device()
/linux-4.1.27/arch/powerpc/platforms/pseries/
Dpci.c113 int pseries_root_bridge_prepare(struct pci_host_bridge *bridge) in pseries_root_bridge_prepare() argument
120 bus = bridge->bus; in pseries_root_bridge_prepare()
Dpseries.h78 int pseries_root_bridge_prepare(struct pci_host_bridge *bridge);
Dpci_dlpar.c127 device_unregister(b->bridge); in remove_phb_dynamic()
/linux-4.1.27/drivers/video/fbdev/intelfb/
Dintelfbdrv.c510 struct agp_bridge_data *bridge; in intelfb_pci_register() local
645 if (!(bridge = agp_backend_acquire(pdev))) { in intelfb_pci_register()
652 if (agp_copy_info(bridge, &gtt_info)) { in intelfb_pci_register()
654 agp_backend_release(bridge); in intelfb_pci_register()
683 agp_backend_release(bridge); in intelfb_pci_register()
693 agp_backend_release(bridge); in intelfb_pci_register()
700 agp_allocate_memory(bridge, dinfo->ring.size >> 12, in intelfb_pci_register()
703 agp_backend_release(bridge); in intelfb_pci_register()
710 agp_backend_release(bridge); in intelfb_pci_register()
724 agp_allocate_memory(bridge, dinfo->cursor.size >> 12, in intelfb_pci_register()
[all …]
/linux-4.1.27/Documentation/devicetree/bindings/clock/
Dste-u300-syscon-clock.txt21 0 0 Slow peripheral bridge clock
28 1 0 Fast peripheral bridge clock
/linux-4.1.27/drivers/net/irda/
DKconfig204 DS-620 IrDA-USB bridge device driver.
206 This USB bridge does not conform to the IrDA-USB device class
218 IrDA-USB bridge device driver.
220 This USB bridge does not conform to the IrDA-USB device class
232 IrDA-USB bridge device driver.
234 This USB bridge does not conform to the IrDA-USB device class
260 tristate "SigmaTel STIr4200 bridge"
265 USB IrDA FIR bridge device driver.
267 USB bridge based on the SigmaTel STIr4200 don't conform to the
387 MCS7780 IrDA-USB bridge device driver.
[all …]
/linux-4.1.27/Documentation/devicetree/bindings/arm/
Dvexpress-sysreg.txt59 This block also can also act a bridge to the platform's configuration
64 node via "arm,vexpress,config-bridge" phandle and define appropriate
92 arm,vexpress,config-bridge = <&v2m_sysreg>;
Dvexpress.txt91 - bridge phandle:
92 arm,vexpress,config-bridge = <phandle>;
206 arm,vexpress,config-bridge = <&v2m_sysreg>;
/linux-4.1.27/Documentation/dvb/
Dcards.txt52 o Cards based on the Phillips saa7146 multimedia PCI bridge chip:
66 o Cards based on the Conexant Bt8xx PCI bridge:
97 o Cards based on the Conexant cx2388x PCI bridge:
112 o Cards based on the Phillips saa7134 PCI bridge:
/linux-4.1.27/include/net/netns/
Dnftables.h15 struct nft_af_info *bridge; member
/linux-4.1.27/drivers/eisa/
DKconfig16 bool "Generic PCI/EISA bridge"
21 bridge. If your system have both PCI and EISA slots, you
/linux-4.1.27/drivers/parisc/
Ddino.c176 struct dino_device *d = DINO_DEV(parisc_walk_tree(bus->bridge)); in dino_cfg_read()
211 struct dino_device *d = DINO_DEV(parisc_walk_tree(bus->bridge)); in dino_cfg_write()
461 struct dino_device *dino_dev = DINO_DEV(parisc_walk_tree(bus->bridge)); in dino_card_setup()
469 dev_name(bus->bridge)); in dino_card_setup()
483 dev_name(bus->bridge)); in dino_card_setup()
551 struct dino_device *dino_dev = DINO_DEV(parisc_walk_tree(bus->bridge)); in dino_fixup_bus()
555 bus->bridge->platform_data); in dino_fixup_bus()
Dlba_pci.c366 struct lba_device *d = LBA_DEV(parisc_walk_tree(bus->bridge)); in elroy_cfg_read()
433 struct lba_device *d = LBA_DEV(parisc_walk_tree(bus->bridge)); in elroy_cfg_write()
483 struct lba_device *d = LBA_DEV(parisc_walk_tree(bus->bridge)); in mercury_cfg_read()
515 struct lba_device *d = LBA_DEV(parisc_walk_tree(bus->bridge)); in mercury_cfg_write()
684 struct lba_device *ldev = LBA_DEV(parisc_walk_tree(bus->bridge)); in lba_fixup_bus()
687 bus, (int)bus->busn_res.start, bus->bridge->platform_data); in lba_fixup_bus()
/linux-4.1.27/drivers/w1/masters/
DKconfig28 tristate "Maxim DS2482 I2C to 1-Wire bridge"
32 I2C to 1-Wire bridge.
/linux-4.1.27/Documentation/acpi/apei/
Doutput_format.txt94 [bridge: secondary_status: <integer>, control: <integer>]
103 downstream switch port | PCIe to PCI/PCI-X bridge | \
104 PCI/PCI-X to PCIe bridge | root complex integrated endpoint device | \
/linux-4.1.27/drivers/media/pci/ngene/
DKconfig12 Support for Micronas PCI express cards with nGene bridge.
/linux-4.1.27/drivers/gpu/drm/exynos/
Dexynos_dp_core.c1008 encoder->bridge = dp->bridge; in exynos_drm_attach_lcd_bridge()
1009 dp->bridge->encoder = encoder; in exynos_drm_attach_lcd_bridge()
1010 ret = drm_bridge_attach(encoder->dev, dp->bridge); in exynos_drm_attach_lcd_bridge()
1029 if (dp->bridge) { in exynos_dp_create_connector()
1246 if (!dp->panel && !dp->bridge) { in exynos_dp_bind()
1360 dp->bridge = of_drm_find_bridge(bridge_node); in exynos_dp_probe()
1362 if (!dp->bridge) in exynos_dp_probe()
/linux-4.1.27/drivers/media/platform/blackfin/
DKconfig7 V4L2 bridge driver for Blackfin video capture device.
/linux-4.1.27/Documentation/devicetree/bindings/timer/
Dmarvell,orion-timer.txt6 - interrupt-parent: phandle of the bridge interrupt controller
/linux-4.1.27/arch/powerpc/platforms/maple/
Dpci.c66 static void __init fixup_bus_range(struct device_node *bridge) in fixup_bus_range() argument
73 prop = of_find_property(bridge, "bus-range", &len); in fixup_bus_range()
76 bridge->full_name); in fixup_bus_range()
80 bus_range[1] = fixup_one_level_bus_range(bridge->child, bus_range[1]); in fixup_bus_range()
/linux-4.1.27/drivers/media/pci/smipcie/
DKconfig11 Support for cards with SMI PCIe bridge:
/linux-4.1.27/arch/powerpc/kernel/
Dpci_of_scan.c41 static unsigned int pci_parse_of_flags(u32 addr0, int bridge) in pci_parse_of_flags() argument
57 if (!bridge && (addr0 & 0xff) == 0x30) in pci_parse_of_flags()
141 dev->dev.parent = bus->bridge; in of_create_pci_dev()
/linux-4.1.27/drivers/ntb/
DKconfig6 The PCI-E Non-transparent bridge hardware is a point-to-point PCI-E bus
/linux-4.1.27/drivers/media/usb/gspca/stv06xx/
Dstv06xx.c100 if (sd->bridge == BRIDGE_STV610) { in stv06xx_write_sensor_finish()
422 if (sd->bridge == BRIDGE_ST6422 && (id & 0xff00) == 0x0200) in stv06xx_pkt_scan()
454 if (sd->bridge == BRIDGE_ST6422) in stv06xx_pkt_scan()
551 sd->bridge = id->driver_info; in stv06xx_config()
Dstv06xx.h100 u8 bridge; member
/linux-4.1.27/Documentation/spi/
D00-INDEX18 - NXP SC18IS602/603 I2C-bus to SPI bridge
Dspi-sc18is60215 This driver provides connects a NXP SC18IS602/603 I2C-bus to SPI bridge to the
/linux-4.1.27/drivers/net/ethernet/rocker/
Drocker.c96 } bridge; member
1902 if (entry->key.bridge.has_eth_dst && in rocker_cmd_flow_tbl_add_bridge()
1904 ETH_ALEN, entry->key.bridge.eth_dst)) in rocker_cmd_flow_tbl_add_bridge()
1906 if (entry->key.bridge.has_eth_dst_mask && in rocker_cmd_flow_tbl_add_bridge()
1908 ETH_ALEN, entry->key.bridge.eth_dst_mask)) in rocker_cmd_flow_tbl_add_bridge()
1910 if (entry->key.bridge.vlan_id && in rocker_cmd_flow_tbl_add_bridge()
1912 entry->key.bridge.vlan_id)) in rocker_cmd_flow_tbl_add_bridge()
1914 if (entry->key.bridge.tunnel_id && in rocker_cmd_flow_tbl_add_bridge()
1916 entry->key.bridge.tunnel_id)) in rocker_cmd_flow_tbl_add_bridge()
1919 entry->key.bridge.goto_tbl)) in rocker_cmd_flow_tbl_add_bridge()
[all …]
/linux-4.1.27/arch/mips/loongson/
DKconfig31 Lemote Fuloong(2e) mini PC have a VIA686B south bridge.
58 Loongson processor and the AMD CS5536 south bridge.
/linux-4.1.27/Documentation/
Dvme_api.txt55 struct vme_bridge *bridge;
62 driver. The bridge number (or bus number) can be accessed using
63 dev->bridge->num.
209 buffers which will be accessible by the VME bridge. These functions do not have
211 taken to ensure that they are contiguous and accessible by the VME bridge:
394 This function returns the slot ID of the provided bridge.
402 This function returns the bus ID of the provided bridge.
Dvfio.txt59 bridge allowing redirection without reaching the IOMMU. Topology
61 bridge masks the devices behind it, making transaction appear as if
62 from the bridge itself. Obviously IOMMU design plays a major factor
150 This device is behind a PCIe-to-PCI bridge[4], therefore we also
152 procedure as above. Device 0000:00:1e.0 is a bridge that does
312 and bridge structures above the multiple IOAs). PPC64 guests detect PCI errors
452 [4] In this case the device is below a PCI bridge, so transactions
458 00:1e.0 PCI bridge: Intel Corporation 82801 PCI Bridge (rev 90)
Deisa.txt49 struct device *dev; /* Pointer to bridge device */
54 u64 dma_mask; /* from bridge device */
65 dma_mask : Default DMA mask. Usually the bridge device dma_mask.
/linux-4.1.27/arch/arm/mach-prima2/
Dsleep.S59 @ wait rtc io bridge sync
/linux-4.1.27/drivers/net/wireless/orinoco/
DKconfig76 PCI <-> PCMCIA bridge. Several vendors sell such adaptors so that
87 PCI <-> PCMCIA bridge. Several vendors sell such adaptors so that
97 PCI <-> PCMCIA bridge.
/linux-4.1.27/arch/arm/boot/dts/
Dorion5x.dtsi121 bridge_intc: bridge-interrupt-ctrl@20110 {
122 compatible = "marvell,orion-bridge-intc";
/linux-4.1.27/drivers/net/ethernet/myricom/myri10ge/
Dmyri10ge.c3260 struct pci_dev *bridge = mgp->pdev->bus->self; in myri10ge_enable_ecrc() local
3266 if (!myri10ge_ecrc_enable || !bridge) in myri10ge_enable_ecrc()
3270 if (pci_pcie_type(bridge) != PCI_EXP_TYPE_ROOT_PORT) { in myri10ge_enable_ecrc()
3272 struct pci_dev *prev_bridge, *old_bridge = bridge; in myri10ge_enable_ecrc()
3277 prev_bridge = bridge; in myri10ge_enable_ecrc()
3278 bridge = bridge->bus->self; in myri10ge_enable_ecrc()
3279 if (!bridge || prev_bridge == bridge) { in myri10ge_enable_ecrc()
3285 } while (pci_pcie_type(bridge) != in myri10ge_enable_ecrc()
3291 pci_name(old_bridge), pci_name(bridge)); in myri10ge_enable_ecrc()
3295 pci_name(bridge)); in myri10ge_enable_ecrc()
[all …]
/linux-4.1.27/drivers/staging/media/mn88473/
DTODO2 device drivers (USB-bridge, tuner) needed for Astrometa receiver in
/linux-4.1.27/drivers/staging/media/mn88472/
DTODO2 device drivers (USB-bridge, tuner) needed for Astrometa receiver in
/linux-4.1.27/net/hsr/
DKconfig17 bridge for HSR frames, but filters frames that have been forwarded
/linux-4.1.27/drivers/net/can/sja1000/
DKconfig76 tristate "PLX90xx PCI-bridge based Cards"
80 the PLX90xx PCI bridge.
/linux-4.1.27/Documentation/video4linux/
Dv4l2-framework.txt18 Usually these ICs are connected to the main bridge driver through one or
231 bridge-specific per-subdev private data. The v4l2_subdev structure provides
235 From the bridge driver perspective you load the sub-device module and somehow
333 first (traditional) possibility is to have subdevices registered by bridge
334 drivers. This can be done when the bridge driver has the complete information
338 to SoCs, which pass information about them to bridge drivers, usually in their
342 asynchronously to bridge devices. An example of such a configuration is a Device
344 system independently from the bridge devices, e.g. when subdevices are defined
349 run-time bridge-subdevice interaction is in both cases the same.
351 In the synchronous case a device (bridge) driver needs to register the
[all …]
/linux-4.1.27/arch/xtensa/
DKconfig.debug32 external to the processor (such as bus bridge, bus fabric, or memory controller).
/linux-4.1.27/drivers/fmc/
Dfmc-sdb.c73 struct sdb_component *c = &r->bridge.sdb_component; in __fmc_scan_sdb_tree()
74 uint64_t subaddr = __be64_to_cpu(r->bridge.sdb_child); in __fmc_scan_sdb_tree()
/linux-4.1.27/arch/nios2/platform/
DKconfig.platform14 do address translation if it's connected to a bridge.
27 do address translation if it's connected to a bridge. Also take into
/linux-4.1.27/net/
DKconfig148 a bridge with Network packet filtering enabled makes iptables "see"
150 protocols over the bridge, use ebtables (under bridge netfilter
198 source "net/bridge/netfilter/Kconfig"
209 source "net/bridge/Kconfig"
DMakefile23 obj-$(CONFIG_BRIDGE) += bridge/
/linux-4.1.27/Documentation/arm/
DNetwinder6 DC21285 PCI bridge, with PC-type hardware glued around it.
/linux-4.1.27/Documentation/devicetree/bindings/drm/bridge/
Ddw_hdmi.txt1 DesignWare HDMI bridge bindings
/linux-4.1.27/Documentation/PCI/
DMSI-HOWTO.txt522 2. on all devices behind a specific bridge
539 5.2. Disabling MSIs below a bridge
542 In this case, MSIs must be disabled on all devices behind the bridge.
548 If you have a bridge unknown to Linux, you can enable
550 enable MSIs on that bridge by doing:
552 echo 1 > /sys/bus/pci/devices/$bridge/msi_bus
554 where $bridge is the PCI address of the bridge you've enabled (eg
559 below this bridge.
/linux-4.1.27/arch/mips/boot/dts/lantiq/
Ddanube.dtsi102 0xE105400 0x400>; /* pci bridge */
/linux-4.1.27/arch/arm64/include/asm/
DKbuild33 generic-y += pci-bridge.h
/linux-4.1.27/drivers/media/pci/bt8xx/
DKconfig36 Support for PCI cards based on the Bt8xx PCI bridge. Examples are
/linux-4.1.27/Documentation/devicetree/bindings/mmc/
Dsdhci-pxa.txt15 AXI/Mbus bridge registers of the SDHCI unit, the third one for the

12