Home
last modified time | relevance | path

Searched refs:ibase (Results 1 – 9 of 9) sorted by relevance

/drivers/usb/mtu3/
Dmtu3_host.c109 void __iomem *ibase = ssusb->ippc_base; in ssusb_host_enable() local
118 mtu3_clrbits(ibase, U3D_SSUSB_IP_PW_CTRL1, SSUSB_IP_HOST_PDN); in ssusb_host_enable()
128 value = mtu3_readl(ibase, SSUSB_U3_CTRL(i)); in ssusb_host_enable()
131 mtu3_writel(ibase, SSUSB_U3_CTRL(i), value); in ssusb_host_enable()
136 value = mtu3_readl(ibase, SSUSB_U2_CTRL(i)); in ssusb_host_enable()
139 mtu3_writel(ibase, SSUSB_U2_CTRL(i), value); in ssusb_host_enable()
151 void __iomem *ibase = ssusb->ippc_base; in ssusb_host_disable() local
163 value = mtu3_readl(ibase, SSUSB_U3_CTRL(i)); in ssusb_host_disable()
166 mtu3_writel(ibase, SSUSB_U3_CTRL(i), value); in ssusb_host_disable()
171 value = mtu3_readl(ibase, SSUSB_U2_CTRL(i)); in ssusb_host_disable()
[all …]
Dmtu3_dr.c52 void __iomem *ibase = ssusb->ippc_base; in ssusb_port0_switch() local
60 value = mtu3_readl(ibase, SSUSB_U2_CTRL(0)); in ssusb_port0_switch()
62 mtu3_writel(ibase, SSUSB_U2_CTRL(0), value); in ssusb_port0_switch()
65 value = mtu3_readl(ibase, SSUSB_U2_CTRL(0)); in ssusb_port0_switch()
69 mtu3_writel(ibase, SSUSB_U2_CTRL(0), value); in ssusb_port0_switch()
72 value = mtu3_readl(ibase, SSUSB_U3_CTRL(0)); in ssusb_port0_switch()
74 mtu3_writel(ibase, SSUSB_U3_CTRL(0), value); in ssusb_port0_switch()
77 value = mtu3_readl(ibase, SSUSB_U3_CTRL(0)); in ssusb_port0_switch()
81 mtu3_writel(ibase, SSUSB_U3_CTRL(0), value); in ssusb_port0_switch()
Dmtu3_core.c98 void __iomem *ibase = mtu->ippc_base; in mtu3_device_enable() local
101 mtu3_clrbits(ibase, U3D_SSUSB_IP_PW_CTRL2, SSUSB_IP_DEV_PDN); in mtu3_device_enable()
105 mtu3_clrbits(ibase, SSUSB_U3_CTRL(0), in mtu3_device_enable()
109 mtu3_clrbits(ibase, SSUSB_U2_CTRL(0), in mtu3_device_enable()
114 mtu3_setbits(ibase, SSUSB_U2_CTRL(0), SSUSB_U2_PORT_OTG_SEL); in mtu3_device_enable()
116 mtu3_setbits(ibase, SSUSB_U3_CTRL(0), in mtu3_device_enable()
125 void __iomem *ibase = mtu->ippc_base; in mtu3_device_disable() local
128 mtu3_setbits(ibase, SSUSB_U3_CTRL(0), in mtu3_device_disable()
131 mtu3_setbits(ibase, SSUSB_U2_CTRL(0), in mtu3_device_disable()
135 mtu3_clrbits(ibase, SSUSB_U2_CTRL(0), SSUSB_U2_PORT_OTG_SEL); in mtu3_device_disable()
[all …]
Dmtu3_plat.c24 void __iomem *ibase = ssusb->ippc_base; in ssusb_check_clocks() local
31 ret = readl_poll_timeout(ibase + U3D_SSUSB_IP_PW_STS1, value, in ssusb_check_clocks()
38 ret = readl_poll_timeout(ibase + U3D_SSUSB_IP_PW_STS2, value, in ssusb_check_clocks()
/drivers/parisc/
Dsba_iommu.c306 #define SBA_IOVA(ioc,iovp,offset,hint_reg) ((ioc->ibase) | (iovp) | (offset))
349 BUG_ON(ioc->ibase & ~IOVP_MASK); in sba_search_bitmap()
350 shift = ioc->ibase >> IOVP_SHIFT; in sba_search_bitmap()
689 return((int)(mask >= (ioc->ibase - 1 + in sba_dma_supported()
1232 lba_set_iregs(lba, ibd->ioc->ibase, ibd->ioc->imask); in setup_ibase_imask_callback()
1276 ioc->ibase = READ_REG(ioc->ioc_hpa + IOC_IBASE) & ~0x1fffffULL; in sba_ioc_init_pluto()
1279 if ((ioc->ibase < 0xfed00000UL) && ((ioc->ibase + iova_space_size) > 0xfee00000UL)) { in sba_ioc_init_pluto()
1354 WRITE_REG(ioc->ibase | 1, ioc->ioc_hpa + IOC_IBASE); in sba_ioc_init_pluto()
1360 WRITE_REG(ioc->ibase | 31, ioc->ioc_hpa + IOC_PCOM); in sba_ioc_init_pluto()
1456 ioc->ibase = 0; in sba_ioc_init()
[all …]
Diommu-helpers.h57 sg_dma_address(dma_sg) = pide | ioc->ibase; in iommu_fill_pdir()
Dlba_pci.c1698 void lba_set_iregs(struct parisc_device *lba, u32 ibase, u32 imask) in lba_set_iregs() argument
1705 WARN_ON((ibase & 0x001fffff) != 0); in lba_set_iregs()
1708 DBG("%s() ibase 0x%x imask 0x%x\n", __func__, ibase, imask); in lba_set_iregs()
1710 WRITE_REG32( ibase, base_addr + LBA_IBASE); in lba_set_iregs()
/drivers/fpga/
Ddfl.c943 unsigned int i, ibase, inr = 0; in parse_feature_irqs() local
964 ibase = FIELD_GET(PORT_UINT_CAP_FST_VECT, v); in parse_feature_irqs()
969 ibase = FIELD_GET(PORT_ERROR_CAP_INT_VECT, v); in parse_feature_irqs()
974 ibase = FIELD_GET(FME_ERROR_CAP_INT_VECT, v); in parse_feature_irqs()
986 fid, ibase, inr); in parse_feature_irqs()
988 if (ibase + inr > binfo->nr_irqs) { in parse_feature_irqs()
995 virq = binfo->irq_table[ibase + i]; in parse_feature_irqs()
1004 *irq_base = ibase; in parse_feature_irqs()
/drivers/net/ethernet/cavium/octeon/
Docteon_mgmt.c1053 iring1.s.ibase = p->rx_ring_handle >> 3; in octeon_mgmt_open()