| /OK3568_Linux_fs/kernel/kernel/ |
| H A D | range.c | 3 * Range add and subtract 10 #include <linux/range.h> 12 int add_range(struct range *range, int az, int nr_range, u64 start, u64 end) in add_range() argument 21 range[nr_range].start = start; in add_range() 22 range[nr_range].end = end; in add_range() 29 int add_range_with_merge(struct range *range, int az, int nr_range, in add_range_with_merge() argument 41 if (!range[i].end) in add_range_with_merge() 44 common_start = max(range[i].start, start); in add_range_with_merge() 45 common_end = min(range[i].end, end); in add_range_with_merge() 50 start = min(range[i].start, start); in add_range_with_merge() [all …]
|
| /OK3568_Linux_fs/kernel/Documentation/gpu/ |
| H A D | kms-properties.csv | 7 ,,“left margin”,RANGE,"Min=0, Max=100",Connector,TBD 8 ,,“right margin”,RANGE,"Min=0, Max=100",Connector,TBD 9 ,,“top margin”,RANGE,"Min=0, Max=100",Connector,TBD 10 ,,“bottom margin”,RANGE,"Min=0, Max=100",Connector,TBD 11 ,,“brightness”,RANGE,"Min=0, Max=100",Connector,TBD 12 ,,“contrast”,RANGE,"Min=0, Max=100",Connector,TBD 13 ,,“flicker reduction”,RANGE,"Min=0, Max=100",Connector,TBD 14 ,,“overscan”,RANGE,"Min=0, Max=100",Connector,TBD 15 ,,“saturation”,RANGE,"Min=0, Max=100",Connector,TBD 16 ,,“hue”,RANGE,"Min=0, Max=100",Connector,TBD [all …]
|
| /OK3568_Linux_fs/kernel/drivers/soc/ti/ |
| H A D | knav_qmss_acc.c | 20 #define knav_range_offset_to_inst(kdev, range, q) \ argument 21 (range->queue_base_inst + (q << kdev->inst_shift)) 23 static void __knav_acc_notify(struct knav_range_info *range, in __knav_acc_notify() argument 26 struct knav_device *kdev = range->kdev; in __knav_acc_notify() 30 range_base = kdev->base_id + range->queue_base; in __knav_acc_notify() 32 if (range->flags & RANGE_MULTI_QUEUE) { in __knav_acc_notify() 33 for (queue = 0; queue < range->num_queues; queue++) { in __knav_acc_notify() 34 inst = knav_range_offset_to_inst(kdev, range, in __knav_acc_notify() 44 queue = acc->channel - range->acc_info.start_channel; in __knav_acc_notify() 45 inst = knav_range_offset_to_inst(kdev, range, queue); in __knav_acc_notify() [all …]
|
| /OK3568_Linux_fs/buildroot/dl/qt5location/git/src/3rdparty/mapbox-gl-native/deps/boost/1.65.1/include/boost/spirit/home/support/char_set/ |
| H A D | range_functions.hpp | 18 template <typename Range> 20 is_valid(Range const& range) in is_valid() argument 23 return range.first <= range.last; in is_valid() 26 template <typename Range> 28 includes(Range const& range, Range const& other) in includes() argument 31 return (range.first <= other.first) && (range.last >= other.last); in includes() 34 template <typename Range> 36 includes(Range const& range, typename Range::value_type val) in includes() argument 38 // see if val is in range in includes() 39 return (range.first <= val) && (range.last >= val); in includes() [all …]
|
| H A D | range_run_impl.hpp | 20 template <typename Run, typename Iterator, typename Range> 22 try_merge(Run& run, Iterator iter, Range const& range) in try_merge() argument 24 // if *iter intersects with, or is adjacent to, 'range'... in try_merge() 25 if (can_merge(*iter, range)) in try_merge() 27 // merge range and *iter in try_merge() 28 merge(*iter, range); in try_merge() 35 // 2. collapse next range if adjacent or overlapping with *iter in try_merge() 76 range_run<Char>::set(range_type const& range) in set() argument 78 BOOST_ASSERT(is_valid(range)); in set() 81 // the vector is empty, insert 'range' in set() [all …]
|
| /OK3568_Linux_fs/buildroot/dl/qt5location/git/src/3rdparty/mapbox-gl-native/deps/boost/1.65.1/include/boost/geometry/iterators/detail/segment_iterator/ |
| H A D | range_segment_iterator.hpp | 18 #include <boost/range.hpp> 32 template <typename Range, closure_selector Closure = closure<Range>::value> 35 typedef typename boost::range_iterator<Range>::type type; 38 template <typename Range> 39 struct range_iterator_type<Range, open> 41 typedef closing_iterator<Range> type; 46 template <typename Range, closure_selector Closure = closure<Range>::value> 49 static inline typename range_iterator_type<Range, Closure>::type 50 apply(Range& range) in apply() 52 return boost::begin(range); in apply() [all …]
|
| /OK3568_Linux_fs/buildroot/dl/qt5location/git/src/3rdparty/mapbox-gl-native/deps/boost/1.65.1/include/boost/geometry/util/ |
| H A D | range.hpp | 23 #include <boost/range/concepts.hpp> 24 #include <boost/range/begin.hpp> 25 #include <boost/range/end.hpp> 26 #include <boost/range/empty.hpp> 27 #include <boost/range/difference_type.hpp> 28 #include <boost/range/iterator.hpp> 29 #include <boost/range/rbegin.hpp> 30 #include <boost/range/reference.hpp> 31 #include <boost/range/size.hpp> 32 #include <boost/range/value_type.hpp> [all …]
|
| /OK3568_Linux_fs/kernel/lib/ |
| H A D | logic_pio.c | 27 * logic_pio_register_range - register logical PIO range for a host 28 * @new_range: pointer to the IO range to be registered. 31 * If the range already exists, -EEXIST will be returned, which should be 34 * Register a new IO range node in the IO range list. 38 struct logic_pio_hwaddr *range; in logic_pio_register_range() local 53 list_for_each_entry(range, &io_range_list, list) { in logic_pio_register_range() 54 if (range->fwnode == new_range->fwnode) { in logic_pio_register_range() 55 /* range already there */ in logic_pio_register_range() 59 if (range->flags == LOGIC_PIO_CPU_MMIO && in logic_pio_register_range() 62 if (start >= range->hw_start + range->size || in logic_pio_register_range() [all …]
|
| H A D | linear_ranges.c | 3 * helpers to map values in a linear range to range index 18 * linear_range_values_in_range - return the amount of values in a range 19 * @r: pointer to linear range where values are counted 21 * Compute the amount of values in range pointed by @r. Note, values can 22 * be all equal - range with selectors 0,...,2 with step 0 still contains 25 * Return: the amount of values in range pointed by @r 41 * be all equal - range with selectors 0,...,2 with step 0 still contains 65 * linear_range_get_max_value - return the largest value in a range 66 * @r: pointer to linear range where value is looked from 68 * Return: the largest value in the given range [all …]
|
| /OK3568_Linux_fs/kernel/drivers/staging/android/ |
| H A D | ashmem.c | 55 * struct ashmem_range - A range of unpinned/evictable pages 107 static inline unsigned long range_size(struct ashmem_range *range) in range_size() argument 109 return range->pgend - range->pgstart + 1; in range_size() 112 static inline bool range_on_lru(struct ashmem_range *range) in range_on_lru() argument 114 return range->purged == ASHMEM_NOT_PURGED; in range_on_lru() 117 static inline bool page_range_subsumes_range(struct ashmem_range *range, in page_range_subsumes_range() argument 120 return (range->pgstart >= start) && (range->pgend <= end); in page_range_subsumes_range() 123 static inline bool page_range_subsumed_by_range(struct ashmem_range *range, in page_range_subsumed_by_range() argument 126 return (range->pgstart <= start) && (range->pgend >= end); in page_range_subsumed_by_range() 129 static inline bool page_in_range(struct ashmem_range *range, size_t page) in page_in_range() argument [all …]
|
| /OK3568_Linux_fs/prebuilts/gcc/linux-x86/arm/gcc-arm-10.3-2021.07-x86_64-arm-none-linux-gnueabihf/arm-none-linux-gnueabihf/include/c++/10.3.1/ |
| H A D | numeric | 238 * @brief Calculate reduction of values in a range. 240 * @param __first Start of range. 241 * @param __last End of range. 246 * Reduce the values in the range `[first,last)` using a binary operation. 284 * @brief Calculate reduction of values in a range. 286 * @param __first Start of range. 287 * @param __last End of range. 291 * Reduce the values in the range `[first,last)` using addition. 301 * @brief Calculate reduction of values in a range. 303 * @param __first Start of range. [all …]
|
| /OK3568_Linux_fs/prebuilts/gcc/linux-x86/aarch64/gcc-arm-10.3-2021.07-x86_64-aarch64-none-linux-gnu/aarch64-none-linux-gnu/include/c++/10.3.1/ |
| H A D | numeric | 238 * @brief Calculate reduction of values in a range. 240 * @param __first Start of range. 241 * @param __last End of range. 246 * Reduce the values in the range `[first,last)` using a binary operation. 284 * @brief Calculate reduction of values in a range. 286 * @param __first Start of range. 287 * @param __last End of range. 291 * Reduce the values in the range `[first,last)` using addition. 301 * @brief Calculate reduction of values in a range. 303 * @param __first Start of range. [all …]
|
| /OK3568_Linux_fs/kernel/security/selinux/ss/ |
| H A D | context.h | 25 * identity, a role, a type and a MLS range. 32 struct mls_range range; member 38 memset(&c->range, 0, sizeof(c->range)); in mls_context_init() 45 dst->range.level[0].sens = src->range.level[0].sens; in mls_context_cpy() 46 rc = ebitmap_cpy(&dst->range.level[0].cat, &src->range.level[0].cat); in mls_context_cpy() 50 dst->range.level[1].sens = src->range.level[1].sens; in mls_context_cpy() 51 rc = ebitmap_cpy(&dst->range.level[1].cat, &src->range.level[1].cat); in mls_context_cpy() 53 ebitmap_destroy(&dst->range.level[0].cat); in mls_context_cpy() 59 * Sets both levels in the MLS range of 'dst' to the low level of 'src'. 65 dst->range.level[0].sens = src->range.level[0].sens; in mls_context_cpy_low() [all …]
|
| /OK3568_Linux_fs/buildroot/dl/qt5location/git/src/3rdparty/mapbox-gl-native/deps/boost/1.65.1/include/boost/geometry/algorithms/detail/overlay/ |
| H A D | append_no_dups_or_spikes.hpp | 17 #include <boost/range.hpp> 24 #include <boost/geometry/util/range.hpp> 66 template <typename Range, typename Point, typename SideStrategy, typename RobustPolicy> 67 inline void append_no_dups_or_spikes(Range& range, Point const& point, in append_no_dups_or_spikes() argument 79 if (boost::size(range) == 1 in append_no_dups_or_spikes() 80 && points_equal_or_close(*(boost::begin(range)), point, robust_policy)) in append_no_dups_or_spikes() 85 traits::push_back<Range>::apply(range, point); in append_no_dups_or_spikes() 92 while(boost::size(range) >= 3 in append_no_dups_or_spikes() 94 *(boost::end(range) - 3), in append_no_dups_or_spikes() 95 *(boost::end(range) - 2), in append_no_dups_or_spikes() [all …]
|
| /OK3568_Linux_fs/buildroot/dl/qt5location/git/src/3rdparty/mapbox-gl-native/deps/boost/1.65.1/include/boost/geometry/iterators/ |
| H A D | closing_iterator.hpp | 17 #include <boost/range.hpp> 28 \brief Iterator which iterates through a range, but adds first element at end of the range 29 \tparam Range range on which this class is based on 31 \note It's const iterator treating the Range as one containing non-mutable elements. 32 For both "closing_iterator<Range> and "closing_iterator<Range const> 36 template <typename Range> 40 closing_iterator<Range>, 41 typename boost::range_value<Range>::type const, 45 typedef typename boost::range_difference<Range>::type difference_type; 47 /// Constructor including the range it is based on [all …]
|
| /OK3568_Linux_fs/external/rockit/mpi/sdk/include/ |
| H A D | rk_comm_rc.h | 60 RK_U32 u32Gop; // RW; Range:[1, 65536]; the interval of I Frame. 65 …RK_U32 u32BitRate; // RW; Range:[2, 200000]kbps; average bitrate; default : u32VirWidth*u32Vir… 66 RK_U32 u32StatTime; // RW; Range:[1,60]second;default : 3 71 RK_U32 u32Gop; // RW; Range:[1, 65536]; the interval of ISLICE. 76 …RK_U32 u32BitRate; // RW; Range:[2, 200000]kbps; average bitrate; default : u32VirWidth*u32Vir… 77 …RK_U32 u32MaxBitRate; // RW; Range:[u32BitRate, 200000]kbps; max bitrate; default : u32BitRate*3/… 78 RK_U32 u32MinBitRate; // RW; Range:[2, u32BitRate]kbps; min bitrate;; default : u32BitRate/2; 79 RK_U32 u32StatTime; // RW; Range:[1,60]second;default : 3 84 RK_U32 u32Gop; // RW; Range:[1, 65536]; the interval of ISLICE. 89 …RK_U32 u32BitRate; // RW; Range:[2, 200000]kbps; average bitrate; default : u32VirWidth*u32Vir… [all …]
|
| H A D | rk_comm_venc.h | 203 RK_BOOL bSSEEn; /* RW; Range:[0,1]; Region SSE enable */ 336 RK_BOOL bSupportDCF; /*RW; Range:[0,1]; support dcf */ 337 VENC_MPF_CFG_S stMPFCfg; /*RW; Range:[0,1]; config of Mpf*/ 397 RK_U32 u32BufLine; /* RW; Range: [128, H]; Chn buffer allocated by line. */ 409 RK_S32 s32ChnId; /* RW; Range: [0, VENC_MAX_CHN_NUM); The src combo channel */ 414 /* RW; Range:[-1, 2147483647]; Number of frames received and encoded by the encoding channel, 435 … /* RW; Range:[0,1]; slice split enable, RK_TRUE:enable, RK_FALSE:diable, default value:RK_FALSE*/ 448 /* RW; Range:[0,1];default: RK_FALSE, see the H.264 protocol for the meaning*/ 454 …/* RW; Range:[0,2]; Conversion mode for inter-prediction&intra-prediction,0: trans4x4, trans8x8; 1… 457 …RK_U32 bScalingListValid; /* RW; Range:[0,1,2]; enable Scaling, default: 0(dis… [all …]
|
| H A D | rk_comm_gdc.h | 70 FISHEYE_VIEW_MODE_E enViewMode; /* RW; Range: [0, 3];gdc view mode */ 73 RK_U32 u32Pan; /* RW; Range: [0, 360] */ 74 RK_U32 u32Tilt; /* RW; Range: [0, 360] */ 75 RK_U32 u32HorZoom; /* RW; Range: [1, 4095] */ 76 RK_U32 u32VerZoom; /* RW; Range: [1, 4095] */ 81 FISHEYE_VIEW_MODE_E enViewMode; /* RW; Range: [0, 3];gdc view mode */ 84 RK_U32 u32X; /* RW; Range: [0, 4608] */ 85 RK_U32 u32Y; /* RW; Range: [0, 3456] */ 86 RK_U32 u32HorZoom; /* RW; Range: [1, 4095] */ 87 RK_U32 u32VerZoom; /* RW; Range: [1, 4095] */ [all …]
|
| /OK3568_Linux_fs/kernel/mm/ |
| H A D | hmm.c | 30 struct hmm_range *range; member 41 struct hmm_range *range, unsigned long cpu_flags) in hmm_pfns_fill() argument 43 unsigned long i = (addr - range->start) >> PAGE_SHIFT; in hmm_pfns_fill() 46 range->hmm_pfns[i] = cpu_flags; in hmm_pfns_fill() 51 * hmm_vma_fault() - fault in a range lacking valid pmd or pte(s) 52 * @addr: range virtual start address (inclusive) 53 * @end: range virtual end address (exclusive) 59 * or whenever there is no page directory covering the virtual address range. 88 struct hmm_range *range = hmm_vma_walk->range; in hmm_pte_need_fault() local 92 * consider the default flags requested for the range. The API can in hmm_pte_need_fault() [all …]
|
| H A D | memremap.c | 66 static void pgmap_array_delete(struct range *range) in pgmap_array_delete() argument 68 xa_store_range(&pgmap_array, PHYS_PFN(range->start), PHYS_PFN(range->end), in pgmap_array_delete() 75 struct range *range = &pgmap->ranges[range_id]; in pfn_first() local 76 unsigned long pfn = PHYS_PFN(range->start); in pfn_first() 88 struct range *range = &pgmap->ranges[i]; in pgmap_pfn_valid() local 90 if (pfn >= PHYS_PFN(range->start) && in pgmap_pfn_valid() 91 pfn <= PHYS_PFN(range->end)) in pgmap_pfn_valid() 100 const struct range *range = &pgmap->ranges[range_id]; in pfn_end() local 102 return (range->start + range_len(range)) >> PAGE_SHIFT; in pfn_end() 141 struct range *range = &pgmap->ranges[range_id]; in pageunmap_range() local [all …]
|
| /OK3568_Linux_fs/kernel/arch/mips/loongson64/ |
| H A D | init.c | 77 struct logic_pio_hwaddr *range; in add_legacy_isa_io() local 80 range = kzalloc(sizeof(*range), GFP_ATOMIC); in add_legacy_isa_io() 81 if (!range) in add_legacy_isa_io() 84 range->fwnode = fwnode; in add_legacy_isa_io() 85 range->size = size = round_up(size, PAGE_SIZE); in add_legacy_isa_io() 86 range->hw_start = hw_start; in add_legacy_isa_io() 87 range->flags = LOGIC_PIO_CPU_MMIO; in add_legacy_isa_io() 89 ret = logic_pio_register_range(range); in add_legacy_isa_io() 91 kfree(range); in add_legacy_isa_io() 96 if (range->io_start != 0) { in add_legacy_isa_io() [all …]
|
| /OK3568_Linux_fs/u-boot/drivers/core/ |
| H A D | regmap.c | 29 map->range = &map->base_range; in regmap_alloc_count() 31 map->range = malloc(count * sizeof(struct regmap_range)); in regmap_alloc_count() 32 if (!map->range) { in regmap_alloc_count() 46 struct regmap_range *range; in regmap_init_mem_platdata() local 54 for (range = map->range; count > 0; reg += 2, range++, count--) { in regmap_init_mem_platdata() 55 range->start = *reg; in regmap_init_mem_platdata() 56 range->size = reg[1]; in regmap_init_mem_platdata() 66 struct regmap_range *range; in regmap_init_mem() local 91 for (range = map->range, index = 0; count > 0; in regmap_init_mem() 92 count--, range++, index++) { in regmap_init_mem() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/dax/ |
| H A D | kmem.c | 22 static int dax_kmem_range(struct dev_dax *dev_dax, int i, struct range *r) in dax_kmem_range() 25 struct range *range = &dax_range->range; in dax_kmem_range() local 27 /* memory-block align the hotplug range */ in dax_kmem_range() 28 r->start = ALIGN(range->start, memory_block_size_bytes()); in dax_kmem_range() 29 r->end = ALIGN_DOWN(range->end + 1, memory_block_size_bytes()) - 1; in dax_kmem_range() 31 r->start = range->start; in dax_kmem_range() 32 r->end = range->end; in dax_kmem_range() 74 struct range range; in dev_dax_kmem_probe() local 76 rc = dax_kmem_range(dev_dax, i, &range); in dev_dax_kmem_probe() 79 i, range.start, range.end); in dev_dax_kmem_probe() [all …]
|
| /OK3568_Linux_fs/buildroot/dl/qt5location/git/src/3rdparty/mapbox-gl-native/deps/boost/1.65.1/include/boost/geometry/algorithms/ |
| H A D | append.hpp | 24 #include <boost/range.hpp> 38 #include <boost/geometry/util/range.hpp> 71 template <typename Geometry, typename Range> 74 typedef typename boost::range_value<Range>::type point_type; 76 static inline void apply(Geometry& geometry, Range const& range, in apply() 79 for (typename boost::range_iterator<Range const>::type in apply() 80 it = boost::begin(range); in apply() 81 it != boost::end(range); in apply() 106 range::at(interior_rings(polygon), ring_index), point); in apply() 112 template <typename Polygon, typename Range> [all …]
|
| /OK3568_Linux_fs/kernel/net/netfilter/ |
| H A D | nf_nat_core.c | 221 const struct nf_nat_range2 *range) in nf_nat_inet_in_range() argument 224 return ntohl(t->src.u3.ip) >= ntohl(range->min_addr.ip) && in nf_nat_inet_in_range() 225 ntohl(t->src.u3.ip) <= ntohl(range->max_addr.ip); in nf_nat_inet_in_range() 227 return ipv6_addr_cmp(&t->src.u3.in6, &range->min_addr.in6) >= 0 && in nf_nat_inet_in_range() 228 ipv6_addr_cmp(&t->src.u3.in6, &range->max_addr.in6) <= 0; in nf_nat_inet_in_range() 263 * that meet the constraints of range. 266 const struct nf_nat_range2 *range) in in_range() argument 269 * range specified, otherwise let this drag us onto a new src IP. in in_range() 271 if (range->flags & NF_NAT_RANGE_MAP_IPS && in in_range() 272 !nf_nat_inet_in_range(tuple, range)) in in_range() [all …]
|