Home
last modified time | relevance | path

Searched refs:integer (Results 1 – 25 of 972) sorted by relevance

12345678910>>...39

/linux-6.6.21/Documentation/firmware-guide/acpi/apei/
Doutput_format.rst12 severity: <integer>, <severity string>
13 section: <integer>, severity: <integer>, <severity string>
14 flags: <integer>
35 [processor_type: <integer>, <proc type string>]
36 [processor_isa: <integer>, <proc isa string>]
37 [error_type: <integer>
39 [operation: <integer>, <proc operation string>]
40 [flags: <integer>
42 [level: <integer>]
43 [version_info: <integer>]
[all …]
/linux-6.6.21/drivers/platform/x86/dell/dell-wmi-sysman/
Dint-attributes.c13 get_instance_id(integer);
32 ret = snprintf(buf, PAGE_SIZE, "%lld\n", obj->package.elements[CURRENT_VAL].integer.value); in current_value_show()
63 attribute_s_property_show(display_name_language_code, integer);
67 attribute_s_property_show(display_name, integer);
71 attribute_n_property_show(default_value, integer);
75 attribute_property_store(current_value, integer);
79 attribute_s_property_show(dell_modifier, integer);
83 attribute_n_property_show(min_value, integer);
87 attribute_n_property_show(max_value, integer);
91 attribute_n_property_show(scalar_increment, integer);
[all …]
/linux-6.6.21/drivers/acpi/acpica/
Dexoparg1.c141 status = acpi_ex_system_do_sleep(operand[0]->integer.value); in acpi_ex_opcode_1A_0T_0R()
147 acpi_ex_system_do_stall((u32) operand[0]->integer.value); in acpi_ex_opcode_1A_0T_0R()
263 return_desc->integer.value = ~operand[0]->integer.value; in acpi_ex_opcode_1A_1T_1R()
268 return_desc->integer.value = operand[0]->integer.value; in acpi_ex_opcode_1A_1T_1R()
274 for (temp32 = 0; return_desc->integer.value && in acpi_ex_opcode_1A_1T_1R()
276 return_desc->integer.value >>= 1; in acpi_ex_opcode_1A_1T_1R()
279 return_desc->integer.value = temp32; in acpi_ex_opcode_1A_1T_1R()
284 return_desc->integer.value = operand[0]->integer.value; in acpi_ex_opcode_1A_1T_1R()
290 for (temp32 = 0; return_desc->integer.value && in acpi_ex_opcode_1A_1T_1R()
292 return_desc->integer.value <<= 1; in acpi_ex_opcode_1A_1T_1R()
[all …]
Dexoparg2.c76 value = (u32) operand[1]->integer.value; in acpi_ex_opcode_2A_0T_0R()
155 status = acpi_ut_divide(operand[0]->integer.value, in acpi_ex_opcode_2A_2T_1R()
156 operand[1]->integer.value, in acpi_ex_opcode_2A_2T_1R()
157 &return_desc1->integer.value, in acpi_ex_opcode_2A_2T_1R()
158 &return_desc2->integer.value); in acpi_ex_opcode_2A_2T_1R()
244 return_desc->integer.value = in acpi_ex_opcode_2A_1T_1R()
246 operand[0]->integer.value, in acpi_ex_opcode_2A_1T_1R()
247 operand[1]->integer.value); in acpi_ex_opcode_2A_1T_1R()
262 status = acpi_ut_divide(operand[0]->integer.value, in acpi_ex_opcode_2A_1T_1R()
263 operand[1]->integer.value, in acpi_ex_opcode_2A_1T_1R()
[all …]
Dexoparg3.c66 (u32)operand[0]->integer.value, in acpi_ex_opcode_3A_0T_0R()
67 (u32)operand[1]->integer.value, in acpi_ex_opcode_3A_0T_0R()
68 (u32)operand[2]->integer.value)); in acpi_ex_opcode_3A_0T_0R()
72 fatal->type = (u32) operand[0]->integer.value; in acpi_ex_opcode_3A_0T_0R()
73 fatal->code = (u32) operand[1]->integer.value; in acpi_ex_opcode_3A_0T_0R()
74 fatal->argument = (u32) operand[2]->integer.value; in acpi_ex_opcode_3A_0T_0R()
152 index = operand[1]->integer.value; in acpi_ex_opcode_3A_1T_1R()
153 length = (acpi_size)operand[2]->integer.value; in acpi_ex_opcode_3A_1T_1R()
/linux-6.6.21/sound/aoa/codecs/
Dtas.c228 uinfo->value.integer.min = 0; in tas_snd_vol_info()
229 uinfo->value.integer.max = 177; in tas_snd_vol_info()
239 ucontrol->value.integer.value[0] = tas->cached_volume_l; in tas_snd_vol_get()
240 ucontrol->value.integer.value[1] = tas->cached_volume_r; in tas_snd_vol_get()
250 if (ucontrol->value.integer.value[0] < 0 || in tas_snd_vol_put()
251 ucontrol->value.integer.value[0] > 177) in tas_snd_vol_put()
253 if (ucontrol->value.integer.value[1] < 0 || in tas_snd_vol_put()
254 ucontrol->value.integer.value[1] > 177) in tas_snd_vol_put()
258 if (tas->cached_volume_l == ucontrol->value.integer.value[0] in tas_snd_vol_put()
259 && tas->cached_volume_r == ucontrol->value.integer.value[1]) { in tas_snd_vol_put()
[all …]
/linux-6.6.21/sound/soc/
Dsoc-ops.c182 max = uinfo->value.integer.max = mc->max - mc->min; in snd_soc_info_volsw()
198 uinfo->value.integer.min = 0; in snd_soc_info_volsw()
199 uinfo->value.integer.max = max; in snd_soc_info_volsw()
236 uinfo->value.integer.min = 0; in snd_soc_info_volsw_sx()
237 uinfo->value.integer.max = max; in snd_soc_info_volsw_sx()
278 ucontrol->value.integer.value[0] = val - min; in snd_soc_get_volsw()
280 ucontrol->value.integer.value[0] = in snd_soc_get_volsw()
281 max - ucontrol->value.integer.value[0]; in snd_soc_get_volsw()
293 ucontrol->value.integer.value[1] = val - min; in snd_soc_get_volsw()
295 ucontrol->value.integer.value[1] = in snd_soc_get_volsw()
[all …]
/linux-6.6.21/drivers/pci/
Dpci-acpi.c177 u32 revision = fields[1].integer.value; in decode_type0_hpx_record()
187 hpx0->cache_line_size = fields[2].integer.value; in decode_type0_hpx_record()
188 hpx0->latency_timer = fields[3].integer.value; in decode_type0_hpx_record()
189 hpx0->enable_serr = fields[4].integer.value; in decode_type0_hpx_record()
190 hpx0->enable_perr = fields[5].integer.value; in decode_type0_hpx_record()
227 u32 revision = fields[1].integer.value; in decode_type1_hpx_record()
237 hpx1->max_mem_read = fields[2].integer.value; in decode_type1_hpx_record()
238 hpx1->avg_max_split = fields[3].integer.value; in decode_type1_hpx_record()
239 hpx1->tot_max_split = fields[4].integer.value; in decode_type1_hpx_record()
376 u32 revision = fields[1].integer.value; in decode_type2_hpx_record()
[all …]
/linux-6.6.21/sound/usb/6fire/
Dcontrol.c180 uinfo->value.integer.min = 0; in usb6fire_control_output_vol_info()
181 uinfo->value.integer.max = 180; in usb6fire_control_output_vol_info()
198 if (rt->output_vol[ch] != ucontrol->value.integer.value[0]) { in usb6fire_control_output_vol_put()
199 rt->output_vol[ch] = ucontrol->value.integer.value[0]; in usb6fire_control_output_vol_put()
203 if (rt->output_vol[ch + 1] != ucontrol->value.integer.value[1]) { in usb6fire_control_output_vol_put()
204 rt->output_vol[ch + 1] = ucontrol->value.integer.value[1]; in usb6fire_control_output_vol_put()
227 ucontrol->value.integer.value[0] = rt->output_vol[ch]; in usb6fire_control_output_vol_get()
228 ucontrol->value.integer.value[1] = rt->output_vol[ch + 1]; in usb6fire_control_output_vol_get()
247 if (ucontrol->value.integer.value[0]) in usb6fire_control_output_mute_put()
249 if (ucontrol->value.integer.value[1]) in usb6fire_control_output_mute_put()
[all …]
/linux-6.6.21/scripts/dtc/
Ddtc-parser.y50 uint64_t integer; member
63 %token <integer> DT_LITERAL
64 %token <integer> DT_CHAR_LITERAL
89 %type <integer> integer_prim
90 %type <integer> integer_unary
91 %type <integer> integer_mul
92 %type <integer> integer_add
93 %type <integer> integer_shift
94 %type <integer> integer_rela
95 %type <integer> integer_eq
[all …]
/linux-6.6.21/sound/soc/img/
Dimg-spdif-in.c315 uinfo->value.integer.min = 0; in img_spdif_in_info_multi_freq()
316 uinfo->value.integer.max = LONG_MAX; in img_spdif_in_info_multi_freq()
330 ucontrol->value.integer.value[0] = spdif->multi_freqs[0]; in img_spdif_in_get_multi_freq()
331 ucontrol->value.integer.value[1] = spdif->multi_freqs[1]; in img_spdif_in_get_multi_freq()
332 ucontrol->value.integer.value[2] = spdif->multi_freqs[2]; in img_spdif_in_get_multi_freq()
333 ucontrol->value.integer.value[3] = spdif->multi_freqs[3]; in img_spdif_in_get_multi_freq()
335 ucontrol->value.integer.value[0] = 0; in img_spdif_in_get_multi_freq()
336 ucontrol->value.integer.value[1] = 0; in img_spdif_in_get_multi_freq()
337 ucontrol->value.integer.value[2] = 0; in img_spdif_in_get_multi_freq()
338 ucontrol->value.integer.value[3] = 0; in img_spdif_in_get_multi_freq()
[all …]
/linux-6.6.21/sound/pci/mixart/
Dmixart_mixer.c335 uinfo->value.integer.min = MIXART_ANALOG_PLAYBACK_LEVEL_MIN; /* -96 dB */ in mixart_analog_vol_info()
336 uinfo->value.integer.max = MIXART_ANALOG_PLAYBACK_LEVEL_MAX; /* 0 dB */ in mixart_analog_vol_info()
338 uinfo->value.integer.min = MIXART_ANALOG_CAPTURE_LEVEL_MIN; /* -96 dB */ in mixart_analog_vol_info()
339 uinfo->value.integer.max = MIXART_ANALOG_CAPTURE_LEVEL_MAX; /* 31.5 dB */ in mixart_analog_vol_info()
349 ucontrol->value.integer.value[0] = chip->analog_playback_volume[0]; in mixart_analog_vol_get()
350 ucontrol->value.integer.value[1] = chip->analog_playback_volume[1]; in mixart_analog_vol_get()
352 ucontrol->value.integer.value[0] = chip->analog_capture_volume[0]; in mixart_analog_vol_get()
353 ucontrol->value.integer.value[1] = chip->analog_capture_volume[1]; in mixart_analog_vol_get()
368 int new_volume = ucontrol->value.integer.value[i]; in mixart_analog_vol_put()
413 ucontrol->value.integer.value[0] = chip->analog_playback_active[0]; in mixart_audio_sw_get()
[all …]
/linux-6.6.21/sound/pcmcia/vx/
Dvxp_mixer.c25 uinfo->value.integer.min = 0; in vx_mic_level_info()
26 uinfo->value.integer.max = MIC_LEVEL_MAX; in vx_mic_level_info()
34 ucontrol->value.integer.value[0] = chip->mic_level; in vx_mic_level_get()
42 unsigned int val = ucontrol->value.integer.value[0]; in vx_mic_level_put()
47 if (chip->mic_level != ucontrol->value.integer.value[0]) { in vx_mic_level_put()
48 vx_set_mic_level(_chip, ucontrol->value.integer.value[0]); in vx_mic_level_put()
49 chip->mic_level = ucontrol->value.integer.value[0]; in vx_mic_level_put()
79 ucontrol->value.integer.value[0] = chip->mic_level; in vx_mic_boost_get()
87 int val = !!ucontrol->value.integer.value[0]; in vx_mic_boost_put()
/linux-6.6.21/sound/pci/oxygen/
Dxonar_dg_mixer.c99 info->value.integer.min = 0; in hp_stereo_volume_info()
100 info->value.integer.max = 255; in hp_stereo_volume_info()
113 val->value.integer.value[0] = tmp; in hp_stereo_volume_get()
115 val->value.integer.value[1] = tmp; in hp_stereo_volume_get()
127 long new1 = val->value.integer.value[0]; in hp_stereo_volume_put()
128 long new2 = val->value.integer.value[1]; in hp_stereo_volume_put()
157 val->value.integer.value[0] = in hp_mute_get()
171 if (val->value.integer.value[0] > 1) in hp_mute_put()
176 (~val->value.integer.value[0] << 2) & CS4245_MUTE_DAC; in hp_mute_put()
203 info->value.integer.min = 2 * -12; in input_vol_info()
[all …]
/linux-6.6.21/drivers/net/ethernet/hisilicon/hns/
Dhns_dsaf_misc.c64 obj_args[0].integer.type = ACPI_TYPE_INTEGER; in hns_dsaf_acpi_ledctrl_by_port()
65 obj_args[0].integer.value = link; in hns_dsaf_acpi_ledctrl_by_port()
66 obj_args[1].integer.type = ACPI_TYPE_INTEGER; in hns_dsaf_acpi_ledctrl_by_port()
67 obj_args[1].integer.value = port; in hns_dsaf_acpi_ledctrl_by_port()
68 obj_args[2].integer.type = ACPI_TYPE_INTEGER; in hns_dsaf_acpi_ledctrl_by_port()
69 obj_args[2].integer.value = act; in hns_dsaf_acpi_ledctrl_by_port()
93 obj_args[0].integer.type = ACPI_TYPE_INTEGER; in hns_dsaf_acpi_locate_ledctrl_by_port()
94 obj_args[0].integer.value = locate; in hns_dsaf_acpi_locate_ledctrl_by_port()
95 obj_args[1].integer.type = ACPI_TYPE_INTEGER; in hns_dsaf_acpi_locate_ledctrl_by_port()
96 obj_args[1].integer.value = port; in hns_dsaf_acpi_locate_ledctrl_by_port()
[all …]
/linux-6.6.21/sound/ppc/
Dburgundy.c167 uinfo->value.integer.min = 0; in snd_pmac_burgundy_info_volume()
168 uinfo->value.integer.max = 100; in snd_pmac_burgundy_info_volume()
179 ucontrol->value.integer.value, shift); in snd_pmac_burgundy_get_volume()
192 ucontrol->value.integer.value, shift); in snd_pmac_burgundy_put_volume()
194 return (nvoices[0] != ucontrol->value.integer.value[0] || in snd_pmac_burgundy_put_volume()
195 nvoices[1] != ucontrol->value.integer.value[1]); in snd_pmac_burgundy_put_volume()
243 uinfo->value.integer.min = 0; in snd_pmac_burgundy_info_volume_2b()
244 uinfo->value.integer.max = 100; in snd_pmac_burgundy_info_volume_2b()
255 ucontrol->value.integer.value, off); in snd_pmac_burgundy_get_volume_2b()
268 ucontrol->value.integer.value, off); in snd_pmac_burgundy_put_volume_2b()
[all …]
Ddaca.c90 ucontrol->value.integer.value[0] = mix->deemphasis ? 1 : 0; in daca_get_deemphasis()
104 change = mix->deemphasis != ucontrol->value.integer.value[0]; in daca_put_deemphasis()
106 mix->deemphasis = !!ucontrol->value.integer.value[0]; in daca_put_deemphasis()
118 uinfo->value.integer.min = 0; in daca_info_volume()
119 uinfo->value.integer.max = DACA_VOL_MAX; in daca_info_volume()
131 ucontrol->value.integer.value[0] = mix->left_vol; in daca_get_volume()
132 ucontrol->value.integer.value[1] = mix->right_vol; in daca_get_volume()
147 vol[0] = ucontrol->value.integer.value[0]; in daca_put_volume()
148 vol[1] = ucontrol->value.integer.value[1]; in daca_put_volume()
172 ucontrol->value.integer.value[0] = mix->amp_on ? 1 : 0; in daca_get_amp()
[all …]
/linux-6.6.21/sound/i2c/
Dtea6330t.c76 uinfo->value.integer.min = 0; in snd_tea6330t_info_master_volume()
77 uinfo->value.integer.max = 43; in snd_tea6330t_info_master_volume()
87 ucontrol->value.integer.value[0] = tea->mleft - 0x14; in snd_tea6330t_get_master_volume()
88 ucontrol->value.integer.value[1] = tea->mright - 0x14; in snd_tea6330t_get_master_volume()
101 val1 = (ucontrol->value.integer.value[0] % 44) + 0x14; in snd_tea6330t_put_master_volume()
102 val2 = (ucontrol->value.integer.value[1] % 44) + 0x14; in snd_tea6330t_put_master_volume()
139 ucontrol->value.integer.value[0] = tea->regs[TEA6330T_SADDR_VOLUME_LEFT] == 0 ? 0 : 1; in snd_tea6330t_get_master_switch()
140 ucontrol->value.integer.value[1] = tea->regs[TEA6330T_SADDR_VOLUME_RIGHT] == 0 ? 0 : 1; in snd_tea6330t_get_master_switch()
153 val1 = ucontrol->value.integer.value[0] & 1; in snd_tea6330t_put_master_switch()
154 val2 = ucontrol->value.integer.value[1] & 1; in snd_tea6330t_put_master_switch()
[all …]
/linux-6.6.21/drivers/char/tpm/
Dtpm_ppi.c85 if (obj->package.elements[0].integer.value) in tpm_show_ppi_request()
88 req = obj->package.elements[1].integer.value; in tpm_show_ppi_request()
92 obj->package.elements[2].integer.value); in tpm_show_ppi_request()
100 if (obj->package.elements[0].integer.value) in tpm_show_ppi_request()
104 obj->package.elements[1].integer.value); in tpm_show_ppi_request()
140 if (sscanf(buf, "%llu %llu", &tmp[0].integer.value, in tpm_store_ppi_request()
141 &tmp[1].integer.value) != 2) in tpm_store_ppi_request()
156 if (sscanf(buf, "%llu", &tmp[0].integer.value) != 1) in tpm_store_ppi_request()
165 ret = obj->integer.value; in tpm_store_ppi_request()
209 ret = obj->integer.value; in tpm_show_ppi_transition_action()
[all …]
/linux-6.6.21/drivers/i2c/busses/
Di2c-scmi.c98 mt_params[3].integer.value = 0; in acpi_smbus_cmi_access()
100 mt_params[4].integer.value = 0; in acpi_smbus_cmi_access()
108 mt_params[3].integer.value = 0; in acpi_smbus_cmi_access()
110 mt_params[4].integer.value = 0; in acpi_smbus_cmi_access()
120 mt_params[3].integer.value = 1; in acpi_smbus_cmi_access()
122 mt_params[4].integer.value = data->byte; in acpi_smbus_cmi_access()
130 mt_params[3].integer.value = 2; in acpi_smbus_cmi_access()
132 mt_params[4].integer.value = data->word; in acpi_smbus_cmi_access()
143 mt_params[3].integer.value = len; in acpi_smbus_cmi_access()
167 mt_params[0].integer.value = protocol; in acpi_smbus_cmi_access()
[all …]
/linux-6.6.21/drivers/acpi/
Dpfr_telemetry.c93 in_buf.integer.value = pfrt_log_dev->info.log_type; in get_pfrt_log_data_info()
115 data_info->status = out_obj->package.elements[LOG_STATUS_IDX].integer.value; in get_pfrt_log_data_info()
117 out_obj->package.elements[LOG_EXT_STATUS_IDX].integer.value; in get_pfrt_log_data_info()
126 out_obj->package.elements[LOG_MAX_SZ_IDX].integer.value; in get_pfrt_log_data_info()
128 out_obj->package.elements[LOG_CHUNK1_LO_IDX].integer.value; in get_pfrt_log_data_info()
130 out_obj->package.elements[LOG_CHUNK1_HI_IDX].integer.value; in get_pfrt_log_data_info()
132 out_obj->package.elements[LOG_CHUNK1_SZ_IDX].integer.value; in get_pfrt_log_data_info()
134 out_obj->package.elements[LOG_CHUNK2_LO_IDX].integer.value; in get_pfrt_log_data_info()
136 out_obj->package.elements[LOG_CHUNK2_HI_IDX].integer.value; in get_pfrt_log_data_info()
138 out_obj->package.elements[LOG_CHUNK2_SZ_IDX].integer.value; in get_pfrt_log_data_info()
[all …]
/linux-6.6.21/drivers/iio/health/
Dafe4404.c144 { .integer = 500000, .fract = 0 },
145 { .integer = 250000, .fract = 0 },
146 { .integer = 100000, .fract = 0 },
147 { .integer = 50000, .fract = 0 },
148 { .integer = 25000, .fract = 0 },
149 { .integer = 10000, .fract = 0 },
150 { .integer = 1000000, .fract = 0 },
151 { .integer = 2000000, .fract = 0 },
156 { .integer = 0, .fract = 5000 },
157 { .integer = 0, .fract = 2500 },
[all …]
/linux-6.6.21/sound/drivers/vx/
Dvx_mixer.c405 uinfo->value.integer.min = 0; in vx_output_level_info()
406 uinfo->value.integer.max = chip->hw->output_level_max; in vx_output_level_info()
415 ucontrol->value.integer.value[0] = chip->output_level[codec][0]; in vx_output_level_get()
416 ucontrol->value.integer.value[1] = chip->output_level[codec][1]; in vx_output_level_get()
428 val[0] = ucontrol->value.integer.value[0]; in vx_output_level_put()
429 val[1] = ucontrol->value.integer.value[1]; in vx_output_level_put()
563 uinfo->value.integer.min = 0; in vx_audio_gain_info()
564 uinfo->value.integer.max = CVAL_MAX; in vx_audio_gain_info()
575 ucontrol->value.integer.value[0] = chip->audio_gain[capture][audio]; in vx_audio_gain_get()
576 ucontrol->value.integer.value[1] = chip->audio_gain[capture][audio+1]; in vx_audio_gain_get()
[all …]
/linux-6.6.21/sound/isa/cs423x/
Dcs4236_lib.c398 uinfo->value.integer.min = 0; in snd_cs4236_info_single()
399 uinfo->value.integer.max = mask; in snd_cs4236_info_single()
413 ucontrol->value.integer.value[0] = (chip->eimage[CS4236_REG(reg)] >> shift) & mask; in snd_cs4236_get_single()
416 ucontrol->value.integer.value[0] = mask - ucontrol->value.integer.value[0]; in snd_cs4236_get_single()
431 val = (ucontrol->value.integer.value[0] & mask); in snd_cs4236_put_single()
459 ucontrol->value.integer.value[0] = (chip->cimage[reg] >> shift) & mask; in snd_cs4236_get_singlec()
462 ucontrol->value.integer.value[0] = mask - ucontrol->value.integer.value[0]; in snd_cs4236_get_singlec()
477 val = (ucontrol->value.integer.value[0] & mask); in snd_cs4236_put_singlec()
511 uinfo->value.integer.min = 0; in snd_cs4236_info_double()
512 uinfo->value.integer.max = mask; in snd_cs4236_info_double()
[all …]
/linux-6.6.21/sound/pci/pcxhr/
Dpcxhr_mixer.c83 uinfo->value.integer.min = in pcxhr_analog_vol_info()
85 uinfo->value.integer.max = in pcxhr_analog_vol_info()
88 uinfo->value.integer.min = in pcxhr_analog_vol_info()
90 uinfo->value.integer.max = in pcxhr_analog_vol_info()
95 uinfo->value.integer.min = in pcxhr_analog_vol_info()
97 uinfo->value.integer.max = in pcxhr_analog_vol_info()
100 uinfo->value.integer.min = in pcxhr_analog_vol_info()
102 uinfo->value.integer.max = in pcxhr_analog_vol_info()
115 ucontrol->value.integer.value[0] = chip->analog_playback_volume[0]; in pcxhr_analog_vol_get()
116 ucontrol->value.integer.value[1] = chip->analog_playback_volume[1]; in pcxhr_analog_vol_get()
[all …]

12345678910>>...39