/linux-6.12.1/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 | 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 | of_device_64.c | 350 op->resource = op->archdata.resource; in build_device_resources() 644 sd = &op->dev.archdata; in scan_one_device() 651 op->archdata.num_irqs = len / 4; in scan_one_device() 654 if (op->archdata.num_irqs > PROMINTR_MAX) { in scan_one_device() 657 dp, op->archdata.num_irqs, PROMINTR_MAX); in scan_one_device() 658 op->archdata.num_irqs = PROMINTR_MAX; in scan_one_device() 660 memcpy(op->archdata.irqs, irq, op->archdata.num_irqs * 4); in scan_one_device() 662 op->archdata.num_irqs = 0; in scan_one_device() 666 for (i = 0; i < op->archdata.num_irqs; i++) in scan_one_device() 667 op->archdata.irqs[i] = build_one_device_irq(op, parent, op->archdata.irqs[i]); in scan_one_device()
|
D | sbus.c | 63 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()
|
D | pci.c | 278 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()
|
D | pci_sun4v.c | 86 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 …]
|
D | pci_schizo.c | 866 err = request_irq(op->archdata.irqs[1], schizo_ue_intr, 0, in tomatillo_register_error_handlers() 873 err = request_irq(op->archdata.irqs[2], schizo_ce_intr, 0, in tomatillo_register_error_handlers() 881 err = request_irq(op->archdata.irqs[0], schizo_pcierr_intr, 0, in tomatillo_register_error_handlers() 884 err = request_irq(op->archdata.irqs[0], schizo_pcierr_intr, 0, in tomatillo_register_error_handlers() 892 err = request_irq(op->archdata.irqs[3], schizo_safarierr_intr, 0, in tomatillo_register_error_handlers() 961 err = request_irq(op->archdata.irqs[1], schizo_ue_intr, 0, in schizo_register_error_handlers() 968 err = request_irq(op->archdata.irqs[2], schizo_ce_intr, 0, in schizo_register_error_handlers() 976 err = request_irq(op->archdata.irqs[0], schizo_pcierr_intr, 0, in schizo_register_error_handlers() 979 err = request_irq(op->archdata.irqs[0], schizo_pcierr_intr, 0, in schizo_register_error_handlers() 987 err = request_irq(op->archdata.irqs[3], schizo_safarierr_intr, 0, in schizo_register_error_handlers()
|
D | pci_sabre.c | 337 if (op->archdata.num_irqs < 4) in sabre_register_error_handlers() 349 err = request_irq(op->archdata.irqs[1], sabre_ue_intr, 0, "SABRE_UE", pbm); in sabre_register_error_handlers() 359 err = request_irq(op->archdata.irqs[2], sabre_ce_intr, 0, "SABRE_CE", pbm); in sabre_register_error_handlers() 363 err = request_irq(op->archdata.irqs[0], psycho_pcierr_intr, 0, in sabre_register_error_handlers()
|
D | pci_psycho.c | 309 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()
|
D | leon_pci_grpci2.c | 730 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()
|
D | power.c | 41 unsigned int irq = op->archdata.irqs[0]; in power_probe()
|
/linux-6.12.1/drivers/input/serio/ |
D | i8042-sparcio.h | 65 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.12.1/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.12.1/arch/sparc/mm/ |
D | io-unit.c | 66 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()
|
D | iommu.c | 132 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.12.1/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.12.1/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.12.1/arch/arm/mach-omap2/ |
D | omap_device.c | 222 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()
|
D | omap_device.h | 76 return pdev ? pdev->archdata.od : NULL; in to_omap_device()
|
/linux-6.12.1/arch/arm/include/asm/ |
D | device.h | 24 #define to_dma_iommu_mapping(dev) ((dev)->archdata.mapping)
|
/linux-6.12.1/drivers/macintosh/ |
D | macio_asic.c | 378 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.12.1/arch/sparc/include/asm/ |
D | parport_64.h | 123 op->archdata.irqs[0], PARPORT_DMA_NOFIFO, in ecpp_probe() 173 op->archdata.irqs[0], in ecpp_probe()
|
/linux-6.12.1/drivers/sbus/char/ |
D | bbc_i2c.c | 320 if (request_irq(op->archdata.irqs[0], bbc_i2c_interrupt, in attach_one_i2c() 372 free_irq(op->archdata.irqs[0], bp); in bbc_i2c_probe() 391 free_irq(op->archdata.irqs[0], bp); in bbc_i2c_remove()
|
/linux-6.12.1/sound/aoa/soundbus/i2sbus/ |
D | core.c | 223 dev->sound.ofdev.archdata.dma_mask = macio->ofdev.archdata.dma_mask; in i2sbus_add_dev() 225 dev->sound.ofdev.dev.dma_mask = &dev->sound.ofdev.archdata.dma_mask; in i2sbus_add_dev()
|