Home
last modified time | relevance | path

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

/linux/sound/hda/
H 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/drivers/net/ethernet/marvell/octeontx2/af/
H 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/mm/kasan/
H A Dreport_generic.c298 unsigned long aligned_addr; in get_address_stack_frame_info() local
306 aligned_addr = round_down((unsigned long)addr, sizeof(long)); in get_address_stack_frame_info()
307 mem_ptr = round_down(aligned_addr, KASAN_GRANULE_SIZE); in get_address_stack_frame_info()
308 shadow_ptr = kasan_mem_to_shadow((void *)aligned_addr); in get_address_stack_frame_info()
/linux/drivers/pci/controller/cadence/
H A Dpcie-cadence.h403 void __iomem *aligned_addr = PTR_ALIGN_DOWN(addr, 0x4); in cdns_pcie_read_sz() local
405 u32 val = readl(aligned_addr); in cdns_pcie_read_sz()
420 void __iomem *aligned_addr = PTR_ALIGN_DOWN(addr, 0x4); in cdns_pcie_write_sz() local
436 val = readl(aligned_addr) & mask; in cdns_pcie_write_sz()
438 writel(val, aligned_addr); in cdns_pcie_write_sz()
/linux/drivers/net/wireless/realtek/rtw88/
H A Dsdio.c839 unsigned long data_addr, aligned_addr; in rtw_sdio_tx_skb_prepare() local
846 aligned_addr = ALIGN(data_addr, RTW_SDIO_DATA_PTR_ALIGN); in rtw_sdio_tx_skb_prepare()
848 if (data_addr != aligned_addr) { in rtw_sdio_tx_skb_prepare()
852 offset = RTW_SDIO_DATA_PTR_ALIGN - (aligned_addr - data_addr); in rtw_sdio_tx_skb_prepare()
/linux/arch/powerpc/platforms/pseries/
H A Dpapr_scm.c1300 u64 aligned_addr = ALIGN_DOWN(phys_addr, L1_CACHE_BYTES); in papr_scm_add_badblock() local
1302 if (nvdimm_bus_add_badrange(bus, aligned_addr, L1_CACHE_BYTES)) { in papr_scm_add_badblock()
1308 aligned_addr, aligned_addr + L1_CACHE_BYTES); in papr_scm_add_badblock()
/linux/drivers/net/wireless/intel/ipw2x00/
H A Dipw2100.c422 u32 aligned_addr; in write_nic_memory() local
428 aligned_addr = addr & (~0x3); in write_nic_memory()
429 dif_len = addr - aligned_addr; in write_nic_memory()
433 aligned_addr); in write_nic_memory()
440 aligned_addr += 4; in write_nic_memory()
444 write_register(dev, IPW_REG_AUTOINCREMENT_ADDRESS, aligned_addr); in write_nic_memory()
460 u32 aligned_addr; in read_nic_memory() local
466 aligned_addr = addr & (~0x3); in read_nic_memory()
467 dif_len = addr - aligned_addr; in read_nic_memory()
471 aligned_addr); in read_nic_memory()
[all …]
H A Dipw2200.c422 u32 dif_len = reg - aligned_addr; in _ipw_write_reg8()
425 _ipw_write32(priv, IPW_INDIRECT_ADDR, aligned_addr); in _ipw_write_reg8()
433 u32 dif_len = (reg - aligned_addr) & (~0x1ul); in _ipw_write_reg16()
436 _ipw_write32(priv, IPW_INDIRECT_ADDR, aligned_addr); in _ipw_write_reg16()
469 u32 dif_len = addr - aligned_addr; in _ipw_read_indirect()
480 _ipw_write32(priv, IPW_INDIRECT_ADDR, aligned_addr); in _ipw_read_indirect()
484 aligned_addr += 4; in _ipw_read_indirect()
488 _ipw_write32(priv, IPW_AUTOINC_ADDR, aligned_addr); in _ipw_read_indirect()
506 u32 dif_len = addr - aligned_addr; in _ipw_write_indirect()
521 aligned_addr += 4; in _ipw_write_indirect()
[all …]
/linux/drivers/staging/rts5208/
H 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/
H A Dpercpu.c1349 unsigned long aligned_addr; in pcpu_alloc_first_chunk() local
1354 aligned_addr = tmp_addr & PAGE_MASK; in pcpu_alloc_first_chunk()
1356 start_offset = tmp_addr - aligned_addr; in pcpu_alloc_first_chunk()
1369 chunk->base_addr = (void *)aligned_addr; in pcpu_alloc_first_chunk()