Home
last modified time | relevance | path

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

12345678910>>...29

/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/include/linux/platform_data/x86/
H A Dintel_pmc_ipc.h63 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 Dint-attributes.c13 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/sound/aoa/codecs/
H A 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()
249 if (ucontrol->value.integer.value[0] < 0 || in tas_snd_vol_put()
250 ucontrol->value.integer.value[0] > 177) in tas_snd_vol_put()
252 if (ucontrol->value.integer.value[1] < 0 || in tas_snd_vol_put()
253 ucontrol->value.integer.value[1] > 177) in tas_snd_vol_put()
257 if (tas->cached_volume_l == ucontrol->value.integer.value[0] in tas_snd_vol_put()
258 && tas->cached_volume_r == ucontrol->value.integer.value[1]) in tas_snd_vol_put()
[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 …]
/linux/drivers/pci/
H A Dpci-acpi.c140 if (obj && obj->integer.value == 0) in pci_acpi_preserve_config()
203 u32 revision = fields[1].integer.value; in decode_type0_hpx_record()
213 hpx0->cache_line_size = fields[2].integer.value; in decode_type0_hpx_record()
214 hpx0->latency_timer = fields[3].integer.value; in decode_type0_hpx_record()
215 hpx0->enable_serr = fields[4].integer.value; in decode_type0_hpx_record()
216 hpx0->enable_perr = fields[5].integer.value; in decode_type0_hpx_record()
253 u32 revision = fields[1].integer.value; in decode_type1_hpx_record()
263 hpx1->max_mem_read = fields[2].integer.value; in decode_type1_hpx_record()
264 hpx1->avg_max_split = fields[3].integer.value; in decode_type1_hpx_record()
265 hpx1->tot_max_split = fields[4].integer.value; in decode_type1_hpx_record()
[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/usb/qcom/
H A Dmixer_usb_offload.c34 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 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/drivers/staging/vc04_services/bcm2835-audio/
H A Dbcm2835-ctl.c36 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/drivers/i2c/busses/
H A 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/sound/ppc/
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 …]
H A Dawacs.c128 uinfo->value.integer.min = 0; in snd_pmac_awacs_info_volume()
129 uinfo->value.integer.max = 15; in snd_pmac_awacs_info_volume()
149 ucontrol->value.integer.value[0] = vol[0]; in snd_pmac_awacs_get_volume()
150 ucontrol->value.integer.value[1] = vol[1]; in snd_pmac_awacs_get_volume()
164 vol[0] = ucontrol->value.integer.value[0]; in snd_pmac_awacs_put_volume()
165 vol[1] = ucontrol->value.integer.value[1]; in snd_pmac_awacs_put_volume()
208 ucontrol->value.integer.value[0] = val; in snd_pmac_awacs_get_switch()
224 if (ucontrol->value.integer.value[0] != invert) in snd_pmac_awacs_put_switch()
318 uinfo->value.integer.min = 0; in snd_pmac_awacs_info_volume_amp()
319 uinfo->value.integer.max = 31; in snd_pmac_awacs_info_volume_amp()
[all …]
/linux/drivers/char/tpm/
H A Dtpm_ppi.c99 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/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()
85 ucontrol->value.integer.value[0] = val; in snd_ak4531_get_single()
99 val = ucontrol->value.integer.value[0] & mask; in snd_ak4531_put_single()
131 uinfo->value.integer.min = 0; in snd_ak4531_info_double()
132 uinfo->value.integer.max = mask; in snd_ak4531_info_double()
154 ucontrol->value.integer.value[0] = left; in snd_ak4531_get_double()
155 ucontrol->value.integer.value[1] = right; in snd_ak4531_get_double()
171 left = ucontrol->value.integer.value[0] & mask; in snd_ak4531_put_double()
172 right = ucontrol->value.integer.value[1] & mask; in snd_ak4531_put_double()
[all …]
/linux/sound/core/
H A Dcontrol_compat.c61 } 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
236 data->value.integer.value[i] = val; in copy_ctl_value_from_user()
267 val = data->value.integer.value[i]; in copy_ctl_value_to_user()
397 if (get_user(data->value.integer.min, &data32->value.integer.min) || in snd_ctl_elem_add_compat()
398 get_user(data->value.integer.max, &data32->value.integer.max) || in snd_ctl_elem_add_compat()
[all …]
/linux/Documentation/userspace-api/media/v4l/
H A Dext-ctrls-codec.rst68 ``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/sound/pci/ice1712/
H A Dphase.c291 ucontrol->value.integer.value[0] = (wm_get(ice, WM_MUTE) & 0x10) ? in wm_pcm_mute_get()
305 nval = (oval & ~0x10) | (ucontrol->value.integer.value[0] ? 0 : 0x10); in wm_pcm_mute_put()
322 uinfo->value.integer.min = 0; in wm_master_vol_info()
323 uinfo->value.integer.max = WM_VOL_MAX; in wm_master_vol_info()
334 ucontrol->value.integer.value[i] = spec->master[i] & in wm_master_vol_get()
348 unsigned int vol = ucontrol->value.integer.value[ch]; in wm_master_vol_put()
469 uinfo->value.integer.min = 0; /* mute (-101dB) */ in wm_vol_info()
470 uinfo->value.integer.max = 0x7F; /* 0dB */ in wm_vol_info()
484 ucontrol->value.integer.value[i] = in wm_vol_get()
502 vol = ucontrol->value.integer.value[i]; in wm_vol_put()
[all …]
H A Dpontis.c104 uinfo->value.integer.min = 0; /* mute */ in wm_dac_vol_info()
105 uinfo->value.integer.max = DAC_RES; /* 0dB, 0.5dB step */ in wm_dac_vol_info()
119 ucontrol->value.integer.value[i] = val; in wm_dac_vol_get()
132 nval = ucontrol->value.integer.value[i]; in wm_dac_vol_put()
157 uinfo->value.integer.min = 0; /* mute (-64dB) */ in wm_adc_vol_info()
158 uinfo->value.integer.max = ADC_RES; /* 0dB, 0.5dB step */ in wm_adc_vol_info()
172 ucontrol->value.integer.value[i] = val; in wm_adc_vol_get()
185 nvol = ucontrol->value.integer.value[i]; in wm_adc_vol_put()
208 ucontrol->value.integer.value[0] = (wm_get(ice, WM_ADC_MUX) & (1 << bit)) ? 1 : 0; in wm_adc_mux_get()
221 if (ucontrol->value.integer.value[0]) in wm_adc_mux_put()
[all …]
H A Dwtm.c134 ucontrol->value.integer.value[0] = (~val >> 7) & 0x1; in stac9460_dac_mute_get()
150 new = (~ucontrol->value.integer.value[0] << 7 & 0x80) | in stac9460_dac_mute_put()
164 new = (~ucontrol->value.integer.value[0] << 7 & 0x80) | in stac9460_dac_mute_put()
185 uinfo->value.integer.min = 0; /* mute */ in stac9460_dac_vol_info()
186 uinfo->value.integer.max = 0x7f; /* 0dB */ in stac9460_dac_vol_info()
208 ucontrol->value.integer.value[0] = 0x7f - vol; in stac9460_dac_vol_get()
222 nvol = ucontrol->value.integer.value[0] & 0x7f; in stac9460_dac_vol_put()
233 nvol = ucontrol->value.integer.value[0] & 0x7f; in stac9460_dac_vol_put()
268 ucontrol->value.integer.value[i] = ~val>>7 & 0x1; in stac9460_adc_mute_get()
273 ucontrol->value.integer.value[i] = ~val>>7 & 0x1; in stac9460_adc_mute_get()
[all …]
/linux/drivers/platform/x86/amd/
H A Dwbrf.c85 tmp[0].integer.type = ACPI_TYPE_INTEGER; in wbrf_record()
86 tmp[0].integer.value = num_of_ranges; in wbrf_record()
89 tmp[1].integer.type = ACPI_TYPE_INTEGER; in wbrf_record()
90 tmp[1].integer.value = action; in wbrf_record()
97 tmp[arg_idx].integer.type = ACPI_TYPE_INTEGER; in wbrf_record()
98 tmp[arg_idx++].integer.value = in->band_list[i].start; in wbrf_record()
99 tmp[arg_idx].integer.type = ACPI_TYPE_INTEGER; in wbrf_record()
100 tmp[arg_idx++].integer.value = in->band_list[i].end; in wbrf_record()
113 ret = obj->integer.value; in wbrf_record()
/linux/sound/pci/cs5535audio/
H A Dcs5535audio_olpc.c66 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/
H A Dclassmate-laptop.c79 param[0].integer.value = 0x3; in cmpc_start_accel_v4()
81 param[1].integer.value = 0; in cmpc_start_accel_v4()
83 param[2].integer.value = 0; in cmpc_start_accel_v4()
85 param[3].integer.value = 0; in cmpc_start_accel_v4()
99 param[0].integer.value = 0x4; in cmpc_stop_accel_v4()
101 param[1].integer.value = 0; in cmpc_stop_accel_v4()
103 param[2].integer.value = 0; in cmpc_stop_accel_v4()
105 param[3].integer.value = 0; in cmpc_stop_accel_v4()
118 param[0].integer.value = 0x02; in cmpc_accel_set_sensitivity_v4()
120 param[1].integer.value = val; in cmpc_accel_set_sensitivity_v4()
[all …]

12345678910>>...29