Home
last modified time | relevance | path

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

/drivers/platform/x86/hp/hp-bioscfg/
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()
194 ordered_list_data->common.display_in_ui = int_value; in hp_populate_ordered_list_elements_from_package()
197 ordered_list_data->common.requires_physical_presence = 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()
207 ordered_list_data->common.prerequisites_size = int_value; in hp_populate_ordered_list_elements_from_package()
216 if (int_value == 0) in hp_populate_ordered_list_elements_from_package()
[all …]
Denum-attributes.c132 u32 int_value = 0; in hp_populate_enumeration_elements_from_package() local
156 int_value = (u32)enum_obj[elem].integer.value; in hp_populate_enumeration_elements_from_package()
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()
187 enum_data->common.requires_physical_presence = 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()
197 enum_data->common.prerequisites_size = int_value; in hp_populate_enumeration_elements_from_package()
206 if (int_value == 0) in hp_populate_enumeration_elements_from_package()
[all …]
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()
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()
205 integer_data->common.requires_physical_presence = 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()
[all …]
Dpasswdobj-attributes.c230 u32 int_value = 0; in hp_populate_password_elements_from_package() local
256 int_value = (u32)password_obj[elem].integer.value; in hp_populate_password_elements_from_package()
280 password_data->common.is_readonly = int_value; in hp_populate_password_elements_from_package()
283 password_data->common.display_in_ui = int_value; in hp_populate_password_elements_from_package()
286 password_data->common.requires_physical_presence = 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()
296 password_data->common.prerequisites_size = int_value; in hp_populate_password_elements_from_package()
304 if (int_value == 0) in hp_populate_password_elements_from_package()
[all …]
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()
195 string_data->common.requires_physical_presence = 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()
[all …]
/drivers/gpio/
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()
/drivers/net/wireless/zydas/zd1211rw/
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()
/drivers/bus/mhi/ep/
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()
/drivers/acpi/
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()