Home
last modified time | relevance | path

Searched refs:range_len (Results 1 – 18 of 18) sorted by relevance

/drivers/comedi/
Drange.c110 int chan, range_len, i; in comedi_check_chanlist() local
116 range_len = s->range_table->length; in comedi_check_chanlist()
118 range_len = s->range_table_list[chan]->length; in comedi_check_chanlist()
120 range_len = 0; in comedi_check_chanlist()
122 CR_RANGE(chanspec) >= range_len) { in comedi_check_chanlist()
125 i, chanspec, chan, range_len); in comedi_check_chanlist()
/drivers/dax/
Dkmem.c83 total_len += range_len(&range); in dev_dax_kmem_probe()
116 res = request_mem_region(range.start, range_len(&range), data->res_name); in dev_dax_kmem_probe()
144 range_len(&range), kmem_name, MHP_NID_IS_MGID); in dev_dax_kmem_probe()
196 rc = remove_memory(range.start, range_len(&range)); in dev_dax_kmem_remove()
Dbus.c186 size += range_len(&dev_dax->ranges[i].range); in dev_dax_size()
424 __release_region(&dax_region->res, range->start, range_len(range)); in trim_dev_dax_range()
618 || !IS_ALIGNED(range_len(range), align)) in alloc_dax_region()
846 pgoff += PHYS_PFN(range_len(&ranges[i].range)); in alloc_dev_dax_range()
939 shrink = min_t(u64, to_shrink, range_len(range)); in dev_dax_shrink()
940 if (shrink >= range_len(range)) { in dev_dax_shrink()
960 return adjust_dev_dax_range(dev_dax, adjust, range_len(range) in dev_dax_shrink()
1147 to_alloc = range_len(&r); in mapping_store()
1171 size_t len = range_len(&dev_dax->ranges[i].range); in dev_dax_validate_align()
1421 if (dev_dax->nr_range && range_len(&dev_dax->ranges[0].range)) { in devm_create_dev_dax()
Dcxl.c28 .size = range_len(&cxlr_dax->hpa_range), in cxl_dax_region_probe()
Dpmem.c65 .size = range_len(&range), in __dax_pmem_probe()
Ddevice.c65 pgoff_end = dax_range->pgoff + PHYS_PFN(range_len(range)) - 1; in dax_pgoff_to_phys()
437 range_len(range), dev_name(dev))) { in dev_dax_probe()
/drivers/net/wireless/intel/iwlwifi/fw/
Ddbg.c522 u32 range_len, void *ptr) in iwl_dump_prph() argument
538 for (i = 0; i < range_len; i++) { in iwl_dump_prph()
601 u32 range_len, void *ptr) in iwl_fw_get_prph_len() argument
609 for (i = 0; i < range_len; i++) { in iwl_fw_get_prph_len()
626 u32 range_len; in iwl_fw_prph_handler() local
629 range_len = ARRAY_SIZE(iwl_prph_dump_addr_ax210); in iwl_fw_prph_handler()
630 handler(fwrt, iwl_prph_dump_addr_ax210, range_len, ptr); in iwl_fw_prph_handler()
633 range_len = ARRAY_SIZE(iwl_prph_dump_addr_22000); in iwl_fw_prph_handler()
634 handler(fwrt, iwl_prph_dump_addr_22000, range_len, ptr); in iwl_fw_prph_handler()
636 range_len = ARRAY_SIZE(iwl_prph_dump_addr_comm); in iwl_fw_prph_handler()
[all …]
/drivers/nvdimm/
Dbadrange.c237 len = range->start + range_len(range) in badblocks_populate()
252 len = range_len(range); in badblocks_populate()
Dpmem.c515 range_len(&pmem->pgmap.range); in pmem_attach_disk()
Dpfn_devs.c711 nd_pfn->npfns = PHYS_PFN((range_len(range) - offset)); in __nvdimm_setup_pfn()
/drivers/virt/nitro_enclaves/
Dne_misc_dev_test.c137 KUNIT_EXPECT_EQ(test, range_len(&phys_contig_mem_regions.regions[num - 1]), in ne_misc_dev_test_merge_phys_contig_memory_regions()
Dne_misc_dev.c1006 u64 phys_region_size = range_len(&phys_contig_mem_regions.regions[i]); in ne_set_user_memory_region_ioctl()
1024 slot_add_mem_req.size = range_len(&phys_contig_mem_regions.regions[i]); in ne_set_user_memory_region_ioctl()
/drivers/dax/hmem/
Dhmem.c38 .size = region_idle ? 0 : range_len(&mri->range), in dax_hmem_probe()
/drivers/gpu/drm/nouveau/
Dnouveau_dmem.c299 release_mem_region(chunk->pagemap.range.start, range_len(&chunk->pagemap.range)); in nouveau_dmem_chunk_alloc()
376 unsigned long i, npages = range_len(&chunk->pagemap.range) >> PAGE_SHIFT; in nouveau_dmem_evict_chunk()
434 range_len(&chunk->pagemap.range)); in nouveau_dmem_fini()
/drivers/cxl/core/
Dhdm.c683 size = range_len(&cxld->hpa_range); in cxl_decoder_commit()
781 len = range_len(&info->dvsec_range[which]); in cxl_setup_hdm_decoder_from_dvsec()
Dport.c109 return sysfs_emit(buf, "%#llx\n", range_len(&cxld->hpa_range)); in size_show()
Dregion.c2984 *res = DEFINE_RES_MEM_NAMED(hpa->start, range_len(hpa), in construct_region()
/drivers/pci/
Dp2pdma.c341 range_len(&pgmap->range), dev_to_node(&pdev->dev), in pci_p2pdma_add_resource()