Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/gpio/
Dgpio-thunderx.c78 u64 bit_cfg = readq(txgpio->register_base + bit_cfg_reg(line)); in thunderx_gpio_is_gpio_nowarn() local
80 return (bit_cfg & GPIO_BIT_CFG_PIN_SEL_MASK) == 0; in thunderx_gpio_is_gpio_nowarn()
137 u64 bit_cfg = txgpio->line_entries[line].fil_bits | GPIO_BIT_CFG_TX_OE; in thunderx_gpio_dir_out() local
147 bit_cfg |= GPIO_BIT_CFG_PIN_XOR; in thunderx_gpio_dir_out()
150 bit_cfg |= GPIO_BIT_CFG_TX_OD; in thunderx_gpio_dir_out()
152 writeq(bit_cfg, txgpio->register_base + bit_cfg_reg(line)); in thunderx_gpio_dir_out()
161 u64 bit_cfg; in thunderx_gpio_get_direction() local
171 bit_cfg = readq(txgpio->register_base + bit_cfg_reg(line)); in thunderx_gpio_get_direction()
173 return !(bit_cfg & GPIO_BIT_CFG_TX_OE); in thunderx_gpio_get_direction()
182 u64 bit_cfg; in thunderx_gpio_set_config() local
[all …]
/Linux-v4.19/drivers/input/touchscreen/
Dti_am335x_tsc.c76 int i, bit_cfg; in titsc_config_wires() local
97 bit_cfg = config_pins[wi_order]; in titsc_config_wires()
98 if (bit_cfg == 0) in titsc_config_wires()
102 ts_dev->bit_xp = bit_cfg; in titsc_config_wires()
107 ts_dev->bit_xn = bit_cfg; in titsc_config_wires()
112 ts_dev->bit_yp = bit_cfg; in titsc_config_wires()
116 ts_dev->bit_yn = bit_cfg; in titsc_config_wires()