Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/gpio/
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()
/kernel/linux/linux-5.10/drivers/iio/light/
Dpa12203001.c215 unsigned int reg_byte; in pa12203001_read_raw() local
246 &reg_byte); in pa12203001_read_raw()
250 *val = reg_byte; in pa12203001_read_raw()
260 ret = regmap_read(data->map, PA12203001_REG_CFG0, &reg_byte); in pa12203001_read_raw()
264 reg_byte = (reg_byte & PA12203001_AFSR_MASK); in pa12203001_read_raw()
265 *val2 = pa12203001_scales[reg_byte >> 4]; in pa12203001_read_raw()
282 unsigned int reg_byte; in pa12203001_write_raw() local
286 ret = regmap_read(data->map, PA12203001_REG_CFG0, &reg_byte); in pa12203001_write_raw()