/linux-5.19.10/drivers/iio/adc/ |
D | dln2-adc.c | 450 #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 …]
|
/linux-5.19.10/drivers/vfio/pci/ |
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()
|
/linux-5.19.10/tools/lib/traceevent/ |
D | parse-filter.c | 806 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 …]
|
/linux-5.19.10/kernel/ |
D | sysctl.c | 518 unsigned long lval; in __do_proc_dointvec() local 526 err = proc_get_long(&p, &left, &lval, &neg, in __do_proc_dointvec() 531 if (conv(&neg, &lval, i, 1, data)) { in __do_proc_dointvec() 536 if (conv(&neg, &lval, i, 0, data)) { in __do_proc_dointvec() 542 proc_put_long(&buffer, &left, lval, neg); in __do_proc_dointvec() 577 unsigned long lval; in do_proc_douintvec_w() local 597 err = proc_get_long(&p, &left, &lval, &neg, in do_proc_douintvec_w() 605 if (conv(&lval, tbl_data, 1, data)) { in do_proc_douintvec_w() 632 unsigned long lval; in do_proc_douintvec_r() local 638 if (conv(&lval, tbl_data, 0, data)) { in do_proc_douintvec_r() [all …]
|
/linux-5.19.10/drivers/misc/cardreader/ |
D | rts5227.c | 88 u32 lval; in rts5227_init_from_cfg() local 95 pci_read_config_dword(pdev, l1ss + PCI_L1SS_CTL1, &lval); in rts5227_init_from_cfg() 98 if (0 == (lval & 0x0F)) in rts5227_init_from_cfg() 104 if (lval & PCI_L1SS_CTL1_ASPM_L1_1) in rts5227_init_from_cfg() 109 if (lval & PCI_L1SS_CTL1_ASPM_L1_2) in rts5227_init_from_cfg() 114 if (lval & PCI_L1SS_CTL1_PCIPM_L1_1) in rts5227_init_from_cfg() 119 if (lval & PCI_L1SS_CTL1_PCIPM_L1_2) in rts5227_init_from_cfg()
|
D | rts5228.c | 391 u32 lval; in rts5228_init_from_cfg() local 398 pci_read_config_dword(pdev, l1ss + PCI_L1SS_CTL1, &lval); in rts5228_init_from_cfg() 400 if (0 == (lval & 0x0F)) in rts5228_init_from_cfg() 405 if (lval & PCI_L1SS_CTL1_ASPM_L1_1) in rts5228_init_from_cfg() 410 if (lval & PCI_L1SS_CTL1_ASPM_L1_2) in rts5228_init_from_cfg() 415 if (lval & PCI_L1SS_CTL1_PCIPM_L1_1) in rts5228_init_from_cfg() 420 if (lval & PCI_L1SS_CTL1_PCIPM_L1_2) in rts5228_init_from_cfg()
|
D | rts5260.c | 486 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()
|
D | rts5249.c | 92 u32 lval; in rts5249_init_from_cfg() local 98 pci_read_config_dword(pdev, l1ss + PCI_L1SS_CTL1, &lval); in rts5249_init_from_cfg() 101 if (0 == (lval & 0x0F)) in rts5249_init_from_cfg() 108 if (lval & PCI_L1SS_CTL1_ASPM_L1_1) in rts5249_init_from_cfg() 111 if (lval & PCI_L1SS_CTL1_ASPM_L1_2) in rts5249_init_from_cfg() 114 if (lval & PCI_L1SS_CTL1_PCIPM_L1_1) in rts5249_init_from_cfg() 117 if (lval & PCI_L1SS_CTL1_PCIPM_L1_2) in rts5249_init_from_cfg()
|
D | rts5261.c | 459 u32 lval; in rts5261_init_from_cfg() local 466 pci_read_config_dword(pdev, l1ss + PCI_L1SS_CTL1, &lval); in rts5261_init_from_cfg() 468 if (lval & PCI_L1SS_CTL1_ASPM_L1_1) in rts5261_init_from_cfg() 473 if (lval & PCI_L1SS_CTL1_ASPM_L1_2) in rts5261_init_from_cfg() 478 if (lval & PCI_L1SS_CTL1_PCIPM_L1_1) in rts5261_init_from_cfg() 483 if (lval & PCI_L1SS_CTL1_PCIPM_L1_2) in rts5261_init_from_cfg()
|
/linux-5.19.10/kernel/trace/ |
D | trace_probe_tmpl.h | 78 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()
|
/linux-5.19.10/drivers/cpufreq/ |
D | qcom-cpufreq-hw.c | 167 u32 data, src, lval, i, core_count, prev_freq = 0, freq; in qcom_cpufreq_hw_read_lut() local 204 lval = FIELD_GET(LUT_L_VAL, data); in qcom_cpufreq_hw_read_lut() 212 freq = xo_rate * lval / 1000; in qcom_cpufreq_hw_read_lut() 289 unsigned int lval; in qcom_lmh_get_throttle_freq() local 292 lval = readl_relaxed(data->base + data->soc_data->reg_current_vote) & 0x3ff; in qcom_lmh_get_throttle_freq() 294 lval = readl_relaxed(data->base + data->soc_data->reg_domain_state) & 0xff; in qcom_lmh_get_throttle_freq() 296 return lval * xo_rate; in qcom_lmh_get_throttle_freq()
|
/linux-5.19.10/drivers/interconnect/qcom/ |
D | osm-l3.c | 225 u32 info, src, lval, i, prev_freq = 0, freq; in qcom_osm_l3_probe() local 275 lval = FIELD_GET(LUT_L_VAL, info); in qcom_osm_l3_probe() 277 freq = xo_rate * lval; in qcom_osm_l3_probe()
|
/linux-5.19.10/drivers/infiniband/hw/qib/ |
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()
|
/linux-5.19.10/tools/testing/selftests/breakpoints/ |
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()
|
/linux-5.19.10/fs/nls/ |
D | nls_base.c | 33 long lval; member 68 if (l < t->lval || l > UNICODE_MAX || in utf8_to_utf32()
|
/linux-5.19.10/drivers/net/ethernet/intel/ixgbe/ |
D | ixgbe_x550.c | 1955 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 …]
|
/linux-5.19.10/include/uapi/linux/ |
D | scif_ioctl.h | 180 __u64 lval; member
|
/linux-5.19.10/sound/core/ |
D | control.c | 878 long long lval, lmin, lmax, lstep; in sanity_check_int_value() local 884 lval = control->value.integer.value[i]; in sanity_check_int_value() 890 lval = control->value.integer.value[i]; in sanity_check_int_value() 896 lval = control->value.integer64.value[i]; in sanity_check_int_value() 902 lval = control->value.enumerated.item[i]; in sanity_check_int_value() 909 if (lval < lmin || lval > lmax) { in sanity_check_int_value() 914 control->id.index, lval, lmin, lmax, i); in sanity_check_int_value() 918 div64_u64_rem(lval, lstep, &rem); in sanity_check_int_value() 924 control->id.index, lval, lstep, i); in sanity_check_int_value()
|
/linux-5.19.10/drivers/comedi/drivers/ |
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()
|
/linux-5.19.10/sound/pci/riptide/ |
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()
|
/linux-5.19.10/scripts/kconfig/ |
D | expr.c | 1035 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()
|
/linux-5.19.10/tools/testing/ktest/ |
D | ktest.pl | 891 my ($lval, $cmp, $rval) = @_; 895 $lval =~ s/^\s*//; 896 $lval =~ s/\s*$//; 902 return $lval eq $rval; 904 return $lval ne $rval; 906 return $lval =~ m/$rval/; 908 return $lval !~ m/$rval/; 911 my $statement = "$lval $cmp $rval";
|
/linux-5.19.10/drivers/media/i2c/ |
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()
|
/linux-5.19.10/sound/soc/fsl/ |
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()
|
/linux-5.19.10/sound/firewire/ |
D | amdtp-stream.c | 868 static int compare_ohci_cycle_count(u32 lval, u32 rval) in compare_ohci_cycle_count() argument 870 if (lval == rval) in compare_ohci_cycle_count() 872 else if (lval < rval && rval - lval < OHCI_SECOND_MODULUS * CYCLES_PER_SECOND / 2) in compare_ohci_cycle_count()
|