Home
last modified time | relevance | path

Searched refs:xaddr (Results 1 – 25 of 30) sorted by relevance

12

/linux-6.12.1/arch/alpha/include/asm/
Dcore_mcpcia.h271 __EXTERN_INLINE u8 mcpcia_ioread8(const void __iomem *xaddr) in mcpcia_ioread8() argument
273 unsigned long addr = (unsigned long)xaddr & MCPCIA_MEM_MASK; in mcpcia_ioread8()
274 unsigned long hose = (unsigned long)xaddr & ~MCPCIA_MEM_MASK; in mcpcia_ioread8()
283 __EXTERN_INLINE void mcpcia_iowrite8(u8 b, void __iomem *xaddr) in mcpcia_iowrite8() argument
285 unsigned long addr = (unsigned long)xaddr & MCPCIA_MEM_MASK; in mcpcia_iowrite8()
286 unsigned long hose = (unsigned long)xaddr & ~MCPCIA_MEM_MASK; in mcpcia_iowrite8()
295 __EXTERN_INLINE u16 mcpcia_ioread16(const void __iomem *xaddr) in mcpcia_ioread16() argument
297 unsigned long addr = (unsigned long)xaddr & MCPCIA_MEM_MASK; in mcpcia_ioread16()
298 unsigned long hose = (unsigned long)xaddr & ~MCPCIA_MEM_MASK; in mcpcia_ioread16()
307 __EXTERN_INLINE void mcpcia_iowrite16(u16 b, void __iomem *xaddr) in mcpcia_iowrite16() argument
[all …]
Dcore_t2.h457 __EXTERN_INLINE u8 t2_readb(const volatile void __iomem *xaddr) in t2_readb() argument
459 unsigned long addr = (unsigned long) xaddr - T2_DENSE_MEM; in t2_readb()
468 __EXTERN_INLINE u16 t2_readw(const volatile void __iomem *xaddr) in t2_readw() argument
470 unsigned long addr = (unsigned long) xaddr - T2_DENSE_MEM; in t2_readw()
483 __EXTERN_INLINE u32 t2_readl(const volatile void __iomem *xaddr) in t2_readl() argument
485 unsigned long addr = (unsigned long) xaddr - T2_DENSE_MEM; in t2_readl()
494 __EXTERN_INLINE u64 t2_readq(const volatile void __iomem *xaddr) in t2_readq() argument
496 unsigned long addr = (unsigned long) xaddr - T2_DENSE_MEM; in t2_readq()
507 __EXTERN_INLINE void t2_writeb(u8 b, volatile void __iomem *xaddr) in t2_writeb() argument
509 unsigned long addr = (unsigned long) xaddr - T2_DENSE_MEM; in t2_writeb()
[all …]
Dcore_cia.h345 __EXTERN_INLINE u8 cia_ioread8(const void __iomem *xaddr) in cia_ioread8() argument
347 unsigned long addr = (unsigned long) xaddr; in cia_ioread8()
362 __EXTERN_INLINE void cia_iowrite8(u8 b, void __iomem *xaddr) in cia_iowrite8() argument
364 unsigned long addr = (unsigned long) xaddr; in cia_iowrite8()
377 __EXTERN_INLINE u16 cia_ioread16(const void __iomem *xaddr) in cia_ioread16() argument
379 unsigned long addr = (unsigned long) xaddr; in cia_ioread16()
392 __EXTERN_INLINE void cia_iowrite16(u16 b, void __iomem *xaddr) in cia_iowrite16() argument
394 unsigned long addr = (unsigned long) xaddr; in cia_iowrite16()
407 __EXTERN_INLINE u32 cia_ioread32(const void __iomem *xaddr) in cia_ioread32() argument
409 unsigned long addr = (unsigned long) xaddr; in cia_ioread32()
[all …]
Dcore_irongate.h211 __EXTERN_INLINE int irongate_is_mmio(const volatile void __iomem *xaddr) in irongate_is_mmio() argument
213 unsigned long addr = (unsigned long)xaddr; in irongate_is_mmio()
Dcore_tsunami.h313 __EXTERN_INLINE int tsunami_is_mmio(const volatile void __iomem *xaddr) in tsunami_is_mmio() argument
315 unsigned long addr = (unsigned long) xaddr; in tsunami_is_mmio()
Dcore_wildfire.h297 __EXTERN_INLINE int wildfire_is_mmio(const volatile void __iomem *xaddr) in wildfire_is_mmio() argument
299 unsigned long addr = (unsigned long)xaddr; in wildfire_is_mmio()
/linux-6.12.1/fs/jfs/
Djfs_extent.c73 s64 nxlen, nxaddr, xoff, hint, xaddr = 0; in extAlloc() local
105 xaddr = hint + nxlen; in extAlloc()
142 if (xaddr && xaddr == nxaddr) in extAlloc()
198 s64 xaddr; in extHint() local
215 rc = xtLookup(ip, prev, nbperpage, &xflag, &xaddr, &xlen, 0); in extHint()
222 XADaddress(xp, xaddr); in extHint()
Djfs_xtree.c135 s64 xaddr; in xtLookup() local
183 xaddr = addressXAD(xad); in xtLookup()
187 *paddr = xaddr + (lstart - xoff); in xtLookup()
518 s64 xaddr, hint; in xtInsert() local
559 if ((xaddr = *xaddrp) == 0) { in xtInsert()
567 if ((rc = dbAlloc(ip, hint, (s64) xlen, &xaddr))) { in xtInsert()
591 split.addr = xaddr; in xtInsert()
596 dbFree(ip, xaddr, (s64) xlen); in xtInsert()
602 *xaddrp = xaddr; in xtInsert()
623 XT_PUTENTRY(xad, xflag, xoff, xlen, xaddr); in xtInsert()
[all …]
Djfs_txnmgr.c2397 s64 xaddr; in txAllocPMap() local
2412 xaddr = addressXAD(xad); in txAllocPMap()
2414 dbUpdatePMap(ipbmap, false, xaddr, in txAllocPMap()
2418 (ulong) xaddr, xlen); in txAllocPMap()
2423 xaddr = addressPXD(&pxdlock->pxd); in txAllocPMap()
2425 dbUpdatePMap(ipbmap, false, xaddr, (s64) xlen, tblk); in txAllocPMap()
2426 jfs_info("allocPMap: xaddr:0x%lx xlen:%d", (ulong) xaddr, xlen); in txAllocPMap()
2432 xaddr = addressPXD(pxd); in txAllocPMap()
2434 dbUpdatePMap(ipbmap, false, xaddr, (s64) xlen, in txAllocPMap()
2437 (ulong) xaddr, xlen); in txAllocPMap()
[all …]
Dinode.c205 s64 xaddr; in jfs_get_block() local
218 (!xtLookup(ip, lblock64, xlen, &xflag, &xaddr, &xlen, 0)) && in jfs_get_block()
219 xaddr) { in jfs_get_block()
229 XADaddress(&xad, xaddr); in jfs_get_block()
236 map_bh(bh_result, ip->i_sb, xaddr); in jfs_get_block()
Djfs_dtree.c198 s64 xaddr; in read_index_page() local
202 rc = xtLookup(inode, blkno, 1, &xflag, &xaddr, &xlen, 1); in read_index_page()
203 if (rc || (xaddr == 0)) in read_index_page()
206 return read_metapage(inode, xaddr, PSIZE, 1); in read_index_page()
217 s64 xaddr; in get_index_page() local
221 rc = xtLookup(inode, blkno, 1, &xflag, &xaddr, &xlen, 1); in get_index_page()
222 if (rc || (xaddr == 0)) in get_index_page()
225 return get_metapage(inode, xaddr, PSIZE, 1); in get_index_page()
335 s64 xaddr; in add_index() local
374 if (dbAlloc(ip, 0, sbi->nbperpage, &xaddr)) { in add_index()
[all …]
Dresize.c62 s64 XAddress, XSize, nblocks, xoff, xaddr, t64; in jfs_extendfs() local
383 xaddr = XAddress; in jfs_extendfs()
387 if ((rc = xtAppend(tid, ipbmap, 0, xoff, nblocks, &xlen, &xaddr, 0))) { in jfs_extendfs()
Dnamei.c716 s64 xaddr = addressDXD(&JFS_IP(ip)->ea); in jfs_free_zero_link() local
728 PXDaddress(&pxdlock->pxd, xaddr); in jfs_free_zero_link()
737 s64 xaddr = addressDXD(&JFS_IP(ip)->acl); in jfs_free_zero_link() local
748 PXDaddress(&pxdlock->pxd, xaddr); in jfs_free_zero_link()
890 s64 xaddr; in jfs_symlink() local
987 xaddr = 0; in jfs_symlink()
989 if ((rc = xtInsert(tid, ip, 0, 0, xlen, &xaddr, 0))) { in jfs_symlink()
998 mp = get_metapage(ip, xaddr, PSIZE, 1); in jfs_symlink()
1010 xaddr += JFS_SBI(sb)->nbperpage; in jfs_symlink()
Djfs_metapage.c246 s64 xaddr; in metapage_get_blocks() local
256 rc = xtLookup(inode, (s64)lblock, *len, &xflag, &xaddr, len, 0); in metapage_get_blocks()
258 lblock = (sector_t)xaddr; in metapage_get_blocks()
Djfs_imap.c2449 s64 xaddr = 0; in diNewIAG() local
2510 if ((rc = dbAlloc(ipimap, 0, (s64) xlen, &xaddr))) { in diNewIAG()
2526 xtInsert(tid, ipimap, 0, blkno, xlen, &xaddr, 0))) { in diNewIAG()
2532 dbFree(ipimap, xaddr, (s64) xlen); in diNewIAG()
2597 duplicateIXtree(sb, blkno, xlen, &xaddr); in diNewIAG()
2983 int xlen, s64 *xaddr) in duplicateIXtree() argument
3010 if (xtInsert(tid, ip, 0, blkno, xlen, xaddr, 0)) { in duplicateIXtree()
/linux-6.12.1/drivers/platform/goldfish/
Dgoldfish_pipe.c300 unsigned long xaddr = page_to_phys(pages[0]); in populate_rw_params() local
301 unsigned long xaddr_prev = xaddr; in populate_rw_params()
307 command->rw_params.ptrs[0] = (u64)(xaddr | (address & ~PAGE_MASK)); in populate_rw_params()
310 xaddr = page_to_phys(pages[i]); in populate_rw_params()
313 if (xaddr == xaddr_prev + PAGE_SIZE) { in populate_rw_params()
317 command->rw_params.ptrs[buffer_idx] = (u64)xaddr; in populate_rw_params()
320 xaddr_prev = xaddr; in populate_rw_params()
/linux-6.12.1/arch/alpha/kernel/
Dcore_marvel.c779 marvel_iounmap(volatile void __iomem *xaddr) in marvel_iounmap() argument
781 unsigned long addr = (unsigned long) xaddr; in marvel_iounmap()
787 marvel_is_mmio(const volatile void __iomem *xaddr) in marvel_is_mmio() argument
789 unsigned long addr = (unsigned long) xaddr; in marvel_is_mmio()
807 marvel_ioread8(const void __iomem *xaddr) in marvel_ioread8() argument
809 unsigned long addr = (unsigned long) xaddr; in marvel_ioread8()
825 marvel_iowrite8(u8 b, void __iomem *xaddr) in marvel_iowrite8() argument
827 unsigned long addr = (unsigned long) xaddr; in marvel_iowrite8()
Dcore_irongate.c408 irongate_iounmap(volatile void __iomem *xaddr) in irongate_iounmap() argument
410 unsigned long addr = (unsigned long) xaddr; in irongate_iounmap()
Dcore_titan.c550 titan_iounmap(volatile void __iomem *xaddr) in titan_iounmap() argument
552 unsigned long addr = (unsigned long) xaddr; in titan_iounmap()
558 titan_is_mmio(const volatile void __iomem *xaddr) in titan_is_mmio() argument
560 unsigned long addr = (unsigned long) xaddr; in titan_is_mmio()
/linux-6.12.1/arch/powerpc/boot/
Ddevtree.c358 unsigned long xaddr; in dt_get_virtual_reg() local
369 if (!dt_xlate_reg(node, n, &xaddr, NULL)) in dt_get_virtual_reg()
372 addr[n] = (void *)xaddr; in dt_get_virtual_reg()
/linux-6.12.1/drivers/media/pci/bt8xx/
Dbttv-cards.c4478 unsigned char xaddr, in kodicom4400r_write() argument
4483 udata = (data << 7) | ((yaddr&3) << 4) | (xaddr&0xf); in kodicom4400r_write()
4499 int xaddr, yaddr; in kodicom4400r_muxsel() local
4509 xaddr = input & 0xf; in kodicom4400r_muxsel()
4511 if (mctlr->sw_status[yaddr] != xaddr) in kodicom4400r_muxsel()
4515 mctlr->sw_status[yaddr] = xaddr; in kodicom4400r_muxsel()
4516 kodicom4400r_write(mctlr, xaddr, yaddr, 1); in kodicom4400r_muxsel()
4768 unsigned char xaddr, in gv800s_write() argument
4780 const u32 ADDRESS = ((xaddr&0xf) | (yaddr&3)<<4); in gv800s_write()
4812 int xaddr, yaddr; in gv800s_muxsel() local
[all …]
/linux-6.12.1/Documentation/i2c/busses/
Di2c-sis5595.rst52 force_addr=0xaddr Set the I/O base address. Useful for boards
/linux-6.12.1/drivers/isdn/hardware/mISDN/
Dw6692.c63 u8 xaddr; member
547 card->xaddr &= 0xc7;
549 card->xaddr &= 0xf8;
551 card->xaddr |= val;
552 WriteW6692(card, W_XADDR, card->xaddr);
871 card->xaddr = 0x00;/* all sw off */ in initW6692()
878 WriteW6692(card, W_XADDR, card->xaddr); in initW6692()
/linux-6.12.1/net/key/
Daf_key.c627 int pfkey_sockaddr_extract(const struct sockaddr *sa, xfrm_address_t *xaddr) in pfkey_sockaddr_extract() argument
631 xaddr->a4 = in pfkey_sockaddr_extract()
636 memcpy(xaddr->a6, in pfkey_sockaddr_extract()
646 int pfkey_sadb_addr2xfrm_addr(const struct sadb_address *addr, xfrm_address_t *xaddr) in pfkey_sadb_addr2xfrm_addr() argument
649 xaddr); in pfkey_sadb_addr2xfrm_addr()
658 xfrm_address_t *xaddr; in pfkey_xfrm_state_lookup() local
676 xaddr = (xfrm_address_t *)&((const struct sockaddr_in *)(addr + 1))->sin_addr; in pfkey_xfrm_state_lookup()
680 xaddr = (xfrm_address_t *)&((const struct sockaddr_in6 *)(addr + 1))->sin6_addr; in pfkey_xfrm_state_lookup()
684 xaddr = NULL; in pfkey_xfrm_state_lookup()
687 if (!xaddr) in pfkey_xfrm_state_lookup()
[all …]
/linux-6.12.1/arch/mips/include/asm/pci/
Dbridge.h58 #define mkate(xaddr, xid, attr) (((xaddr) & 0x0000fffffffff000ULL) | \ argument

12