Home
last modified time | relevance | path

Searched refs:uval (Results 1 – 10 of 10) sorted by relevance

/drivers/net/dsa/xrs700x/
Dxrs700x_mdio.c29 u16 uval; in xrs700x_mdio_reg_read() local
32 uval = (u16)FIELD_GET(GENMASK(31, 16), reg); in xrs700x_mdio_reg_read()
34 ret = mdiobus_write(mdiodev->bus, mdiodev->addr, XRS_MDIO_IBA1, uval); in xrs700x_mdio_reg_read()
40 uval = (u16)((reg & GENMASK(15, 1)) | XRS_IB_READ); in xrs700x_mdio_reg_read()
42 ret = mdiobus_write(mdiodev->bus, mdiodev->addr, XRS_MDIO_IBA0, uval); in xrs700x_mdio_reg_read()
64 u16 uval; in xrs700x_mdio_reg_write() local
73 uval = (u16)FIELD_GET(GENMASK(31, 16), reg); in xrs700x_mdio_reg_write()
75 ret = mdiobus_write(mdiodev->bus, mdiodev->addr, XRS_MDIO_IBA1, uval); in xrs700x_mdio_reg_write()
81 uval = (u16)((reg & GENMASK(15, 1)) | XRS_IB_WRITE); in xrs700x_mdio_reg_write()
83 ret = mdiobus_write(mdiodev->bus, mdiodev->addr, XRS_MDIO_IBA0, uval); in xrs700x_mdio_reg_write()
/drivers/iio/imu/
Dadis.c478 unsigned int uval; in adis_single_conversion() local
483 ret = __adis_read_reg(adis, chan->address, &uval, in adis_single_conversion()
488 if (uval & error_mask) { in adis_single_conversion()
495 *val = sign_extend32(uval, chan->scan_type.realbits - 1); in adis_single_conversion()
497 *val = uval & ((1 << chan->scan_type.realbits) - 1); in adis_single_conversion()
/drivers/iio/adc/
Dad7291.c208 u16 uval; in ad7291_read_event_value() local
211 &uval); in ad7291_read_event_value()
216 *val = uval & AD7291_VALUE_MASK; in ad7291_read_event_value()
219 *val = sign_extend32(uval, 11); in ad7291_read_event_value()
/drivers/mfd/
Dhtc-i2cpld.c135 unsigned long uval, old_val; in htcpld_handler() local
160 uval = (unsigned long)val; in htcpld_handler()
168 chip->cache_in = uval; in htcpld_handler()
184 newb = (uval >> irqpin) & 1; in htcpld_handler()
/drivers/media/tuners/
Dtda18250.c435 unsigned int uval, exp, lopd, scale; in tda18250_pll_calc() local
438 ret = regmap_read(dev->regmap, R34_MD1, &uval); in tda18250_pll_calc()
442 exp = (uval & 0x70) >> 4; in tda18250_pll_calc()
446 scale = uval & 0x0f; in tda18250_pll_calc()
/drivers/scsi/sym53c8xx_2/
Dsym_hipd.c1882 tp->head.uval = 0;
1935 u_char sval, wval, uval; local
1942 uval = tp->head.uval;
1946 sval, wval, uval, np->rv_scntl3);
1964 uval = uval & ~(XCLKH_ST|XCLKH_DT|XCLKS_ST|XCLKS_DT);
1965 if (fak >= 1) uval |= (XCLKH_ST|XCLKH_DT);
1966 if (fak >= 2) uval |= (XCLKS_ST|XCLKS_DT);
1981 uval = uval & ~(U3EN|AIPCKEN);
1984 uval |= U3EN;
1996 tp->head.uval == uval)
[all …]
Dsym_hipd.h370 /*0*/ u_char uval; /* -> SCNTL4 register */ member
Dsym_fw2.h888 offsetof(struct sym_tcb, head.uval),
Dsym_glue.c843 tp->head.uval = 0; in sym53c8xx_slave_destroy()
/drivers/infiniband/hw/hfi1/
Dfile_ops.c186 int uval = 0; in hfi1_file_ioctl() local
229 if (get_user(uval, (int __user *)arg)) in hfi1_file_ioctl()
231 uctxt->poll_type = (typeof(uctxt->poll_type))uval; in hfi1_file_ioctl()
247 uval = HFI1_USER_SWVERSION; in hfi1_file_ioctl()
248 if (put_user(uval, (int __user *)arg)) in hfi1_file_ioctl()