Home
last modified time | relevance | path

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

/Linux-v6.6/drivers/gpio/
Dgpio-ich.c95 } ichx_priv; variable
108 spin_lock_irqsave(&ichx_priv.lock, flags); in ichx_write_bit()
110 if (reg == GPIO_LVL && ichx_priv.desc->use_outlvl_cache) in ichx_write_bit()
111 data = ichx_priv.outlvl_cache[reg_nr]; in ichx_write_bit()
113 data = ICHX_READ(ichx_priv.desc->regs[reg][reg_nr], in ichx_write_bit()
114 ichx_priv.gpio_base); in ichx_write_bit()
120 ICHX_WRITE(data, ichx_priv.desc->regs[reg][reg_nr], in ichx_write_bit()
121 ichx_priv.gpio_base); in ichx_write_bit()
122 if (reg == GPIO_LVL && ichx_priv.desc->use_outlvl_cache) in ichx_write_bit()
123 ichx_priv.outlvl_cache[reg_nr] = data; in ichx_write_bit()
[all …]