Lines Matching refs:start_pad
224 u32 start_pad = __le32_to_cpu(pfn_sb->start_pad); in resource_show() local
228 + start_pad + offset); in resource_show()
250 u32 start_pad = __le32_to_cpu(pfn_sb->start_pad); in size_show() local
255 resource_size(&nsio->res) - start_pad in size_show()
369 unsigned long align, start_pad; in nd_pfn_validate() local
396 pfn_sb->start_pad = 0; in nd_pfn_validate()
413 start_pad = le32_to_cpu(pfn_sb->start_pad); in nd_pfn_validate()
472 if ((align && !IS_ALIGNED(nsio->res.start + offset + start_pad, align)) in nd_pfn_validate()
550 u32 start_pad = __le32_to_cpu(pfn_sb->start_pad); in __nvdimm_setup_pfn() local
554 resource_size_t base = nsio->res.start + start_pad; in __nvdimm_setup_pfn()
561 res->start += start_pad; in __nvdimm_setup_pfn()
597 u32 start_pad = 0, end_trunc = 0; in nd_pfn_init() local
642 start_pad = PHYS_SECTION_ALIGN_UP(start) - start; in nd_pfn_init()
656 if (start_pad + end_trunc) in nd_pfn_init()
658 dev_name(&ndns->dev), start_pad + end_trunc); in nd_pfn_init()
666 start += start_pad; in nd_pfn_init()
668 npfns = PFN_SECTION_ALIGN_UP((size - start_pad - end_trunc - SZ_8K) in nd_pfn_init()
684 if (offset + start_pad + end_trunc >= size) { in nd_pfn_init()
690 npfns = (size - offset - start_pad - end_trunc) / SZ_4K; in nd_pfn_init()
699 pfn_sb->start_pad = cpu_to_le32(start_pad); in nd_pfn_init()