Searched refs:bval16 (Results 1 - 2 of 2) sorted by relevance
/kernel/linux/linux-5.10/drivers/regulator/ |
H A D | rtmv20-regulator.c | 238 __be16 bval16; in rtmv20_properties_init() local 255 ret = regmap_raw_read(priv->regmap, props[i].addr, &bval16, sizeof(bval16)); in rtmv20_properties_init() 259 val16 = be16_to_cpu(bval16); in rtmv20_properties_init() 262 bval16 = cpu_to_be16(val16); in rtmv20_properties_init() 264 ret = regmap_raw_write(priv->regmap, props[i].addr, &bval16, in rtmv20_properties_init() 265 sizeof(bval16)); in rtmv20_properties_init()
|
/kernel/linux/linux-6.6/drivers/regulator/ |
H A D | rtmv20-regulator.c | 238 __be16 bval16; in rtmv20_properties_init() local 255 ret = regmap_raw_read(priv->regmap, props[i].addr, &bval16, sizeof(bval16)); in rtmv20_properties_init() 259 val16 = be16_to_cpu(bval16); in rtmv20_properties_init() 262 bval16 = cpu_to_be16(val16); in rtmv20_properties_init() 264 ret = regmap_raw_write(priv->regmap, props[i].addr, &bval16, in rtmv20_properties_init() 265 sizeof(bval16)); in rtmv20_properties_init()
|
Completed in 2 milliseconds