Searched refs:upper_limit (Results 1 – 7 of 7) sorted by relevance
| /Linux-v5.4/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-v5.4/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-v5.4/fs/ext2/ |
| D | super.c | 754 unsigned int upper_limit; in ext2_max_size() local 764 upper_limit = (1LL << 32) - 1; in ext2_max_size() 767 upper_limit >>= (bits - 9); in ext2_max_size() 774 if (res < upper_limit) in ext2_max_size() 777 res = upper_limit; in ext2_max_size() 779 upper_limit -= EXT2_NDIR_BLOCKS; in ext2_max_size() 782 upper_limit -= ppb; in ext2_max_size() 784 if (upper_limit < ppb * ppb) { in ext2_max_size() 785 meta_blocks += 1 + DIV_ROUND_UP(upper_limit, ppb); in ext2_max_size() 790 upper_limit -= ppb * ppb; in ext2_max_size() [all …]
|
| /Linux-v5.4/drivers/pcmcia/ |
| D | yenta_socket.c | 1080 unsigned char upper_limit; in yenta_fixup_parent_bridge() local 1096 upper_limit = bridge_to_fix->parent->busn_res.end; in yenta_fixup_parent_bridge() 1108 && sibling->busn_res.start <= upper_limit) in yenta_fixup_parent_bridge() 1109 upper_limit = sibling->busn_res.start - 1; in yenta_fixup_parent_bridge() 1113 if (cardbus_bridge->busn_res.end > upper_limit) in yenta_fixup_parent_bridge() 1116 upper_limit); in yenta_fixup_parent_bridge() 1119 if (bridge_to_fix->busn_res.end < upper_limit) { in yenta_fixup_parent_bridge() 1123 min_t(int, cardbus_bridge->busn_res.end, upper_limit); in yenta_fixup_parent_bridge()
|
| /Linux-v5.4/fs/ext4/ |
| D | super.c | 2752 loff_t upper_limit = MAX_LFS_FILESIZE; in ext4_max_size() local 2757 upper_limit = (1LL << 32) - 1; in ext4_max_size() 2760 upper_limit >>= (blkbits - 9); in ext4_max_size() 2761 upper_limit <<= blkbits; in ext4_max_size() 2773 if (res > upper_limit) in ext4_max_size() 2774 res = upper_limit; in ext4_max_size() 2788 loff_t upper_limit; in ext4_max_bitmap_size() local 2803 upper_limit = (1LL << 32) - 1; in ext4_max_bitmap_size() 2806 upper_limit >>= (bits - 9); in ext4_max_bitmap_size() 2815 upper_limit = (1LL << 48) - 1; in ext4_max_bitmap_size() [all …]
|
| /Linux-v5.4/drivers/power/supply/ |
| D | charger-manager.c | 637 int temp, upper_limit, lower_limit; in cm_check_thermal_status() local 651 upper_limit = desc->temp_max; in cm_check_thermal_status() 655 upper_limit -= desc->temp_diff; in cm_check_thermal_status() 659 if (temp > upper_limit) in cm_check_thermal_status()
|
| /Linux-v5.4/fs/btrfs/ |
| D | ioctl.c | 2374 struct btrfs_key upper_limit = BTRFS_I(inode)->location; in btrfs_search_path_in_tree_user() local 2400 if (dirid != upper_limit.objectid) { in btrfs_search_path_in_tree_user() 2477 if (key.offset == upper_limit.objectid) in btrfs_search_path_in_tree_user()
|