Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/misc/ocxl/
Dconfig.c9 #define EXTRACT_BITS(val, s, e) ((val & GENMASK(e, s)) >> s) macro
104 fn->max_pasid_log = EXTRACT_BITS(val, 8, 12); in read_pasid()
147 fn->max_afu_index = EXTRACT_BITS(val, 24, 29); in read_dvsec_function()
384 *len = EXTRACT_BITS(val32, 16, 31); in read_template_version()
385 major = EXTRACT_BITS(val32, 8, 15); in read_template_version()
386 minor = EXTRACT_BITS(val32, 0, 7); in read_template_version()
463 afu->global_mmio_bar = EXTRACT_BITS(val, 0, 2); in read_afu_mmio()
464 afu->global_mmio_offset = EXTRACT_BITS(val, 16, 31) << 16; in read_afu_mmio()
482 afu->pp_mmio_bar = EXTRACT_BITS(val, 0, 2); in read_afu_mmio()
483 afu->pp_mmio_offset = EXTRACT_BITS(val, 16, 31) << 16; in read_afu_mmio()
[all …]
/kernel/linux/linux-5.10/drivers/net/ethernet/sfc/
Def100.c47 #define EXTRACT_BITS(x, lbn, width) \ macro
58 return EXTRACT_BITS(le32_to_cpu(dword.u32[0]), lbn, width); in _ef100_pci_get_bar_bits_with_width()
267 *result = EXTRACT_BITS(temp, lbn, width); in _ef100_pci_get_config_bits_with_width()