Home
last modified time | relevance | path

Searched refs:be_val (Results 1 – 7 of 7) sorted by relevance

/linux-6.3-rc2/drivers/iio/adc/
A Dmt6370-adc.c64 __be16 be_val; in mt6370_adc_read_channel() local
88 &be_val, sizeof(be_val)); in mt6370_adc_read_channel()
92 *val = be16_to_cpu(be_val); in mt6370_adc_read_channel()
A Dhi8435.c64 __be16 be_val; in hi8435_readw() local
67 ret = spi_write_then_read(priv->spi, &reg, 1, &be_val, 2); in hi8435_readw()
68 *val = be16_to_cpu(be_val); in hi8435_readw()
76 __be32 be_val; in hi8435_readl() local
79 ret = spi_write_then_read(priv->spi, &reg, 1, &be_val, 4); in hi8435_readl()
80 *val = be32_to_cpu(be_val); in hi8435_readl()
A Dti-ads7924.c196 __be16 be_val; in ads7924_get_adc_result() local
212 chan->address, &be_val, sizeof(be_val)); in ads7924_get_adc_result()
216 *val = be16_to_cpu(be_val) >> ADS7924_DATA_SHIFT; in ads7924_get_adc_result()
A Dti-adc084s021.c95 __be16 be_val; in adc084s021_read_raw() local
110 ret = adc084s021_adc_conversion(adc, &be_val); in adc084s021_read_raw()
116 *val = be16_to_cpu(be_val); in adc084s021_read_raw()
/linux-6.3-rc2/drivers/iio/chemical/
A Dsunrise_co2.c140 __be16 be_val; in sunrise_read_word() local
144 ret = regmap_bulk_read(sunrise->regmap, reg, &be_val, sizeof(be_val)); in sunrise_read_word()
151 *val = be16_to_cpu(be_val); in sunrise_read_word()
/linux-6.3-rc2/drivers/net/ethernet/mellanox/mlxsw/
A Dspectrum_flower.c214 __be32 be_val = (__force __be32) act->mangle.val; in mlxsw_sp_flower_parse_actions() local
217 u32 val = be32_to_cpu(be_val); in mlxsw_sp_flower_parse_actions()
/linux-6.3-rc2/drivers/input/mouse/
A Dsynaptics.c226 __be32 be_val; in synaptics_query_int() member
234 *val = be32_to_cpu(resp.be_val); in synaptics_query_int()

Completed in 13 milliseconds