/linux-master/arch/powerpc/platforms/powernv/ |
H A D | pci-cxl.c | 71 if (!irqs->range[i]) 73 pr_devel("cxl release irq range 0x%x: offset: 0x%lx limit: %ld\n", 75 irqs->range[i]); 78 irqs->range[i]); 105 irqs->range[i] = try; 106 pr_devel("cxl alloc irq range 0x%x: offset: 0x%lx limit: %li\n", 107 i, irqs->offset[i], irqs->range[i]);
|
/linux-master/arch/sparc/kernel/ |
H A D | of_device_common.c | 94 /* Make sure the least significant 64-bits are in-range. Even 113 int of_bus_default_map(u32 *addr, const u32 *range, int na, int ns, int pna) argument 123 if (of_out_of_range(addr, range, range + na + pna, na, ns)) 126 /* Start with the parent range base. */ 127 memcpy(result, range + na, pna * 4); 133 range[na - 1 - i]);
|
/linux-master/arch/x86/kvm/ |
H A D | mtrr.c | 141 * - range, a range is covered in one memory cache type. 304 static void var_mtrr_range(struct kvm_mtrr_range *range, u64 *start, u64 *end) argument 308 *start = range->base & PAGE_MASK; 310 mask = range->mask & PAGE_MASK; 337 /* variable range MTRRs. */ 344 static bool var_mtrr_range_is_valid(struct kvm_mtrr_range *range) argument 346 return (range->mask & (1 << 11)) != 0; 462 struct kvm_mtrr_range *range; member in struct:mtrr_iter::__anon103::__anon105 490 struct kvm_mtrr_range *range) 489 match_var_range(struct mtrr_iter *iter, struct kvm_mtrr_range *range) argument [all...] |
/linux-master/include/uapi/linux/ |
H A D | userfaultfd.h | 66 * Valid ioctl command number range with this API is from 0x00 to 262 struct uffdio_range range; member in struct:uffdio_register 270 * range, keep at the end as the last 8 bytes aren't read. 283 * write protected ioctl is implemented for the range 297 struct uffdio_range range; member in struct:uffdio_zeropage 309 struct uffdio_range range; member in struct:uffdio_writeprotect 311 * UFFDIO_WRITEPROTECT_MODE_WP: set the flag to write protect a range, 312 * unset the flag to undo protection of a range which was previously 329 struct uffdio_range range; member in struct:uffdio_continue 334 * write protected ioctl is implemented for the range 348 struct uffdio_range range; member in struct:uffdio_poison [all...] |
/linux-master/drivers/gpu/drm/amd/display/dc/dsc/ |
H A D | dc_dsc.c | 157 struct dc_dsc_bw_range *range); 390 * we'll accept all and get it into range. This also makes the above check against 0 redundant, 444 /* If DSC is possbile, get DSC bandwidth range based on [min_bpp, max_bpp] target bitrate range and 446 * If DSC is not possible, leave '*range' untouched. 456 struct dc_dsc_bw_range *range) 479 config.num_slices_h, &dsc_common_caps, timing, link_encoding, range); 609 /* Decide DSC bandwidth range based on signal, timing, specs specific and input min and max 611 * The range output includes decided min/max target bpp, the respective bandwidth requirements 621 struct dc_dsc_bw_range *range) 448 dc_dsc_compute_bandwidth_range( const struct display_stream_compressor *dsc, uint32_t dsc_min_slice_height_override, uint32_t min_bpp_x16, uint32_t max_bpp_x16, const struct dsc_dec_dpcd_caps *dsc_sink_caps, const struct dc_crtc_timing *timing, const enum dc_link_encoding_format link_encoding, struct dc_dsc_bw_range *range) argument 614 decide_dsc_bandwidth_range( const uint32_t min_bpp_x16, const uint32_t max_bpp_x16, const uint32_t num_slices_h, const struct dsc_enc_caps *dsc_caps, const struct dc_crtc_timing *timing, const enum dc_link_encoding_format link_encoding, struct dc_dsc_bw_range *range) argument 679 struct dc_dsc_bw_range range; local [all...] |
/linux-master/drivers/net/wireless/intel/iwlwifi/fw/ |
H A D | dbg.c | 538 /* The range includes both boundaries */ 549 /* our range is inclusive, hence + 4 */ 609 /* The range includes both boundaries */ 1027 struct iwl_fw_ini_error_dump_range *range = range_ptr; local 1028 __le32 *val = range->data; 1032 range->internal_base_addr = cpu_to_le32(addr); 1033 range->range_data_size = size; 1041 return sizeof(*range) + le32_to_cpu(range->range_data_size); 1075 struct iwl_fw_ini_error_dump_range *range local 1150 struct iwl_fw_ini_error_dump_range *range = range_ptr; local 1170 struct iwl_fw_ini_error_dump_range *range = range_ptr; local 1201 struct iwl_fw_ini_error_dump_range *range = range_ptr; local 1223 struct iwl_fw_ini_error_dump_range *range = range_ptr; local 1242 struct iwl_fw_ini_error_dump_range *range; local 1268 struct iwl_fw_ini_error_dump_range *range = range_ptr; local 1287 struct iwl_fw_ini_error_dump_range *range = range_ptr; local 1355 struct iwl_fw_ini_error_dump_range *range = range_ptr; local 1424 struct iwl_fw_ini_error_dump_range *range = range_ptr; local 1537 struct iwl_fw_ini_error_dump_range *range = range_ptr; local 1605 struct iwl_fw_ini_error_dump_range *range = range_ptr; local 1626 struct iwl_fw_ini_error_dump_range *range = range_ptr; local 1644 struct iwl_fw_ini_error_dump_range *range = range_ptr; local 1671 struct iwl_fw_ini_error_dump_range *range = range_ptr; local 1693 struct iwl_fw_ini_error_dump_range *range = range_ptr; local 1981 int range; local 2226 u8 *range; local [all...] |
/linux-master/drivers/gpu/drm/amd/pm/powerplay/hwmgr/ |
H A D | hardwaremanager.c | 235 struct PP_TemperatureRange range = { local 253 hwmgr, &range); 258 ret = hwmgr->hwmgr_func->start_thermal_controller(hwmgr, &range); 260 adev->pm.dpm.thermal.min_temp = range.min; 261 adev->pm.dpm.thermal.max_temp = range.max; 262 adev->pm.dpm.thermal.max_edge_emergency_temp = range.edge_emergency_max; 263 adev->pm.dpm.thermal.min_hotspot_temp = range.hotspot_min; 264 adev->pm.dpm.thermal.max_hotspot_crit_temp = range.hotspot_crit_max; 265 adev->pm.dpm.thermal.max_hotspot_emergency_temp = range.hotspot_emergency_max; 266 adev->pm.dpm.thermal.min_mem_temp = range [all...] |
H A D | vega12_thermal.h | 63 struct PP_TemperatureRange *range);
|
/linux-master/drivers/accel/ivpu/ |
H A D | ivpu_gem.c | 77 const struct ivpu_addr_range *range) 87 ret = ivpu_mmu_context_insert_node(ctx, range, ivpu_bo_size(bo), &bo->mm_node); 208 struct ivpu_addr_range *range; local 217 range = &vdev->hw->ranges.shave; 219 range = &vdev->hw->ranges.dma; 221 range = &vdev->hw->ranges.user; 223 return ivpu_bo_alloc_vpu_addr(bo, &file_priv->ctx, range); 292 struct ivpu_addr_range *range, u64 size, u32 flags) 298 if (drm_WARN_ON(&vdev->drm, !range)) 301 drm_WARN_ON(&vdev->drm, !PAGE_ALIGNED(range 76 ivpu_bo_alloc_vpu_addr(struct ivpu_bo *bo, struct ivpu_mmu_context *ctx, const struct ivpu_addr_range *range) argument 291 ivpu_bo_create(struct ivpu_device *vdev, struct ivpu_mmu_context *ctx, struct ivpu_addr_range *range, u64 size, u32 flags) argument [all...] |
/linux-master/arch/riscv/kvm/ |
H A D | mmu.c | 297 * If the range is too large, release the kvm->mmu_lock 542 bool kvm_unmap_gfn_range(struct kvm *kvm, struct kvm_gfn_range *range) argument 547 gstage_unmap_range(kvm, range->start << PAGE_SHIFT, 548 (range->end - range->start) << PAGE_SHIFT, 549 range->may_block); 553 bool kvm_set_spte_gfn(struct kvm *kvm, struct kvm_gfn_range *range) argument 556 kvm_pfn_t pfn = pte_pfn(range->arg.pte); 561 WARN_ON(range->end - range 573 kvm_age_gfn(struct kvm *kvm, struct kvm_gfn_range *range) argument 591 kvm_test_age_gfn(struct kvm *kvm, struct kvm_gfn_range *range) argument [all...] |
/linux-master/drivers/gpu/drm/sun4i/ |
H A D | sun8i_csc.c | 113 enum drm_color_range range) 119 table = yuv2rgb[range][encoding]; 146 enum drm_color_range range) 152 table = yuv2rgb_de3[range][encoding]; 211 enum drm_color_range range) 217 mode, encoding, range); 224 mode, encoding, range); 110 sun8i_csc_set_coefficients(struct regmap *map, u32 base, enum sun8i_csc_mode mode, enum drm_color_encoding encoding, enum drm_color_range range) argument 143 sun8i_de3_ccsc_set_coefficients(struct regmap *map, int layer, enum sun8i_csc_mode mode, enum drm_color_encoding encoding, enum drm_color_range range) argument 208 sun8i_csc_set_ccsc_coefficients(struct sun8i_mixer *mixer, int layer, enum sun8i_csc_mode mode, enum drm_color_encoding encoding, enum drm_color_range range) argument
|
/linux-master/drivers/bus/ |
H A D | uniphier-system-bus.c | 44 "range found: bank = %d, addr = %08x, paddr = %08llx, size = %08x\n", 54 "range for bank %d has already been specified\n", bank); 89 dev_dbg(priv->dev, "range added: bank = %d, addr = %08x, end = %08x\n", 180 struct of_range range; local 197 for_each_of_range(&parser, &range) { 198 if (range.cpu_addr == OF_BAD_ADDR) 201 upper_32_bits(range.bus_addr), 202 lower_32_bits(range.bus_addr), 203 range.cpu_addr, range [all...] |
/linux-master/drivers/irqchip/ |
H A D | irq-ti-sci-intr.c | 84 const __be32 *range; local 86 range = of_get_property(np, "ti,interrupt-ranges", &len); 87 if (!range) 90 for (len /= sizeof(*range); len >= 3; len -= 3) { 91 base = be32_to_cpu(*range++); 92 pbase = be32_to_cpu(*range++); 93 size = be32_to_cpu(*range++);
|
/linux-master/tools/testing/selftests/arm64/mte/ |
H A D | mte_common_util.h | 31 /* Address range for mte tag fault and negative value means underflow */ 60 void mte_initialize_current_context(int mode, uintptr_t ptr, ssize_t range); 69 void mte_set_tag_address_range(void *ptr, int range); 70 void mte_clear_tag_address_range(void *ptr, int range);
|
/linux-master/drivers/net/wireless/mediatek/mt76/mt7603/ |
H A D | debugfs.c | 76 int bound[3], i, range; local 78 range = mt76_rr(dev, MT_AGG_ASRCR); 80 bound[i] = MT_AGG_ASRCR_RANGE(range, i) + 1;
|
/linux-master/include/linux/pinctrl/ |
H A D | pinctrl.h | 70 * @name: a name for the chip in this range 71 * @id: an ID number for the chip in this range 72 * @base: base offset of the GPIO range 73 * @pin_base: base pin number of the GPIO range if pins == NULL 74 * @npins: number of pins in the GPIO range, including the base number 75 * @pins: enumeration of pins in GPIO range or NULL 193 struct pinctrl_gpio_range *range); 198 struct pinctrl_gpio_range *range); 201 struct pinctrl_gpio_range *range);
|
/linux-master/arch/powerpc/kernel/ |
H A D | pci-common.c | 545 /* In the range of this resource? */ 743 * - We can only cope with one IO space range and up to 3 Memory space 759 struct of_pci_range range; local 770 for_each_of_pci_range(&parser, &range) { 776 if (range.cpu_addr == OF_BAD_ADDR || range.size == 0) 781 switch (range.flags & IORESOURCE_TYPE_BITS) { 785 range.cpu_addr, range.cpu_addr + range [all...] |
/linux-master/net/wireless/ |
H A D | wext-compat.c | 117 struct iw_range *range = (struct iw_range *) extra; local 125 memset(range, 0, sizeof(struct iw_range)); 127 range->we_version_compiled = WIRELESS_EXT; 128 range->we_version_source = 21; 129 range->retry_capa = IW_RETRY_LIMIT; 130 range->retry_flags = IW_RETRY_LIMIT; 131 range->min_retry = 0; 132 range->max_retry = 255; 133 range->min_rts = 0; 134 range [all...] |
/linux-master/drivers/staging/ks7010/ |
H A D | ks_wlan_net.c | 906 struct iw_range *range = (struct iw_range *)extra; local 914 memset(range, 0, sizeof(*range)); 915 range->min_nwid = 0x0000; 916 range->max_nwid = 0x0000; 917 range->num_channels = 14; 923 range->freq[k].i = i + 1; /* List index */ 924 range->freq[k].m = frequency_list[i] * 100000; 925 range->freq[k++].e = 1; /* Values in table in MHz -> * 10^5 * 10 */ 927 range [all...] |
/linux-master/drivers/dax/ |
H A D | bus.c | 163 * nvdimm where a single range is assigned. Its boundaries are by the external 164 * subsystem and are usually limited to one physical memory range. For example, 166 * single contiguous range) 198 size += range_len(&dev_dax->ranges[i].range); 447 struct range *range = &dev_dax->ranges[i].range; local 451 dev_dbg(&dev_dax->dev, "delete range[%d]: %#llx:%#llx\n", i, 452 (unsigned long long)range->start, 453 (unsigned long long)range 649 alloc_dax_region(struct device *parent, int region_id, struct range *range, int target_node, unsigned int align, unsigned long flags) argument 934 struct range *range = &dax_range->range; local 992 struct range *range = &dev_dax->ranges[i].range; local 1164 range_parse(const char *opt, size_t len, struct range *range) argument [all...] |
/linux-master/drivers/hid/ |
H A D | hid-lg4ff.c | 61 static void lg4ff_set_range_dfp(struct hid_device *hid, u16 range); 62 static void lg4ff_set_range_g25(struct hid_device *hid, u16 range); 67 u16 range; member in struct:lg4ff_wheel_data 79 void (*set_range)(struct hid_device *hid, u16 range); 103 void (*set_range)(struct hid_device *hid, u16 range); 276 /* Recalculates X axis value accordingly to currently selected range */ 277 static s32 lg4ff_adjust_dfp_x_axis(s32 value, u16 range) argument 282 if (range == 900) 284 else if (range == 200) 286 else if (range < 20 584 lg4ff_set_range_g25(struct hid_device *hid, u16 range) argument 619 lg4ff_set_range_dfp(struct hid_device *hid, u16 range) argument 1024 u16 range = simple_strtoul(buf, NULL, 10); local [all...] |
/linux-master/drivers/misc/mei/ |
H A D | hw-txe.h | 62 int mei_txe_setup_satt2(struct mei_device *dev, phys_addr_t addr, u32 range);
|
/linux-master/include/uapi/linux/netfilter/ |
H A D | nf_nat.h | 35 struct nf_nat_ipv4_range range[1]; member in struct:nf_nat_ipv4_multi_range_compat
|
/linux-master/tools/power/cpupower/utils/idle_monitor/ |
H A D | nhm_idle.c | 37 .range = RANGE_CORE, 44 .range = RANGE_CORE, 52 .range = RANGE_PACKAGE, 59 .range = RANGE_PACKAGE,
|
/linux-master/tools/testing/selftests/tc-testing/plugin-lib/ |
H A D | scapyPlugin.py | 53 for count in range(scapyinfo['count']):
|