Home
last modified time | relevance | path

Searched refs:base_addr (Results 1 – 25 of 455) sorted by relevance

12345678910>>...19

/linux/include/trace/events/
A Dpercpu.h22 __field( void *, base_addr )
32 __entry->base_addr = base_addr;
47 TP_ARGS(base_addr, off, ptr),
56 __entry->base_addr = base_addr;
92 TP_PROTO(void *base_addr),
94 TP_ARGS(base_addr),
97 __field( void *, base_addr )
101 __entry->base_addr = base_addr;
109 TP_PROTO(void *base_addr),
111 TP_ARGS(base_addr),
[all …]
/linux/drivers/irqchip/
A Dirq-ftintc010.c27 #define FT010_IRQ_SOURCE(base_addr) (base_addr + 0x00) argument
28 #define FT010_IRQ_MASK(base_addr) (base_addr + 0x04) argument
29 #define FT010_IRQ_CLEAR(base_addr) (base_addr + 0x08) argument
31 #define FT010_IRQ_MODE(base_addr) (base_addr + 0x0C) argument
33 #define FT010_IRQ_POLARITY(base_addr) (base_addr + 0x10) argument
34 #define FT010_IRQ_STATUS(base_addr) (base_addr + 0x14) argument
35 #define FT010_FIQ_SOURCE(base_addr) (base_addr + 0x20) argument
36 #define FT010_FIQ_MASK(base_addr) (base_addr + 0x24) argument
37 #define FT010_FIQ_CLEAR(base_addr) (base_addr + 0x28) argument
38 #define FT010_FIQ_MODE(base_addr) (base_addr + 0x2C) argument
[all …]
/linux/drivers/char/ipmi/
A Dipmi_dmi.c70 p.addr = base_addr; in dmi_add_platform_ipmi()
83 info->addr = base_addr; in dmi_add_platform_ipmi()
101 unsigned long base_addr) in ipmi_dmi_get_slave_addr() argument
108 info->addr == base_addr) in ipmi_dmi_get_slave_addr()
130 unsigned long base_addr; in dmi_decode_ipmi() local
143 if (!base_addr) { in dmi_decode_ipmi()
150 base_addr = data[DMI_IPMI_ADDR] >> 1; in dmi_decode_ipmi()
151 if (base_addr == 0) { in dmi_decode_ipmi()
161 if (base_addr & 1) { in dmi_decode_ipmi()
163 base_addr &= DMI_IPMI_IO_MASK; in dmi_decode_ipmi()
[all …]
/linux/drivers/parisc/
A Ddino.c178 void __iomem *base_addr = d->hba.base_addr; in dino_cfg_read() local
186 __raw_writel(v, base_addr + DINO_PCI_ADDR); in dino_cfg_read()
194 *val = readl(base_addr + DINO_CONFIG_DATA); in dino_cfg_read()
213 void __iomem *base_addr = d->hba.base_addr; in dino_cfg_write() local
222 __raw_readl(base_addr + DINO_CONFIG_DATA); in dino_cfg_write()
225 __raw_writel(v, base_addr + DINO_PCI_ADDR); in dino_cfg_write()
232 writel(val, base_addr + DINO_CONFIG_DATA); in dino_cfg_write()
323 __raw_readl(dino_dev->hba.base_addr+DINO_IPR); in dino_unmask_irq()
396 dino_dev->hba.base_addr, mask); in dino_isr()
685 dino_dev->hba.base_addr+DINO_IO_COMMAND); in dino_card_init()
[all …]
A Dlba_pci.c358 LBA_CFG_RESTORE(d, d->hba.base_addr); in lba_rd_cfg()
421 LBA_CFG_RESTORE(d, d->hba.base_addr); in lba_wr_cfg()
1362 d->hba.base_addr, in lba_hw_init()
1363 READ_REG64(d->hba.base_addr + LBA_STAT_CTL), in lba_hw_init()
1368 READ_REG64(d->hba.base_addr + LBA_ARB_MASK), in lba_hw_init()
1369 READ_REG64(d->hba.base_addr + LBA_ARB_PRI), in lba_hw_init()
1370 READ_REG64(d->hba.base_addr + LBA_ARB_MODE), in lba_hw_init()
1554 lba_dev->hba.base_addr = addr; in lba_driver_probe()
1705 WRITE_REG32( imask, base_addr + LBA_IMASK); in lba_set_iregs()
1706 WRITE_REG32( ibase, base_addr + LBA_IBASE); in lba_set_iregs()
[all …]
/linux/drivers/net/ethernet/ti/
A Dtlan.c504 dev->base_addr = pci_io_base; in tlan_probe1()
521 dev->base_addr = ioaddr; in tlan_probe1()
579 (int)dev->base_addr, in tlan_probe1()
1221 tlan_print_dio(dev->base_addr); in tlan_get_stats()
2507 tlan_mii_sync(dev->base_addr); in tlan_phy_power_down()
2513 tlan_mii_sync(dev->base_addr); in tlan_phy_power_down()
2534 tlan_mii_sync(dev->base_addr); in tlan_phy_power_up()
2537 tlan_mii_sync(dev->base_addr); in tlan_phy_power_up()
2559 tlan_mii_sync(dev->base_addr); in tlan_phy_reset()
2848 tlan_mii_sync(dev->base_addr); in __tlan_mii_read_reg()
[all …]
A Dtlan.h444 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()
456 outw(internal_addr, base_addr + TLAN_DIO_ADR); in tlan_dio_read16()
466 outw(internal_addr, base_addr + TLAN_DIO_ADR); in tlan_dio_read32()
467 return inl(base_addr + TLAN_DIO_DATA); in tlan_dio_read32()
476 outw(internal_addr, base_addr + TLAN_DIO_ADR); in tlan_dio_write8()
477 outb(data, base_addr + TLAN_DIO_DATA + (internal_addr & 0x3)); in tlan_dio_write8()
486 outw(internal_addr, base_addr + TLAN_DIO_ADR); in tlan_dio_write16()
487 outw(data, base_addr + TLAN_DIO_DATA + (internal_addr & 0x2)); in tlan_dio_write16()
496 outw(internal_addr, base_addr + TLAN_DIO_ADR); in tlan_dio_write32()
[all …]
/linux/drivers/gpio/
A Dgpio-zynq.c128 void __iomem *base_addr; member
674 readl_relaxed(gpio->base_addr + in zynq_gpio_save_context()
705 gpio->base_addr + in zynq_gpio_restore_context()
708 gpio->base_addr + in zynq_gpio_restore_context()
711 gpio->base_addr + in zynq_gpio_restore_context()
714 gpio->base_addr + in zynq_gpio_restore_context()
717 gpio->base_addr + in zynq_gpio_restore_context()
720 gpio->base_addr + in zynq_gpio_restore_context()
723 gpio->base_addr + in zynq_gpio_restore_context()
914 if (IS_ERR(gpio->base_addr)) in zynq_gpio_probe()
[all …]
A Dgpio-ts4800.c26 void __iomem *base_addr; in ts4800_gpio_probe() local
34 base_addr = devm_platform_ioremap_resource(pdev, 0); in ts4800_gpio_probe()
35 if (IS_ERR(base_addr)) in ts4800_gpio_probe()
36 return PTR_ERR(base_addr); in ts4800_gpio_probe()
48 retval = bgpio_init(chip, &pdev->dev, 2, base_addr + INPUT_REG_OFFSET, in ts4800_gpio_probe()
49 base_addr + OUTPUT_REG_OFFSET, NULL, in ts4800_gpio_probe()
50 base_addr + DIRECTION_REG_OFFSET, NULL, 0); in ts4800_gpio_probe()
/linux/drivers/fpga/
A Daltera-freeze-bridge.c33 void __iomem *base_addr; member
44 void __iomem *csr_illegal_req_addr = priv->base_addr + in altera_freeze_br_req_ack()
90 void __iomem *csr_ctrl_addr = priv->base_addr + in altera_freeze_br_do_freeze()
125 void __iomem *csr_ctrl_addr = priv->base_addr + in altera_freeze_br_do_unfreeze()
213 void __iomem *base_addr; in altera_freeze_br_probe() local
223 base_addr = devm_ioremap_resource(dev, res); in altera_freeze_br_probe()
224 if (IS_ERR(base_addr)) in altera_freeze_br_probe()
225 return PTR_ERR(base_addr); in altera_freeze_br_probe()
227 revision = readl(base_addr + FREEZE_CSR_REG_VERSION); in altera_freeze_br_probe()
243 status = readl(base_addr + FREEZE_CSR_STATUS_OFFSET); in altera_freeze_br_probe()
[all …]
/linux/drivers/staging/axis-fifo/
A Daxis-fifo.c336 fifo->base_addr + XLLF_IER_OFFSET); in reset_ip_core()
588 ioread32(fifo->base_addr in axis_fifo_irq()
598 fifo->base_addr + XLLF_ISR_OFFSET); in axis_fifo_irq()
606 fifo->base_addr + XLLF_ISR_OFFSET); in axis_fifo_irq()
611 fifo->base_addr + XLLF_ISR_OFFSET); in axis_fifo_irq()
616 fifo->base_addr + XLLF_ISR_OFFSET); in axis_fifo_irq()
621 fifo->base_addr + XLLF_ISR_OFFSET); in axis_fifo_irq()
626 fifo->base_addr + XLLF_ISR_OFFSET); in axis_fifo_irq()
631 fifo->base_addr + XLLF_ISR_OFFSET); in axis_fifo_irq()
857 if (IS_ERR(fifo->base_addr)) { in axis_fifo_probe()
[all …]
/linux/drivers/net/hamradio/
A Dbaycom_ser_fdx.c262 msr = inb(MSR(dev->base_addr)); in ser12_interrupt()
269 inb(LSR(dev->base_addr)); in ser12_interrupt()
273 inb(RBR(dev->base_addr)); in ser12_interrupt()
302 iir = inb(IIR(dev->base_addr)); in ser12_interrupt()
381 if (!dev->base_addr || dev->base_addr > 0xffff-SER12_EXTENT || in ser12_open()
395 dev->base_addr); in ser12_open()
407 outb(0x0d, MCR(dev->base_addr)); in ser12_open()
408 outb(0, IER(dev->base_addr)); in ser12_open()
425 outb(0x0a, IER(dev->base_addr)); in ser12_open()
449 outb(0, IER(dev->base_addr)); in ser12_close()
[all …]
A Dbaycom_ser_hdx.c160 outb(0, DLM(dev->base_addr)); in ser12_set_divisor()
167 outb(0x00, THR(dev->base_addr)); in ser12_set_divisor()
377 inb(LSR(dev->base_addr)); in ser12_interrupt()
381 inb(RBR(dev->base_addr)); in ser12_interrupt()
398 inb(MSR(dev->base_addr)); in ser12_interrupt()
401 iir = inb(IIR(dev->base_addr)); in ser12_interrupt()
463 if (!dev->base_addr || dev->base_addr > 0x1000-SER12_EXTENT || in ser12_open()
476 outb(0, IER(dev->base_addr)); in ser12_open()
485 outb(2, IER(dev->base_addr)); in ser12_open()
508 outb(0, IER(dev->base_addr)); in ser12_close()
[all …]
/linux/drivers/net/ethernet/xilinx/
A Dxilinx_emaclite.c134 void __iomem *base_addr; member
166 drvdata->base_addr + XEL_TSR_OFFSET); in xemaclite_enable_interrupts()
192 drvdata->base_addr + XEL_TSR_OFFSET); in xemaclite_disable_interrupts()
197 drvdata->base_addr + XEL_RSR_OFFSET); in xemaclite_disable_interrupts()
660 void __iomem *base_addr = lp->base_addr; in xemaclite_interrupt() local
756 lp->base_addr + XEL_MDIOADDR_OFFSET); in xemaclite_mdio_read()
758 lp->base_addr + XEL_MDIOCTRL_OFFSET); in xemaclite_mdio_read()
805 lp->base_addr + XEL_MDIOADDR_OFFSET); in xemaclite_mdio_write()
808 lp->base_addr + XEL_MDIOCTRL_OFFSET); in xemaclite_mdio_write()
1147 if (IS_ERR(lp->base_addr)) { in xemaclite_of_probe()
[all …]
/linux/drivers/net/ethernet/8390/
A Dsmc-ultra.c143 int base_addr = dev->base_addr; in do_ultra_probe() local
147 return ultra_probe1(dev, base_addr); in do_ultra_probe()
148 else if (base_addr != 0) /* Don't probe at all. */ in do_ultra_probe()
278 dev->base_addr = ioaddr+ULTRA_NIC_OFFSET; in ultra_probe1()
360 dev->base_addr = pnp_port_start(idev, 0); in ultra_probe_isapnp()
365 dev->base_addr, dev->irq); in ultra_probe_isapnp()
369 dev->base_addr); in ultra_probe_isapnp()
411 outb_p(E8390_NODMA+E8390_PAGE0, dev->base_addr); in ultra_open()
412 outb(0xff, dev->base_addr + EN0_ERWCNT); in ultra_open()
467 outb(ULTRA_MEMENB, dev->base_addr - ULTRA_NIC_OFFSET); in ultra_block_input()
[all …]
/linux/drivers/clocksource/
A Dtimer-cadence-ttc.c74 void __iomem *base_addr; member
144 readl_relaxed(timer->base_addr + TTC_ISR_OFFSET); in ttc_clock_event_interrupt()
160 return (u64)readl_relaxed(timer->base_addr + in __ttc_clocksource_read()
265 readl_relaxed(ttccs->ttc.base_addr + in ttc_rate_change_clocksource_cb()
291 ttccs->ttc.base_addr + TTC_CLK_CNTRL_OFFSET); in ttc_rate_change_clocksource_cb()
301 ttccs->ttc.base_addr + TTC_CLK_CNTRL_OFFSET); in ttc_rate_change_clocksource_cb()
349 ttccs->ttc.base_addr = base; in ttc_setup_clocksource()
363 ttccs->ttc.base_addr + TTC_CLK_CNTRL_OFFSET); in ttc_setup_clocksource()
365 ttccs->ttc.base_addr + TTC_CNT_CNTRL_OFFSET); in ttc_setup_clocksource()
432 ttcce->ttc.base_addr = base; in ttc_setup_clockevent()
[all …]
/linux/drivers/clk/mediatek/
A Dclk-apmixed.c22 void __iomem *base_addr; member
34 return (readl(tx->base_addr) & REF2USB_EN_MASK) == REF2USB_EN_MASK; in mtk_ref2usb_tx_is_prepared()
42 val = readl(tx->base_addr); in mtk_ref2usb_tx_prepare()
45 writel(val, tx->base_addr); in mtk_ref2usb_tx_prepare()
49 writel(val, tx->base_addr); in mtk_ref2usb_tx_prepare()
52 writel(val, tx->base_addr); in mtk_ref2usb_tx_prepare()
62 val = readl(tx->base_addr); in mtk_ref2usb_tx_unprepare()
64 writel(val, tx->base_addr); in mtk_ref2usb_tx_unprepare()
84 tx->base_addr = reg; in mtk_clk_register_ref2usb_tx()
/linux/arch/sparc/mm/
A Dinit_32.c65 unsigned long start_pfn = sp_banks[i].base_addr >> PAGE_SHIFT; in calc_highpages()
86 last_pfn = (sp_banks[0].base_addr + sp_banks[0].num_bytes) >> PAGE_SHIFT; in calc_max_low_pfn()
88 curr_pfn = sp_banks[i].base_addr >> PAGE_SHIFT; in calc_max_low_pfn()
96 last_pfn = (sp_banks[i].base_addr + sp_banks[i].num_bytes) >> PAGE_SHIFT; in calc_max_low_pfn()
144 end_of_phys_memory = sp_banks[i].base_addr + in bootmem_init()
156 sp_banks[i].base_addr = 0xdeadbeef; in bootmem_init()
158 memblock_add(sp_banks[i].base_addr, in bootmem_init()
161 sp_banks[i+1].base_addr = 0xdeadbeef; in bootmem_init()
166 memblock_add(sp_banks[i].base_addr, sp_banks[i].num_bytes); in bootmem_init()
226 start = sp_banks[i].base_addr; in taint_real_pages()
[all …]
/linux/drivers/net/arcnet/
A Dcom90io.c73 int ioaddr = dev->base_addr; in get_buffer_byte()
85 int ioaddr = dev->base_addr; in put_buffer_byte()
98 int ioaddr = dev->base_addr; in get_whole_buffer()
114 int ioaddr = dev->base_addr; in put_whole_buffer()
224 int ioaddr = dev->base_addr; in com90io_found()
282 short ioaddr = dev->base_addr; in com90io_reset()
313 short ioaddr = dev->base_addr; in com90io_command()
320 short ioaddr = dev->base_addr; in com90io_status()
327 short ioaddr = dev->base_addr; in com90io_setmask()
391 dev->base_addr = io; in com90io_init()
[all …]
/linux/arch/alpha/kernel/
A Dsmc37c669.c1257 base_addr.as_uchar in SMC37c669_enable_device()
1286 base_addr.as_uchar in SMC37c669_enable_device()
1334 base_addr.as_uchar in SMC37c669_enable_device()
1382 base_addr.as_uchar in SMC37c669_enable_device()
1481 base_addr.as_uchar in SMC37c669_disable_device()
1506 base_addr.as_uchar in SMC37c669_disable_device()
1746 base_addr = in SMC37c669_is_device_enabled()
1751 base_addr = in SMC37c669_is_device_enabled()
1756 base_addr = in SMC37c669_is_device_enabled()
1761 base_addr = in SMC37c669_is_device_enabled()
[all …]
/linux/arch/powerpc/include/asm/
A Ddcr-native.h78 static inline unsigned __mfdcri(int base_addr, int base_data, int reg) in __mfdcri() argument
85 mtdcrx(base_addr, reg); in __mfdcri()
88 __mtdcr(base_addr, reg); in __mfdcri()
95 static inline void __mtdcri(int base_addr, int base_data, int reg, in __mtdcri() argument
102 mtdcrx(base_addr, reg); in __mtdcri()
105 __mtdcr(base_addr, reg); in __mtdcri()
111 static inline void __dcri_clrset(int base_addr, int base_data, int reg, in __dcri_clrset() argument
119 mtdcrx(base_addr, reg); in __dcri_clrset()
123 __mtdcr(base_addr, reg); in __dcri_clrset()
/linux/arch/m68k/mvme16x/
A Dconfig.c220 base_addr[CyCAR] = (u_char)port; in mvme16x_cons_write()
221 while (base_addr[CyCCR]) in mvme16x_cons_write()
223 base_addr[CyCCR] = CyENB_XMTR; in mvme16x_cons_write()
225 ier = base_addr[CyIER]; in mvme16x_cons_write()
226 base_addr[CyIER] = CyTxMpty; in mvme16x_cons_write()
240 base_addr[CyTDR] = '\n'; in mvme16x_cons_write()
246 base_addr[CyTDR] = '\r'; in mvme16x_cons_write()
250 base_addr[CyTDR] = *str++; in mvme16x_cons_write()
253 base_addr[CyTEOIR] = 0; in mvme16x_cons_write()
256 base_addr[CyTEOIR] = CyNOTRANS; in mvme16x_cons_write()
[all …]
/linux/drivers/net/ethernet/natsemi/
A Dxtsonic.c71 (0xffff & *((volatile unsigned int *)dev->base_addr+reg))
74 *((volatile unsigned int *)dev->base_addr+reg) = val
127 unsigned int base_addr = dev->base_addr; in sonic_probe1() local
131 if (!request_mem_region(base_addr, 0x100, xtsonic_string)) in sonic_probe1()
188 release_region(dev->base_addr, SONIC_MEM_SIZE); in sonic_probe1()
219 dev->base_addr = resmem->start; in xtsonic_probe()
226 dev->base_addr, dev->dev_addr, dev->irq); in xtsonic_probe()
239 release_region(dev->base_addr, SONIC_MEM_SIZE); in xtsonic_probe()
259 release_region (dev->base_addr, SONIC_MEM_SIZE); in xtsonic_device_remove()
/linux/arch/sparc/prom/
A Dmemory.c24 sp_banks[index].base_addr = (unsigned long) p->start_adr; in prom_meminit_v0()
43 sp_banks[i].base_addr = reg[i].phys_addr; in prom_meminit_v2()
54 if (x->base_addr > y->base_addr) in sp_banks_cmp()
56 if (x->base_addr < y->base_addr) in sp_banks_cmp()
83 sp_banks[num_ents].base_addr = 0xdeadbeef; in prom_meminit()
/linux/drivers/gpu/drm/msm/disp/
A Dmsm_disp_snapshot_util.c10 static void msm_disp_state_dump_regs(u32 **reg, u32 aligned_len, void __iomem *base_addr) in msm_disp_state_dump_regs() argument
23 addr = base_addr; in msm_disp_state_dump_regs()
24 end_addr = base_addr + aligned_len; in msm_disp_state_dump_regs()
49 static void msm_disp_state_print_regs(u32 **reg, u32 len, void __iomem *base_addr, in msm_disp_state_print_regs() argument
57 addr = base_addr; in msm_disp_state_print_regs()
65 (unsigned long)(addr - base_addr), in msm_disp_state_print_regs()
89 msm_disp_state_print_regs(&block->state, block->size, block->base_addr, p); in msm_disp_state_print()
169 void __iomem *base_addr, const char *fmt, ...) in msm_disp_snapshot_add_block() argument
187 new_blk->base_addr = base_addr; in msm_disp_snapshot_add_block()
189 msm_disp_state_dump_regs(&new_blk->state, new_blk->size, base_addr); in msm_disp_snapshot_add_block()

Completed in 113 milliseconds

12345678910>>...19