Home
last modified time | relevance | path

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

/linux/sound/hda/
A Dhdac_bus.c243 void __iomem *aligned_addr = in snd_hdac_aligned_read() local
248 v = readl(aligned_addr); in snd_hdac_aligned_read()
256 void __iomem *aligned_addr = in snd_hdac_aligned_write() local
261 v = readl(aligned_addr); in snd_hdac_aligned_write()
264 writel(v, aligned_addr); in snd_hdac_aligned_write()
/linux/mm/kasan/
A Dreport_generic.c219 unsigned long aligned_addr; in get_address_stack_frame_info() local
234 aligned_addr = round_down((unsigned long)addr, sizeof(long)); in get_address_stack_frame_info()
235 mem_ptr = round_down(aligned_addr, KASAN_GRANULE_SIZE); in get_address_stack_frame_info()
236 shadow_ptr = kasan_mem_to_shadow((void *)aligned_addr); in get_address_stack_frame_info()
/linux/drivers/net/ethernet/marvell/octeontx2/af/
A Dcommon.h51 int aligned_addr; in qmem_alloc() local
70 aligned_addr = ALIGN((u64)qmem->iova, OTX2_ALIGN); in qmem_alloc()
71 qmem->align = (aligned_addr - qmem->iova); in qmem_alloc()
/linux/drivers/pci/controller/cadence/
A Dpcie-cadence.h391 void __iomem *aligned_addr = PTR_ALIGN_DOWN(addr, 0x4); in cdns_pcie_read_sz() local
393 u32 val = readl(aligned_addr); in cdns_pcie_read_sz()
408 void __iomem *aligned_addr = PTR_ALIGN_DOWN(addr, 0x4); in cdns_pcie_write_sz() local
424 val = readl(aligned_addr) & mask; in cdns_pcie_write_sz()
426 writel(val, aligned_addr); in cdns_pcie_write_sz()
/linux/arch/powerpc/platforms/pseries/
A Dpapr_scm.c1070 u64 aligned_addr = ALIGN_DOWN(phys_addr, L1_CACHE_BYTES); in papr_scm_add_badblock() local
1072 if (nvdimm_bus_add_badrange(bus, aligned_addr, L1_CACHE_BYTES)) { in papr_scm_add_badblock()
1078 aligned_addr, aligned_addr + L1_CACHE_BYTES); in papr_scm_add_badblock()
/linux/drivers/net/wireless/intel/ipw2x00/
A Dipw2100.c435 u32 aligned_addr; in write_nic_memory() local
441 aligned_addr = addr & (~0x3); in write_nic_memory()
442 dif_len = addr - aligned_addr; in write_nic_memory()
446 aligned_addr); in write_nic_memory()
453 aligned_addr += 4; in write_nic_memory()
457 write_register(dev, IPW_REG_AUTOINCREMENT_ADDRESS, aligned_addr); in write_nic_memory()
473 u32 aligned_addr; in read_nic_memory() local
479 aligned_addr = addr & (~0x3); in read_nic_memory()
480 dif_len = addr - aligned_addr; in read_nic_memory()
484 aligned_addr); in read_nic_memory()
[all …]
A Dipw2200.c435 u32 dif_len = reg - aligned_addr; in _ipw_write_reg8()
438 _ipw_write32(priv, IPW_INDIRECT_ADDR, aligned_addr); in _ipw_write_reg8()
446 u32 dif_len = (reg - aligned_addr) & (~0x1ul); in _ipw_write_reg16()
449 _ipw_write32(priv, IPW_INDIRECT_ADDR, aligned_addr); in _ipw_write_reg16()
482 u32 dif_len = addr - aligned_addr; in _ipw_read_indirect()
493 _ipw_write32(priv, IPW_INDIRECT_ADDR, aligned_addr); in _ipw_read_indirect()
497 aligned_addr += 4; in _ipw_read_indirect()
501 _ipw_write32(priv, IPW_AUTOINC_ADDR, aligned_addr); in _ipw_read_indirect()
519 u32 dif_len = addr - aligned_addr; in _ipw_write_indirect()
534 aligned_addr += 4; in _ipw_write_indirect()
[all …]
/linux/drivers/staging/rts5208/
A Drtsx_chip.c1440 u16 aligned_addr = addr - offset; in rtsx_write_cfg_seq() local
1480 retval = rtsx_write_cfg_dw(chip, func, aligned_addr + i * 4, in rtsx_write_cfg_seq()
1500 u16 aligned_addr = addr - offset; in rtsx_read_cfg_seq() local
1516 retval = rtsx_read_cfg_dw(chip, func, aligned_addr + i * 4, in rtsx_read_cfg_seq()
/linux/mm/
A Dpercpu.c1345 unsigned long aligned_addr, lcm_align; in pcpu_alloc_first_chunk() local
1350 aligned_addr = tmp_addr & PAGE_MASK; in pcpu_alloc_first_chunk()
1352 start_offset = tmp_addr - aligned_addr; in pcpu_alloc_first_chunk()
1372 chunk->base_addr = (void *)aligned_addr; in pcpu_alloc_first_chunk()

Completed in 89 milliseconds