Home
last modified time | relevance | path

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

/openbmc/linux/drivers/gpio/
H A Dgpio-da9055.c75 unsigned char reg_byte; in da9055_gpio_direction_input() local
77 reg_byte = (DA9055_ACT_LOW | DA9055_GPI) in da9055_gpio_direction_input()
84 reg_byte); in da9055_gpio_direction_input()
91 unsigned char reg_byte; in da9055_gpio_direction_output() local
94 reg_byte = (DA9055_VDD_IO | DA9055_PUSH_PULL) in da9055_gpio_direction_output()
101 reg_byte); in da9055_gpio_direction_output()
/openbmc/linux/drivers/iio/light/
H A Dpa12203001.c213 unsigned int reg_byte; in pa12203001_read_raw() local
244 &reg_byte); in pa12203001_read_raw()
248 *val = reg_byte; in pa12203001_read_raw()
258 ret = regmap_read(data->map, PA12203001_REG_CFG0, &reg_byte); in pa12203001_read_raw()
262 reg_byte = (reg_byte & PA12203001_AFSR_MASK); in pa12203001_read_raw()
263 *val2 = pa12203001_scales[reg_byte >> 4]; in pa12203001_read_raw()
280 unsigned int reg_byte; in pa12203001_write_raw() local
284 ret = regmap_read(data->map, PA12203001_REG_CFG0, &reg_byte); in pa12203001_write_raw()