Searched refs:pdn (Results 1 - 25 of 32) sorted by relevance

12

/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/powerpc/kernel/
H A Dpci_dn.c46 struct pci_dn *pdn; local
49 pdn = kmalloc(sizeof(*pdn), GFP_KERNEL);
51 pdn = alloc_bootmem(sizeof(*pdn));
52 if (pdn == NULL)
54 memset(pdn, 0, sizeof(*pdn));
55 dn->data = pdn;
56 pdn
142 struct pci_dn *pdn; local
[all...]
H A Drtas_pci.c74 int rtas_read_config(struct pci_dn *pdn, int where, int size, u32 *val) argument
80 if (!pdn)
82 if (!config_access_valid(pdn, where))
85 addr = rtas_config_addr(pdn->busno, pdn->devfn, where);
86 buid = pdn->phb->buid;
99 eeh_dn_check_failure (pdn->node, NULL))
118 struct pci_dn *pdn = PCI_DN(dn); local
119 if (pdn && pdn
127 rtas_write_config(struct pci_dn *pdn, int where, int size, u32 val) argument
165 struct pci_dn *pdn = PCI_DN(dn); local
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/powerpc/platforms/pseries/
H A Deeh.c128 static void rtas_slot_error_detail(struct pci_dn *pdn, int severity, argument
140 config_addr = pdn->eeh_config_addr;
141 if (pdn->eeh_pe_config_addr)
142 config_addr = pdn->eeh_pe_config_addr;
146 BUID_HI(pdn->phb->buid),
147 BUID_LO(pdn->phb->buid),
160 * @pdn: device to report data for
167 static size_t gather_pci_data(struct pci_dn *pdn, char * buf, size_t len) argument
173 n += scnprintf(buf+n, len-n, "%s\n", pdn->node->full_name);
174 printk(KERN_WARNING "EEH: of node=%s\n", pdn
225 eeh_slot_error_detail(struct pci_dn *pdn, int severity) argument
241 read_slot_reset_state(struct pci_dn *pdn, int rets[]) argument
278 eeh_wait_for_slot_status(struct pci_dn *pdn, int max_wait_msecs) argument
438 struct pci_dn *pdn; local
591 rtas_pci_enable(struct pci_dn *pdn, int function) argument
631 rtas_pci_slot_reset(struct pci_dn *pdn, int state) argument
671 struct pci_dn *pdn = PCI_DN(dn); local
697 __rtas_set_slot_reset(struct pci_dn *pdn) argument
721 rtas_set_slot_reset(struct pci_dn *pdn) argument
762 __restore_bars(struct pci_dn *pdn) argument
793 eeh_restore_bars(struct pci_dn *pdn) argument
817 eeh_save_bars(struct pci_dn *pdn) argument
829 rtas_configure_bridge(struct pci_dn *pdn) argument
906 struct pci_dn *pdn = PCI_DN(dn); local
1112 struct pci_dn *pdn; local
[all...]
H A Dmsi.c31 struct pci_dn *pdn; local
39 pdn = PCI_DN(dn);
40 if (!pdn) {
45 return pdn;
50 static int rtas_change_msi(struct pci_dn *pdn, u32 func, u32 num_irqs) argument
56 addr = rtas_config_addr(pdn->busno, pdn->devfn, 0);
57 buid = pdn->phb->buid;
84 struct pci_dn *pdn; local
86 pdn
94 rtas_query_irq_number(struct pci_dn *pdn, int offset) argument
134 struct pci_dn *pdn; local
167 struct pci_dn *pdn; local
[all...]
H A Deeh_event.c60 struct pci_dn *pdn; local
85 pdn = handle_eeh_events(event);
93 if (pdn && pdn->eeh_freeze_count>0) {
95 if (pdn->eeh_freeze_count>0)
96 pdn->eeh_freeze_count--;
H A Diommu.c397 struct device_node *dn, *pdn; local
406 for (pdn = dn; pdn != NULL; pdn = pdn->parent) {
407 dma_window = of_get_property(pdn, "ibm,dma-window", NULL);
417 ppci = PCI_DN(pdn);
420 pdn->full_name, ppci->iommu_table);
432 iommu_table_setparms_lpar(ppci->phb, pdn, tbl, dma_window);
438 if (pdn !
484 struct device_node *pdn, *dn; local
[all...]
H A Dpci_dlpar.c57 struct pci_dn *pdn = dn->data; local
59 if (!pdn || !pdn->phb || !pdn->phb->bus)
62 return find_bus_among_children(pdn->phb->bus, dn);
H A Deeh_driver.c45 static void print_device_node_tree (struct pci_dn *pdn, int dent) argument
48 if (!pdn) return;
52 pdn->node->name, pdn->eeh_mode, pdn->eeh_config_addr,
53 pdn->eeh_pe_config_addr, pdn->node->full_name);
55 struct device_node *pc = pdn->node->child;
H A Deeh_cache.c180 struct pci_dn *pdn; local
190 pdn = PCI_DN(dn);
191 if (!(pdn->eeh_mode & EEH_MODE_SUPPORTED) ||
192 pdn->eeh_mode & EEH_MODE_NOCHECK) {
195 pci_name(dev), pdn->node->full_name);
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/powerpc/platforms/iseries/
H A Dpci.h55 struct pci_dn *pdn = PCI_DN(node); local
57 return ((u64)pdn->busno << 48) + ((u64)pdn->bussubno << 40)
H A Diommu.c153 struct pci_dn *pdn = PCI_DN(node); local
156 if (pdn == NULL)
158 it = pdn->iommu_table;
173 struct pci_dn *pdn = PCI_DN(dn); local
180 iommu_table_getparms_iSeries(pdn->busno, *lsn, 0, tbl);
183 pdn->iommu_table = iommu_table_find(tbl);
184 if (pdn->iommu_table == NULL)
185 pdn->iommu_table = iommu_init_table(tbl, -1);
188 pdev->dev.archdata.dma_data = pdn->iommu_table;
H A Dpci.c176 struct pci_dn *pdn = PCI_DN(node); local
180 if ((pdn != NULL) && (agent != NULL)) {
181 u8 irq = iSeries_allocate_IRQ(pdn->busno, 0,
182 pdn->bussubno);
185 err = HvCallXm_connectBusUnit(pdn->busno, pdn->bussubno,
189 pdn->busno, pdn->bussubno, *agent, err);
191 err = HvCallPci_configStore8(pdn->busno, pdn
225 struct pci_dn *pdn = PCI_DN(node); local
322 struct pci_dn *pdn = PCI_DN(DevNode); local
[all...]
H A Dvpdinfo.c250 struct pci_dn *pdn; local
263 pdn = PCI_DN(DevNode);
264 bus = pdn->busno;
265 subbus = pdn->bussubno;
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/net/mlx4/
H A Dpd.c42 int mlx4_pd_alloc(struct mlx4_dev *dev, u32 *pdn) argument
46 *pdn = mlx4_bitmap_alloc(&priv->pd_bitmap);
47 if (*pdn == -1)
54 void mlx4_pd_free(struct mlx4_dev *dev, u32 pdn) argument
56 mlx4_bitmap_free(&mlx4_priv(dev)->pd_bitmap, pdn);
H A Dsrq.c105 int mlx4_srq_alloc(struct mlx4_dev *dev, u32 pdn, struct mlx4_mtt *mtt, argument
149 srq_context->pd = cpu_to_be32(pdn);
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/infiniband/hw/amso1100/
H A Dc2_user.h55 __u32 pdn; member in struct:c2_alloc_pd_resp
61 __u32 pdn; member in struct:c2_create_cq
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/infiniband/hw/mthca/
H A Dmthca_user.h60 __u32 pdn; member in struct:mthca_alloc_pd_resp
66 __u32 pdn; member in struct:mthca_create_cq
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/include/asm-powerpc/
H A Dppc-pci.h65 * @pdn: pci device node
73 void eeh_slot_error_detail (struct pci_dn *pdn, int severity);
77 * @pdn: pci device node
84 int rtas_pci_enable(struct pci_dn *pdn, int function);
88 * @pdn: pci device node
98 int eeh_wait_for_slot_status(struct pci_dn *pdn, int max_wait_msecs);
102 * @pdn: pci device node
113 * @pdn: pci device node
128 * @pdn: pci device node
138 * @pdn
[all...]
H A Dpci-bridge.h103 struct pci_dn *pdn = dn->data; local
105 if (pdn && pdn->devfn == dev->devfn && pdn->busno == dev->bus->number)
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/infiniband/hw/mlx4/
H A Duser.h59 __u32 pdn; member in struct:mlx4_ib_alloc_pd_resp
H A Dmr.c53 err = mlx4_mr_alloc(to_mdev(pd->device)->dev, to_mpd(pd)->pdn, 0,
145 err = mlx4_mr_alloc(dev->dev, to_mpd(pd)->pdn, virt_addr, length,
H A Dah.c46 ah->av.port_pd = cpu_to_be32(to_mpd(pd)->pdn | (ah_attr->port_num << 24));
H A Dmain.c408 err = mlx4_pd_alloc(to_mdev(ibdev)->dev, &pd->pdn);
415 if (ib_copy_to_udata(udata, &pd->pdn, sizeof (__u32))) {
416 mlx4_pd_free(to_mdev(ibdev)->dev, pd->pdn);
426 mlx4_pd_free(to_mdev(pd->device)->dev, to_mpd(pd)->pdn);
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/pci/hotplug/
H A Drpadlpar_core.c139 struct pci_dn *pdn = PCI_DN(dn); local
140 struct pci_controller *phb = pdn->phb;
146 dev = of_create_pci_dev(dn, phb->bus, pdn->devfn);
229 struct pci_dn *pdn; local
246 pdn = dn->data;
247 BUG_ON(!pdn || !pdn->phb);
248 rc = dlpar_remove_root_bus(pdn->phb);
252 pdn->phb = NULL;
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/include/linux/mlx4/
H A Ddevice.h294 int mlx4_pd_alloc(struct mlx4_dev *dev, u32 *pdn);
295 void mlx4_pd_free(struct mlx4_dev *dev, u32 pdn);
321 int mlx4_srq_alloc(struct mlx4_dev *dev, u32 pdn, struct mlx4_mtt *mtt,

Completed in 211 milliseconds

12