Home
last modified time | relevance | path

Searched refs:upper_limit (Results 1 – 7 of 7) sorted by relevance

/linux-6.1.9/drivers/thermal/intel/int340x_thermal/
Dint3406_thermal.c19 int upper_limit; member
46 *state = d->upper_limit - d->lower_limit; in int3406_thermal_get_max_state()
57 if (state > d->upper_limit - d->lower_limit) in int3406_thermal_set_cur_state()
60 acpi_level = d->br->levels[d->upper_limit - state]; in int3406_thermal_set_cur_state()
82 for (index = d->lower_limit; index < d->upper_limit; index++) { in int3406_thermal_get_cur_state()
87 *state = d->upper_limit - index; in int3406_thermal_get_cur_state()
111 unsigned long long lower_limit, upper_limit; in int3406_thermal_get_limit() local
118 status = acpi_evaluate_integer(d->handle, "DDPC", NULL, &upper_limit); in int3406_thermal_get_limit()
120 d->upper_limit = int3406_thermal_get_index(d->br->levels, in int3406_thermal_get_limit()
121 d->br->count, upper_limit); in int3406_thermal_get_limit()
[all …]
/linux-6.1.9/arch/xtensa/lib/
Dpci-auto.c65 int *upper_limit; in pciauto_setup_bars() local
84 upper_limit = &pciauto_upper_iospc; in pciauto_setup_bars()
94 upper_limit = &pciauto_upper_memspc; in pciauto_setup_bars()
99 *upper_limit = (*upper_limit + bar_size) & bar_size; in pciauto_setup_bars()
102 pci_write_config_dword(dev, bar, *upper_limit); in pciauto_setup_bars()
114 ~bar_size + 1, *upper_limit); in pciauto_setup_bars()
/linux-6.1.9/fs/ext2/
Dsuper.c735 unsigned int upper_limit; in ext2_max_size() local
745 upper_limit = (1LL << 32) - 1; in ext2_max_size()
748 upper_limit >>= (bits - 9); in ext2_max_size()
759 if (res + meta_blocks <= upper_limit) in ext2_max_size()
762 res = upper_limit; in ext2_max_size()
764 upper_limit -= EXT2_NDIR_BLOCKS; in ext2_max_size()
767 upper_limit -= ppb; in ext2_max_size()
769 if (upper_limit < ppb * ppb) { in ext2_max_size()
770 meta_blocks += 1 + DIV_ROUND_UP(upper_limit, ppb); in ext2_max_size()
775 upper_limit -= ppb * ppb; in ext2_max_size()
[all …]
/linux-6.1.9/drivers/pcmcia/
Dyenta_socket.c1093 unsigned char upper_limit; in yenta_fixup_parent_bridge() local
1109 upper_limit = bridge_to_fix->parent->busn_res.end; in yenta_fixup_parent_bridge()
1121 && sibling->busn_res.start <= upper_limit) in yenta_fixup_parent_bridge()
1122 upper_limit = sibling->busn_res.start - 1; in yenta_fixup_parent_bridge()
1126 if (cardbus_bridge->busn_res.end > upper_limit) in yenta_fixup_parent_bridge()
1129 upper_limit); in yenta_fixup_parent_bridge()
1132 if (bridge_to_fix->busn_res.end < upper_limit) { in yenta_fixup_parent_bridge()
1136 min_t(int, cardbus_bridge->busn_res.end, upper_limit); in yenta_fixup_parent_bridge()
/linux-6.1.9/drivers/power/supply/
Dcharger-manager.c529 int temp, upper_limit, lower_limit; in cm_check_thermal_status() local
543 upper_limit = desc->temp_max; in cm_check_thermal_status()
547 upper_limit -= desc->temp_diff; in cm_check_thermal_status()
551 if (temp > upper_limit) in cm_check_thermal_status()
/linux-6.1.9/fs/ext4/
Dsuper.c3351 loff_t upper_limit = MAX_LFS_FILESIZE; in ext4_max_size() local
3356 upper_limit = (1LL << 32) - 1; in ext4_max_size()
3359 upper_limit >>= (blkbits - 9); in ext4_max_size()
3360 upper_limit <<= blkbits; in ext4_max_size()
3372 if (res > upper_limit) in ext4_max_size()
3373 res = upper_limit; in ext4_max_size()
3385 loff_t upper_limit, res = EXT4_NDIR_BLOCKS; in ext4_max_bitmap_size() local
3403 upper_limit = (1LL << 32) - 1; in ext4_max_bitmap_size()
3406 upper_limit >>= (bits - 9); in ext4_max_bitmap_size()
3415 upper_limit = (1LL << 48) - 1; in ext4_max_bitmap_size()
[all …]
/linux-6.1.9/fs/btrfs/
Dioctl.c2770 struct btrfs_key upper_limit = BTRFS_I(inode)->location; in btrfs_search_path_in_tree_user() local
2796 if (dirid != upper_limit.objectid) { in btrfs_search_path_in_tree_user()
2864 if (key.offset == upper_limit.objectid) in btrfs_search_path_in_tree_user()