Home
last modified time | relevance | path

Searched refs:align_size (Results 1 – 21 of 21) sorted by relevance

/openbmc/qemu/hw/nubus/
H A Dnubus-device.c34 int64_t size, align_size; in nubus_device_realize() local
93 align_size = ROUND_UP(size, qemu_target_page_size()); in nubus_device_realize()
94 memory_region_init_rom(&nd->decl_rom, OBJECT(dev), name, align_size, in nubus_device_realize()
97 ret = load_image_size(path, rom_ptr + (uintptr_t)(align_size - size), in nubus_device_realize()
105 memory_region_add_subregion(&nd->slot_mem, NUBUS_SLOT_SIZE - align_size, in nubus_device_realize()
/openbmc/u-boot/tools/binman/
H A Dentry.py73 self.align_size = None
159 self.align_size = fdt_util.GetInt(self._node, 'align-size')
160 if tools.NotPowerOfTwo(self.align_size):
162 "of two" % (self._node.path, self.align_size))
288 needed = tools.Align(needed, self.align_size)
307 if self.size != tools.Align(self.size, self.align_size):
309 (self.size, self.size, self.align_size, self.align_size))
/openbmc/linux/arch/powerpc/kernel/
H A Dhw_breakpoint_constraints.c35 unsigned long align_size = HW_BREAKPOINT_SIZE; in ea_hw_range_overlaps() local
42 align_size = HW_BREAKPOINT_SIZE_QUADWORD; in ea_hw_range_overlaps()
44 hw_start_addr = ALIGN_DOWN(info->address, align_size); in ea_hw_range_overlaps()
45 hw_end_addr = ALIGN(info->address + info->len, align_size); in ea_hw_range_overlaps()
/openbmc/linux/drivers/pci/endpoint/
H A Dpci-epc-mem.c184 size_t align_size; in pci_epc_mem_alloc_addr() local
192 align_size = ALIGN(size, mem->window.page_size); in pci_epc_mem_alloc_addr()
193 order = pci_epc_mem_get_order(mem, align_size); in pci_epc_mem_alloc_addr()
201 virt_addr = ioremap(*phys_addr, align_size); in pci_epc_mem_alloc_addr()
/openbmc/linux/net/wireless/
H A Dradiotap.c54 .align_size = rtap_namespace_sizes,
246 align = iterator->current_namespace->align_size[iterator->_arg_index].align; in ieee80211_radiotap_iterator_next()
247 size = iterator->current_namespace->align_size[iterator->_arg_index].size; in ieee80211_radiotap_iterator_next()
/openbmc/linux/tools/testing/selftests/arm64/mte/
H A Dmte_common_util.c100 int align_size; in mte_insert_tags() local
106 align_size = MT_ALIGN_UP(size); in mte_insert_tags()
108 mte_set_tag_address_range(tag_ptr, align_size); in mte_insert_tags()
/openbmc/linux/drivers/net/wireless/st/cw1200/
H A Dhwbus.h26 size_t (*align_size)(struct hwbus_priv *self, size_t size); member
H A Dbh.c263 alloc_len = priv->hwbus_ops->align_size( in cw1200_bh_rx_helper()
376 tx_len = priv->hwbus_ops->align_size( in cw1200_bh_tx_helper()
H A Dcw1200_sdio.c265 .align_size = cw1200_sdio_align_size,
H A Dcw1200_spi.c353 .align_size = cw1200_spi_align_size,
/openbmc/linux/drivers/net/wireless/silabs/wfx/
H A Dbus.h30 size_t (*align_size)(void *bus_priv, size_t size); member
H A Dbh.c75 alloc_len = wdev->hwbus_ops->align_size(wdev->hwbus_priv, read_len + 2); in rx_helper()
184 len = wdev->hwbus_ops->align_size(wdev->hwbus_priv, len); in tx_helper()
H A Dbus_sdio.c182 .align_size = wfx_sdio_align_size,
H A Dbus_spi.c189 .align_size = wfx_spi_align_size,
/openbmc/linux/arch/powerpc/kvm/
H A Dbook3s_hv_builtin.c83 unsigned long align_size; in kvm_cma_reserve() local
96 align_size = HPT_ALIGN_PAGES << PAGE_SHIFT; in kvm_cma_reserve()
97 cma_declare_contiguous(0, selected_size, 0, align_size, in kvm_cma_reserve()
/openbmc/linux/drivers/atm/
H A Dfore200e.h570 u32 align_size; /* length of aligned chunk */ member
573 #define dma_size align_size /* DMA useable size */
/openbmc/linux/drivers/media/platform/samsung/s5p-mfc/
H A Ds5p_mfc.c1136 unsigned long align_size = 1 << MFC_BASE_ALIGN_ORDER; in s5p_mfc_configure_2port_memory() local
1165 align_size, &bank2_dma_addr, GFP_KERNEL); in s5p_mfc_configure_2port_memory()
1177 mfc_dev->dma_base[BANK_R_CTX] = bank2_dma_addr - align_size; in s5p_mfc_configure_2port_memory()
1179 dma_free_coherent(mfc_dev->mem_dev[BANK_R_CTX], align_size, bank2_virt, in s5p_mfc_configure_2port_memory()
/openbmc/linux/fs/
H A Ddax.c1119 static int dax_iomap_copy_around(loff_t pos, uint64_t length, size_t align_size, in dax_iomap_copy_around() argument
1122 loff_t head_off = pos & (align_size - 1); in dax_iomap_copy_around()
1123 size_t size = ALIGN(head_off + length, align_size); in dax_iomap_copy_around()
1125 loff_t pg_end = round_up(end, align_size); in dax_iomap_copy_around()
/openbmc/qemu/linux-user/
H A Delfload.c3200 size_t reserve_size, align_size; in load_elf_image() local
3336 align_size = reserve_size; in load_elf_image()
3339 align_size += align - 1; in load_elf_image()
3342 load_addr = target_mmap(load_addr, align_size, PROT_NONE, in load_elf_image()
3350 if (align_size != reserve_size) { in load_elf_image()
3353 abi_ulong load_end = TARGET_PAGE_ALIGN(load_addr + align_size); in load_elf_image()
/openbmc/linux/drivers/net/ethernet/qlogic/qed/
H A Dqed_debug.c1110 u8 offset_in_dword, align_size; in qed_dump_align() local
1113 align_size = offset_in_dword ? BYTES_IN_DWORD - offset_in_dword : 0; in qed_dump_align()
1115 if (dump && align_size) in qed_dump_align()
1116 memset(dump_buf, 0, align_size); in qed_dump_align()
1118 return align_size; in qed_dump_align()
/openbmc/linux/include/net/
H A Dcfg80211.h6303 const struct radiotap_align_size *align_size; member