/linux-6.1.9/arch/sparc/kernel/ |
D | of_device_common.c | 20 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()
|
D | of_device_32.c | 272 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()
|
D | of_device_64.c | 350 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()
|
D | iommu.c | 213 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 …]
|
D | sbus.c | 62 struct iommu *iommu = dev->archdata.iommu; in sbus_set_sbus64() 212 struct iommu *iommu = op->dev.archdata.iommu; in sbus_build_irq() 274 struct iommu *iommu = op->dev.archdata.iommu; in sysio_ue_handler() 348 struct iommu *iommu = op->dev.archdata.iommu; in sysio_ce_handler() 427 struct iommu *iommu = op->dev.archdata.iommu; in sysio_sbus_error_handler() 496 struct iommu *iommu = op->dev.archdata.iommu; in sysio_register_error_handlers() 563 op->dev.archdata.iommu = iommu; in sbus_iommu_init() 564 op->dev.archdata.stc = strbuf; in sbus_iommu_init() 565 op->dev.archdata.numa_node = NUMA_NO_NODE; in sbus_iommu_init()
|
D | pci.c | 277 sd = &dev->dev.archdata; in of_create_pci_dev() 280 sd = &op->dev.archdata; in of_create_pci_dev() 344 dev->irq = sd->op->archdata.irqs[0]; in of_create_pci_dev() 756 struct pci_pbm_info *pbm = pdev->dev.archdata.host_controller; in pci_iobar_pfn() 797 struct pci_pbm_info *pbm = pdev->dev.archdata.host_controller; in arch_setup_msi_irq() 810 struct pci_pbm_info *pbm = pdev->dev.archdata.host_controller; in arch_teardown_msi_irq() 822 struct iommu *iommu = dev->archdata.iommu; in ali_sound_dma_hack() 883 psd = &pdev->dev.archdata; in pcibios_device_add() 884 pci_init_dev_archdata(&dev->dev.archdata, psd->iommu, in pcibios_device_add()
|
D | pci_sun4v.c | 85 struct pci_pbm_info *pbm = p->dev->archdata.host_controller; in iommu_batch_flush() 204 nid = dev->archdata.numa_node; in dma_4v_alloc_coherent() 212 iommu = dev->archdata.iommu; in dma_4v_alloc_coherent() 334 iommu = dev->archdata.iommu; in dma_4v_free_coherent() 335 pbm = dev->archdata.host_controller; in dma_4v_free_coherent() 369 iommu = dev->archdata.iommu; in dma_4v_map_page() 447 iommu = dev->archdata.iommu; in dma_4v_unmap_page() 448 pbm = dev->archdata.host_controller; in dma_4v_unmap_page() 487 iommu = dev->archdata.iommu; in dma_4v_map_sg() 637 iommu = dev->archdata.iommu; in dma_4v_unmap_sg() [all …]
|
D | pci_schizo.c | 863 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()
|
D | pci_sabre.c | 334 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()
|
D | pci_psycho.c | 307 if (op->archdata.num_irqs < 6) in psycho_register_error_handlers() 314 err = request_irq(op->archdata.irqs[1], psycho_ue_intr, IRQF_SHARED, in psycho_register_error_handlers() 316 err = request_irq(op->archdata.irqs[2], psycho_ce_intr, IRQF_SHARED, in psycho_register_error_handlers() 323 err = request_irq(op->archdata.irqs[0], psycho_pcierr_intr, IRQF_SHARED, in psycho_register_error_handlers()
|
D | leon_pci_grpci2.c | 728 priv->irq = ofdev->archdata.irqs[0]; /* BASE IRQ */ in grpci2_of_probe() 826 priv->virq_dma = ofdev->archdata.irqs[1]; in grpci2_of_probe() 839 leon_update_virq_handling(ofdev->archdata.irqs[i], in grpci2_of_probe() 842 priv->irq_map[i] = ofdev->archdata.irqs[i]; in grpci2_of_probe() 846 priv->virq_dma = ofdev->archdata.irqs[4]; in grpci2_of_probe()
|
D | power.c | 40 unsigned int irq = op->archdata.irqs[0]; in power_probe()
|
/linux-6.1.9/drivers/input/serio/ |
D | i8042-sparcio.h | 63 unsigned int irq = kbd->archdata.irqs[0]; in sparc_i8042_probe() 65 irq = op->archdata.irqs[0]; in sparc_i8042_probe() 73 unsigned int irq = ms->archdata.irqs[0]; in sparc_i8042_probe() 75 irq = op->archdata.irqs[0]; in sparc_i8042_probe()
|
/linux-6.1.9/arch/powerpc/include/asm/ |
D | dma-direct.h | 7 return paddr + dev->archdata.dma_offset; in phys_to_dma() 12 return daddr - dev->archdata.dma_offset; in dma_to_phys()
|
/linux-6.1.9/arch/sparc/mm/ |
D | io-unit.c | 65 op->dev.archdata.iommu = iounit; in iounit_iommu_init() 149 struct iounit_struct *iounit = dev->archdata.iommu; in iounit_map_page() 165 struct iounit_struct *iounit = dev->archdata.iommu; in iounit_map_sg() 183 struct iounit_struct *iounit = dev->archdata.iommu; in iounit_unmap_page() 198 struct iounit_struct *iounit = dev->archdata.iommu; in iounit_unmap_sg() 218 struct iounit_struct *iounit = dev->archdata.iommu; in iounit_alloc()
|
D | iommu.c | 131 op->dev.archdata.iommu = iommu; in sbus_iommu_init() 186 struct iommu_struct *iommu = dev->archdata.iommu; in __sbus_iommu_map_page() 282 struct iommu_struct *iommu = dev->archdata.iommu; in sbus_iommu_unmap_page() 315 struct iommu_struct *iommu = dev->archdata.iommu; in sbus_iommu_alloc() 397 struct iommu_struct *iommu = dev->archdata.iommu; in sbus_iommu_free()
|
/linux-6.1.9/arch/powerpc/kernel/ |
D | pci_dn.c | 68 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.1.9/drivers/misc/cxl/ |
D | vphb.c | 42 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.1.9/arch/arm/mach-omap2/ |
D | omap_device.c | 216 if (pdev->archdata.od) in _omap_device_notifier_call() 217 omap_device_delete(pdev->archdata.od); in _omap_device_notifier_call() 347 pdev->archdata.od = od; in omap_device_alloc() 369 od->pdev->archdata.od = NULL; in omap_device_delete()
|
D | omap_device.h | 90 return pdev ? pdev->archdata.od : NULL; in to_omap_device()
|
/linux-6.1.9/arch/arm/include/asm/ |
D | device.h | 24 #define to_dma_iommu_mapping(dev) ((dev)->archdata.mapping)
|
/linux-6.1.9/drivers/macintosh/ |
D | macio_asic.c | 372 dev->ofdev.archdata.dma_mask = 0xffffffffUL; in macio_add_one_device() 373 dev->ofdev.dev.dma_mask = &dev->ofdev.archdata.dma_mask; in macio_add_one_device() 374 dev->ofdev.dev.coherent_dma_mask = dev->ofdev.archdata.dma_mask; in macio_add_one_device() 391 dev->ofdev.dev.archdata = chip->lbus.pdev->dev.archdata; in macio_add_one_device()
|
/linux-6.1.9/arch/sparc/include/asm/ |
D | parport.h | 122 op->archdata.irqs[0], PARPORT_DMA_NOFIFO, in ecpp_probe() 172 op->archdata.irqs[0], in ecpp_probe()
|
/linux-6.1.9/drivers/sbus/char/ |
D | bbc_i2c.c | 319 if (request_irq(op->archdata.irqs[0], bbc_i2c_interrupt, in attach_one_i2c() 374 free_irq(op->archdata.irqs[0], bp); in bbc_i2c_probe() 393 free_irq(op->archdata.irqs[0], bp); in bbc_i2c_remove()
|
/linux-6.1.9/sound/aoa/soundbus/i2sbus/ |
D | core.c | 222 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()
|