Searched refs:min_align (Results 1 - 8 of 8) sorted by relevance

/linux-4.1.27/drivers/pci/
H A Dsetup-bus.c40 resource_size_t min_align; member in struct:pci_dev_resource
65 resource_size_t add_size, resource_size_t min_align) add_to_list()
81 tmp->min_align = min_align; add_to_list()
112 "res[%d]=%pR res_to_dev_res add_size %llx min_align %llx\n", list_for_each_entry()
115 (unsigned long long)dev_res->min_align); list_for_each_entry()
139 return dev_res ? dev_res->min_align : 0; get_res_add_align()
261 align = add_res->min_align;
910 resource_size_t min_align, align; pbus_size_io() local
915 min_align = window_alignment(bus, IORESOURCE_IO); pbus_size_io()
934 if (align > min_align) pbus_size_io()
935 min_align = align; pbus_size_io()
943 resource_size(b_res), min_align); pbus_size_io()
948 resource_size(b_res), min_align); pbus_size_io()
957 b_res->start = min_align; pbus_size_io()
962 min_align); pbus_size_io()
973 resource_size_t min_align = 0; calculate_mem_align() local
982 min_align = align1; calculate_mem_align()
983 else if (ALIGN(align + min_align, min_align) < align1) calculate_mem_align()
984 min_align = align1 >> 1; calculate_mem_align()
988 return min_align; calculate_mem_align()
1017 resource_size_t min_align, align, size, size0, size1; pbus_size_mem() local
1088 min_align = calculate_mem_align(aligns, max_order); pbus_size_mem()
1089 min_align = max(min_align, window_alignment(bus, b_res->flags)); pbus_size_mem()
1090 size0 = calculate_memsize(size, min_size, 0, resource_size(b_res), min_align); pbus_size_mem()
1091 add_align = max(min_align, add_align); pbus_size_mem()
1104 b_res->start = min_align; pbus_size_mem()
1105 b_res->end = size0 + min_align - 1; pbus_size_mem()
63 add_to_list(struct list_head *head, struct pci_dev *dev, struct resource *res, resource_size_t add_size, resource_size_t min_align) add_to_list() argument
H A Dsetup-res.c251 resource_size_t size, resource_size_t min_align) _pci_assign_resource()
257 while ((ret = __pci_assign_resource(bus, dev, resno, size, min_align))) { _pci_assign_resource()
310 resource_size_t min_align) pci_reassign_resource()
325 /* already aligned with min_align */ pci_reassign_resource()
327 ret = _pci_assign_resource(dev, resno, new_size, min_align); pci_reassign_resource()
250 _pci_assign_resource(struct pci_dev *dev, int resno, resource_size_t size, resource_size_t min_align) _pci_assign_resource() argument
309 pci_reassign_resource(struct pci_dev *dev, int resno, resource_size_t addsize, resource_size_t min_align) pci_reassign_resource() argument
/linux-4.1.27/sound/soc/au1x/
H A Ddbdma2.c210 "runtime->min_align %d\n", au1xpsc_pcm_hw_params()
213 runtime->min_align); au1xpsc_pcm_hw_params()
/linux-4.1.27/sound/soc/txx9/
H A Dtxx9aclc.c65 "runtime->min_align %ld\n", txx9aclc_pcm_hw_params()
68 runtime->min_align); txx9aclc_pcm_hw_params()
/linux-4.1.27/drivers/gpu/drm/omapdrm/
H A Domap_dmm_tiler.c362 u32 min_align = 128; tiler_reserve_2d() local
373 min_align = max(min_align, (geom[fmt].slot_w * geom[fmt].cpp)); tiler_reserve_2d()
374 align = ALIGN(align, min_align); tiler_reserve_2d()
/linux-4.1.27/include/sound/
H A Dpcm.h364 snd_pcm_uframes_t min_align; /* Min alignment for the format */ member in struct:snd_pcm_runtime
/linux-4.1.27/sound/core/
H A Dpcm_lib.c331 pos -= pos % runtime->min_align; snd_pcm_update_hw_ptr0()
H A Dpcm_native.c569 runtime->min_align = frames; snd_pcm_hw_params()

Completed in 292 milliseconds