Home
last modified time | relevance | path

Searched refs:range (Results 601 - 625 of 1542) sorted by relevance

1...<<21222324252627282930>>...62

/kernel/linux/linux-5.10/drivers/net/wireless/cisco/
H A Dairo.c878 /* This may be wrong. When using the new SIOCIWFIRSTPRIV range, we probably
6926 * Wireless Handler : get range info
6934 struct iw_range *range = (struct iw_range *) extra; in airo_get_range() local
6942 memset(range, 0, sizeof(*range)); in airo_get_range()
6943 range->min_nwid = 0x0000; in airo_get_range()
6944 range->max_nwid = 0x0000; in airo_get_range()
6945 range->num_channels = 14; in airo_get_range()
6950 range->freq[k].i = i + 1; /* List index */ in airo_get_range()
6951 range in airo_get_range()
[all...]
/kernel/linux/linux-6.6/drivers/net/wireless/cisco/
H A Dairo.c877 /* This may be wrong. When using the new SIOCIWFIRSTPRIV range, we probably
6943 * Wireless Handler : get range info
6952 struct iw_range *range = (struct iw_range *) extra; in airo_get_range() local
6960 memset(range, 0, sizeof(*range)); in airo_get_range()
6961 range->min_nwid = 0x0000; in airo_get_range()
6962 range->max_nwid = 0x0000; in airo_get_range()
6963 range->num_channels = 14; in airo_get_range()
6968 range->freq[k].i = i + 1; /* List index */ in airo_get_range()
6969 range in airo_get_range()
[all...]
/kernel/linux/linux-5.10/mm/
H A Dmemory.c695 * already present in the new task to be cleared in the whole range
1149 struct mmu_notifier_range range; in copy_page_range() local
1185 mmu_notifier_range_init(&range, MMU_NOTIFY_PROTECTION_PAGE, in copy_page_range()
1187 mmu_notifier_invalidate_range_start(&range); in copy_page_range()
1215 mmu_notifier_invalidate_range_end(&range); in copy_page_range()
1530 * unmap_vmas - unmap a range of memory covered by a list of vma's
1543 * range after unmap_vmas() returns. So the only responsibility here is to
1551 struct mmu_notifier_range range; in unmap_vmas() local
1553 mmu_notifier_range_init(&range, MMU_NOTIFY_UNMAP, 0, vma, vma->vm_mm, in unmap_vmas()
1555 mmu_notifier_invalidate_range_start(&range); in unmap_vmas()
1572 struct mmu_notifier_range range; zap_page_range() local
1599 struct mmu_notifier_range range; zap_page_range_single() local
2877 struct mmu_notifier_range range; wp_page_copy() local
4873 follow_invalidate_pte(struct mm_struct *mm, unsigned long address, struct mmu_notifier_range *range, pte_t **ptepp, pmd_t **pmdpp, spinlock_t **ptlp) follow_invalidate_pte() argument
[all...]
/kernel/linux/linux-6.6/mm/
H A Dhugetlb.c570 * the regions for this range.
585 /* In this loop, we essentially handle an entry for the range in add_reservation_in_range()
590 /* Skip irrelevant regions that start before our range. */ in add_reservation_in_range()
600 /* When we find a region that starts beyond our range, we've in add_reservation_in_range()
620 /* Handle the case where our range extends beyond in add_reservation_in_range()
689 * Add the huge page range represented by [f, t) to the reserve
690 * map. Regions will be taken from the cache to fill in this range.
692 * call to region_chg with the same range, but in some cases the cache will not
731 /* region_add operation of range 1 should never need to in region_add()
754 * huge pages in the specified range [
5046 struct mmu_notifier_range range; copy_hugetlb_page_range() local
5264 struct mmu_notifier_range range; move_hugetlb_page_tables() local
5490 struct mmu_notifier_range range; unmap_hugepage_range() local
5579 struct mmu_notifier_range range; hugetlb_wp() local
6577 struct mmu_notifier_range range; hugetlb_change_protection() local
7311 struct mmu_notifier_range range; hugetlb_unshare_pmds() local
[all...]
/kernel/linux/linux-5.10/drivers/misc/cxl/
H A Dguest.c224 n = bitmap_find_next_zero_area(cur->bitmap, cur->range, in irq_alloc_range()
226 if (n < cur->range) { in irq_alloc_range()
249 (irq + len) <= (cur->offset + cur->range)) { in irq_free_range()
323 irqs->range[i] = try; in guest_alloc_irq_ranges()
333 irq_free_range(adapter, irqs->offset[i], irqs->range[i]); in guest_alloc_irq_ranges()
345 irq_free_range(adapter, irqs->offset[i], irqs->range[i]); in guest_release_irq_ranges()
388 for (i = 0; i < ctx->irqs.range[r]; hwirq++, i++) { in disable_afu_irqs()
404 for (i = 0; i < ctx->irqs.range[r]; hwirq++, i++) { in enable_afu_irqs()
564 if (ctx->irqs.range[0] == 0) { in attach_afu_directed()
571 for (i = 0; i < ctx->irqs.range[ in attach_afu_directed()
[all...]
/kernel/linux/linux-5.10/drivers/net/fddi/skfp/
H A Dpmf.c319 int range ; in smt_build_pmf_response() local
379 if (((range = (pa->p_type & 0xf000)) == 0x2000) || in smt_build_pmf_response()
380 range == 0x3000 || range == 0x4000) { in smt_build_pmf_response()
391 switch (range) { in smt_build_pmf_response()
559 int range ; in smt_add_para() local
588 if (((range = (para & 0xf000)) == 0x2000) || in smt_add_para()
589 range == 0x3000 || range == 0x4000) { in smt_add_para()
605 switch (range) { in smt_add_para()
[all...]
/kernel/linux/linux-5.10/drivers/staging/comedi/drivers/
H A Ddas1800.c617 unsigned int range = CR_RANGE(cmd->chanlist[0]); in das1800_ai_check_chanlist() local
618 bool unipolar0 = comedi_range_is_unipolar(s, range); in das1800_ai_check_chanlist()
622 range = CR_RANGE(cmd->chanlist[i]); in das1800_ai_check_chanlist()
624 if (unipolar0 != comedi_range_is_unipolar(s, range)) { in das1800_ai_check_chanlist()
730 unsigned int range = CR_RANGE(chanspec); in das1800_ai_chanspec_bits() local
739 if (comedi_range_is_unipolar(s, range)) in das1800_ai_chanspec_bits()
822 unsigned int range = CR_RANGE(chanlist[i]); in das1800_ai_set_chanlist() local
825 val = chan | ((range & 0x3) << 8); in das1800_ai_set_chanlist()
945 unsigned int range = CR_RANGE(insn->chanspec); in das1800_ai_insn_read() local
946 bool is_unipolar = comedi_range_is_unipolar(s, range); in das1800_ai_insn_read()
[all...]
H A Dusbdux.c255 unsigned int range = CR_RANGE(cmd->chanlist[i]); in usbduxsub_ai_handle_urb() local
259 if (comedi_range_is_bipolar(s, range)) in usbduxsub_ai_handle_urb()
585 * range is the range value from comedi
587 static u8 create_adc_command(unsigned int chan, unsigned int range) in create_adc_command() argument
589 u8 p = (range <= 1); in create_adc_command()
590 u8 r = ((range % 2) == 0); in create_adc_command()
677 unsigned int range = CR_RANGE(cmd->chanlist[i]); in usbdux_ai_cmd() local
679 devpriv->dux_commands[i + 2] = create_adc_command(chan, range); in usbdux_ai_cmd()
743 unsigned int range in usbdux_ai_insn_read() local
[all...]
/kernel/linux/linux-6.6/drivers/misc/cxl/
H A Dguest.c230 n = bitmap_find_next_zero_area(cur->bitmap, cur->range, in irq_alloc_range()
232 if (n < cur->range) { in irq_alloc_range()
255 (irq + len) <= (cur->offset + cur->range)) { in irq_free_range()
329 irqs->range[i] = try; in guest_alloc_irq_ranges()
339 irq_free_range(adapter, irqs->offset[i], irqs->range[i]); in guest_alloc_irq_ranges()
351 irq_free_range(adapter, irqs->offset[i], irqs->range[i]); in guest_release_irq_ranges()
394 for (i = 0; i < ctx->irqs.range[r]; hwirq++, i++) { in disable_afu_irqs()
410 for (i = 0; i < ctx->irqs.range[r]; hwirq++, i++) { in enable_afu_irqs()
570 if (ctx->irqs.range[0] == 0) { in attach_afu_directed()
577 for (i = 0; i < ctx->irqs.range[ in attach_afu_directed()
[all...]
/kernel/linux/linux-6.6/drivers/vfio/
H A Dvfio_main.c944 /* Special shortcut when a single range is required */ in vfio_combine_iova_ranges()
999 struct vfio_device_feature_dma_logging_range range; in vfio_ioctl_device_feature_logging_start() local
1032 if (copy_from_user(&range, &ranges[i], sizeof(range))) { in vfio_ioctl_device_feature_logging_start()
1036 if (!IS_ALIGNED(range.iova, control.page_size) || in vfio_ioctl_device_feature_logging_start()
1037 !IS_ALIGNED(range.length, control.page_size)) { in vfio_ioctl_device_feature_logging_start()
1042 if (check_add_overflow(range.iova, range.length, &iova_end) || in vfio_ioctl_device_feature_logging_start()
1048 nodes[i].start = range.iova; in vfio_ioctl_device_feature_logging_start()
1049 nodes[i].last = range in vfio_ioctl_device_feature_logging_start()
[all...]
/kernel/linux/linux-6.6/drivers/comedi/drivers/
H A Ddas1800.c615 unsigned int range = CR_RANGE(cmd->chanlist[0]); in das1800_ai_check_chanlist() local
616 bool unipolar0 = comedi_range_is_unipolar(s, range); in das1800_ai_check_chanlist()
620 range = CR_RANGE(cmd->chanlist[i]); in das1800_ai_check_chanlist()
622 if (unipolar0 != comedi_range_is_unipolar(s, range)) { in das1800_ai_check_chanlist()
728 unsigned int range = CR_RANGE(chanspec); in das1800_ai_chanspec_bits() local
737 if (comedi_range_is_unipolar(s, range)) in das1800_ai_chanspec_bits()
820 unsigned int range = CR_RANGE(chanlist[i]); in das1800_ai_set_chanlist() local
823 val = chan | ((range & 0x3) << 8); in das1800_ai_set_chanlist()
943 unsigned int range = CR_RANGE(insn->chanspec); in das1800_ai_insn_read() local
944 bool is_unipolar = comedi_range_is_unipolar(s, range); in das1800_ai_insn_read()
[all...]
H A Dusbdux.c254 unsigned int range = CR_RANGE(cmd->chanlist[i]); in usbduxsub_ai_handle_urb() local
258 if (comedi_range_is_bipolar(s, range)) in usbduxsub_ai_handle_urb()
584 * range is the range value from comedi
586 static u8 create_adc_command(unsigned int chan, unsigned int range) in create_adc_command() argument
588 u8 p = (range <= 1); in create_adc_command()
589 u8 r = ((range % 2) == 0); in create_adc_command()
676 unsigned int range = CR_RANGE(cmd->chanlist[i]); in usbdux_ai_cmd() local
678 devpriv->dux_commands[i + 2] = create_adc_command(chan, range); in usbdux_ai_cmd()
742 unsigned int range in usbdux_ai_insn_read() local
[all...]
/kernel/linux/linux-6.6/drivers/net/fddi/skfp/
H A Dpmf.c315 int range ; in smt_build_pmf_response() local
375 if (((range = (pa->p_type & 0xf000)) == 0x2000) || in smt_build_pmf_response()
376 range == 0x3000 || range == 0x4000) { in smt_build_pmf_response()
387 switch (range) { in smt_build_pmf_response()
555 int range ; in smt_add_para() local
584 if (((range = (para & 0xf000)) == 0x2000) || in smt_add_para()
585 range == 0x3000 || range == 0x4000) { in smt_add_para()
601 switch (range) { in smt_add_para()
[all...]
/kernel/linux/linux-6.6/lib/xz/
H A Dxz_dec_lzma2.c96 uint32_t range; member
194 * when the distance is in the range [4, 127].
469 /* Reset the range decoder. */
472 rc->range = (uint32_t)-1; in rc_reset()
501 * Return true if it is possible (from point of view of range decoder) that
512 if (rc->range < RC_TOP_VALUE) { in rc_normalize()
513 rc->range <<= RC_SHIFT_BITS; in rc_normalize()
535 bound = (rc->range >> RC_BIT_MODEL_TOTAL_BITS) * *prob; in rc_bit()
537 rc->range = bound; in rc_bit()
541 rc->range in rc_bit()
[all...]
/kernel/linux/linux-6.6/fs/btrfs/
H A Dfile.c123 * Used to advise which range is to be written back.
187 * in the range start - end. hint_block is filled in with a block number
190 * If an extent intersects the range but is not entirely inside the range
191 * it is either truncated or split. Anything entirely inside the range
196 * with the number of allocated bytes found in the target range, so that the
198 * replacing extents in a range to avoid races with stat(2).
337 * | - range to drop - | in btrfs_drop_extents()
397 * | ---- range to drop ----- | in btrfs_drop_extents()
422 * | ---- range t in btrfs_drop_extents()
2769 struct falloc_range *range = NULL; add_falloc_range() local
3028 struct falloc_range *range; btrfs_fallocate() local
[all...]
/kernel/linux/linux-5.10/drivers/net/wireless/ath/ath9k/
H A Dar9003_phy.c244 int range, max_spur_cnts, synth_freq; in ar9003_hw_spur_mitigate_mrc_cck() local
248 * Need to verify range +/- 10 MHz in control channel, otherwise spur in ar9003_hw_spur_mitigate_mrc_cck()
258 range = 19; in ar9003_hw_spur_mitigate_mrc_cck()
265 range = 10; in ar9003_hw_spur_mitigate_mrc_cck()
269 range = AR_SREV_9462(ah) ? 5 : 10; in ar9003_hw_spur_mitigate_mrc_cck()
291 if (cur_bb_spur < range) { in ar9003_hw_spur_mitigate_mrc_cck()
374 int range, in ar9003_hw_spur_ofdm()
391 if (!(AR_SREV_9565(ah) && range == 10 && synth_freq == 2437)) in ar9003_hw_spur_ofdm()
472 int range, in ar9003_hw_spur_ofdm_work()
516 range, synth_fre in ar9003_hw_spur_ofdm_work()
369 ar9003_hw_spur_ofdm(struct ath_hw *ah, int freq_offset, int spur_freq_sd, int spur_delta_phase, int spur_subchannel_sd, int range, int synth_freq) ar9003_hw_spur_ofdm() argument
469 ar9003_hw_spur_ofdm_work(struct ath_hw *ah, struct ath9k_channel *chan, int freq_offset, int range, int synth_freq) ar9003_hw_spur_ofdm_work() argument
524 int range = 10; ar9003_hw_spur_mitigate_ofdm() local
[all...]
/kernel/linux/linux-6.6/drivers/vhost/
H A Dvdpa.c60 struct vdpa_iova_range range; member
505 struct vhost_vdpa_iova_range range = { in vhost_vdpa_get_iova_range() local
506 .first = v->range.first, in vhost_vdpa_get_iova_range()
507 .last = v->range.last, in vhost_vdpa_get_iova_range()
510 if (copy_to_user(argp, &range, sizeof(range))) in vhost_vdpa_get_iova_range()
1113 if (msg->iova < v->range.first || !msg->size || in vhost_vdpa_process_iotlb_update()
1115 msg->iova + msg->size - 1 > v->range.last) in vhost_vdpa_process_iotlb_update()
1259 struct vdpa_iova_range *range = &v->range; in vhost_vdpa_set_iova_range() local
[all...]
/kernel/linux/linux-6.6/drivers/net/wireless/ath/ath9k/
H A Dar9003_phy.c244 int range, max_spur_cnts, synth_freq; in ar9003_hw_spur_mitigate_mrc_cck() local
248 * Need to verify range +/- 10 MHz in control channel, otherwise spur in ar9003_hw_spur_mitigate_mrc_cck()
258 range = 19; in ar9003_hw_spur_mitigate_mrc_cck()
265 range = 10; in ar9003_hw_spur_mitigate_mrc_cck()
269 range = AR_SREV_9462(ah) ? 5 : 10; in ar9003_hw_spur_mitigate_mrc_cck()
291 if (cur_bb_spur < range) { in ar9003_hw_spur_mitigate_mrc_cck()
374 int range, in ar9003_hw_spur_ofdm()
391 if (!(AR_SREV_9565(ah) && range == 10 && synth_freq == 2437)) in ar9003_hw_spur_ofdm()
472 int range, in ar9003_hw_spur_ofdm_work()
516 range, synth_fre in ar9003_hw_spur_ofdm_work()
369 ar9003_hw_spur_ofdm(struct ath_hw *ah, int freq_offset, int spur_freq_sd, int spur_delta_phase, int spur_subchannel_sd, int range, int synth_freq) ar9003_hw_spur_ofdm() argument
469 ar9003_hw_spur_ofdm_work(struct ath_hw *ah, struct ath9k_channel *chan, int freq_offset, int range, int synth_freq) ar9003_hw_spur_ofdm_work() argument
524 int range = 10; ar9003_hw_spur_mitigate_ofdm() local
[all...]
/kernel/linux/linux-6.6/drivers/irqchip/
H A Dirq-gic-v3.c113 * written by software is moved to the Non-secure range by the Distributor.
334 * Contrary to the ESPI range, the EPPI range is contiguous in convert_offset_index()
335 * to the PPI range in the registers, so let's adjust the in convert_offset_index()
599 enum gic_intid_range range; in gic_arm64_erratum_2941627_needed() local
604 range = get_intid_range(d); in gic_arm64_erratum_2941627_needed()
611 return (range == SPI_RANGE || range == ESPI_RANGE) && in gic_arm64_erratum_2941627_needed()
649 enum gic_intid_range range; in gic_set_type() local
655 range in gic_set_type()
1668 enum gic_intid_range range; fwspec_is_partitioned_ppi() local
[all...]
/kernel/linux/linux-5.10/arch/powerpc/kvm/
H A Dbook3s_hv_uvmem.c695 pfn_first = kvmppc_uvmem_pgmap.range.start >> PAGE_SHIFT; in kvmppc_uvmem_get_page()
697 (range_len(&kvmppc_uvmem_pgmap.range) >> PAGE_SHIFT); in kvmppc_uvmem_get_page()
1015 (kvmppc_uvmem_pgmap.range.start >> PAGE_SHIFT); in kvmppc_uvmem_page_free()
1178 kvmppc_uvmem_pgmap.range.start = res->start; in kvmppc_uvmem_init()
1179 kvmppc_uvmem_pgmap.range.end = res->end; in kvmppc_uvmem_init()
1215 release_mem_region(kvmppc_uvmem_pgmap.range.start, in kvmppc_uvmem_free()
1216 range_len(&kvmppc_uvmem_pgmap.range)); in kvmppc_uvmem_free()
/kernel/linux/linux-6.6/arch/powerpc/kvm/
H A Dbook3s_hv_uvmem.c702 pfn_first = kvmppc_uvmem_pgmap.range.start >> PAGE_SHIFT; in kvmppc_uvmem_get_page()
704 (range_len(&kvmppc_uvmem_pgmap.range) >> PAGE_SHIFT); in kvmppc_uvmem_get_page()
1021 (kvmppc_uvmem_pgmap.range.start >> PAGE_SHIFT); in kvmppc_uvmem_page_free()
1184 kvmppc_uvmem_pgmap.range.start = res->start; in kvmppc_uvmem_init()
1185 kvmppc_uvmem_pgmap.range.end = res->end; in kvmppc_uvmem_init()
1220 release_mem_region(kvmppc_uvmem_pgmap.range.start, in kvmppc_uvmem_free()
1221 range_len(&kvmppc_uvmem_pgmap.range)); in kvmppc_uvmem_free()
/kernel/linux/linux-5.10/drivers/gpu/drm/omapdrm/dss/
H A Dhdmi5_core.c455 enum hdmi_quantization_range range) in hdmi_core_configure_range()
468 switch (range) { in hdmi_core_configure_range()
571 enum hdmi_quantization_range range; in hdmi5_configure() local
578 /* All CEA modes other than VIC 1 use limited quantization range. */ in hdmi5_configure()
579 range = vic > 1 ? HDMI_QUANTIZATION_RANGE_LIMITED : in hdmi5_configure()
582 range = HDMI_QUANTIZATION_RANGE_FULL; in hdmi5_configure()
598 hdmi_core_configure_range(core, range); in hdmi5_configure()
599 cfg->infoframe.quantization_range = range; in hdmi5_configure()
454 hdmi_core_configure_range(struct hdmi_core_data *core, enum hdmi_quantization_range range) hdmi_core_configure_range() argument
/kernel/linux/linux-5.10/drivers/pci/controller/
H A Dpci-mvebu.c746 const __be32 *range; in mvebu_get_tgt_attr() local
752 range = of_get_property(np, "ranges", &rlen); in mvebu_get_tgt_attr()
753 if (!range) in mvebu_get_tgt_attr()
760 for (i = 0; i < nranges; i++, range += rangesz) { in mvebu_get_tgt_attr()
761 u32 flags = of_read_number(range, 1); in mvebu_get_tgt_attr()
762 u32 slot = of_read_number(range + 1, 1); in mvebu_get_tgt_attr()
763 u64 cpuaddr = of_read_number(range + na, pna); in mvebu_get_tgt_attr()
/kernel/linux/linux-5.10/drivers/pnp/pnpacpi/
H A Drsparser.c154 struct { u64 start, length; } range; in pnpacpi_parse_allocated_vendor() local
157 sizeof(range))) { in pnpacpi_parse_allocated_vendor()
158 memcpy(&range, vendor->byte_data, sizeof(range)); in pnpacpi_parse_allocated_vendor()
159 pnp_add_mem_resource(dev, range.start, range.start + in pnpacpi_parse_allocated_vendor()
160 range.length - 1, 0); in pnpacpi_parse_allocated_vendor()
/kernel/linux/linux-5.10/drivers/gpu/drm/tiny/
H A Dgm12u320.c507 .data.other_data.data.range.min_vfreq = 59,
508 .data.other_data.data.range.max_vfreq = 61,
509 .data.other_data.data.range.min_hfreq_khz = 29,
510 .data.other_data.data.range.max_hfreq_khz = 32,
511 .data.other_data.data.range.pixel_clock_mhz = 4, /* 40 MHz */
512 .data.other_data.data.range.flags = 0,
513 .data.other_data.data.range.formula.cvt = {

Completed in 71 milliseconds

1...<<21222324252627282930>>...62