Home
last modified time | relevance | path

Searched refs:int_value (Results 1 – 12 of 12) sorted by relevance

/linux/drivers/platform/x86/hp/hp-bioscfg/
H A Dorder-list-attributes.c135 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()
190 ordered_list_data->common.display_in_ui = int_value; in hp_populate_ordered_list_elements_from_package()
193 ordered_list_data->common.requires_physical_presence = 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()
203 ordered_list_data->common.prerequisites_size = int_value; in hp_populate_ordered_list_elements_from_package()
212 if (int_value == 0) in hp_populate_ordered_list_elements_from_package()
[all …]
H A Denum-attributes.c130 u32 int_value = 0; in hp_populate_enumeration_elements_from_package() local
154 int_value = (u32)enum_obj[elem].integer.value; in hp_populate_enumeration_elements_from_package()
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()
184 enum_data->common.requires_physical_presence = 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()
194 enum_data->common.prerequisites_size = int_value; in hp_populate_enumeration_elements_from_package()
203 if (int_value == 0) in hp_populate_enumeration_elements_from_package()
[all …]
H A Dint-attributes.c146 u32 int_value = 0; in hp_populate_integer_elements_from_package() local
172 int_value = (u32)integer_obj[elem].integer.value; in hp_populate_integer_elements_from_package()
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()
204 integer_data->common.requires_physical_presence = 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()
[all …]
H A Dpasswdobj-attributes.c225 u32 int_value = 0; in hp_populate_password_elements_from_package() local
251 int_value = (u32)password_obj[elem].integer.value; in hp_populate_password_elements_from_package()
274 password_data->common.is_readonly = int_value; in hp_populate_password_elements_from_package()
277 password_data->common.display_in_ui = int_value; in hp_populate_password_elements_from_package()
280 password_data->common.requires_physical_presence = 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()
290 password_data->common.prerequisites_size = int_value; in hp_populate_password_elements_from_package()
298 if (int_value == 0) in hp_populate_password_elements_from_package()
[all …]
H A Dstring-attributes.c136 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()
193 string_data->common.requires_physical_presence = 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()
[all …]
/linux/arch/parisc/math-emu/
H A Dcnv_float.h50 #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/
H A Dbase_device.py58 def int_value(self) -> int: member in SysfsFile
61 @int_value.setter
62 def int_value(self, v: int) -> None: member in SysfsFile
76 self.max_brightness = SysfsFile(sys_path / "max_brightness").int_value
81 return self.__brightness.int_value
85 self.__brightness.int_value = value
98 return self._capacity.int_value
H A Dbase.py354 taint = taint_file.int_value
358 assert taint_file.int_value == taint
/linux/drivers/net/wireless/zydas/zd1211rw/
H A Dzd_rf_uw2453.c284 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/include/acpi/
H A Dcppc_acpi.h65 u64 int_value; member
/linux/drivers/bus/mhi/ep/
H A Dmain.c988 u32 int_value; in mhi_ep_irq() local
992 int_value = mhi_ep_mmio_read(mhi_cntrl, MHI_CTRL_INT_STATUS); in mhi_ep_irq()
993 mhi_ep_mmio_write(mhi_cntrl, MHI_CTRL_INT_CLEAR, int_value); in mhi_ep_irq()
996 if (FIELD_GET(MHI_CTRL_INT_STATUS_MSK, int_value)) { in mhi_ep_irq()
1010 if (FIELD_GET(MHI_CTRL_INT_STATUS_CRDB_MSK, int_value)) { in mhi_ep_irq()
/linux/drivers/gpu/drm/amd/display/include/
H A Dfixed31_32.h535 struct fixed31_32 dc_fixpt_from_int_dy(unsigned int int_value,