Home
last modified time | relevance | path

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

/openbmc/linux/drivers/platform/x86/hp/hp-bioscfg/
H A Denum-attributes.c132 u32 int_value = 0; in hp_populate_enumeration_elements_from_package() local
181 enum_data->common.is_readonly = int_value; in hp_populate_enumeration_elements_from_package()
184 enum_data->common.display_in_ui = int_value; in hp_populate_enumeration_elements_from_package()
190 enum_data->common.sequence = int_value; in hp_populate_enumeration_elements_from_package()
193 if (int_value > MAX_PREREQUISITES_SIZE) { in hp_populate_enumeration_elements_from_package()
195 int_value = MAX_PREREQUISITES_SIZE; in hp_populate_enumeration_elements_from_package()
206 if (int_value == 0) in hp_populate_enumeration_elements_from_package()
243 if (int_value > MAX_VALUES_SIZE) { in hp_populate_enumeration_elements_from_package()
245 int_value = MAX_VALUES_SIZE; in hp_populate_enumeration_elements_from_package()
247 enum_data->possible_values_size = int_value; 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
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()
199 integer_data->common.is_readonly = int_value; in hp_populate_integer_elements_from_package()
202 integer_data->common.display_in_ui = int_value; in hp_populate_integer_elements_from_package()
208 integer_data->common.sequence = int_value; in hp_populate_integer_elements_from_package()
211 if (int_value > MAX_PREREQUISITES_SIZE) { in hp_populate_integer_elements_from_package()
213 int_value = MAX_PREREQUISITES_SIZE; in hp_populate_integer_elements_from_package()
255 integer_data->lower_bound = int_value; in hp_populate_integer_elements_from_package()
258 integer_data->upper_bound = int_value; in hp_populate_integer_elements_from_package()
[all …]
H A Dorder-list-attributes.c137 u32 int_value = 0; in hp_populate_ordered_list_elements_from_package() local
164 int_value = (u32)order_obj[elem].integer.value; in hp_populate_ordered_list_elements_from_package()
191 ordered_list_data->common.is_readonly = int_value; in hp_populate_ordered_list_elements_from_package()
200 ordered_list_data->common.sequence = int_value; in hp_populate_ordered_list_elements_from_package()
203 if (int_value > MAX_PREREQUISITES_SIZE) { in hp_populate_ordered_list_elements_from_package()
205 int_value = MAX_PREREQUISITES_SIZE; in hp_populate_ordered_list_elements_from_package()
216 if (int_value == 0) in hp_populate_ordered_list_elements_from_package()
244 if (int_value > MAX_ELEMENTS_SIZE) { in hp_populate_ordered_list_elements_from_package()
246 int_value = MAX_ELEMENTS_SIZE; in hp_populate_ordered_list_elements_from_package()
248 ordered_list_data->elements_size = int_value; in hp_populate_ordered_list_elements_from_package()
[all …]
H A Dpasswdobj-attributes.c230 u32 int_value = 0; in hp_populate_password_elements_from_package() local
280 password_data->common.is_readonly = int_value; in hp_populate_password_elements_from_package()
289 password_data->common.sequence = int_value; in hp_populate_password_elements_from_package()
292 if (int_value > MAX_PREREQUISITES_SIZE) { in hp_populate_password_elements_from_package()
294 int_value = MAX_PREREQUISITES_SIZE; in hp_populate_password_elements_from_package()
304 if (int_value == 0) in hp_populate_password_elements_from_package()
339 if (int_value > MAX_ENCODINGS_SIZE) { in hp_populate_password_elements_from_package()
341 int_value = MAX_ENCODINGS_SIZE; in hp_populate_password_elements_from_package()
343 password_data->encodings_size = int_value; in hp_populate_password_elements_from_package()
351 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()
189 string_data->common.is_readonly = int_value; in hp_populate_string_elements_from_package()
192 string_data->common.display_in_ui = int_value; in hp_populate_string_elements_from_package()
198 string_data->common.sequence = int_value; in hp_populate_string_elements_from_package()
201 if (int_value > MAX_PREREQUISITES_SIZE) { in hp_populate_string_elements_from_package()
203 int_value = MAX_PREREQUISITES_SIZE; in hp_populate_string_elements_from_package()
205 string_data->common.prerequisites_size = int_value; in hp_populate_string_elements_from_package()
243 string_data->common.security_level = int_value; in hp_populate_string_elements_from_package()
246 string_data->min_length = int_value; in hp_populate_string_elements_from_package()
[all …]
/openbmc/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)
/openbmc/linux/drivers/gpio/
H A Dgpio-cadence.c90 u32 int_value; in cdns_gpio_irq_set_type() local
97 int_value = ioread32(cgpio->regs + CDNS_GPIO_IRQ_VALUE) & ~mask; in cdns_gpio_irq_set_type()
108 int_value |= mask; in cdns_gpio_irq_set_type()
116 iowrite32(int_value, cgpio->regs + CDNS_GPIO_IRQ_VALUE); in cdns_gpio_irq_set_type()
/openbmc/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()
/openbmc/linux/tools/testing/selftests/hid/tests/
H A Dbase.py266 taint = taint_file.int_value
270 assert taint_file.int_value == taint
/openbmc/linux/include/acpi/
H A Dcppc_acpi.h56 u64 int_value; member
/openbmc/linux/drivers/bus/mhi/ep/
H A Dmain.c936 u32 int_value; in mhi_ep_irq() local
940 int_value = mhi_ep_mmio_read(mhi_cntrl, MHI_CTRL_INT_STATUS); in mhi_ep_irq()
941 mhi_ep_mmio_write(mhi_cntrl, MHI_CTRL_INT_CLEAR, int_value); in mhi_ep_irq()
944 if (FIELD_GET(MHI_CTRL_INT_STATUS_MSK, int_value)) { in mhi_ep_irq()
958 if (FIELD_GET(MHI_CTRL_INT_STATUS_CRDB_MSK, int_value)) { in mhi_ep_irq()
/openbmc/linux/drivers/acpi/
H A Dcppc_acpi.c122 !!(cpc)->cpc_entry.int_value : \
763 cpc_ptr->cpc_regs[i-2].cpc_entry.int_value = cpc_obj->integer.value; in acpi_cppc_processor_probe()
849 cpc_ptr->cpc_regs[i].cpc_entry.int_value = 0; in acpi_cppc_processor_probe()
997 *val = reg_res->cpc_entry.int_value; in cpc_read()