Home
last modified time | relevance | path

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

/drivers/platform/x86/hp/hp-bioscfg/
A Denum-attributes.c130 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 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()
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 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()
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 Dpasswdobj-attributes.c225 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 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()
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 …]
/drivers/gpio/
A Dgpio-cadence.c85 u32 int_value; in cdns_gpio_irq_set_type() local
92 int_value = ioread32(cgpio->regs + CDNS_GPIO_IRQ_VALUE) & ~mask; in cdns_gpio_irq_set_type()
103 int_value |= mask; in cdns_gpio_irq_set_type()
110 iowrite32(int_value, cgpio->regs + CDNS_GPIO_IRQ_VALUE); in cdns_gpio_irq_set_type()
/drivers/net/wireless/zydas/zd1211rw/
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()
/drivers/gpu/drm/amd/display/dc/basics/
A Dfixpt31_32.c501 struct fixed31_32 dc_fixpt_from_int_dy(unsigned int int_value, in dc_fixpt_from_int_dy() argument
506 struct fixed31_32 fixpt_value = dc_fixpt_from_int(int_value); in dc_fixpt_from_int_dy()
/drivers/gpu/drm/amd/display/dc/sspl/
A Dspl_fixpt31_32.c484 struct spl_fixed31_32 spl_fixpt_from_int_dy(unsigned int int_value, in spl_fixpt_from_int_dy() argument
489 struct spl_fixed31_32 fixpt_value = spl_fixpt_from_int(int_value); in spl_fixpt_from_int_dy()
A Dspl_fixpt31_32.h517 struct spl_fixed31_32 spl_fixpt_from_int_dy(unsigned int int_value,
/drivers/acpi/
A Dcppc_acpi.c129 !!(cpc)->cpc_entry.int_value : \
778 cpc_ptr->cpc_regs[i-2].cpc_entry.int_value = cpc_obj->integer.value; in acpi_cppc_processor_probe()
864 cpc_ptr->cpc_regs[i].cpc_entry.int_value = 0; in acpi_cppc_processor_probe()
1011 *val = reg_res->cpc_entry.int_value; in cpc_read()
1223 !reg->cpc_entry.int_value) || (reg->type != ACPI_TYPE_INTEGER && in cppc_get_reg_val()
/drivers/bus/mhi/ep/
A Dmain.c1001 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()
/drivers/gpu/drm/amd/display/include/
A Dfixed31_32.h535 struct fixed31_32 dc_fixpt_from_int_dy(unsigned int int_value,

Completed in 31 milliseconds