Home
last modified time | relevance | path

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

12345678910>>...33

/kernel/linux/linux-5.10/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 …]
/kernel/linux/linux-5.10/sound/aoa/codecs/
Dtas.c229 uinfo->value.integer.min = 0; in tas_snd_vol_info()
230 uinfo->value.integer.max = 177; in tas_snd_vol_info()
240 ucontrol->value.integer.value[0] = tas->cached_volume_l; in tas_snd_vol_get()
241 ucontrol->value.integer.value[1] = tas->cached_volume_r; in tas_snd_vol_get()
251 if (ucontrol->value.integer.value[0] < 0 || in tas_snd_vol_put()
252 ucontrol->value.integer.value[0] > 177) in tas_snd_vol_put()
254 if (ucontrol->value.integer.value[1] < 0 || in tas_snd_vol_put()
255 ucontrol->value.integer.value[1] > 177) in tas_snd_vol_put()
259 if (tas->cached_volume_l == ucontrol->value.integer.value[0] in tas_snd_vol_put()
260 && tas->cached_volume_r == ucontrol->value.integer.value[1]) { in tas_snd_vol_put()
[all …]
/kernel/linux/linux-5.10/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()
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()
267 for (temp32 = 0; return_desc->integer.value && in acpi_ex_opcode_1A_1T_1R()
269 return_desc->integer.value >>= 1; in acpi_ex_opcode_1A_1T_1R()
272 return_desc->integer.value = temp32; in acpi_ex_opcode_1A_1T_1R()
277 return_desc->integer.value = operand[0]->integer.value; in acpi_ex_opcode_1A_1T_1R()
283 for (temp32 = 0; return_desc->integer.value && in acpi_ex_opcode_1A_1T_1R()
285 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()
/kernel/linux/linux-5.10/drivers/pci/
Dpci-acpi.c175 u32 revision = fields[1].integer.value; in decode_type0_hpx_record()
185 hpx0->cache_line_size = fields[2].integer.value; in decode_type0_hpx_record()
186 hpx0->latency_timer = fields[3].integer.value; in decode_type0_hpx_record()
187 hpx0->enable_serr = fields[4].integer.value; in decode_type0_hpx_record()
188 hpx0->enable_perr = fields[5].integer.value; in decode_type0_hpx_record()
225 u32 revision = fields[1].integer.value; in decode_type1_hpx_record()
235 hpx1->max_mem_read = fields[2].integer.value; in decode_type1_hpx_record()
236 hpx1->avg_max_split = fields[3].integer.value; in decode_type1_hpx_record()
237 hpx1->tot_max_split = fields[4].integer.value; in decode_type1_hpx_record()
374 u32 revision = fields[1].integer.value; in decode_type2_hpx_record()
[all …]
/kernel/linux/linux-5.10/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 …]
/kernel/linux/linux-5.10/scripts/dtc/
Ddtc-parser.y44 uint64_t integer; member
57 %token <integer> DT_LITERAL
58 %token <integer> DT_CHAR_LITERAL
83 %type <integer> integer_prim
84 %type <integer> integer_unary
85 %type <integer> integer_mul
86 %type <integer> integer_add
87 %type <integer> integer_shift
88 %type <integer> integer_rela
89 %type <integer> integer_eq
[all …]
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/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 …]
/kernel/linux/linux-5.10/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 …]
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/power/supply/
Dbq25890.txt12 - reg: integer, i2c address of the device.
14 - ti,battery-regulation-voltage: integer, maximum charging voltage (in uV);
15 - ti,charge-current: integer, maximum charging current (in uA);
16 - ti,termination-current: integer, charge will be terminated when current in
18 - ti,precharge-current: integer, maximum charge current during precharge
20 - ti,minimum-sys-voltage: integer, when battery is charging and it is below
23 - ti,boost-voltage: integer, VBUS voltage level in boost mode (in uV);
24 - ti,boost-max-current: integer, maximum allowed current draw in boost mode
33 - ti,thermal-regulation-threshold: integer, temperature above which the charge
36 - ti,ibatcomp-micro-ohms: integer, value of a resistor in series with
[all …]
Dbq2415x.txt17 - reg: integer, i2c address of the device.
18 - ti,current-limit: integer, initial maximum current charger can pull
20 - ti,weak-battery-voltage: integer, weak battery voltage threshold in mV.
23 - ti,battery-regulation-voltage: integer, maximum charging voltage in mV.
24 - ti,charge-current: integer, maximum charging current in mA.
25 - ti,termination-current: integer, charge will be terminated when current in
27 - ti,resistor-sense: integer, value of sensing resistor in milliohm.
/kernel/linux/linux-5.10/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 …]
/kernel/linux/linux-5.10/sound/soc/
Dsoc-ops.c192 uinfo->value.integer.min = 0; in snd_soc_info_volsw()
193 uinfo->value.integer.max = platform_max - mc->min; in snd_soc_info_volsw()
220 uinfo->value.integer.max += mc->min; in snd_soc_info_volsw_sx()
261 ucontrol->value.integer.value[0] = val - min; in snd_soc_get_volsw()
263 ucontrol->value.integer.value[0] = in snd_soc_get_volsw()
264 max - ucontrol->value.integer.value[0]; in snd_soc_get_volsw()
276 ucontrol->value.integer.value[1] = val - min; in snd_soc_get_volsw()
278 ucontrol->value.integer.value[1] = in snd_soc_get_volsw()
279 max - ucontrol->value.integer.value[1]; in snd_soc_get_volsw()
319 val = ucontrol->value.integer.value[0]; in snd_soc_put_volsw()
[all …]
/kernel/linux/linux-5.10/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 …]
/kernel/linux/linux-5.10/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()
138 ucontrol->value.integer.value[0] = tea->regs[TEA6330T_SADDR_VOLUME_LEFT] == 0 ? 0 : 1; in snd_tea6330t_get_master_switch()
139 ucontrol->value.integer.value[1] = tea->regs[TEA6330T_SADDR_VOLUME_RIGHT] == 0 ? 0 : 1; in snd_tea6330t_get_master_switch()
152 val1 = ucontrol->value.integer.value[0] & 1; in snd_tea6330t_put_master_switch()
153 val2 = ucontrol->value.integer.value[1] & 1; in snd_tea6330t_put_master_switch()
[all …]
/kernel/linux/linux-5.10/sound/ppc/
Dburgundy.c166 uinfo->value.integer.min = 0; in snd_pmac_burgundy_info_volume()
167 uinfo->value.integer.max = 100; in snd_pmac_burgundy_info_volume()
178 ucontrol->value.integer.value, shift); in snd_pmac_burgundy_get_volume()
191 ucontrol->value.integer.value, shift); in snd_pmac_burgundy_put_volume()
193 return (nvoices[0] != ucontrol->value.integer.value[0] || in snd_pmac_burgundy_put_volume()
194 nvoices[1] != ucontrol->value.integer.value[1]); in snd_pmac_burgundy_put_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()
254 ucontrol->value.integer.value, off); in snd_pmac_burgundy_get_volume_2b()
267 ucontrol->value.integer.value, off); in snd_pmac_burgundy_put_volume_2b()
[all …]
Ddaca.c89 ucontrol->value.integer.value[0] = mix->deemphasis ? 1 : 0; in daca_get_deemphasis()
102 change = mix->deemphasis != ucontrol->value.integer.value[0]; in daca_put_deemphasis()
104 mix->deemphasis = !!ucontrol->value.integer.value[0]; in daca_put_deemphasis()
116 uinfo->value.integer.min = 0; in daca_info_volume()
117 uinfo->value.integer.max = DACA_VOL_MAX; in daca_info_volume()
128 ucontrol->value.integer.value[0] = mix->left_vol; in daca_get_volume()
129 ucontrol->value.integer.value[1] = mix->right_vol; in daca_get_volume()
143 vol[0] = ucontrol->value.integer.value[0]; in daca_put_volume()
144 vol[1] = ucontrol->value.integer.value[1]; in daca_put_volume()
167 ucontrol->value.integer.value[0] = mix->amp_on ? 1 : 0; in daca_get_amp()
[all …]
/kernel/linux/linux-5.10/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 …]
/kernel/linux/linux-5.10/drivers/i2c/busses/
Di2c-scmi.c105 mt_params[3].integer.value = 0; in acpi_smbus_cmi_access()
107 mt_params[4].integer.value = 0; in acpi_smbus_cmi_access()
115 mt_params[3].integer.value = 0; in acpi_smbus_cmi_access()
117 mt_params[4].integer.value = 0; in acpi_smbus_cmi_access()
127 mt_params[3].integer.value = 1; in acpi_smbus_cmi_access()
129 mt_params[4].integer.value = data->byte; in acpi_smbus_cmi_access()
137 mt_params[3].integer.value = 2; in acpi_smbus_cmi_access()
139 mt_params[4].integer.value = data->word; in acpi_smbus_cmi_access()
150 mt_params[3].integer.value = len; in acpi_smbus_cmi_access()
174 mt_params[0].integer.value = protocol; in acpi_smbus_cmi_access()
[all …]
/kernel/linux/linux-5.10/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 …]
/kernel/linux/linux-5.10/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 …]
/kernel/linux/linux-5.10/sound/isa/cs423x/
Dcs4236_lib.c400 uinfo->value.integer.min = 0; in snd_cs4236_info_single()
401 uinfo->value.integer.max = mask; in snd_cs4236_info_single()
415 ucontrol->value.integer.value[0] = (chip->eimage[CS4236_REG(reg)] >> shift) & mask; in snd_cs4236_get_single()
418 ucontrol->value.integer.value[0] = mask - ucontrol->value.integer.value[0]; in snd_cs4236_get_single()
433 val = (ucontrol->value.integer.value[0] & mask); in snd_cs4236_put_single()
461 ucontrol->value.integer.value[0] = (chip->cimage[reg] >> shift) & mask; in snd_cs4236_get_singlec()
464 ucontrol->value.integer.value[0] = mask - ucontrol->value.integer.value[0]; in snd_cs4236_get_singlec()
479 val = (ucontrol->value.integer.value[0] & mask); in snd_cs4236_put_singlec()
513 uinfo->value.integer.min = 0; in snd_cs4236_info_double()
514 uinfo->value.integer.max = mask; in snd_cs4236_info_double()
[all …]
/kernel/linux/linux-5.10/sound/pci/cs5535audio/
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()

12345678910>>...33