/kernel/linux/linux-5.10/drivers/gpio/ |
H A D | gpiolib.c | 197 pr_err("%s: cannot find free range\n", __func__); in gpiochip_find_base() 246 * by range(means [base, base + ngpio - 1]) order. 1879 * gpiochip_add_pingroup_range() - add a range for GPIO <-> pin mapping 1880 * @gc: the gpiochip to add the range for 1904 /* Use local offset as range ID */ in gpiochip_add_pingroup_range() 1905 pin_range->range.id = gpio_offset; in gpiochip_add_pingroup_range() 1906 pin_range->range.gc = gc; in gpiochip_add_pingroup_range() 1907 pin_range->range.name = gc->label; in gpiochip_add_pingroup_range() 1908 pin_range->range.base = gdev->base + gpio_offset; in gpiochip_add_pingroup_range() 1912 &pin_range->range in gpiochip_add_pingroup_range() [all...] |
/kernel/linux/linux-6.6/drivers/gpio/ |
H A D | gpiolib.c | 220 pr_err("%s: cannot find free range\n", __func__); in gpiochip_find_base() 269 * by range(means [base, base + ngpio - 1]) order. 1952 * gpiochip_add_pingroup_range() - add a range for GPIO <-> pin mapping 1953 * @gc: the gpiochip to add the range for 1977 /* Use local offset as range ID */ in gpiochip_add_pingroup_range() 1978 pin_range->range.id = gpio_offset; in gpiochip_add_pingroup_range() 1979 pin_range->range.gc = gc; in gpiochip_add_pingroup_range() 1980 pin_range->range.name = gc->label; in gpiochip_add_pingroup_range() 1981 pin_range->range.base = gdev->base + gpio_offset; in gpiochip_add_pingroup_range() 1985 &pin_range->range in gpiochip_add_pingroup_range() [all...] |
/kernel/linux/linux-5.10/fs/ocfs2/ |
H A D | alloc.c | 1090 * Change range of the branches in the right most path according to the leaf 1792 u32 range; in __ocfs2_find_path() local 1819 range = le32_to_cpu(rec->e_cpos) + in __ocfs2_find_path() 1821 if (cpos >= le32_to_cpu(rec->e_cpos) && cpos < range) in __ocfs2_find_path() 1966 * count covers the full theoretical range of their child list in ocfs2_adjust_adjacent_records() 1967 * - the range between their cpos and the cpos of the record in ocfs2_adjust_adjacent_records() 2298 * Trap the case where we're inserting into the theoretical range past 2299 * the _actual_ left leaf range. Otherwise, we'll rotate a record 2326 unsigned int range; in ocfs2_leftmost_rec_contains() local 2340 range in ocfs2_leftmost_rec_contains() 2531 u32 range; ocfs2_update_edge_lengths() local 3866 unsigned int range; ocfs2_insert_at_leaf() local 7204 u32 new_highest_cpos, range, trunc_cpos, trunc_len, phys_cpos, coff; ocfs2_commit_truncate() local 7521 ocfs2_trim_mainbm(struct super_block *sb, struct fstrim_range *range) ocfs2_trim_mainbm() argument 7644 ocfs2_trim_fs(struct super_block *sb, struct fstrim_range *range) ocfs2_trim_fs() argument [all...] |
/kernel/linux/linux-6.6/fs/ocfs2/ |
H A D | alloc.c | 1088 * Change range of the branches in the right most path according to the leaf 1790 u32 range; in __ocfs2_find_path() local 1817 range = le32_to_cpu(rec->e_cpos) + in __ocfs2_find_path() 1819 if (cpos >= le32_to_cpu(rec->e_cpos) && cpos < range) in __ocfs2_find_path() 1964 * count covers the full theoretical range of their child list in ocfs2_adjust_adjacent_records() 1965 * - the range between their cpos and the cpos of the record in ocfs2_adjust_adjacent_records() 2296 * Trap the case where we're inserting into the theoretical range past 2297 * the _actual_ left leaf range. Otherwise, we'll rotate a record 2324 unsigned int range; in ocfs2_leftmost_rec_contains() local 2338 range in ocfs2_leftmost_rec_contains() 2529 u32 range; ocfs2_update_edge_lengths() local 3864 unsigned int range; ocfs2_insert_at_leaf() local 7209 u32 new_highest_cpos, range, trunc_cpos, trunc_len, phys_cpos, coff; ocfs2_commit_truncate() local 7526 ocfs2_trim_mainbm(struct super_block *sb, struct fstrim_range *range) ocfs2_trim_mainbm() argument 7649 ocfs2_trim_fs(struct super_block *sb, struct fstrim_range *range) ocfs2_trim_fs() argument [all...] |
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/vulkan/ |
H A D | vk_helpers.cpp | 3354 // sum of offset and the address of the range of VkDeviceMemory object that is backing buffer, in LineLoopHelper() 4064 // Mark the range as defined. Layers above 8 are discarded, and are always assumed to have in setContentDefined() 5288 VkImageSubresourceRange range = {}; in clearColor() local 5289 range.aspectMask = VK_IMAGE_ASPECT_COLOR_BIT; in clearColor() 5290 range.baseMipLevel = baseMipLevelVk.get(); in clearColor() 5291 range.levelCount = levelCount; in clearColor() 5292 range.baseArrayLayer = baseArrayLayer; in clearColor() 5293 range.layerCount = layerCount; in clearColor() 5300 range.layerCount = 1; in clearColor() 5303 commandBuffer->clearColorImage(mImage, getCurrentLayout(), color, 1, &range); in clearColor() 5318 VkImageSubresourceRange range = {}; clearDepthStencil() local 8305 ImageSubresourceRange range = MakeImageSubresourceDrawRange( getLevelDrawImageView() local 8385 ImageSubresourceRange range; MakeImageSubresourceReadRange() local 8402 ImageSubresourceRange range; MakeImageSubresourceDrawRange() local [all...] |
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/text_field/ |
H A D | text_select_controller.cpp | 222 auto range = GetSelectRangeByOffset(touchLocalOffset); in UpdateSelectByOffset() local 223 int32_t start = range.first; in UpdateSelectByOffset() 224 int32_t end = range.second; in UpdateSelectByOffset() 238 auto range = GetSelectParagraphByOffset(localOffset); in UpdateSelectPragraphByOffset() local 239 int32_t start = range.first; in UpdateSelectPragraphByOffset() 240 int32_t end = range.second; in UpdateSelectPragraphByOffset()
|
/kernel/linux/linux-6.6/arch/s390/kernel/ |
H A D | perf_cpum_cf.c | 59 static inline int ctr_stcctm(enum cpumf_ctr_set set, u64 range, u64 *dest) in ctr_stcctm() argument 63 return stcctm(BASIC, range, dest); in ctr_stcctm() 65 return stcctm(PROBLEM_STATE, range, dest); in ctr_stcctm() 67 return stcctm(CRYPTO_ACTIVITY, range, dest); in ctr_stcctm() 69 return stcctm(EXTENDED, range, dest); in ctr_stcctm() 71 return stcctm(MT_DIAG_CLEARING, range, dest); in ctr_stcctm()
|
/kernel/linux/linux-5.10/drivers/hwmon/ |
H A D | adm1031.c | 245 int range = val - AUTO_TEMP_MIN_FROM_REG(reg); in AUTO_TEMP_MAX_TO_REG() local 247 range = ((val - AUTO_TEMP_MIN_FROM_REG(reg))*10)/(16 - pwm); in AUTO_TEMP_MAX_TO_REG() 249 (range < 10000 ? 0 : in AUTO_TEMP_MAX_TO_REG() 250 range < 20000 ? 1 : in AUTO_TEMP_MAX_TO_REG() 251 range < 40000 ? 2 : range < 80000 ? 3 : 4)); in AUTO_TEMP_MAX_TO_REG()
|
/kernel/linux/linux-5.10/drivers/iio/imu/ |
H A D | kmx61.c | 130 u8 range; member 481 static int kmx61_set_range(struct kmx61_data *data, u8 range) in kmx61_set_range() argument 492 ret |= range & KMX61_REG_CTRL1_GSEL_MASK; in kmx61_set_range() 500 data->range = range; in kmx61_set_range() 550 /* set accel 12bit, 4g range */ in kmx61_chip_init() 829 *val2 = kmx61_uscale_table[data->range]; in kmx61_read_raw()
|
/kernel/linux/linux-5.10/fs/nilfs2/ |
H A D | sufile.c | 25 * @allocmin: lower limit of allocatable segment range 26 * @allocmax: upper limit of allocatable segment range 31 __u64 allocmin; /* lower limit of allocatable segment range */ 32 __u64 allocmax; /* upper limit of allocatable segment range */ 256 * nilfs_sufile_set_alloc_range - limit range of segment to be allocated 657 * nilfs_sufile_truncate_range - truncate range of segment array 671 * %-EBUSY - Dirty or active segments are present in the range 1046 * @range: fstrim_range structure 1059 int nilfs_sufile_trim_fs(struct inode *sufile, struct fstrim_range *range) in nilfs_sufile_trim_fs() argument 1074 len = range in nilfs_sufile_trim_fs() [all...] |
/kernel/linux/linux-5.10/fs/ext4/ |
H A D | ioctl.c | 1111 struct fstrim_range range; in __ext4_ioctl() local 1127 if (copy_from_user(&range, (struct fstrim_range __user *)arg, in __ext4_ioctl() 1128 sizeof(range))) in __ext4_ioctl() 1131 ret = ext4_trim_fs(sb, &range); in __ext4_ioctl() 1135 if (copy_to_user((struct fstrim_range __user *)arg, &range, in __ext4_ioctl() 1136 sizeof(range))) in __ext4_ioctl()
|
/kernel/linux/linux-5.10/drivers/gpu/drm/exynos/ |
H A D | exynos_drm_gsc.c | 70 * @range: narrow, wide. 78 bool range; member 594 if (sc->range) in gsc_src_set_size() 599 if (sc->range) in gsc_src_set_size() 895 if (sc->range) in gsc_dst_set_size() 900 if (sc->range) in gsc_dst_set_size() 1078 sc->range = true; in gsc_reset()
|
/kernel/linux/linux-5.10/drivers/pinctrl/ |
H A D | pinctrl-oxnas.c | 693 struct pinctrl_gpio_range *range, in oxnas_ox810se_gpio_request_enable() 697 struct oxnas_gpio_bank *bank = gpiochip_get_data(range->gc); in oxnas_ox810se_gpio_request_enable() 723 struct pinctrl_gpio_range *range, in oxnas_ox820_gpio_request_enable() 727 struct oxnas_gpio_bank *bank = gpiochip_get_data(range->gc); in oxnas_ox820_gpio_request_enable() 809 struct pinctrl_gpio_range *range, in oxnas_gpio_set_direction() 812 struct gpio_chip *chip = range->gc; in oxnas_gpio_set_direction() 692 oxnas_ox810se_gpio_request_enable(struct pinctrl_dev *pctldev, struct pinctrl_gpio_range *range, unsigned int offset) oxnas_ox810se_gpio_request_enable() argument 722 oxnas_ox820_gpio_request_enable(struct pinctrl_dev *pctldev, struct pinctrl_gpio_range *range, unsigned int offset) oxnas_ox820_gpio_request_enable() argument 808 oxnas_gpio_set_direction(struct pinctrl_dev *pctldev, struct pinctrl_gpio_range *range, unsigned int offset, bool input) oxnas_gpio_set_direction() argument
|
/kernel/linux/linux-5.10/drivers/regulator/ |
H A D | s2mps11.c | 720 #define regulator_desc_s2mps15_ldo(num, range) { \ 726 .linear_ranges = range, \ 727 .n_linear_ranges = ARRAY_SIZE(range), \ 735 #define regulator_desc_s2mps15_buck(num, range) { \ 741 .linear_ranges = range, \ 742 .n_linear_ranges = ARRAY_SIZE(range), \ 751 /* voltage range for s2mps15 LDO 3, 5, 15, 16, 18, 20, 23 and 27 */ 756 /* voltage range for s2mps15 LDO 2, 6, 14, 17, 19, 21, 24 and 25 */ 761 /* voltage range for s2mps15 LDO 4, 11, 12, 13, 22 and 26 */ 766 /* voltage range fo [all...] |
/kernel/linux/linux-6.6/fs/nilfs2/ |
H A D | sufile.c | 25 * @allocmin: lower limit of allocatable segment range 26 * @allocmax: upper limit of allocatable segment range 31 __u64 allocmin; /* lower limit of allocatable segment range */ 32 __u64 allocmax; /* upper limit of allocatable segment range */ 256 * nilfs_sufile_set_alloc_range - limit range of segment to be allocated 657 * nilfs_sufile_truncate_range - truncate range of segment array 671 * %-EBUSY - Dirty or active segments are present in the range 1046 * @range: fstrim_range structure 1059 int nilfs_sufile_trim_fs(struct inode *sufile, struct fstrim_range *range) in nilfs_sufile_trim_fs() argument 1074 len = range in nilfs_sufile_trim_fs() [all...] |
/kernel/linux/linux-6.6/include/linux/ |
H A D | hyperv.h | 368 * This structure defines a range in guest physical space that can be made to 388 struct gpa_range range[1]; member 409 struct gpa_range range[1]; member 626 struct gpa_range range[]; member 1146 struct hv_page_buffer range[MAX_PAGE_BUFFER_COUNT]; member 1158 struct hv_multipage_buffer range; member 1170 struct hv_mpb_array range; member
|
/kernel/linux/linux-6.6/drivers/power/supply/ |
H A D | rt9467-charger.c | 355 const struct linear_range *range = rt9467_ranges + rsel; in rt9467_get_value_from_ranges() local 363 return linear_range_get_value(range, sel, value); in rt9467_get_value_from_ranges() 371 const struct linear_range *range = rt9467_ranges + rsel; in rt9467_set_value_from_ranges() local 377 ret = linear_range_get_selector_high(range, value, &sel, &found); in rt9467_set_value_from_ranges() 379 value = range->max_sel; in rt9467_set_value_from_ranges() 381 linear_range_get_selector_within(range, value, &sel); in rt9467_set_value_from_ranges()
|
/kernel/linux/linux-6.6/drivers/regulator/ |
H A D | s2mps11.c | 720 #define regulator_desc_s2mps15_ldo(num, range) { \ 726 .linear_ranges = range, \ 727 .n_linear_ranges = ARRAY_SIZE(range), \ 735 #define regulator_desc_s2mps15_buck(num, range) { \ 741 .linear_ranges = range, \ 742 .n_linear_ranges = ARRAY_SIZE(range), \ 751 /* voltage range for s2mps15 LDO 3, 5, 15, 16, 18, 20, 23 and 27 */ 756 /* voltage range for s2mps15 LDO 2, 6, 14, 17, 19, 21, 24 and 25 */ 761 /* voltage range for s2mps15 LDO 4, 11, 12, 13, 22 and 26 */ 766 /* voltage range fo [all...] |
/kernel/linux/linux-6.6/drivers/media/i2c/ |
H A D | ov4689.c | 621 const struct ov4689_gain_range *range; in ov4689_map_gain() local 636 range = &ov4689_gain_ranges[n]; in ov4689_map_gain() 638 *result = clamp(range->offset + (logical_gain) / range->divider, in ov4689_map_gain() 639 range->physical_min, range->physical_max); in ov4689_map_gain()
|
/kernel/linux/linux-6.6/drivers/gpu/drm/exynos/ |
H A D | exynos_drm_gsc.c | 70 * @range: narrow, wide. 78 bool range; member 593 if (sc->range) in gsc_src_set_size() 598 if (sc->range) in gsc_src_set_size() 894 if (sc->range) in gsc_dst_set_size() 899 if (sc->range) in gsc_dst_set_size() 1077 sc->range = true; in gsc_reset()
|
/kernel/linux/linux-6.6/drivers/iio/imu/ |
H A D | kmx61.c | 130 u8 range; member 481 static int kmx61_set_range(struct kmx61_data *data, u8 range) in kmx61_set_range() argument 492 ret |= range & KMX61_REG_CTRL1_GSEL_MASK; in kmx61_set_range() 500 data->range = range; in kmx61_set_range() 550 /* set accel 12bit, 4g range */ in kmx61_chip_init() 827 *val2 = kmx61_uscale_table[data->range]; in kmx61_read_raw()
|
/third_party/backends/backend/ |
H A D | hpljm1005.c | 303 dev->optiond[X1_OFFSET].constraint.range = &range_x; in attach() 314 dev->optiond[Y1_OFFSET].constraint.range = &range_y; in attach() 325 dev->optiond[X2_OFFSET].constraint.range = &range_x; in attach() 336 dev->optiond[Y2_OFFSET].constraint.range = &range_y; in attach() 349 dev->optiond[BRIGH_OFFSET].constraint.range = &range_br_cont; in attach() 362 dev->optiond[CONTR_OFFSET].constraint.range = &range_br_cont; in attach()
|
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/text/ |
H A D | PluralRules.java | 103 * range_list = (range | value) (',' range_list)* 106 * range = value'..'value 166 * The difference between 'in' and 'within' is that 'in' only includes integers in the specified range, while 'within' 1060 * A range of NumberInfo that includes all values with the same visibleFractionDigitCount. 1166 for (String range : COMMA_SEPARATED.split(source)) { in parse() 1167 if (range.equals("…") || range.equals("...")) { in parse() 1173 throw new IllegalArgumentException("Can only have … at the end of samples: " + range); in parse() 1175 String[] rangeParts = TILDE_SEPARATED.split(range); in parse() 1189 default: throw new IllegalArgumentException("Ill-formed number range in parse() [all...] |
/third_party/node/src/ |
H A D | module_wrap.cc | 76 auto range = env()->hash_to_module_map.equal_range(module_hash_); in ~ModuleWrap() local 77 for (auto it = range.first; it != range.second; ++it) { in ~ModuleWrap() 95 auto range = env->hash_to_module_map.equal_range(module->GetIdentityHash()); in GetFromModule() local 96 for (auto it = range.first; it != range.second; ++it) { in GetFromModule()
|
/third_party/ltp/testcases/kernel/io/ltp-aiodio/ |
H A D | aio-stress.c | 572 off_t range; in random_byte_offset() local 575 range = (oper->end - oper->start) / (1024 * 1024); in random_byte_offset() 580 if (range < offset) in random_byte_offset() 581 range = 0; in random_byte_offset() 583 range -= offset; in random_byte_offset() 586 num = 1 + (int)((double)range * rand() / (RAND_MAX + 1.0)); in random_byte_offset()
|