| /linux/drivers/platform/x86/hp/hp-bioscfg/ |
| A D | enum-attributes.c | 130 u32 int_value = 0; in hp_populate_enumeration_elements_from_package() local 178 enum_data->common.is_readonly = int_value; in hp_populate_enumeration_elements_from_package() 181 enum_data->common.display_in_ui = int_value; in hp_populate_enumeration_elements_from_package() 187 enum_data->common.sequence = int_value; in hp_populate_enumeration_elements_from_package() 190 if (int_value > MAX_PREREQUISITES_SIZE) { in hp_populate_enumeration_elements_from_package() 192 int_value = MAX_PREREQUISITES_SIZE; in hp_populate_enumeration_elements_from_package() 203 if (int_value == 0) in hp_populate_enumeration_elements_from_package() 237 if (int_value > MAX_VALUES_SIZE) { in hp_populate_enumeration_elements_from_package() 239 int_value = MAX_VALUES_SIZE; in hp_populate_enumeration_elements_from_package() 241 enum_data->possible_values_size = int_value; in hp_populate_enumeration_elements_from_package() [all …]
|
| A D | int-attributes.c | 146 u32 int_value = 0; in hp_populate_integer_elements_from_package() local 188 ret = kstrtoint(str_value, 10, &int_value); in hp_populate_integer_elements_from_package() 192 integer_data->current_value = int_value; in hp_populate_integer_elements_from_package() 198 integer_data->common.is_readonly = int_value; in hp_populate_integer_elements_from_package() 201 integer_data->common.display_in_ui = int_value; in hp_populate_integer_elements_from_package() 207 integer_data->common.sequence = int_value; in hp_populate_integer_elements_from_package() 210 if (int_value > MAX_PREREQUISITES_SIZE) { in hp_populate_integer_elements_from_package() 212 int_value = MAX_PREREQUISITES_SIZE; in hp_populate_integer_elements_from_package() 252 integer_data->lower_bound = int_value; in hp_populate_integer_elements_from_package() 255 integer_data->upper_bound = int_value; in hp_populate_integer_elements_from_package() [all …]
|
| A D | order-list-attributes.c | 135 u32 int_value = 0; in hp_populate_ordered_list_elements_from_package() local 162 int_value = (u32)order_obj[elem].integer.value; in hp_populate_ordered_list_elements_from_package() 187 ordered_list_data->common.is_readonly = int_value; in hp_populate_ordered_list_elements_from_package() 196 ordered_list_data->common.sequence = int_value; in hp_populate_ordered_list_elements_from_package() 199 if (int_value > MAX_PREREQUISITES_SIZE) { in hp_populate_ordered_list_elements_from_package() 201 int_value = MAX_PREREQUISITES_SIZE; in hp_populate_ordered_list_elements_from_package() 212 if (int_value == 0) in hp_populate_ordered_list_elements_from_package() 238 if (int_value > MAX_ELEMENTS_SIZE) { in hp_populate_ordered_list_elements_from_package() 240 int_value = MAX_ELEMENTS_SIZE; in hp_populate_ordered_list_elements_from_package() 242 ordered_list_data->elements_size = int_value; in hp_populate_ordered_list_elements_from_package() [all …]
|
| A D | passwdobj-attributes.c | 225 u32 int_value = 0; in hp_populate_password_elements_from_package() local 274 password_data->common.is_readonly = int_value; in hp_populate_password_elements_from_package() 283 password_data->common.sequence = int_value; in hp_populate_password_elements_from_package() 286 if (int_value > MAX_PREREQUISITES_SIZE) { in hp_populate_password_elements_from_package() 288 int_value = MAX_PREREQUISITES_SIZE; in hp_populate_password_elements_from_package() 298 if (int_value == 0) in hp_populate_password_elements_from_package() 331 if (int_value > MAX_ENCODINGS_SIZE) { in hp_populate_password_elements_from_package() 333 int_value = MAX_ENCODINGS_SIZE; in hp_populate_password_elements_from_package() 335 password_data->encodings_size = int_value; in hp_populate_password_elements_from_package() 343 if (int_value == 0) in hp_populate_password_elements_from_package() [all …]
|
| A D | string-attributes.c | 136 u32 int_value = 0; in hp_populate_string_elements_from_package() local 163 int_value = (u32)string_obj[elem].integer.value; in hp_populate_string_elements_from_package() 187 string_data->common.is_readonly = int_value; in hp_populate_string_elements_from_package() 190 string_data->common.display_in_ui = int_value; in hp_populate_string_elements_from_package() 196 string_data->common.sequence = int_value; in hp_populate_string_elements_from_package() 199 if (int_value > MAX_PREREQUISITES_SIZE) { in hp_populate_string_elements_from_package() 201 int_value = MAX_PREREQUISITES_SIZE; in hp_populate_string_elements_from_package() 203 string_data->common.prerequisites_size = int_value; in hp_populate_string_elements_from_package() 239 string_data->common.security_level = int_value; in hp_populate_string_elements_from_package() 242 string_data->min_length = int_value; in hp_populate_string_elements_from_package() [all …]
|
| /linux/arch/parisc/math-emu/ |
| A D | cnv_float.h | 50 #define Int_isinexact_to_sgl(int_value) ((int_value << 33 - SGL_EXP_LENGTH) != 0) argument 52 #define Sgl_roundnearest_from_int(int_value,sgl_value) \ argument 53 if (int_value & 1<<(SGL_EXP_LENGTH - 2)) /* round bit */ \ 54 if (((int_value << 34 - SGL_EXP_LENGTH) != 0) || Slow(sgl_value)) \ 211 #define Int_negate(int_value) int_value = -int_value argument 306 #define Suint_isinexact_to_sgl(int_value) \ argument 307 (int_value << 32 - SGL_EXP_LENGTH)
|
| /linux/tools/testing/selftests/hid/tests/ |
| A D | base_device.py | 56 def int_value(self) -> int: member in SysfsFile 59 @int_value.setter 60 def int_value(self, v: int) -> None: member in SysfsFile 74 self.max_brightness = SysfsFile(sys_path / "max_brightness").int_value 79 return self.__brightness.int_value 83 self.__brightness.int_value = value 96 return self._capacity.int_value
|
| A D | base.py | 340 taint = taint_file.int_value 344 assert taint_file.int_value == taint
|
| /linux/drivers/gpio/ |
| A D | gpio-cadence.c | 89 u32 int_value; in cdns_gpio_irq_set_type() local 96 int_value = ioread32(cgpio->regs + CDNS_GPIO_IRQ_VALUE) & ~mask; in cdns_gpio_irq_set_type() 107 int_value |= mask; in cdns_gpio_irq_set_type() 115 iowrite32(int_value, cgpio->regs + CDNS_GPIO_IRQ_VALUE); in cdns_gpio_irq_set_type()
|
| /linux/drivers/net/wireless/zydas/zd1211rw/ |
| A D | zd_rf_uw2453.c | 284 u8 int_value = chip->pwr_int_values[channel - 1]; in uw2453_set_tx_gain_level() local 286 if (int_value >= ARRAY_SIZE(uw2453_txgain)) { in uw2453_set_tx_gain_level() 288 "int value %x on channel %d\n", int_value, channel); in uw2453_set_tx_gain_level() 293 UW2453_REGWRITE(7, uw2453_txgain[int_value]), RF_RV_BITS); in uw2453_set_tx_gain_level()
|
| /linux/drivers/gpu/drm/amd/display/dc/spl/ |
| A D | spl_fixpt31_32.c | 488 struct spl_fixed31_32 spl_fixpt_from_int_dy(unsigned int int_value, in spl_fixpt_from_int_dy() argument 493 struct spl_fixed31_32 fixpt_value = spl_fixpt_from_int(int_value); in spl_fixpt_from_int_dy()
|
| A D | spl_fixpt31_32.h | 520 struct spl_fixed31_32 spl_fixpt_from_int_dy(unsigned int int_value,
|
| /linux/drivers/gpu/drm/amd/display/dc/basics/ |
| A D | fixpt31_32.c | 506 struct fixed31_32 dc_fixpt_from_int_dy(unsigned int int_value, in dc_fixpt_from_int_dy() argument 511 struct fixed31_32 fixpt_value = dc_fixpt_from_int(int_value); in dc_fixpt_from_int_dy()
|
| /linux/include/acpi/ |
| A D | cppc_acpi.h | 56 u64 int_value; member
|
| /linux/drivers/bus/mhi/ep/ |
| A D | main.c | 1001 u32 int_value; in mhi_ep_irq() local 1005 int_value = mhi_ep_mmio_read(mhi_cntrl, MHI_CTRL_INT_STATUS); in mhi_ep_irq() 1006 mhi_ep_mmio_write(mhi_cntrl, MHI_CTRL_INT_CLEAR, int_value); in mhi_ep_irq() 1009 if (FIELD_GET(MHI_CTRL_INT_STATUS_MSK, int_value)) { in mhi_ep_irq() 1023 if (FIELD_GET(MHI_CTRL_INT_STATUS_CRDB_MSK, int_value)) { in mhi_ep_irq()
|
| /linux/drivers/acpi/ |
| A D | cppc_acpi.c | 130 !!(cpc)->cpc_entry.int_value : \ 774 cpc_ptr->cpc_regs[i-2].cpc_entry.int_value = cpc_obj->integer.value; in acpi_cppc_processor_probe() 860 cpc_ptr->cpc_regs[i].cpc_entry.int_value = 0; in acpi_cppc_processor_probe() 1007 *val = reg_res->cpc_entry.int_value; in cpc_read()
|
| /linux/drivers/gpu/drm/amd/display/include/ |
| A D | fixed31_32.h | 535 struct fixed31_32 dc_fixpt_from_int_dy(unsigned int int_value,
|