Home
last modified time | relevance | path

Searched refs:reg_byte (Results 1 – 2 of 2) sorted by relevance

/drivers/gpio/
Dgpio-da9055.c80 unsigned char reg_byte; in da9055_gpio_direction_input() local
82 reg_byte = (DA9055_ACT_LOW | DA9055_GPI) in da9055_gpio_direction_input()
89 reg_byte); in da9055_gpio_direction_input()
96 unsigned char reg_byte; in da9055_gpio_direction_output() local
99 reg_byte = (DA9055_VDD_IO | DA9055_PUSH_PULL) in da9055_gpio_direction_output()
106 reg_byte); in da9055_gpio_direction_output()
/drivers/iio/light/
Dpa12203001.c217 unsigned int reg_byte; in pa12203001_read_raw() local
248 &reg_byte); in pa12203001_read_raw()
252 *val = reg_byte; in pa12203001_read_raw()
262 ret = regmap_read(data->map, PA12203001_REG_CFG0, &reg_byte); in pa12203001_read_raw()
266 reg_byte = (reg_byte & PA12203001_AFSR_MASK); in pa12203001_read_raw()
267 *val2 = pa12203001_scales[reg_byte >> 4]; in pa12203001_read_raw()
284 unsigned int reg_byte; in pa12203001_write_raw() local
288 ret = regmap_read(data->map, PA12203001_REG_CFG0, &reg_byte); in pa12203001_write_raw()