Searched refs:upper_limit (Results 1 – 7 of 7) sorted by relevance
/linux-6.6.21/drivers/thermal/intel/int340x_thermal/ |
D | int3406_thermal.c | 19 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.6.21/arch/xtensa/lib/ |
D | pci-auto.c | 65 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.6.21/fs/ext2/ |
D | super.c | 734 unsigned int upper_limit; in ext2_max_size() local 744 upper_limit = (1LL << 32) - 1; in ext2_max_size() 747 upper_limit >>= (bits - 9); in ext2_max_size() 758 if (res + meta_blocks <= upper_limit) in ext2_max_size() 761 res = upper_limit; in ext2_max_size() 763 upper_limit -= EXT2_NDIR_BLOCKS; in ext2_max_size() 766 upper_limit -= ppb; in ext2_max_size() 768 if (upper_limit < ppb * ppb) { in ext2_max_size() 769 meta_blocks += 1 + DIV_ROUND_UP(upper_limit, ppb); in ext2_max_size() 774 upper_limit -= ppb * ppb; in ext2_max_size() [all …]
|
/linux-6.6.21/drivers/pcmcia/ |
D | yenta_socket.c | 1093 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.6.21/drivers/power/supply/ |
D | charger-manager.c | 529 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.6.21/fs/ext4/ |
D | super.c | 3425 loff_t upper_limit = MAX_LFS_FILESIZE; in ext4_max_size() local 3430 upper_limit = (1LL << 32) - 1; in ext4_max_size() 3433 upper_limit >>= (blkbits - 9); in ext4_max_size() 3434 upper_limit <<= blkbits; in ext4_max_size() 3446 if (res > upper_limit) in ext4_max_size() 3447 res = upper_limit; in ext4_max_size() 3459 loff_t upper_limit, res = EXT4_NDIR_BLOCKS; in ext4_max_bitmap_size() local 3477 upper_limit = (1LL << 32) - 1; in ext4_max_bitmap_size() 3480 upper_limit >>= (bits - 9); in ext4_max_bitmap_size() 3489 upper_limit = (1LL << 48) - 1; in ext4_max_bitmap_size() [all …]
|
/linux-6.6.21/fs/btrfs/ |
D | ioctl.c | 1892 struct btrfs_key upper_limit = BTRFS_I(inode)->location; in btrfs_search_path_in_tree_user() local 1918 if (dirid != upper_limit.objectid) { in btrfs_search_path_in_tree_user() 1993 if (key.offset == upper_limit.objectid) in btrfs_search_path_in_tree_user()
|