/linux/Documentation/firmware-guide/acpi/apei/ |
A D | output_format.rst | 13 section: <integer>, severity: <integer>, <severity string> 14 flags: <integer> 48 [IP: <integer>] 89 [version: <integer>.<integer>] 90 [command: <integer>, status: <integer>] 91 [device_id: <integer>:<integer>:<integer>.<integer> 94 vendor_id: <integer>, device_id: <integer> 96 [serial number: <integer>, <integer>] 97 [bridge: secondary_status: <integer>, control: <integer>] 98 [aer_status: <integer>, aer_mask: <integer> [all …]
|
/linux/scripts/dtc/ |
A D | dtc-parser.tab.c | 1723 (yyval.integer) = (yyvsp[-1].integer); in yyparse() 1728 … { (yyval.integer) = (yyvsp[-4].integer) ? (yyvsp[-2].integer) : (yyvsp[0].integer); } in yyparse() 1732 … { (yyval.integer) = (yyvsp[-2].integer) || (yyvsp[0].integer); } in yyparse() 1748 … { (yyval.integer) = (yyvsp[-2].integer) & (yyvsp[0].integer); } in yyparse() 1776 … { (yyval.integer) = ((yyvsp[0].integer) < 64) ? ((yyvsp[-2].integer) << (yyvsp[0].integer)) : 0; } in yyparse() 1780 … { (yyval.integer) = ((yyvsp[0].integer) < 64) ? ((yyvsp[-2].integer) >> (yyvsp[0].integer)) : 0; } in yyparse() 1784 … { (yyval.integer) = (yyvsp[-2].integer) + (yyvsp[0].integer); } in yyparse() 1788 … { (yyval.integer) = (yyvsp[-2].integer) - (yyvsp[0].integer); } in yyparse() 1792 … { (yyval.integer) = (yyvsp[-2].integer) * (yyvsp[0].integer); } in yyparse() 1798 (yyval.integer) = (yyvsp[-2].integer) / (yyvsp[0].integer); in yyparse() [all …]
|
A D | dtc-parser.y | 44 uint64_t integer; member 57 %token <integer> DT_LITERAL 83 %type <integer> integer_prim 84 %type <integer> integer_unary 85 %type <integer> integer_mul 86 %type <integer> integer_add 88 %type <integer> integer_rela 89 %type <integer> integer_eq 93 %type <integer> integer_and 94 %type <integer> integer_or [all …]
|
/linux/sound/aoa/codecs/ |
A D | tas.c | 228 uinfo->value.integer.min = 0; in tas_snd_vol_info() 229 uinfo->value.integer.max = 177; in tas_snd_vol_info() 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() 329 uinfo->value.integer.min = 0; in tas_snd_mixer_info() 330 uinfo->value.integer.max = 177; in tas_snd_mixer_info() 389 uinfo->value.integer.min = 0; in tas_snd_drc_range_info() 390 uinfo->value.integer.max = TAS3004_DRC_MAX; in tas_snd_drc_range_info() [all …]
|
/linux/drivers/platform/x86/dell/dell-wmi-sysman/ |
A D | int-attributes.c | 13 get_instance_id(integer); 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); 144 if (check_property_type(integer, ATTR_NAME, ACPI_TYPE_STRING)) in populate_int_data() [all …]
|
/linux/drivers/acpi/acpica/ |
A D | exoparg1.c | 256 return_desc->integer.value = ~operand[0]->integer.value; in acpi_ex_opcode_1A_1T_1R() 261 return_desc->integer.value = operand[0]->integer.value; in acpi_ex_opcode_1A_1T_1R() 277 return_desc->integer.value = operand[0]->integer.value; in acpi_ex_opcode_1A_1T_1R() 290 return_desc->integer.value = in acpi_ex_opcode_1A_1T_1R() 302 return_desc->integer.value = 0; in acpi_ex_opcode_1A_1T_1R() 328 return_desc->integer.value += in acpi_ex_opcode_1A_1T_1R() 343 return_desc->integer.value = 0; in acpi_ex_opcode_1A_1T_1R() 358 return_desc->integer.value |= in acpi_ex_opcode_1A_1T_1R() 368 integer.value))); in acpi_ex_opcode_1A_1T_1R() 637 return_desc->integer.value = in acpi_ex_opcode_1A_0T_1R() [all …]
|
A D | exoparg2.c | 76 value = (u32) operand[1]->integer.value; in acpi_ex_opcode_2A_0T_0R() 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() 263 operand[1]->integer.value, in acpi_ex_opcode_2A_1T_1R() 334 index = operand[1]->integer.value; in acpi_ex_opcode_2A_1T_1R() 490 operand[0]->integer. in acpi_ex_opcode_2A_0T_1R() [all …]
|
A D | exoparg3.c | 66 (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/drivers/pci/ |
A D | pci-acpi.c | 176 u32 revision = fields[1].integer.value; in decode_type0_hpx_record() 186 hpx0->cache_line_size = fields[2].integer.value; in decode_type0_hpx_record() 226 u32 revision = fields[1].integer.value; in decode_type1_hpx_record() 236 hpx1->max_mem_read = fields[2].integer.value; in decode_type1_hpx_record() 237 hpx1->avg_max_split = fields[3].integer.value; in decode_type1_hpx_record() 238 hpx1->tot_max_split = fields[4].integer.value; in decode_type1_hpx_record() 375 u32 revision = fields[1].integer.value; in decode_type2_hpx_record() 596 revision = fields[1].integer.value; in program_type3_hpx_record() 599 desc_count = fields[2].integer.value; in program_type3_hpx_record() 660 type = fields[0].integer.value; in acpi_run_hpx() [all …]
|
/linux/sound/usb/6fire/ |
A D | control.c | 180 uinfo->value.integer.min = 0; in usb6fire_control_output_vol_info() 181 uinfo->value.integer.max = 180; in usb6fire_control_output_vol_info() 199 rt->output_vol[ch] = ucontrol->value.integer.value[0]; in usb6fire_control_output_vol_put() 227 ucontrol->value.integer.value[0] = rt->output_vol[ch]; 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() 272 ucontrol->value.integer.value[0] = 1 & value; in usb6fire_control_output_mute_get() 274 ucontrol->value.integer.value[1] = 1 & value; in usb6fire_control_output_mute_get() 284 uinfo->value.integer.min = 0; in usb6fire_control_input_vol_info() 285 uinfo->value.integer.max = 30; in usb6fire_control_input_vol_info() [all …]
|
/linux/sound/soc/img/ |
A D | img-spdif-in.c | 315 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() 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() 389 uinfo->value.integer.min = 0; in img_spdif_in_info_lock_freq() 390 uinfo->value.integer.max = LONG_MAX; in img_spdif_in_info_lock_freq() 416 uc->value.integer.value[0] = 0; in img_spdif_in_get_lock_freq() 429 uinfo->value.integer.min = 0; in img_spdif_in_info_trk() 430 uinfo->value.integer.max = 255; in img_spdif_in_info_trk() 487 uinfo->value.integer.min = -128; in img_spdif_in_info_lock() [all …]
|
/linux/sound/pci/mixart/ |
A D | mixart_mixer.c | 368 int new_volume = ucontrol->value.integer.value[i]; in mixart_analog_vol_put() 426 ucontrol->value.integer.value[i]) { in mixart_audio_sw_put() 428 !!ucontrol->value.integer.value[i]; in mixart_audio_sw_put() 837 ucontrol->value.integer.value[0] = stored_volume[0]; in mixart_pcm_vol_get() 866 int vol = ucontrol->value.integer.value[i]; in mixart_pcm_vol_put() 929 ucontrol->value.integer.value[i]) { in mixart_pcm_sw_put() 931 !!ucontrol->value.integer.value[i]; in mixart_pcm_sw_put() 1003 ucontrol->value.integer.value[i]) { in mixart_monitor_vol_put() 1005 !!ucontrol->value.integer.value[i]; in mixart_monitor_vol_put() 1047 ucontrol->value.integer.value[i]) { in mixart_monitor_sw_put() [all …]
|
/linux/sound/soc/ |
A D | soc-ops.c | 192 uinfo->value.integer.min = 0; in snd_soc_info_volsw() 220 uinfo->value.integer.max += mc->min; in snd_soc_info_volsw_sx() 263 ucontrol->value.integer.value[0] = in snd_soc_get_volsw() 278 ucontrol->value.integer.value[1] = in snd_soc_get_volsw() 458 uinfo->value.integer.min = 0; in snd_soc_info_volsw_range() 544 ucontrol->value.integer.value[0] = in snd_soc_get_volsw_range() 547 ucontrol->value.integer.value[0] = in snd_soc_get_volsw_range() 554 ucontrol->value.integer.value[1] = in snd_soc_get_volsw_range() 557 ucontrol->value.integer.value[1] = in snd_soc_get_volsw_range() 780 uinfo->value.integer.min = mc->min; in snd_soc_info_xr_sx() [all …]
|
/linux/sound/ppc/ |
A D | burgundy.c | 166 uinfo->value.integer.min = 0; in snd_pmac_burgundy_info_volume() 167 uinfo->value.integer.max = 100; in snd_pmac_burgundy_info_volume() 242 uinfo->value.integer.min = 0; in snd_pmac_burgundy_info_volume_2b() 243 uinfo->value.integer.max = 100; in snd_pmac_burgundy_info_volume_2b() 289 uinfo->value.integer.min = 0; in snd_pmac_burgundy_info_gain() 290 uinfo->value.integer.max = 15; in snd_pmac_burgundy_info_gain() 351 uinfo->value.integer.min = 0; in snd_pmac_burgundy_info_switch_w() 352 uinfo->value.integer.max = 1; in snd_pmac_burgundy_info_switch_w() 382 if (ucontrol->value.integer.value[0]) in snd_pmac_burgundy_put_switch_w() 407 uinfo->value.integer.min = 0; in snd_pmac_burgundy_info_switch_b() [all …]
|
A D | daca.c | 90 ucontrol->value.integer.value[0] = mix->deemphasis ? 1 : 0; in daca_get_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() 186 change = mix->amp_on != ucontrol->value.integer.value[0]; in daca_put_amp() [all …]
|
/linux/drivers/net/ethernet/hisilicon/hns/ |
A D | hns_dsaf_misc.c | 65 obj_args[0].integer.value = link; in hns_dsaf_acpi_ledctrl_by_port() 67 obj_args[1].integer.value = port; in hns_dsaf_acpi_ledctrl_by_port() 69 obj_args[2].integer.value = act; in hns_dsaf_acpi_ledctrl_by_port() 94 obj_args[0].integer.value = locate; in hns_dsaf_acpi_locate_ledctrl_by_port() 96 obj_args[1].integer.value = port; in hns_dsaf_acpi_locate_ledctrl_by_port() 257 obj_args[0].integer.value = port_type; in hns_dsaf_acpi_srst_by_port() 259 obj_args[1].integer.value = port; in hns_dsaf_acpi_srst_by_port() 261 obj_args[2].integer.value = val; in hns_dsaf_acpi_srst_by_port() 564 phy_if = obj->integer.value ? in hns_mac_get_phy_if_acpi() 611 *sfp_prsnt = obj->integer.value; in hns_mac_get_sfp_prsnt_acpi() [all …]
|
/linux/sound/pci/oxygen/ |
A D | xonar_dg_mixer.c | 99 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() 203 info->value.integer.min = 2 * -12; in input_vol_info() 204 info->value.integer.max = 2 * 12; in input_vol_info() [all …]
|
/linux/sound/i2c/ |
A D | tea6330t.c | 76 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() 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() 183 uinfo->value.integer.min = 0; in snd_tea6330t_info_bass() 184 uinfo->value.integer.max = tea->max_bass; in snd_tea6330t_info_bass() 193 ucontrol->value.integer.value[0] = tea->bass; in snd_tea6330t_get_bass() 231 uinfo->value.integer.min = 0; in snd_tea6330t_info_treble() 232 uinfo->value.integer.max = tea->max_treble; in snd_tea6330t_info_treble() [all …]
|
/linux/sound/pcmcia/vx/ |
A D | vxp_mixer.c | 25 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/char/tpm/ |
A D | tpm_ppi.c | 85 if (obj->package.elements[0].integer.value) in tpm_show_ppi_request() 100 if (obj->package.elements[0].integer.value) in tpm_show_ppi_request() 141 &tmp[1].integer.value) != 2) 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() 249 if (ret_obj[0].integer.value) { in tpm_show_ppi_response() 254 req = ret_obj[1].integer.value; in tpm_show_ppi_response() 255 res = ret_obj[2].integer.value; in tpm_show_ppi_response() 303 tmp.integer.type = ACPI_TYPE_INTEGER; in show_ppi_operations() 305 tmp.integer.value = i; in show_ppi_operations() [all …]
|
/linux/drivers/i2c/busses/ |
A D | i2c-scmi.c | 103 mt_params[3].integer.value = 0; in acpi_smbus_cmi_access() 105 mt_params[4].integer.value = 0; in acpi_smbus_cmi_access() 113 mt_params[3].integer.value = 0; in acpi_smbus_cmi_access() 115 mt_params[4].integer.value = 0; in acpi_smbus_cmi_access() 125 mt_params[3].integer.value = 1; in acpi_smbus_cmi_access() 135 mt_params[3].integer.value = 2; in acpi_smbus_cmi_access() 174 mt_params[1].integer.value = addr; in acpi_smbus_cmi_access() 200 result = obj->integer.value; in acpi_smbus_cmi_access() 232 len = obj->integer.value; in acpi_smbus_cmi_access() 245 data->word = obj->integer.value; in acpi_smbus_cmi_access() [all …]
|
/linux/drivers/iio/health/ |
A D | afe4404.c | 147 { .integer = 50000, .fract = 0 }, 148 { .integer = 25000, .fract = 0 }, 149 { .integer = 10000, .fract = 0 }, 156 { .integer = 0, .fract = 5000 }, 157 { .integer = 0, .fract = 2500 }, 158 { .integer = 0, .fract = 10000 }, 159 { .integer = 0, .fract = 7500 }, 160 { .integer = 0, .fract = 20000 }, 161 { .integer = 0, .fract = 17500 }, 198 int val, integer, fract, ret; in afe440x_store_register() local [all …]
|
/linux/sound/drivers/vx/ |
A D | vx_mixer.c | 405 uinfo->value.integer.min = 0; in vx_output_level_info() 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() 588 val[0] = ucontrol->value.integer.value[0]; in vx_audio_gain_put() 589 val[1] = ucontrol->value.integer.value[1]; in vx_audio_gain_put() 622 val[0] = ucontrol->value.integer.value[0]; in vx_audio_monitor_put() 623 val[1] = ucontrol->value.integer.value[1]; in vx_audio_monitor_put() 823 uinfo->value.integer.min = 0; in vx_vu_meter_info() [all …]
|
/linux/sound/isa/cs423x/ |
A D | cs4236_lib.c | 398 uinfo->value.integer.min = 0; in snd_cs4236_info_single() 399 uinfo->value.integer.max = mask; in snd_cs4236_info_single() 416 ucontrol->value.integer.value[0] = mask - ucontrol->value.integer.value[0]; in snd_cs4236_get_single() 462 ucontrol->value.integer.value[0] = mask - ucontrol->value.integer.value[0]; in snd_cs4236_get_singlec() 511 uinfo->value.integer.min = 0; in snd_cs4236_info_double() 512 uinfo->value.integer.max = mask; in snd_cs4236_info_double() 532 ucontrol->value.integer.value[0] = mask - ucontrol->value.integer.value[0]; in snd_cs4236_get_double() 533 ucontrol->value.integer.value[1] = mask - ucontrol->value.integer.value[1]; in snd_cs4236_get_double() 551 val1 = ucontrol->value.integer.value[0] & mask; in snd_cs4236_put_double() 608 ucontrol->value.integer.value[0] = mask - ucontrol->value.integer.value[0]; in snd_cs4236_get_double1() [all …]
|
/linux/sound/pci/pcxhr/ |
A D | pcxhr_mixer.c | 83 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() 212 !!ucontrol->value.integer.value[i]; in pcxhr_audio_sw_put() 440 !!ucontrol->value.integer.value[i]; in pcxhr_pcm_sw_put() [all …]
|