Searched refs:internal_addr (Results 1 – 9 of 9) sorted by relevance
/linux-6.12.1/drivers/net/ethernet/ti/ |
D | tlan.h | 444 static inline u8 tlan_dio_read8(u16 base_addr, u16 internal_addr) in tlan_dio_read8() argument 446 outw(internal_addr, base_addr + TLAN_DIO_ADR); in tlan_dio_read8() 447 return inb((base_addr + TLAN_DIO_DATA) + (internal_addr & 0x3)); in tlan_dio_read8() 454 static inline u16 tlan_dio_read16(u16 base_addr, u16 internal_addr) in tlan_dio_read16() argument 456 outw(internal_addr, base_addr + TLAN_DIO_ADR); in tlan_dio_read16() 457 return inw((base_addr + TLAN_DIO_DATA) + (internal_addr & 0x2)); in tlan_dio_read16() 464 static inline u32 tlan_dio_read32(u16 base_addr, u16 internal_addr) in tlan_dio_read32() argument 466 outw(internal_addr, base_addr + TLAN_DIO_ADR); in tlan_dio_read32() 474 static inline void tlan_dio_write8(u16 base_addr, u16 internal_addr, u8 data) in tlan_dio_write8() argument 476 outw(internal_addr, base_addr + TLAN_DIO_ADR); in tlan_dio_write8() [all …]
|
/linux-6.12.1/drivers/uio/ |
D | uio_mf624.c | 35 void __iomem *INTCSR_reg = info->mem[0].internal_addr + INTCSR; in mf624_disable_interrupt() 63 void __iomem *INTCSR_reg = info->mem[0].internal_addr + INTCSR; in mf624_enable_interrupt() 90 void __iomem *INTCSR_reg = info->mem[0].internal_addr + INTCSR; in mf624_irq_handler() 129 mem->internal_addr = pci_ioremap_bar(dev, bar); in mf624_setup_mem() 130 if (!mem->internal_addr) in mf624_setup_mem() 180 iounmap(info->mem[2].internal_addr); in mf624_pci_probe() 182 iounmap(info->mem[1].internal_addr); in mf624_pci_probe() 184 iounmap(info->mem[0].internal_addr); in mf624_pci_probe() 205 iounmap(info->mem[0].internal_addr); in mf624_pci_remove() 206 iounmap(info->mem[1].internal_addr); in mf624_pci_remove() [all …]
|
D | uio_sercos3.c | 55 void __iomem *ier0 = info->mem[3].internal_addr + IER0_OFFSET; in sercos3_disable_interrupts() 68 void __iomem *ier0 = info->mem[3].internal_addr + IER0_OFFSET; in sercos3_enable_interrupts() 78 void __iomem *isr0 = info->mem[3].internal_addr + ISR0_OFFSET; in sercos3_handler() 79 void __iomem *ier0 = info->mem[3].internal_addr + IER0_OFFSET; in sercos3_handler() 111 info->mem[n].internal_addr = ioremap(pci_resource_start(dev, pci_bar), in sercos3_setup_iomem() 113 if (!info->mem[n].internal_addr) in sercos3_setup_iomem() 171 if (info->mem[i].internal_addr) in sercos3_pci_probe() 172 iounmap(info->mem[i].internal_addr); in sercos3_pci_probe() 189 if (info->mem[i].internal_addr) in sercos3_pci_remove() 190 iounmap(info->mem[i].internal_addr); in sercos3_pci_remove()
|
D | uio_netx.c | 34 void __iomem *int_enable_reg = dev_info->mem[0].internal_addr in netx_handler() 36 void __iomem *int_status_reg = dev_info->mem[0].internal_addr in netx_handler() 84 info->mem[0].internal_addr = ioremap(pci_resource_start(dev, bar), in netx_pci_probe() 87 if (!info->mem[0].internal_addr) in netx_pci_probe() 98 iowrite32(0, info->mem[0].internal_addr + DPM_HOST_INT_EN0); in netx_pci_probe() 110 iounmap(info->mem[0].internal_addr); in netx_pci_probe() 123 iowrite32(0, info->mem[0].internal_addr + DPM_HOST_INT_EN0); in netx_pci_remove() 127 iounmap(info->mem[0].internal_addr); in netx_pci_remove()
|
D | uio_cif.c | 29 void __iomem *plx_intscr = dev_info->mem[0].internal_addr in hilscher_handler() 59 info->mem[0].internal_addr = pci_ioremap_bar(dev, 0); in hilscher_pci_probe() 60 if (!info->mem[0].internal_addr) in hilscher_pci_probe() 90 iounmap(info->mem[0].internal_addr); in hilscher_pci_probe() 105 iounmap(info->mem[0].internal_addr); in hilscher_pci_remove()
|
D | uio_fsl_elbc_gpcm.c | 158 void __iomem *reg_int_en = info->mem[0].internal_addr + in netx5152_irq_handler() 161 void __iomem *reg_int_stat = info->mem[0].internal_addr + in netx5152_irq_handler() 190 iowrite32(0, info->mem[0].internal_addr + win0_offset + in netx5152_init() 200 iowrite32(0, info->mem[0].internal_addr + DPM_HOST_WIN0_OFFSET + in netx5152_shutdown() 379 info->mem[0].internal_addr = ioremap(res.start, resource_size(&res)); in uio_fsl_elbc_gpcm_probe() 380 if (!info->mem[0].internal_addr) { in uio_fsl_elbc_gpcm_probe() 426 iounmap(info->mem[0].internal_addr); in uio_fsl_elbc_gpcm_probe() 439 iounmap(info->mem[0].internal_addr); in uio_fsl_elbc_gpcm_remove()
|
/linux-6.12.1/include/linux/ |
D | uio_driver.h | 49 void __iomem *internal_addr; member
|
/linux-6.12.1/Documentation/driver-api/ |
D | uio-howto.rst | 291 - ``void *internal_addr``: If you have to access this memory region 295 it in ``addr``. Use ``internal_addr`` instead to remember such an
|
/linux-6.12.1/drivers/net/ethernet/broadcom/ |
D | cnic.c | 1103 uinfo->mem[0].internal_addr = dev->regview; in cnic_init_uio()
|