Home
last modified time | relevance | path

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

12345678910>>...35

/linux/Documentation/firmware-guide/acpi/apei/
H A 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/drivers/platform/x86/dell/dell-wmi-sysman/
H A 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/drivers/acpi/acpica/
H A 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 …]
H A 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 …]
H A 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/sound/soc/
H A Dsoc-ops.c183 max = uinfo->value.integer.max = mc->max - mc->min; in snd_soc_info_volsw()
199 uinfo->value.integer.min = 0; in snd_soc_info_volsw()
200 uinfo->value.integer.max = max; in snd_soc_info_volsw()
237 uinfo->value.integer.min = 0; in snd_soc_info_volsw_sx()
238 uinfo->value.integer.max = max; in snd_soc_info_volsw_sx()
279 ucontrol->value.integer.value[0] = val - min; in snd_soc_get_volsw()
281 ucontrol->value.integer.value[0] = in snd_soc_get_volsw()
282 max - ucontrol->value.integer.value[0]; in snd_soc_get_volsw()
294 ucontrol->value.integer.value[1] = val - min; in snd_soc_get_volsw()
296 ucontrol->value.integer.value[1] = in snd_soc_get_volsw()
[all …]
/linux/sound/usb/6fire/
H A 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/sound/soc/img/
H A 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/sound/pci/mixart/
H A 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/drivers/pci/
H A Dpci-acpi.c137 if (obj && obj->integer.value == 0) in pci_acpi_preserve_config()
200 u32 revision = fields[1].integer.value; in decode_type0_hpx_record()
210 hpx0->cache_line_size = fields[2].integer.value; in decode_type0_hpx_record()
211 hpx0->latency_timer = fields[3].integer.value; in decode_type0_hpx_record()
212 hpx0->enable_serr = fields[4].integer.value; in decode_type0_hpx_record()
213 hpx0->enable_perr = fields[5].integer.value; in decode_type0_hpx_record()
250 u32 revision = fields[1].integer.value; in decode_type1_hpx_record()
260 hpx1->max_mem_read = fields[2].integer.value; in decode_type1_hpx_record()
261 hpx1->avg_max_split = fields[3].integer.value; in decode_type1_hpx_record()
262 hpx1->tot_max_split = fields[4].integer.value; in decode_type1_hpx_record()
[all …]
/linux/sound/pci/oxygen/
H A 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/drivers/net/ethernet/hisilicon/hns/
H A 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/sound/ppc/
H A 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 …]
H A 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/scripts/dtc/
H A 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/sound/i2c/
H A Dtea6330t.c73 uinfo->value.integer.min = 0; in snd_tea6330t_info_master_volume()
74 uinfo->value.integer.max = 43; in snd_tea6330t_info_master_volume()
84 ucontrol->value.integer.value[0] = tea->mleft - 0x14; in snd_tea6330t_get_master_volume()
85 ucontrol->value.integer.value[1] = tea->mright - 0x14; in snd_tea6330t_get_master_volume()
98 val1 = (ucontrol->value.integer.value[0] % 44) + 0x14; in snd_tea6330t_put_master_volume()
99 val2 = (ucontrol->value.integer.value[1] % 44) + 0x14; in snd_tea6330t_put_master_volume()
136 ucontrol->value.integer.value[0] = tea->regs[TEA6330T_SADDR_VOLUME_LEFT] == 0 ? 0 : 1; in snd_tea6330t_get_master_switch()
137 ucontrol->value.integer.value[1] = tea->regs[TEA6330T_SADDR_VOLUME_RIGHT] == 0 ? 0 : 1; in snd_tea6330t_get_master_switch()
150 val1 = ucontrol->value.integer.value[0] & 1; in snd_tea6330t_put_master_switch()
151 val2 = ucontrol->value.integer.value[1] & 1; in snd_tea6330t_put_master_switch()
[all …]
/linux/sound/pcmcia/vx/
H A 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/drivers/iio/health/
H A 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/drivers/char/tpm/
H A 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/sound/drivers/vx/
H A 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/sound/isa/cs423x/
H A 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/drivers/net/wireless/intel/iwlwifi/fw/
H A Dacpi.c122 *value = obj->integer.value; in iwl_acpi_get_dsm_integer()
223 *tbl_rev = data->package.elements[0].integer.value; in iwl_acpi_get_wifi_pkg_range()
239 domain->integer.value == ACPI_WIFI_DOMAIN) in iwl_acpi_get_wifi_pkg_range()
280 (u32)wifi_pkg->package.elements[1].integer.value; in iwl_acpi_get_tas_table()
287 enabled = !!wifi_pkg->package.elements[1].integer.value; in iwl_acpi_get_tas_table()
301 wifi_pkg->package.elements[2].integer.value > in iwl_acpi_get_tas_table()
304 wifi_pkg->package.elements[2].integer.value); in iwl_acpi_get_tas_table()
308 block_list_size = wifi_pkg->package.elements[2].integer.value; in iwl_acpi_get_tas_table()
324 country = wifi_pkg->package.elements[3 + i].integer.value; in iwl_acpi_get_tas_table()
359 mcc_val = wifi_pkg->package.elements[1].integer.value; in iwl_acpi_get_mcc()
[all …]
/linux/sound/pci/pcxhr/
H A 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 …]
/linux/sound/pci/
H A Dak4531_codec.c66 uinfo->value.integer.min = 0; in snd_ak4531_info_single()
67 uinfo->value.integer.max = mask; in snd_ak4531_info_single()
86 ucontrol->value.integer.value[0] = val; in snd_ak4531_get_single()
100 val = ucontrol->value.integer.value[0] & mask; in snd_ak4531_put_single()
133 uinfo->value.integer.min = 0; in snd_ak4531_info_double()
134 uinfo->value.integer.max = mask; in snd_ak4531_info_double()
157 ucontrol->value.integer.value[0] = left; in snd_ak4531_get_double()
158 ucontrol->value.integer.value[1] = right; in snd_ak4531_get_double()
174 left = ucontrol->value.integer.value[0] & mask; in snd_ak4531_put_double()
175 right = ucontrol->value.integer.value[1] & mask; in snd_ak4531_put_double()
[all …]
/linux/Documentation/userspace-api/media/v4l/
H A Dext-ctrls-codec.rst67 ``V4L2_CID_MPEG_STREAM_PID_PMT (integer)``
71 ``V4L2_CID_MPEG_STREAM_PID_AUDIO (integer)``
74 ``V4L2_CID_MPEG_STREAM_PID_VIDEO (integer)``
77 ``V4L2_CID_MPEG_STREAM_PID_PCR (integer)``
81 ``V4L2_CID_MPEG_STREAM_PES_ID_AUDIO (integer)``
84 ``V4L2_CID_MPEG_STREAM_PES_ID_VIDEO (integer)``
302 ``V4L2_CID_MPEG_AUDIO_AAC_BITRATE (integer)``
547 ``V4L2_CID_MPEG_VIDEO_B_FRAMES (integer)``
550 ``V4L2_CID_MPEG_VIDEO_GOP_SIZE (integer)``
582 ``V4L2_CID_MPEG_VIDEO_BITRATE (integer)``
[all …]

12345678910>>...35