Home
last modified time | relevance | path

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

/linux-6.3-rc2/drivers/thermal/intel/int340x_thermal/
A 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.3-rc2/arch/xtensa/lib/
A 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.3-rc2/fs/ext2/
A 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.3-rc2/drivers/pcmcia/
A 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.3-rc2/drivers/power/supply/
A 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.3-rc2/fs/ext4/
A Dsuper.c3358 upper_limit = (1LL << 32) - 1; in ext4_max_size()
3361 upper_limit >>= (blkbits - 9); in ext4_max_size()
3362 upper_limit <<= blkbits; in ext4_max_size()
3374 if (res > upper_limit) in ext4_max_size()
3375 res = upper_limit; in ext4_max_size()
3405 upper_limit = (1LL << 32) - 1; in ext4_max_bitmap_size()
3408 upper_limit >>= (bits - 9); in ext4_max_bitmap_size()
3433 res = upper_limit; in ext4_max_bitmap_size()
3438 upper_limit -= ppb; in ext4_max_bitmap_size()
3440 if (upper_limit < ppb * ppb) { in ext4_max_bitmap_size()
[all …]
/linux-6.3-rc2/fs/btrfs/
A Dioctl.c1879 struct btrfs_key upper_limit = BTRFS_I(inode)->location; in btrfs_search_path_in_tree_user() local
1905 if (dirid != upper_limit.objectid) { in btrfs_search_path_in_tree_user()
1973 if (key.offset == upper_limit.objectid) in btrfs_search_path_in_tree_user()

Completed in 34 milliseconds