Home
last modified time | relevance | path

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

/linux-6.6.21/drivers/usb/mtu3/
Dmtu3_host.c131 void __iomem *ibase = ssusb->ippc_base; in ssusb_host_enable() local
140 mtu3_clrbits(ibase, U3D_SSUSB_IP_PW_CTRL1, SSUSB_IP_HOST_PDN); in ssusb_host_enable()
150 value = mtu3_readl(ibase, SSUSB_U3_CTRL(i)); in ssusb_host_enable()
153 mtu3_writel(ibase, SSUSB_U3_CTRL(i), value); in ssusb_host_enable()
161 value = mtu3_readl(ibase, SSUSB_U2_CTRL(i)); in ssusb_host_enable()
164 mtu3_writel(ibase, SSUSB_U2_CTRL(i), value); in ssusb_host_enable()
176 void __iomem *ibase = ssusb->ippc_base; in ssusb_host_disable() local
187 value = mtu3_readl(ibase, SSUSB_U3_CTRL(i)); in ssusb_host_disable()
189 mtu3_writel(ibase, SSUSB_U3_CTRL(i), value); in ssusb_host_disable()
197 value = mtu3_readl(ibase, SSUSB_U2_CTRL(i)); in ssusb_host_disable()
[all …]
Dmtu3_dr.c32 void __iomem *ibase = ssusb->ippc_base; in ssusb_port0_switch() local
40 value = mtu3_readl(ibase, SSUSB_U2_CTRL(0)); in ssusb_port0_switch()
42 mtu3_writel(ibase, SSUSB_U2_CTRL(0), value); in ssusb_port0_switch()
45 value = mtu3_readl(ibase, SSUSB_U2_CTRL(0)); in ssusb_port0_switch()
49 mtu3_writel(ibase, SSUSB_U2_CTRL(0), value); in ssusb_port0_switch()
52 value = mtu3_readl(ibase, SSUSB_U3_CTRL(0)); in ssusb_port0_switch()
54 mtu3_writel(ibase, SSUSB_U3_CTRL(0), value); in ssusb_port0_switch()
57 value = mtu3_readl(ibase, SSUSB_U3_CTRL(0)); in ssusb_port0_switch()
61 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.c25 void __iomem *ibase = ssusb->ippc_base; in ssusb_check_clocks() local
32 ret = readl_poll_timeout(ibase + U3D_SSUSB_IP_PW_STS1, value, in ssusb_check_clocks()
39 ret = readl_poll_timeout(ibase + U3D_SSUSB_IP_PW_STS2, value, in ssusb_check_clocks()
/linux-6.6.21/arch/powerpc/sysdev/xics/
Dics-native.c35 u32 ibase; member
42 return in->base + 0x800 + ((vec - in->ibase) << 2); in ics_native_xive()
54 if (vec < in->ibase || vec >= (in->ibase + in->icount)) in ics_native_unmask_irq()
91 if (vec < in->ibase || vec >= (in->ibase + in->icount)) in ics_native_mask_irq()
106 if (vec < in->ibase || vec >= (in->ibase + in->icount)) in ics_native_set_affinity()
140 if (hw_irq < in->ibase || hw_irq >= (in->ibase + in->icount)) in ics_native_check()
150 if (vec < in->ibase || vec >= (in->ibase + in->icount)) in ics_native_mask_unknown()
161 if (vec < in->ibase || vec >= (in->ibase + in->icount)) in ics_native_get_server()
218 ics->ibase = ranges[0]; in ics_native_add_one()
222 ics->ibase, ics->ibase + ics->icount - 1); in ics_native_add_one()
/linux-6.6.21/fs/efs/
Dinode.c207 int ibase, ioffset, dirext, direxts, indext, indexts; in efs_map_block() local
257 ibase = 0; in efs_map_block()
258 for(dirext = 0; cur < ibase && dirext < direxts; dirext++) { in efs_map_block()
259 ibase += in->extents[dirext].cooked.ex_length * in efs_map_block()
273 (cur - ibase) / in efs_map_block()
275 ioffset = (cur - ibase) % in efs_map_block()
/linux-6.6.21/drivers/parisc/
Dsba_iommu.c310 #define SBA_IOVA(ioc,iovp,offset,hint_reg) ((ioc->ibase) | (iovp) | (offset))
354 BUG_ON(ioc->ibase & ~IOVP_MASK); in sba_search_bitmap()
355 shift = ioc->ibase >> IOVP_SHIFT; in sba_search_bitmap()
695 return((int)(mask >= (ioc->ibase - 1 + in sba_dma_supported()
1242 lba_set_iregs(lba, ibd->ioc->ibase, ibd->ioc->imask); in setup_ibase_imask_callback()
1286 ioc->ibase = READ_REG(ioc->ioc_hpa + IOC_IBASE) & ~0x1fffffULL; in sba_ioc_init_pluto()
1289 if ((ioc->ibase < 0xfed00000UL) && ((ioc->ibase + iova_space_size) > 0xfee00000UL)) { in sba_ioc_init_pluto()
1364 WRITE_REG(ioc->ibase | 1, ioc->ioc_hpa + IOC_IBASE); in sba_ioc_init_pluto()
1370 WRITE_REG(ioc->ibase | 31, ioc->ioc_hpa + IOC_PCOM); in sba_ioc_init_pluto()
1466 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.c1696 void lba_set_iregs(struct parisc_device *lba, u32 ibase, u32 imask) in lba_set_iregs() argument
1703 WARN_ON((ibase & 0x001fffff) != 0); in lba_set_iregs()
1706 DBG("%s() ibase 0x%x imask 0x%x\n", __func__, ibase, imask); in lba_set_iregs()
1708 WRITE_REG32( ibase, base_addr + LBA_IBASE); in lba_set_iregs()
/linux-6.6.21/arch/powerpc/mm/nohash/
Dbook3e_pgtable.c122 unsigned int *ibase = &interrupt_base_book3e; in __patch_exception() local
131 patch_branch(ibase + (exc / 4) + 1, addr, 0); in __patch_exception()
/linux-6.6.21/arch/ia64/hp/common/
Dsba_iommu.c202 unsigned long ibase; /* pdir IOV Space base */ member
427 #define SBA_IOVA(ioc,iovp,offset) ((ioc->ibase) | (iovp) | (offset))
428 #define SBA_IOVP(ioc,iova) ((iova) & ~(ioc->ibase))
490 BUG_ON(ioc->ibase & ~iovp_mask); in sba_search_bitmap()
491 shift = ioc->ibase >> iovp_shift; in sba_search_bitmap()
905 WRITE_REG(iovp | ioc->ibase, ioc->ioc_hpa+IOC_PCOM); in sba_mark_invalid()
1054 if (likely((iova & ioc->imask) != ioc->ibase)) { in sba_unmap_page()
1238 dma_sg->dma_address = pide | ioc->ibase; in sba_fill_pdir()
1596 ioc->ibase = READ_REG(ioc->ioc_hpa + IOC_IBASE) & ~0x1UL; in ioc_iova_init()
1602 __func__, ioc->ioc_hpa, ioc->ibase, ioc->imask, in ioc_iova_init()
[all …]
/linux-6.6.21/arch/mips/include/asm/octeon/
Dcvmx-mixx-defs.h215 uint64_t ibase:37; member
219 uint64_t ibase:37;
229 uint64_t ibase:33; member
233 uint64_t ibase:33;
/linux-6.6.21/drivers/fpga/
Ddfl.c1012 unsigned int i, ibase, inr = 0; in parse_feature_irqs() local
1033 ibase = FIELD_GET(PORT_UINT_CAP_FST_VECT, v); in parse_feature_irqs()
1038 ibase = FIELD_GET(PORT_ERROR_CAP_INT_VECT, v); in parse_feature_irqs()
1046 ibase = FIELD_GET(FME_ERROR_CAP_INT_VECT, v); in parse_feature_irqs()
1063 ibase = FIELD_GET(DFHv1_PARAM_MSI_X_STARTV, *p); in parse_feature_irqs()
1079 fid, ibase, inr); in parse_feature_irqs()
1081 if (ibase + inr > binfo->nr_irqs) { in parse_feature_irqs()
1088 virq = binfo->irq_table[ibase + i]; in parse_feature_irqs()
1097 finfo->irq_base = ibase; in parse_feature_irqs()
/linux-6.6.21/arch/parisc/include/asm/
Dropes.h33 unsigned long ibase; /* pdir IOV Space base - shared w/lba_pci */ member
Dprocessor.h324 extern void lba_set_iregs(struct parisc_device *lba, u32 ibase, u32 imask);
/linux-6.6.21/arch/powerpc/include/asm/
Dcpm2.h652 ushort ibase; /* IDMA buffer descriptor table base address */ member
/linux-6.6.21/drivers/net/ethernet/cavium/octeon/
Docteon_mgmt.c1050 iring1.s.ibase = p->rx_ring_handle >> 3; in octeon_mgmt_open()