/openbmc/linux/drivers/iio/adc/ |
H A D | dln2-adc.c | 451 lval.type = IIO_VOLTAGE; \ 452 lval.channel = idx; \ 453 lval.indexed = 1; \ 457 lval.scan_index = idx; \ 458 lval.scan_type.sign = 'u'; \ 466 lval.type = IIO_TIMESTAMP; \ 467 lval.channel = -1; \ 468 lval.scan_index = _si; \ 469 lval.scan_type.sign = 's'; \ 470 lval.scan_type.realbits = 64; \ [all …]
|
/openbmc/linux/drivers/vfio/pci/ |
H A D | vfio_pci_igd.c | 312 __le16 lval; in vfio_pci_igd_cfg_rw() local 318 lval = cpu_to_le16(val); in vfio_pci_igd_cfg_rw() 319 if (copy_to_user(buf + count - size, &lval, 2)) in vfio_pci_igd_cfg_rw() 328 __le32 lval; in vfio_pci_igd_cfg_rw() local 334 lval = cpu_to_le32(val); in vfio_pci_igd_cfg_rw() 335 if (copy_to_user(buf + count - size, &lval, 4)) in vfio_pci_igd_cfg_rw() 344 __le16 lval; in vfio_pci_igd_cfg_rw() local 350 lval = cpu_to_le16(val); in vfio_pci_igd_cfg_rw() 351 if (copy_to_user(buf + count - size, &lval, 2)) in vfio_pci_igd_cfg_rw()
|
/openbmc/linux/kernel/ |
H A D | sysctl.c | 504 unsigned long lval; in __do_proc_dointvec() local 563 unsigned long lval; in do_proc_douintvec_w() local 618 unsigned long lval; in do_proc_douintvec_r() local 1167 unsigned long lval; in do_proc_dointvec_jiffies_conv() local 1170 lval = -(unsigned long)val; in do_proc_dointvec_jiffies_conv() 1173 lval = (unsigned long)val; in do_proc_dointvec_jiffies_conv() 1175 *lvalp = lval / HZ; in do_proc_dointvec_jiffies_conv() 1190 unsigned long lval; in do_proc_dointvec_userhz_jiffies_conv() local 1196 lval = (unsigned long)val; in do_proc_dointvec_userhz_jiffies_conv() 1215 unsigned long lval; in do_proc_dointvec_ms_jiffies_conv() local [all …]
|
/openbmc/linux/kernel/trace/ |
H A D | trace_probe_tmpl.h | 129 unsigned long lval = val; in process_fetch_insn_bottom() local 135 lval = val; in process_fetch_insn_bottom() 139 lval = val; in process_fetch_insn_bottom() 219 val = lval + sizeof(char *); in process_fetch_insn_bottom()
|
/openbmc/linux/drivers/cpufreq/ |
H A D | qcom-cpufreq-hw.c | 134 unsigned int lval; in qcom_lmh_get_throttle_freq() local 137 lval = readl_relaxed(data->base + qcom_cpufreq.soc_data->reg_current_vote) & 0x3ff; in qcom_lmh_get_throttle_freq() 139 lval = readl_relaxed(data->base + qcom_cpufreq.soc_data->reg_domain_state) & 0xff; in qcom_lmh_get_throttle_freq() 141 return lval * xo_rate; in qcom_lmh_get_throttle_freq() 203 u32 data, src, lval, i, core_count, prev_freq = 0, freq; in qcom_cpufreq_hw_read_lut() local 241 lval = FIELD_GET(LUT_L_VAL, data); in qcom_cpufreq_hw_read_lut() 249 freq = xo_rate * lval / 1000; in qcom_cpufreq_hw_read_lut()
|
/openbmc/qemu/target/arm/tcg/ |
H A D | gengvec.c | 998 TCGv_i32 lval = tcg_temp_new_i32(); in gen_ushl_i32() local 1012 tcg_gen_shl_i32(lval, src, lsh); in gen_ushl_i32() 1020 TCGv_i64 lval = tcg_temp_new_i64(); in gen_ushl_i64() local 1034 tcg_gen_shl_i64(lval, src, lsh); in gen_ushl_i64() 1080 tcg_gen_andc_vec(vece, lval, lval, lsh); in gen_ushl_vec() 1085 tcg_gen_and_vec(vece, lval, lval, lsh); in gen_ushl_vec() 1135 tcg_gen_shl_i32(lval, src, lsh); in gen_sshl_i32() 1138 tcg_gen_movcond_i32(TCG_COND_LEU, lval, lsh, max, lval, zero); in gen_sshl_i32() 1158 tcg_gen_shl_i64(lval, src, lsh); in gen_sshl_i64() 1161 tcg_gen_movcond_i64(TCG_COND_LEU, lval, lsh, max, lval, zero); in gen_sshl_i64() [all …]
|
/openbmc/u-boot/drivers/rtc/ |
H A D | s35392a.c | 125 u8 lval = val; in s35392a_rtc_write8() local 127 ret = s35392a_rtc_write(dev, reg, &lval, sizeof(lval)); in s35392a_rtc_write8()
|
H A D | rx8010sj.c | 110 u8 lval = val; in rx8010sj_rtc_write8() local 113 ret = dm_i2c_write(dev, reg, &lval, 1); in rx8010sj_rtc_write8() 115 ret = i2c_write(dev->chip, reg, 1, &lval, 1); in rx8010sj_rtc_write8()
|
/openbmc/linux/drivers/interconnect/qcom/ |
H A D | osm-l3.c | 163 u32 info, src, lval, i, prev_freq = 0, freq; in qcom_osm_l3_probe() local 213 lval = FIELD_GET(LUT_L_VAL, info); in qcom_osm_l3_probe() 215 freq = xo_rate * lval; in qcom_osm_l3_probe()
|
/openbmc/linux/drivers/infiniband/hw/qib/ |
H A D | qib_driver.c | 453 u64 lval; in qib_kreceive() local 541 lval = l; in qib_kreceive() 543 dd->f_update_usrhead(rcd, lval, updegr, etail, i); in qib_kreceive() 582 lval = (u64)rcd->head | dd->rhdrhead_intr_off; in qib_kreceive() 583 dd->f_update_usrhead(rcd, lval, updegr, etail, i); in qib_kreceive()
|
/openbmc/linux/tools/testing/selftests/breakpoints/ |
H A D | breakpoint_test.c | 177 char cval; short sval; int ival; long long lval; in read_var() local 192 lval = *(long long *)&dummy_var[i]; in read_var()
|
/openbmc/linux/fs/nls/ |
H A D | nls_base.c | 33 long lval; member 68 if (l < t->lval || l > UNICODE_MAX || in utf8_to_utf32()
|
/openbmc/linux/include/uapi/linux/ |
H A D | scif_ioctl.h | 180 __u64 lval; member
|
/openbmc/linux/drivers/power/supply/ |
H A D | bq25890_charger.c | 692 u8 lval; in bq25890_power_supply_set_property() local 697 lval = bq25890_find_idx(min(val->intval, maxval), TBL_ICHG); in bq25890_power_supply_set_property() 698 return bq25890_field_write(bq, F_ICHG, lval); in bq25890_power_supply_set_property() 701 lval = bq25890_find_idx(min(val->intval, maxval), TBL_VREG); in bq25890_power_supply_set_property() 702 return bq25890_field_write(bq, F_VREG, lval); in bq25890_power_supply_set_property() 704 lval = bq25890_find_idx(val->intval, TBL_IINLIM); in bq25890_power_supply_set_property() 705 return bq25890_field_write(bq, F_IINLIM, lval); in bq25890_power_supply_set_property()
|
/openbmc/linux/drivers/net/ethernet/intel/ixgbe/ |
H A D | ixgbe_x550.c | 1956 u32 lval, sval, flx_val; in ixgbe_setup_sgmii() local 1961 IXGBE_SB_IOSF_TARGET_KR_PHY, &lval); in ixgbe_setup_sgmii() 1965 lval &= ~IXGBE_KRM_LINK_CTRL_1_TETH_AN_ENABLE; in ixgbe_setup_sgmii() 1967 lval |= IXGBE_KRM_LINK_CTRL_1_TETH_AN_SGMII_EN; in ixgbe_setup_sgmii() 1972 IXGBE_SB_IOSF_TARGET_KR_PHY, lval); in ixgbe_setup_sgmii() 2028 u32 lval, sval, flx_val; in ixgbe_setup_sgmii_fw() local 2033 IXGBE_SB_IOSF_TARGET_KR_PHY, &lval); in ixgbe_setup_sgmii_fw() 2037 lval &= ~IXGBE_KRM_LINK_CTRL_1_TETH_AN_ENABLE; in ixgbe_setup_sgmii_fw() 2039 lval |= IXGBE_KRM_LINK_CTRL_1_TETH_AN_SGMII_EN; in ixgbe_setup_sgmii_fw() 2044 IXGBE_SB_IOSF_TARGET_KR_PHY, lval); in ixgbe_setup_sgmii_fw() [all …]
|
/openbmc/linux/drivers/comedi/drivers/ |
H A D | me4000.c | 926 unsigned short lval; in me4000_ai_isr() local 953 lval = me4000_ai_get_sample(dev, s); in me4000_ai_isr() 954 if (!comedi_buf_write_samples(s, &lval, 1)) in me4000_ai_isr() 973 lval = me4000_ai_get_sample(dev, s); in me4000_ai_isr() 974 if (!comedi_buf_write_samples(s, &lval, 1)) in me4000_ai_isr()
|
/openbmc/linux/sound/pci/riptide/ |
H A D | riptide.c | 923 setmixer(struct cmdif *cif, short num, unsigned short rval, unsigned short lval) in setmixer() argument 928 snd_printdd("sent mixer %d: 0x%x 0x%x\n", num, rval, lval); in setmixer() 930 SEND_SDGV(cif, num, num, rval, lval); in setmixer() 932 if (rptr.retwords[0] == lval && rptr.retwords[1] == rval) in setmixer() 1059 unsigned short *lval) in getmixer() argument 1066 *lval = rptr.retwords[1]; in getmixer() 1067 snd_printdd("got mixer %d: 0x%x 0x%x\n", num, *rval, *lval); in getmixer() 1872 unsigned short rval = 0, lval = 0; in snd_riptide_proc_read() local 1894 getmixer(cif, i, &rval, &lval); in snd_riptide_proc_read() 1895 snd_iprintf(buffer, "\n %d: %d %d", i, rval, lval); in snd_riptide_proc_read()
|
/openbmc/linux/sound/core/ |
H A D | control.c | 1087 long long lval, lmin, lmax, lstep; in sanity_check_int_value() local 1093 lval = control->value.integer.value[i]; in sanity_check_int_value() 1099 lval = control->value.integer.value[i]; in sanity_check_int_value() 1105 lval = control->value.integer64.value[i]; in sanity_check_int_value() 1111 lval = control->value.enumerated.item[i]; in sanity_check_int_value() 1118 if (lval < lmin || lval > lmax) { in sanity_check_int_value() 1124 control->id.index, lval, lmin, lmax, i); in sanity_check_int_value() 1128 div64_u64_rem(lval, lstep, &rem); in sanity_check_int_value() 1135 control->id.index, lval, lstep, i); in sanity_check_int_value()
|
/openbmc/u-boot/scripts/kconfig/ |
H A D | expr.c | 1031 union string_value lval = {}, rval = {}; in expr_calc_value() local 1070 k1 = expr_parse_string(str1, e->left.sym->type, &lval); in expr_calc_value() 1083 res = (lval.u > rval.u) - (lval.u < rval.u); in expr_calc_value() 1085 res = (lval.s > rval.s) - (lval.s < rval.s); in expr_calc_value()
|
/openbmc/linux/scripts/kconfig/ |
H A D | expr.c | 1006 union string_value lval = {}, rval = {}; in expr_calc_value() local 1045 k1 = expr_parse_string(str1, e->left.sym->type, &lval); in expr_calc_value() 1052 res = (lval.u > rval.u) - (lval.u < rval.u); in expr_calc_value() 1054 res = (lval.s > rval.s) - (lval.s < rval.s); in expr_calc_value()
|
/openbmc/linux/drivers/media/i2c/ |
H A D | tda1997x.c | 384 long lval = 0; in io_read16() local 389 lval |= (val << 8); in io_read16() 393 lval |= val; in io_read16() 395 return lval; in io_read16() 401 long lval = 0; in io_read24() local 406 lval |= (val << 16); in io_read24() 410 lval |= (val << 8); in io_read24() 414 lval |= val; in io_read24() 416 return lval; in io_read24()
|
/openbmc/linux/tools/testing/ktest/ |
H A D | ktest.pl | 901 my ($lval, $cmp, $rval) = @_; 905 $lval =~ s/^\s*//; 906 $lval =~ s/\s*$//; 912 return $lval eq $rval; 914 return $lval ne $rval; 916 return $lval =~ m/$rval/; 918 return $lval !~ m/$rval/; 921 my $statement = "$lval $cmp $rval";
|
/openbmc/linux/drivers/misc/cardreader/ |
H A D | rtsx_pcr.c | 1347 u32 lval; in rtsx_pci_init_chip() local 1434 pci_read_config_dword(pcr->pci, l1ss + PCI_L1SS_CTL1, &lval); in rtsx_pci_init_chip() 1436 if (lval & PCI_L1SS_CTL1_ASPM_L1_1) in rtsx_pci_init_chip() 1441 if (lval & PCI_L1SS_CTL1_ASPM_L1_2) in rtsx_pci_init_chip() 1446 if (lval & PCI_L1SS_CTL1_PCIPM_L1_1) in rtsx_pci_init_chip() 1451 if (lval & PCI_L1SS_CTL1_PCIPM_L1_2) in rtsx_pci_init_chip()
|
/openbmc/u-boot/lib/bzip2/ |
H A D | bzlib_decompress.c | 117 #define GET_MTF_VAL(label1,label2,lval) \ argument 144 lval = gPerm[zvec - gBase[zn]]; \
|
/openbmc/linux/sound/soc/fsl/ |
H A D | fsl_ssi.c | 1215 unsigned int lval; in fsl_ssi_ac97_write() local 1233 lval = val << 4; in fsl_ssi_ac97_write() 1234 regmap_write(regs, REG_SSI_SACDAT, lval); in fsl_ssi_ac97_write()
|