| /linux/Documentation/firmware-guide/acpi/apei/ |
| H A D | output_format.rst | 12 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/include/linux/platform_data/x86/ |
| H A D | intel_pmc_ipc.h | 63 params[0].integer.value = ipc_cmd->cmd; in intel_pmc_ipc() 64 params[1].integer.value = ipc_cmd->sub_cmd; in intel_pmc_ipc() 65 params[2].integer.value = ipc_cmd->size; in intel_pmc_ipc() 66 params[3].integer.value = ipc_cmd->wbuf[0]; in intel_pmc_ipc() 67 params[4].integer.value = ipc_cmd->wbuf[1]; in intel_pmc_ipc() 68 params[5].integer.value = ipc_cmd->wbuf[2]; in intel_pmc_ipc() 69 params[6].integer.value = ipc_cmd->wbuf[3]; in intel_pmc_ipc() 81 if ((u8)objs[0].integer.value != 0) in intel_pmc_ipc() 84 rbuf->buf[0] = objs[1].integer.value; in intel_pmc_ipc() 85 rbuf->buf[1] = objs[2].integer.value; in intel_pmc_ipc() [all …]
|
| /linux/drivers/platform/x86/dell/dell-wmi-sysman/ |
| H A D | int-attributes.c | 13 get_instance_id(integer); 33 ret = snprintf(buf, PAGE_SIZE, "%lld\n", obj->package.elements[CURRENT_VAL].integer.value); in current_value_show() 64 attribute_s_property_show(display_name_language_code, integer); 68 attribute_s_property_show(display_name, integer); 72 attribute_n_property_show(default_value, integer); 76 attribute_property_store(current_value, integer); 80 attribute_s_property_show(dell_modifier, integer); 84 attribute_n_property_show(min_value, integer); 88 attribute_n_property_show(max_value, integer); 92 attribute_n_property_show(scalar_increment, integer); [all …]
|
| /linux/drivers/acpi/acpica/ |
| H A D | exoparg1.c | 141 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 D | exoparg2.c | 76 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 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()
|
| H A D | exoparg6.c | 196 if ((operand[1]->integer.value > MAX_MATCH_OPERATOR) || in acpi_ex_opcode_6A_0T_1R() 197 (operand[3]->integer.value > MAX_MATCH_OPERATOR)) { in acpi_ex_opcode_6A_0T_1R() 205 index = operand[5]->integer.value; in acpi_ex_opcode_6A_0T_1R() 253 if (!acpi_ex_do_match((u32) operand[1]->integer.value, in acpi_ex_opcode_6A_0T_1R() 258 if (!acpi_ex_do_match((u32) operand[3]->integer.value, in acpi_ex_opcode_6A_0T_1R() 265 return_desc->integer.value = index; in acpi_ex_opcode_6A_0T_1R()
|
| /linux/drivers/pci/ |
| H A D | pci-acpi.c | 139 if (obj && obj->integer.value == 0) in pci_acpi_preserve_config() 202 u32 revision = fields[1].integer.value; in decode_type0_hpx_record() 212 hpx0->cache_line_size = fields[2].integer.value; in decode_type0_hpx_record() 213 hpx0->latency_timer = fields[3].integer.value; in decode_type0_hpx_record() 214 hpx0->enable_serr = fields[4].integer.value; in decode_type0_hpx_record() 215 hpx0->enable_perr = fields[5].integer.value; in decode_type0_hpx_record() 252 u32 revision = fields[1].integer.value; in decode_type1_hpx_record() 262 hpx1->max_mem_read = fields[2].integer.value; in decode_type1_hpx_record() 263 hpx1->avg_max_split = fields[3].integer.value; in decode_type1_hpx_record() 264 hpx1->tot_max_split = fields[4].integer.value; in decode_type1_hpx_record() [all …]
|
| /linux/sound/usb/6fire/ |
| H 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() 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/usb/qcom/ |
| H A D | mixer_usb_offload.c | 34 ucontrol->value.integer.value); in snd_usb_offload_card_route_get() 36 ucontrol->value.integer.value[0] = -1; in snd_usb_offload_card_route_get() 37 ucontrol->value.integer.value[1] = -1; in snd_usb_offload_card_route_get() 48 uinfo->value.integer.min = -1; in snd_usb_offload_card_route_info() 49 uinfo->value.integer.max = SNDRV_CARDS; in snd_usb_offload_card_route_info() 73 ucontrol->value.integer.value); in snd_usb_offload_pcm_route_get() 75 ucontrol->value.integer.value[0] = -1; in snd_usb_offload_pcm_route_get() 76 ucontrol->value.integer.value[1] = -1; in snd_usb_offload_pcm_route_get() 87 uinfo->value.integer.min = -1; in snd_usb_offload_pcm_route_info() 89 uinfo->value.integer.max = 0xff; in snd_usb_offload_pcm_route_info()
|
| /linux/scripts/dtc/ |
| H A D | dtc-parser.y | 50 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 D | tea6330t.c | 73 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/drivers/staging/vc04_services/bcm2835-audio/ |
| H A D | bcm2835-ctl.c | 36 uinfo->value.integer.min = CTRL_VOL_MIN; in snd_bcm2835_ctl_info() 37 uinfo->value.integer.max = CTRL_VOL_MAX; /* 2303 */ in snd_bcm2835_ctl_info() 41 uinfo->value.integer.min = 0; in snd_bcm2835_ctl_info() 42 uinfo->value.integer.max = 1; in snd_bcm2835_ctl_info() 46 uinfo->value.integer.min = 0; in snd_bcm2835_ctl_info() 47 uinfo->value.integer.max = AUDIO_DEST_MAX - 1; in snd_bcm2835_ctl_info() 60 ucontrol->value.integer.value[0] = chip->volume; in snd_bcm2835_ctl_get() 62 ucontrol->value.integer.value[0] = chip->mute; in snd_bcm2835_ctl_get() 64 ucontrol->value.integer.value[0] = chip->dest; in snd_bcm2835_ctl_get() 87 val = ucontrol->value.integer.value[0]; in snd_bcm2835_ctl_put() [all …]
|
| /linux/sound/ppc/ |
| H A D | daca.c | 90 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/drivers/char/tpm/ |
| H A D | tpm_ppi.c | 99 if (obj->package.elements[0].integer.value) in tpm_show_ppi_request() 102 req = obj->package.elements[1].integer.value; in tpm_show_ppi_request() 105 obj->package.elements[2].integer.value); in tpm_show_ppi_request() 112 if (obj->package.elements[0].integer.value) in tpm_show_ppi_request() 116 obj->package.elements[1].integer.value); in tpm_show_ppi_request() 152 if (sscanf(buf, "%llu %llu", &tmp[0].integer.value, in tpm_store_ppi_request() 153 &tmp[1].integer.value) != 2) in tpm_store_ppi_request() 168 if (sscanf(buf, "%llu", &tmp[0].integer.value) != 1) in tpm_store_ppi_request() 177 ret = obj->integer.value; in tpm_store_ppi_request() 221 ret = obj->integer.value; in tpm_show_ppi_transition_action() [all …]
|
| /linux/Documentation/userspace-api/media/v4l/ |
| H A D | ext-ctrls-codec.rst | 68 ``V4L2_CID_MPEG_STREAM_PID_PMT (integer)`` 72 ``V4L2_CID_MPEG_STREAM_PID_AUDIO (integer)`` 75 ``V4L2_CID_MPEG_STREAM_PID_VIDEO (integer)`` 78 ``V4L2_CID_MPEG_STREAM_PID_PCR (integer)`` 82 ``V4L2_CID_MPEG_STREAM_PES_ID_AUDIO (integer)`` 85 ``V4L2_CID_MPEG_STREAM_PES_ID_VIDEO (integer)`` 303 ``V4L2_CID_MPEG_AUDIO_AAC_BITRATE (integer)`` 548 ``V4L2_CID_MPEG_VIDEO_B_FRAMES (integer)`` 551 ``V4L2_CID_MPEG_VIDEO_GOP_SIZE (integer)`` 583 ``V4L2_CID_MPEG_VIDEO_BITRATE (integer)`` [all …]
|
| /linux/drivers/net/wireless/intel/iwlwifi/fw/ |
| H A D | acpi.c | 122 *value = obj->integer.value; in iwl_acpi_get_dsm_integer() 249 *tbl_rev = data->package.elements[0].integer.value; in iwl_acpi_get_wifi_pkg_range() 265 domain->integer.value == ACPI_WIFI_DOMAIN) in iwl_acpi_get_wifi_pkg_range() 310 tas_selection = (u32)wifi_pkg->package.elements[1].integer.value; in iwl_acpi_get_tas_table() 324 wifi_pkg->package.elements[2].integer.value > in iwl_acpi_get_tas_table() 327 wifi_pkg->package.elements[2].integer.value); in iwl_acpi_get_tas_table() 332 block_list_size = wifi_pkg->package.elements[2].integer.value; in iwl_acpi_get_tas_table() 348 country = wifi_pkg->package.elements[3 + i].integer.value; in iwl_acpi_get_tas_table() 383 mcc_val = wifi_pkg->package.elements[1].integer.value; in iwl_acpi_get_mcc() 413 wifi_pkg->package.elements[1].integer.value != ACPI_TYPE_INTEGER) in iwl_acpi_get_pwr_limit() [all …]
|
| /linux/sound/pci/cs5535audio/ |
| H A D | cs5535audio_olpc.c | 66 uinfo->value.integer.min = 0; in olpc_dc_info() 67 uinfo->value.integer.max = 1; in olpc_dc_info() 73 v->value.integer.value[0] = gpio_get_value(OLPC_GPIO_MIC_AC); in olpc_dc_get() 81 olpc_analog_input(cs5535au->ac97, v->value.integer.value[0]); in olpc_dc_put() 90 uinfo->value.integer.min = 0; in olpc_mic_info() 91 uinfo->value.integer.max = 1; in olpc_mic_info() 102 v->value.integer.value[0] = i ? 0 : 1; in olpc_mic_get() 110 olpc_mic_bias(cs5535au->ac97, v->value.integer.value[0]); in olpc_mic_put()
|
| /linux/drivers/platform/x86/amd/ |
| H A D | wbrf.c | 86 tmp[0].integer.type = ACPI_TYPE_INTEGER; in wbrf_record() 87 tmp[0].integer.value = num_of_ranges; in wbrf_record() 90 tmp[1].integer.type = ACPI_TYPE_INTEGER; in wbrf_record() 91 tmp[1].integer.value = action; in wbrf_record() 98 tmp[arg_idx].integer.type = ACPI_TYPE_INTEGER; in wbrf_record() 99 tmp[arg_idx++].integer.value = in->band_list[i].start; in wbrf_record() 100 tmp[arg_idx].integer.type = ACPI_TYPE_INTEGER; in wbrf_record() 101 tmp[arg_idx++].integer.value = in->band_list[i].end; in wbrf_record() 115 ret = obj->integer.value; in wbrf_record()
|
| /linux/sound/core/ |
| H A D | control_compat.c | 61 } integer; member 116 if (put_user(data->value.integer.min, &data32->value.integer.min) || in snd_ctl_elem_info_compat() 117 put_user(data->value.integer.max, &data32->value.integer.max) || in snd_ctl_elem_info_compat() 118 put_user(data->value.integer.step, &data32->value.integer.step)) in snd_ctl_elem_info_compat() 144 s32 integer[128]; member 159 s32 integer[128]; member 235 data->value.integer.value[i] = val; in copy_ctl_value_from_user() 266 val = data->value.integer.value[i]; in copy_ctl_value_to_user() 396 if (get_user(data->value.integer.min, &data32->value.integer.min) || in snd_ctl_elem_add_compat() 397 get_user(data->value.integer.max, &data32->value.integer.max) || in snd_ctl_elem_add_compat() [all …]
|
| /linux/sound/soc/codecs/ |
| H A D | wm8958-dsp2.c | 491 uinfo->value.integer.min = 0; in wm8958_mbc_info() 492 uinfo->value.integer.max = 1; in wm8958_mbc_info() 503 ucontrol->value.integer.value[0] = wm8994->mbc_ena[mbc]; in wm8958_mbc_get() 515 if (wm8994->mbc_ena[mbc] == ucontrol->value.integer.value[0]) in wm8958_mbc_put() 518 if (ucontrol->value.integer.value[0] > 1) in wm8958_mbc_put() 529 wm8994->mbc_ena[mbc] = ucontrol->value.integer.value[0]; in wm8958_mbc_put() 614 uinfo->value.integer.min = 0; in wm8958_vss_info() 615 uinfo->value.integer.max = 1; in wm8958_vss_info() 626 ucontrol->value.integer.value[0] = wm8994->vss_ena[vss]; in wm8958_vss_get() 638 if (wm8994->vss_ena[vss] == ucontrol->value.integer in wm8958_vss_put() [all...] |
| /linux/sound/drivers/pcsp/ |
| H A D | pcsp_mixer.c | 19 uinfo->value.integer.min = 0; in pcsp_enable_info() 20 uinfo->value.integer.max = 1; in pcsp_enable_info() 28 ucontrol->value.integer.value[0] = chip->enable; in pcsp_enable_get() 37 int enab = ucontrol->value.integer.value[0]; in pcsp_enable_put() 88 uinfo->value.integer.min = 0; in pcsp_pcspkr_info() 89 uinfo->value.integer.max = 1; in pcsp_pcspkr_info() 97 ucontrol->value.integer.value[0] = chip->pcspkr; in pcsp_pcspkr_get() 106 int spkr = ucontrol->value.integer.value[0]; in pcsp_pcspkr_put()
|
| /linux/drivers/acpi/ |
| H A D | pfr_update.c | 153 cap_hdr->status = out_obj->package.elements[CAP_STATUS_IDX].integer.value; in query_capability() 161 cap_hdr->update_cap = out_obj->package.elements[CAP_UPDATE_IDX].integer.value; in query_capability() 166 out_obj->package.elements[CAP_FW_VER_IDX].integer.value; in query_capability() 168 out_obj->package.elements[CAP_CODE_RT_VER_IDX].integer.value; in query_capability() 173 out_obj->package.elements[CAP_DRV_RT_VER_IDX].integer.value; in query_capability() 175 out_obj->package.elements[CAP_DRV_SVN_IDX].integer.value; in query_capability() 220 info->status = out_obj->package.elements[BUF_STATUS_IDX].integer.value; in query_buffer() 222 out_obj->package.elements[BUF_EXT_STATUS_IDX].integer.value; in query_buffer() 234 out_obj->package.elements[BUF_ADDR_LOW_IDX].integer.value; in query_buffer() 236 out_obj->package.elements[BUF_ADDR_HI_IDX].integer.value; in query_buffer() [all …]
|
| /linux/sound/firewire/oxfw/ |
| H A D | oxfw-spkr.c | 151 value->value.integer.value[0] = !spkr->mute; in spkr_mute_get() 164 mute = !value->value.integer.value[0]; in spkr_mute_put() 186 info->value.integer.min = spkr->volume_min; in spkr_volume_info() 187 info->value.integer.max = spkr->volume_max; in spkr_volume_info() 202 value->value.integer.value[channel_map[i]] = spkr->volume[i]; in spkr_volume_get() 218 if (value->value.integer.value[i] < spkr->volume_min || in spkr_volume_put() 219 value->value.integer.value[i] > spkr->volume_max) in spkr_volume_put() 221 if (value->value.integer.value[i] != in spkr_volume_put() 222 value->value.integer.value[0]) in spkr_volume_put() 228 if (value->value.integer.value[channel_map[i]] != in spkr_volume_put() [all …]
|
| /linux/sound/hda/codecs/side-codecs/ |
| H A D | tas2781_hda.c | 262 uinfo->value.integer.min = 0; in tasdevice_info_profile() 263 uinfo->value.integer.max = tas_priv->rcabin.ncfgs - 1; in tasdevice_info_profile() 276 uinfo->value.integer.min = 0; in tasdevice_info_programs() 277 uinfo->value.integer.max = tas_priv->fmw->nr_programs - 1; in tasdevice_info_programs() 291 uinfo->value.integer.min = 0; in tasdevice_info_config() 292 uinfo->value.integer.max = tas_fw->nr_configurations - 1; in tasdevice_info_config() 303 ucontrol->value.integer.value[0] = tas_priv->rcabin.profile_cfg_id; in tasdevice_get_profile_id() 316 int profile_id = ucontrol->value.integer.value[0]; in tasdevice_set_profile_id() 341 ucontrol->value.integer.value[0] = tas_priv->cur_prog; in tasdevice_program_get() 355 int nr_program = ucontrol->value.integer.value[0]; in tasdevice_program_put() [all …]
|