/Linux-v6.1/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-v6.1/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-v6.1/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-v6.1/kernel/ |
D | sysctl.c | 520 unsigned long lval; in __do_proc_dointvec() local 528 err = proc_get_long(&p, &left, &lval, &neg, in __do_proc_dointvec() 533 if (conv(&neg, &lval, i, 1, data)) { in __do_proc_dointvec() 538 if (conv(&neg, &lval, i, 0, data)) { in __do_proc_dointvec() 544 proc_put_long(&buffer, &left, lval, neg); in __do_proc_dointvec() 579 unsigned long lval; in do_proc_douintvec_w() local 599 err = proc_get_long(&p, &left, &lval, &neg, in do_proc_douintvec_w() 607 if (conv(&lval, tbl_data, 1, data)) { in do_proc_douintvec_w() 634 unsigned long lval; in do_proc_douintvec_r() local 640 if (conv(&lval, tbl_data, 0, data)) { in do_proc_douintvec_r() [all …]
|
/Linux-v6.1/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-v6.1/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-v6.1/drivers/cpufreq/ |
D | qcom-cpufreq-hw.c | 169 u32 data, src, lval, i, core_count, prev_freq = 0, freq; in qcom_cpufreq_hw_read_lut() local 206 lval = FIELD_GET(LUT_L_VAL, data); in qcom_cpufreq_hw_read_lut() 214 freq = xo_rate * lval / 1000; in qcom_cpufreq_hw_read_lut() 291 unsigned int lval; in qcom_lmh_get_throttle_freq() local 294 lval = readl_relaxed(data->base + data->soc_data->reg_current_vote) & 0x3ff; in qcom_lmh_get_throttle_freq() 296 lval = readl_relaxed(data->base + data->soc_data->reg_domain_state) & 0xff; in qcom_lmh_get_throttle_freq() 298 return lval * xo_rate; in qcom_lmh_get_throttle_freq()
|
/Linux-v6.1/drivers/interconnect/qcom/ |
D | osm-l3.c | 227 u32 info, src, lval, i, prev_freq = 0, freq; in qcom_osm_l3_probe() local 277 lval = FIELD_GET(LUT_L_VAL, info); in qcom_osm_l3_probe() 279 freq = xo_rate * lval; in qcom_osm_l3_probe()
|
/Linux-v6.1/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-v6.1/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-v6.1/fs/nls/ |
D | nls_base.c | 33 long lval; member 68 if (l < t->lval || l > UNICODE_MAX || in utf8_to_utf32()
|
/Linux-v6.1/drivers/net/ethernet/intel/ixgbe/ |
D | ixgbe_x550.c | 2005 u32 lval, sval, flx_val; in ixgbe_setup_sgmii() local 2010 IXGBE_SB_IOSF_TARGET_KR_PHY, &lval); in ixgbe_setup_sgmii() 2014 lval &= ~IXGBE_KRM_LINK_CTRL_1_TETH_AN_ENABLE; in ixgbe_setup_sgmii() 2015 lval &= ~IXGBE_KRM_LINK_CTRL_1_TETH_FORCE_SPEED_MASK; in ixgbe_setup_sgmii() 2016 lval |= IXGBE_KRM_LINK_CTRL_1_TETH_AN_SGMII_EN; in ixgbe_setup_sgmii() 2017 lval |= IXGBE_KRM_LINK_CTRL_1_TETH_AN_CLAUSE_37_EN; in ixgbe_setup_sgmii() 2018 lval |= IXGBE_KRM_LINK_CTRL_1_TETH_FORCE_SPEED_1G; in ixgbe_setup_sgmii() 2021 IXGBE_SB_IOSF_TARGET_KR_PHY, lval); in ixgbe_setup_sgmii() 2077 u32 lval, sval, flx_val; in ixgbe_setup_sgmii_fw() local 2082 IXGBE_SB_IOSF_TARGET_KR_PHY, &lval); in ixgbe_setup_sgmii_fw() [all …]
|
/Linux-v6.1/include/uapi/linux/ |
D | scif_ioctl.h | 180 __u64 lval; member
|
/Linux-v6.1/sound/core/ |
D | control.c | 1011 long long lval, lmin, lmax, lstep; in sanity_check_int_value() local 1017 lval = control->value.integer.value[i]; in sanity_check_int_value() 1023 lval = control->value.integer.value[i]; in sanity_check_int_value() 1029 lval = control->value.integer64.value[i]; in sanity_check_int_value() 1035 lval = control->value.enumerated.item[i]; in sanity_check_int_value() 1042 if (lval < lmin || lval > lmax) { in sanity_check_int_value() 1048 control->id.index, lval, lmin, lmax, i); in sanity_check_int_value() 1052 div64_u64_rem(lval, lstep, &rem); in sanity_check_int_value() 1059 control->id.index, lval, lstep, i); in sanity_check_int_value()
|
/Linux-v6.1/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-v6.1/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-v6.1/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-v6.1/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-v6.1/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-v6.1/drivers/power/supply/ |
D | bq25890_charger.c | 621 u8 lval; in bq25890_power_supply_set_property() local 625 lval = bq25890_find_idx(val->intval, TBL_IINLIM); in bq25890_power_supply_set_property() 626 return bq25890_field_write(bq, F_IINLIM, lval); in bq25890_power_supply_set_property()
|
/Linux-v6.1/sound/soc/fsl/ |
D | fsl_ssi.c | 1216 unsigned int lval; in fsl_ssi_ac97_write() local 1234 lval = val << 4; in fsl_ssi_ac97_write() 1235 regmap_write(regs, REG_SSI_SACDAT, lval); in fsl_ssi_ac97_write()
|