Home
last modified time | relevance | path

Searched refs:range_len (Results 1 – 14 of 14) 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.c74 total_len += range_len(&range); in dev_dax_kmem_probe()
105 res = request_mem_region(range.start, range_len(&range), data->res_name); in dev_dax_kmem_probe()
133 range_len(&range), kmem_name, MHP_NID_IS_MGID); in dev_dax_kmem_probe()
182 rc = remove_memory(range.start, range_len(&range)); in dev_dax_kmem_remove()
Dbus.c145 size += range_len(&dev_dax->ranges[i].range); in dev_dax_size()
380 __release_region(&dax_region->res, range->start, range_len(range)); in trim_dev_dax_range()
575 || !IS_ALIGNED(range_len(range), align)) in alloc_dax_region()
805 pgoff += PHYS_PFN(range_len(&ranges[i].range)); in alloc_dev_dax_range()
898 shrink = min_t(u64, to_shrink, range_len(range)); in dev_dax_shrink()
899 if (shrink >= range_len(range)) { in dev_dax_shrink()
919 return adjust_dev_dax_range(dev_dax, adjust, range_len(range) in dev_dax_shrink()
1106 to_alloc = range_len(&r); in mapping_store()
1130 size_t len = range_len(&dev_dax->ranges[i].range); in dev_dax_validate_align()
1380 if (dev_dax->nr_range && range_len(&dev_dax->ranges[0].range)) { in devm_create_dev_dax()
Ddevice.c65 pgoff_end = dax_range->pgoff + PHYS_PFN(range_len(range)) - 1; in dax_pgoff_to_phys()
418 range_len(range), dev_name(dev))) { in dev_dax_probe()
/drivers/cxl/core/
Dmemdev.c69 unsigned long long len = range_len(&cxlm->ram_range); in ram_size_show()
82 unsigned long long len = range_len(&cxlm->pmem_range); in pmem_size_show()
Dbus.c59 return sysfs_emit(buf, "%#llx\n", range_len(&cxld->range)); in size_show()
/drivers/nvdimm/
Dbadrange.c237 len = range->start + range_len(range) in badblocks_populate()
252 len = range_len(range); in badblocks_populate()
Dpmem.c413 range_len(&pmem->pgmap.range); in pmem_attach_disk()
Dpfn_devs.c702 nd_pfn->npfns = PHYS_PFN((range_len(range) - offset)); in __nvdimm_setup_pfn()
/drivers/net/wireless/intel/iwlwifi/fw/
Ddbg.c521 u32 range_len, void *ptr) in iwl_dump_prph() argument
537 for (i = 0; i < range_len; i++) { in iwl_dump_prph()
600 u32 range_len, void *ptr) in iwl_fw_get_prph_len() argument
608 for (i = 0; i < range_len; i++) { in iwl_fw_get_prph_len()
625 u32 range_len; in iwl_fw_prph_handler() local
628 range_len = ARRAY_SIZE(iwl_prph_dump_addr_ax210); in iwl_fw_prph_handler()
629 handler(fwrt, iwl_prph_dump_addr_ax210, range_len, ptr); in iwl_fw_prph_handler()
632 range_len = ARRAY_SIZE(iwl_prph_dump_addr_22000); in iwl_fw_prph_handler()
633 handler(fwrt, iwl_prph_dump_addr_22000, range_len, ptr); in iwl_fw_prph_handler()
635 range_len = ARRAY_SIZE(iwl_prph_dump_addr_comm); in iwl_fw_prph_handler()
[all …]
/drivers/dax/pmem/
Dcore.c67 .size = range_len(&range), in __dax_pmem_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()
387 range_len(&chunk->pagemap.range)); in nouveau_dmem_fini()
/drivers/pci/
Dp2pdma.c221 range_len(&pgmap->range), dev_to_node(&pdev->dev), in pci_p2pdma_add_resource()
/drivers/cxl/
Dpci.c1518 if (range_len(&cxlm->pmem_range) && IS_ENABLED(CONFIG_CXL_PMEM)) in cxl_mem_probe()