Home
last modified time | relevance | path

Searched refs:lval (Results 1 – 25 of 29) sorted by relevance

12

/kernel/linux/linux-5.10/drivers/iio/adc/
Ddln2-adc.c450 #define DLN2_ADC_CHAN(lval, idx) { \ argument
451 lval.type = IIO_VOLTAGE; \
452 lval.channel = idx; \
453 lval.indexed = 1; \
454 lval.info_mask_separate = BIT(IIO_CHAN_INFO_RAW); \
455 lval.info_mask_shared_by_all = BIT(IIO_CHAN_INFO_SCALE) | \
457 lval.scan_index = idx; \
458 lval.scan_type.sign = 'u'; \
459 lval.scan_type.realbits = DLN2_ADC_DATA_BITS; \
460 lval.scan_type.storagebits = 16; \
[all …]
/kernel/linux/linux-5.10/drivers/misc/cardreader/
Drts5261.c368 u32 lval, i; in rts5261_init_from_hw() local
392 retval = pci_read_config_dword(pdev, PCR_SETTING_REG2, &lval); in rts5261_init_from_hw()
395 pcr_dbg(pcr, "DW from 0x814: 0x%x\n", lval); in rts5261_init_from_hw()
397 valid = (u8)((lval >> 16) & 0x03); in rts5261_init_from_hw()
404 pci_read_config_dword(pdev, PCR_SETTING_REG2, &lval); in rts5261_init_from_hw()
405 lval = lval & 0x00FFFFFF; in rts5261_init_from_hw()
406 retval = pci_write_config_dword(pdev, PCR_SETTING_REG2, lval); in rts5261_init_from_hw()
417 u32 lval; in rts5261_init_from_cfg() local
424 pci_read_config_dword(pdev, l1ss + PCI_L1SS_CTL1, &lval); in rts5261_init_from_cfg()
426 if (lval & PCI_L1SS_CTL1_ASPM_L1_1) in rts5261_init_from_cfg()
[all …]
Drts5227.c86 u32 lval; in rts5227_init_from_cfg() local
93 pci_read_config_dword(pdev, l1ss + PCI_L1SS_CTL1, &lval); in rts5227_init_from_cfg()
96 if (0 == (lval & 0x0F)) in rts5227_init_from_cfg()
102 if (lval & PCI_L1SS_CTL1_ASPM_L1_1) in rts5227_init_from_cfg()
107 if (lval & PCI_L1SS_CTL1_ASPM_L1_2) in rts5227_init_from_cfg()
112 if (lval & PCI_L1SS_CTL1_PCIPM_L1_1) in rts5227_init_from_cfg()
117 if (lval & PCI_L1SS_CTL1_PCIPM_L1_2) in rts5227_init_from_cfg()
Drts5228.c383 u32 lval; in rts5228_init_from_cfg() local
390 pci_read_config_dword(pdev, l1ss + PCI_L1SS_CTL1, &lval); in rts5228_init_from_cfg()
392 if (0 == (lval & 0x0F)) in rts5228_init_from_cfg()
397 if (lval & PCI_L1SS_CTL1_ASPM_L1_1) in rts5228_init_from_cfg()
402 if (lval & PCI_L1SS_CTL1_ASPM_L1_2) in rts5228_init_from_cfg()
407 if (lval & PCI_L1SS_CTL1_PCIPM_L1_1) in rts5228_init_from_cfg()
412 if (lval & PCI_L1SS_CTL1_PCIPM_L1_2) in rts5228_init_from_cfg()
Drts5260.c486 u32 lval; in rts5260_init_from_cfg() local
492 pci_read_config_dword(pdev, l1ss + PCI_L1SS_CTL1, &lval); in rts5260_init_from_cfg()
494 if (lval & PCI_L1SS_CTL1_ASPM_L1_1) in rts5260_init_from_cfg()
497 if (lval & PCI_L1SS_CTL1_ASPM_L1_2) in rts5260_init_from_cfg()
500 if (lval & PCI_L1SS_CTL1_PCIPM_L1_1) in rts5260_init_from_cfg()
503 if (lval & PCI_L1SS_CTL1_PCIPM_L1_2) in rts5260_init_from_cfg()
Drts5249.c88 u32 lval; in rts5249_init_from_cfg() local
94 pci_read_config_dword(pdev, l1ss + PCI_L1SS_CTL1, &lval); in rts5249_init_from_cfg()
97 if (0 == (lval & 0x0F)) in rts5249_init_from_cfg()
104 if (lval & PCI_L1SS_CTL1_ASPM_L1_1) in rts5249_init_from_cfg()
107 if (lval & PCI_L1SS_CTL1_ASPM_L1_2) in rts5249_init_from_cfg()
110 if (lval & PCI_L1SS_CTL1_PCIPM_L1_1) in rts5249_init_from_cfg()
113 if (lval & PCI_L1SS_CTL1_PCIPM_L1_2) in rts5249_init_from_cfg()
/kernel/linux/linux-5.10/tools/lib/traceevent/
Dparse-filter.c806 int lval, rval; in test_arg() local
821 lval = test_arg(arg, arg->exp.left, error_str); in test_arg()
822 if (lval != FILTER_VAL_NORM) in test_arg()
823 return lval; in test_arg()
830 lval = test_arg(arg, arg->num.left, error_str); in test_arg()
831 if (lval != FILTER_VAL_NORM) in test_arg()
832 return lval; in test_arg()
840 lval = test_arg(arg, arg->op.left, error_str); in test_arg()
841 switch (lval) { in test_arg()
865 return lval; in test_arg()
[all …]
/kernel/linux/linux-5.10/kernel/trace/
Dtrace_probe_tmpl.h78 unsigned long lval = val; in process_fetch_insn_bottom() local
84 lval = val; in process_fetch_insn_bottom()
88 lval = val; in process_fetch_insn_bottom()
156 val = lval + sizeof(char *); in process_fetch_insn_bottom()
/kernel/linux/linux-5.10/kernel/
Dsysctl.c629 unsigned long lval; in __do_proc_dointvec() local
637 err = proc_get_long(&p, &left, &lval, &neg, in __do_proc_dointvec()
642 if (conv(&neg, &lval, i, 1, data)) { in __do_proc_dointvec()
647 if (conv(&neg, &lval, i, 0, data)) { in __do_proc_dointvec()
653 proc_put_long(&buffer, &left, lval, neg); in __do_proc_dointvec()
688 unsigned long lval; in do_proc_douintvec_w() local
708 err = proc_get_long(&p, &left, &lval, &neg, in do_proc_douintvec_w()
716 if (conv(&lval, tbl_data, 1, data)) { in do_proc_douintvec_w()
743 unsigned long lval; in do_proc_douintvec_r() local
749 if (conv(&lval, tbl_data, 0, data)) { in do_proc_douintvec_r()
[all …]
/kernel/linux/linux-5.10/drivers/interconnect/qcom/
Dosm-l3.c191 u32 info, src, lval, i, prev_freq = 0, freq; in qcom_osm_l3_probe() local
241 lval = FIELD_GET(LUT_L_VAL, info); in qcom_osm_l3_probe()
243 freq = xo_rate * lval; in qcom_osm_l3_probe()
/kernel/linux/linux-5.10/drivers/infiniband/hw/qib/
Dqib_driver.c452 u64 lval; in qib_kreceive() local
540 lval = l; in qib_kreceive()
542 dd->f_update_usrhead(rcd, lval, updegr, etail, i); in qib_kreceive()
581 lval = (u64)rcd->head | dd->rhdrhead_intr_off; in qib_kreceive()
582 dd->f_update_usrhead(rcd, lval, updegr, etail, i); in qib_kreceive()
/kernel/linux/linux-5.10/drivers/cpufreq/
Dqcom-cpufreq-hw.c134 u32 data, src, lval, i, core_count, prev_freq = 0, freq; in qcom_cpufreq_hw_read_lut() local
172 lval = FIELD_GET(LUT_L_VAL, data); in qcom_cpufreq_hw_read_lut()
180 freq = xo_rate * lval / 1000; in qcom_cpufreq_hw_read_lut()
/kernel/linux/linux-5.10/tools/testing/selftests/breakpoints/
Dbreakpoint_test.c177 char cval; short sval; int ival; long long lval; in read_var() local
192 lval = *(long long *)&dummy_var[i]; in read_var()
/kernel/linux/linux-5.10/fs/nls/
Dnls_base.c33 long lval; member
68 if (l < t->lval || l > UNICODE_MAX || in utf8_to_utf32()
/kernel/linux/patches/linux-5.10/prebuilts/usr/include/linux/
Dscif_ioctl.h66 __u64 lval; member
/kernel/linux/patches/linux-4.19/prebuilts/usr/include/linux/
Dscif_ioctl.h53 __u64 lval; member
/kernel/linux/linux-5.10/include/uapi/linux/
Dscif_ioctl.h180 __u64 lval; member
/kernel/linux/linux-5.10/drivers/net/ethernet/intel/ixgbe/
Dixgbe_x550.c1955 u32 lval, sval, flx_val; in ixgbe_setup_sgmii() local
1960 IXGBE_SB_IOSF_TARGET_KR_PHY, &lval); in ixgbe_setup_sgmii()
1964 lval &= ~IXGBE_KRM_LINK_CTRL_1_TETH_AN_ENABLE; in ixgbe_setup_sgmii()
1965 lval &= ~IXGBE_KRM_LINK_CTRL_1_TETH_FORCE_SPEED_MASK; in ixgbe_setup_sgmii()
1966 lval |= IXGBE_KRM_LINK_CTRL_1_TETH_AN_SGMII_EN; in ixgbe_setup_sgmii()
1967 lval |= IXGBE_KRM_LINK_CTRL_1_TETH_AN_CLAUSE_37_EN; in ixgbe_setup_sgmii()
1968 lval |= IXGBE_KRM_LINK_CTRL_1_TETH_FORCE_SPEED_1G; in ixgbe_setup_sgmii()
1971 IXGBE_SB_IOSF_TARGET_KR_PHY, lval); in ixgbe_setup_sgmii()
2027 u32 lval, sval, flx_val; in ixgbe_setup_sgmii_fw() local
2032 IXGBE_SB_IOSF_TARGET_KR_PHY, &lval); in ixgbe_setup_sgmii_fw()
[all …]
/kernel/linux/linux-5.10/sound/core/
Dcontrol.c851 long long lval, lmin, lmax, lstep; in sanity_check_int_value() local
857 lval = control->value.integer.value[i]; in sanity_check_int_value()
863 lval = control->value.integer.value[i]; in sanity_check_int_value()
869 lval = control->value.integer64.value[i]; in sanity_check_int_value()
875 lval = control->value.enumerated.item[i]; in sanity_check_int_value()
882 if (lval < lmin || lval > lmax) { in sanity_check_int_value()
887 control->id.index, lval, lmin, lmax, i); in sanity_check_int_value()
891 div64_u64_rem(lval, lstep, &rem); in sanity_check_int_value()
897 control->id.index, lval, lstep, i); in sanity_check_int_value()
/kernel/linux/linux-5.10/sound/soc/fsl/
Dimx-ssi.c435 unsigned int lval; in imx_ssi_ac97_write() local
445 lval = val << 4; in imx_ssi_ac97_write()
446 writel(lval , base + SSI_SACDAT); in imx_ssi_ac97_write()
/kernel/linux/linux-5.10/drivers/staging/comedi/drivers/
Dme4000.c927 unsigned short lval; in me4000_ai_isr() local
954 lval = me4000_ai_get_sample(dev, s); in me4000_ai_isr()
955 if (!comedi_buf_write_samples(s, &lval, 1)) in me4000_ai_isr()
974 lval = me4000_ai_get_sample(dev, s); in me4000_ai_isr()
975 if (!comedi_buf_write_samples(s, &lval, 1)) in me4000_ai_isr()
/kernel/linux/linux-5.10/sound/pci/riptide/
Driptide.c924 setmixer(struct cmdif *cif, short num, unsigned short rval, unsigned short lval) in setmixer() argument
929 snd_printdd("sent mixer %d: 0x%x 0x%x\n", num, rval, lval); in setmixer()
931 SEND_SDGV(cif, num, num, rval, lval); in setmixer()
933 if (rptr.retwords[0] == lval && rptr.retwords[1] == rval) in setmixer()
1060 unsigned short *lval) in getmixer() argument
1067 *lval = rptr.retwords[1]; in getmixer()
1068 snd_printdd("got mixer %d: 0x%x 0x%x\n", num, *rval, *lval); in getmixer()
1895 unsigned short rval = 0, lval = 0; in snd_riptide_proc_read() local
1916 getmixer(cif, i, &rval, &lval); in snd_riptide_proc_read()
1917 snd_iprintf(buffer, "\n %d: %d %d", i, rval, lval); in snd_riptide_proc_read()
/kernel/linux/linux-5.10/scripts/kconfig/
Dexpr.c1035 union string_value lval = {}, rval = {}; in expr_calc_value() local
1074 k1 = expr_parse_string(str1, e->left.sym->type, &lval); in expr_calc_value()
1081 res = (lval.u > rval.u) - (lval.u < rval.u); in expr_calc_value()
1083 res = (lval.s > rval.s) - (lval.s < rval.s); in expr_calc_value()
/kernel/linux/linux-5.10/tools/testing/ktest/
Dktest.pl828 my ($lval, $cmp, $rval) = @_;
832 $lval =~ s/^\s*//;
833 $lval =~ s/\s*$//;
839 return $lval eq $rval;
841 return $lval ne $rval;
843 return $lval =~ m/$rval/;
845 return $lval !~ m/$rval/;
848 my $statement = "$lval $cmp $rval";
/kernel/linux/linux-5.10/drivers/media/i2c/
Dtda1997x.c384 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()

12