Home
last modified time | relevance | path

Searched refs:aligns (Results 1 – 2 of 2) sorted by relevance

/drivers/nvdimm/
Dpfn_devs.c125 unsigned long aligns[MAX_NVDIMM_ALIGN] = { [0] = 0, }; in align_store() local
131 nd_pfn_supported_alignments(aligns)); in align_store()
255 unsigned long aligns[MAX_NVDIMM_ALIGN] = { [0] = 0, }; in supported_alignments_show() local
258 nd_pfn_supported_alignments(aligns), buf); in supported_alignments_show()
/drivers/pci/
Dsetup-bus.c948 static inline resource_size_t calculate_mem_align(resource_size_t *aligns, in calculate_mem_align() argument
964 align += aligns[order]; in calculate_mem_align()
997 resource_size_t aligns[24]; /* Alignments from 1MB to 8TB */ in pbus_size_mem() local
1012 memset(aligns, 0, sizeof(aligns)); in pbus_size_mem()
1050 if (order >= ARRAY_SIZE(aligns)) { in pbus_size_mem()
1062 aligns[order] += align; in pbus_size_mem()
1074 min_align = calculate_mem_align(aligns, max_order); in pbus_size_mem()