Home
last modified time | relevance | path

Searched refs:archdata (Results 1 – 25 of 83) sorted by relevance

1234

/linux-6.6.21/arch/sparc/kernel/
Dof_device_common.c20 if (!op || index >= op->archdata.num_irqs) in irq_of_parse_and_map()
23 return op->archdata.irqs[index]; in irq_of_parse_and_map()
35 memcpy(r, &op->archdata.resource[index], sizeof(*r)); in of_address_to_resource()
48 r = &op->archdata.resource[index]; in of_iomap()
59 struct dev_archdata *bus_sd = &bus->dev.archdata; in of_propagate_archdata()
66 op->dev.archdata.iommu = bus_sd->iommu; in of_propagate_archdata()
67 op->dev.archdata.stc = bus_sd->stc; in of_propagate_archdata()
68 op->dev.archdata.host_controller = bus_sd->host_controller; in of_propagate_archdata()
69 op->dev.archdata.numa_node = bus_sd->numa_node; in of_propagate_archdata()
Dof_device_32.c272 op->resource = op->archdata.resource; in build_device_resources()
351 sd = &op->dev.archdata; in scan_one_device()
358 op->archdata.num_irqs = len / sizeof(struct linux_prom_irqs); in scan_one_device()
359 for (i = 0; i < op->archdata.num_irqs; i++) in scan_one_device()
360 op->archdata.irqs[i] = in scan_one_device()
367 op->archdata.num_irqs = len / sizeof(unsigned int); in scan_one_device()
368 for (i = 0; i < op->archdata.num_irqs; i++) in scan_one_device()
369 op->archdata.irqs[i] = in scan_one_device()
372 op->archdata.num_irqs = 0; in scan_one_device()
Dof_device_64.c350 op->resource = op->archdata.resource; in build_device_resources()
647 sd = &op->dev.archdata; in scan_one_device()
654 op->archdata.num_irqs = len / 4; in scan_one_device()
657 if (op->archdata.num_irqs > PROMINTR_MAX) { in scan_one_device()
660 dp, op->archdata.num_irqs, PROMINTR_MAX); in scan_one_device()
661 op->archdata.num_irqs = PROMINTR_MAX; in scan_one_device()
663 memcpy(op->archdata.irqs, irq, op->archdata.num_irqs * 4); in scan_one_device()
665 op->archdata.num_irqs = 0; in scan_one_device()
669 for (i = 0; i < op->archdata.num_irqs; i++) in scan_one_device()
670 op->archdata.irqs[i] = build_one_device_irq(op, parent, op->archdata.irqs[i]); in scan_one_device()
Diommu.c213 nid = dev->archdata.numa_node; in dma_4u_alloc_coherent()
221 iommu = dev->archdata.iommu; in dma_4u_alloc_coherent()
254 iommu = dev->archdata.iommu; in dma_4u_free_coherent()
276 iommu = dev->archdata.iommu; in dma_4u_map_page()
277 strbuf = dev->archdata.stc; in dma_4u_map_page()
401 iommu = dev->archdata.iommu; in dma_4u_unmap_page()
402 strbuf = dev->archdata.stc; in dma_4u_unmap_page()
448 iommu = dev->archdata.iommu; in dma_4u_map_sg()
449 strbuf = dev->archdata.stc; in dma_4u_map_sg()
616 iommu = dev->archdata.iommu; in dma_4u_unmap_sg()
[all …]
Dsbus.c63 struct iommu *iommu = dev->archdata.iommu; in sbus_set_sbus64()
213 struct iommu *iommu = op->dev.archdata.iommu; in sbus_build_irq()
275 struct iommu *iommu = op->dev.archdata.iommu; in sysio_ue_handler()
349 struct iommu *iommu = op->dev.archdata.iommu; in sysio_ce_handler()
428 struct iommu *iommu = op->dev.archdata.iommu; in sysio_sbus_error_handler()
497 struct iommu *iommu = op->dev.archdata.iommu; in sysio_register_error_handlers()
564 op->dev.archdata.iommu = iommu; in sbus_iommu_init()
565 op->dev.archdata.stc = strbuf; in sbus_iommu_init()
566 op->dev.archdata.numa_node = NUMA_NO_NODE; in sbus_iommu_init()
Dpci.c278 sd = &dev->dev.archdata; in of_create_pci_dev()
281 sd = &op->dev.archdata; in of_create_pci_dev()
345 dev->irq = sd->op->archdata.irqs[0]; in of_create_pci_dev()
755 struct pci_pbm_info *pbm = pdev->dev.archdata.host_controller; in pci_iobar_pfn()
796 struct pci_pbm_info *pbm = pdev->dev.archdata.host_controller; in arch_setup_msi_irq()
809 struct pci_pbm_info *pbm = pdev->dev.archdata.host_controller; in arch_teardown_msi_irq()
821 struct iommu *iommu = dev->archdata.iommu; in ali_sound_dma_hack()
882 psd = &pdev->dev.archdata; in pcibios_device_add()
883 pci_init_dev_archdata(&dev->dev.archdata, psd->iommu, in pcibios_device_add()
Dpci_sun4v.c86 struct pci_pbm_info *pbm = p->dev->archdata.host_controller; in iommu_batch_flush()
205 nid = dev->archdata.numa_node; in dma_4v_alloc_coherent()
213 iommu = dev->archdata.iommu; in dma_4v_alloc_coherent()
335 iommu = dev->archdata.iommu; in dma_4v_free_coherent()
336 pbm = dev->archdata.host_controller; in dma_4v_free_coherent()
370 iommu = dev->archdata.iommu; in dma_4v_map_page()
448 iommu = dev->archdata.iommu; in dma_4v_unmap_page()
449 pbm = dev->archdata.host_controller; in dma_4v_unmap_page()
488 iommu = dev->archdata.iommu; in dma_4v_map_sg()
638 iommu = dev->archdata.iommu; in dma_4v_unmap_sg()
[all …]
Dpci_schizo.c863 err = request_irq(op->archdata.irqs[1], schizo_ue_intr, 0, in tomatillo_register_error_handlers()
870 err = request_irq(op->archdata.irqs[2], schizo_ce_intr, 0, in tomatillo_register_error_handlers()
878 err = request_irq(op->archdata.irqs[0], schizo_pcierr_intr, 0, in tomatillo_register_error_handlers()
881 err = request_irq(op->archdata.irqs[0], schizo_pcierr_intr, 0, in tomatillo_register_error_handlers()
889 err = request_irq(op->archdata.irqs[3], schizo_safarierr_intr, 0, in tomatillo_register_error_handlers()
958 err = request_irq(op->archdata.irqs[1], schizo_ue_intr, 0, in schizo_register_error_handlers()
965 err = request_irq(op->archdata.irqs[2], schizo_ce_intr, 0, in schizo_register_error_handlers()
973 err = request_irq(op->archdata.irqs[0], schizo_pcierr_intr, 0, in schizo_register_error_handlers()
976 err = request_irq(op->archdata.irqs[0], schizo_pcierr_intr, 0, in schizo_register_error_handlers()
984 err = request_irq(op->archdata.irqs[3], schizo_safarierr_intr, 0, in schizo_register_error_handlers()
Dpci_sabre.c334 if (op->archdata.num_irqs < 4) in sabre_register_error_handlers()
346 err = request_irq(op->archdata.irqs[1], sabre_ue_intr, 0, "SABRE_UE", pbm); in sabre_register_error_handlers()
356 err = request_irq(op->archdata.irqs[2], sabre_ce_intr, 0, "SABRE_CE", pbm); in sabre_register_error_handlers()
360 err = request_irq(op->archdata.irqs[0], psycho_pcierr_intr, 0, in sabre_register_error_handlers()
Dpci_psycho.c309 if (op->archdata.num_irqs < 6) in psycho_register_error_handlers()
316 err = request_irq(op->archdata.irqs[1], psycho_ue_intr, IRQF_SHARED, in psycho_register_error_handlers()
318 err = request_irq(op->archdata.irqs[2], psycho_ce_intr, IRQF_SHARED, in psycho_register_error_handlers()
325 err = request_irq(op->archdata.irqs[0], psycho_pcierr_intr, IRQF_SHARED, in psycho_register_error_handlers()
Dleon_pci_grpci2.c730 priv->irq = ofdev->archdata.irqs[0]; /* BASE IRQ */ in grpci2_of_probe()
828 priv->virq_dma = ofdev->archdata.irqs[1]; in grpci2_of_probe()
841 leon_update_virq_handling(ofdev->archdata.irqs[i], in grpci2_of_probe()
844 priv->irq_map[i] = ofdev->archdata.irqs[i]; in grpci2_of_probe()
848 priv->virq_dma = ofdev->archdata.irqs[4]; in grpci2_of_probe()
Dpower.c41 unsigned int irq = op->archdata.irqs[0]; in power_probe()
/linux-6.6.21/drivers/input/serio/
Di8042-sparcio.h65 unsigned int irq = kbd->archdata.irqs[0]; in sparc_i8042_probe()
67 irq = op->archdata.irqs[0]; in sparc_i8042_probe()
75 unsigned int irq = ms->archdata.irqs[0]; in sparc_i8042_probe()
77 irq = op->archdata.irqs[0]; in sparc_i8042_probe()
/linux-6.6.21/arch/powerpc/include/asm/
Ddma-direct.h7 return paddr + dev->archdata.dma_offset; in phys_to_dma()
12 return daddr - dev->archdata.dma_offset; in dma_to_phys()
/linux-6.6.21/arch/sparc/mm/
Dio-unit.c66 op->dev.archdata.iommu = iounit; in iounit_iommu_init()
150 struct iounit_struct *iounit = dev->archdata.iommu; in iounit_map_page()
166 struct iounit_struct *iounit = dev->archdata.iommu; in iounit_map_sg()
184 struct iounit_struct *iounit = dev->archdata.iommu; in iounit_unmap_page()
199 struct iounit_struct *iounit = dev->archdata.iommu; in iounit_unmap_sg()
219 struct iounit_struct *iounit = dev->archdata.iommu; in iounit_alloc()
Diommu.c132 op->dev.archdata.iommu = iommu; in sbus_iommu_init()
187 struct iommu_struct *iommu = dev->archdata.iommu; in __sbus_iommu_map_page()
283 struct iommu_struct *iommu = dev->archdata.iommu; in sbus_iommu_unmap_page()
316 struct iommu_struct *iommu = dev->archdata.iommu; in sbus_iommu_alloc()
398 struct iommu_struct *iommu = dev->archdata.iommu; in sbus_iommu_free()
/linux-6.6.21/arch/powerpc/kernel/
Dpci_dn.c68 if (pdev->dev.archdata.pci_data) in pci_get_pdn_by_devfn()
69 return pdev->dev.archdata.pci_data; in pci_get_pdn_by_devfn()
101 if (pdev->dev.archdata.pci_data) in pci_get_pdn()
102 return pdev->dev.archdata.pci_data; in pci_get_pdn()
489 if (pdev->dev.archdata.pci_data) in pci_dev_pdn_setup()
494 pdev->dev.archdata.pci_data = pdn; in pci_dev_pdn_setup()
/linux-6.6.21/drivers/misc/cxl/
Dvphb.c42 dev->dev.archdata.dma_offset = PAGE_OFFSET; in cxl_pci_enable_device_hook()
51 dev->dev.archdata.cxl_ctx = ctx; in cxl_pci_enable_device_hook()
65 dev->dev.archdata.cxl_ctx = NULL; in cxl_pci_disable_device()
/linux-6.6.21/arch/arm/mach-omap2/
Domap_device.c222 if (pdev->archdata.od) in _omap_device_notifier_call()
223 omap_device_delete(pdev->archdata.od); in _omap_device_notifier_call()
324 pdev->archdata.od = od; in omap_device_alloc()
346 od->pdev->archdata.od = NULL; in omap_device_delete()
Domap_device.h76 return pdev ? pdev->archdata.od : NULL; in to_omap_device()
/linux-6.6.21/arch/arm/include/asm/
Ddevice.h24 #define to_dma_iommu_mapping(dev) ((dev)->archdata.mapping)
/linux-6.6.21/drivers/macintosh/
Dmacio_asic.c378 dev->ofdev.archdata.dma_mask = 0xffffffffUL; in macio_add_one_device()
379 dev->ofdev.dev.dma_mask = &dev->ofdev.archdata.dma_mask; in macio_add_one_device()
380 dev->ofdev.dev.coherent_dma_mask = dev->ofdev.archdata.dma_mask; in macio_add_one_device()
397 dev->ofdev.dev.archdata = chip->lbus.pdev->dev.archdata; in macio_add_one_device()
/linux-6.6.21/arch/sparc/include/asm/
Dparport.h123 op->archdata.irqs[0], PARPORT_DMA_NOFIFO, in ecpp_probe()
173 op->archdata.irqs[0], in ecpp_probe()
/linux-6.6.21/drivers/sbus/char/
Dbbc_i2c.c320 if (request_irq(op->archdata.irqs[0], bbc_i2c_interrupt, in attach_one_i2c()
375 free_irq(op->archdata.irqs[0], bp); in bbc_i2c_probe()
394 free_irq(op->archdata.irqs[0], bp); in bbc_i2c_remove()
/linux-6.6.21/sound/aoa/soundbus/i2sbus/
Dcore.c222 dev->sound.ofdev.archdata.dma_mask = macio->ofdev.archdata.dma_mask; in i2sbus_add_dev()
224 dev->sound.ofdev.dev.dma_mask = &dev->sound.ofdev.archdata.dma_mask; in i2sbus_add_dev()

1234