Home
last modified time | relevance | path

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

/Linux-v6.1/drivers/gpio/
Dgpio-thunderx.c76 u64 bit_cfg = readq(txgpio->register_base + bit_cfg_reg(line)); in thunderx_gpio_is_gpio_nowarn() local
78 return (bit_cfg & GPIO_BIT_CFG_PIN_SEL_MASK) == 0; in thunderx_gpio_is_gpio_nowarn()
135 u64 bit_cfg = txgpio->line_entries[line].fil_bits | GPIO_BIT_CFG_TX_OE; in thunderx_gpio_dir_out() local
145 bit_cfg |= GPIO_BIT_CFG_PIN_XOR; in thunderx_gpio_dir_out()
148 bit_cfg |= GPIO_BIT_CFG_TX_OD; in thunderx_gpio_dir_out()
150 writeq(bit_cfg, txgpio->register_base + bit_cfg_reg(line)); in thunderx_gpio_dir_out()
159 u64 bit_cfg; in thunderx_gpio_get_direction() local
169 bit_cfg = readq(txgpio->register_base + bit_cfg_reg(line)); in thunderx_gpio_get_direction()
171 if (bit_cfg & GPIO_BIT_CFG_TX_OE) in thunderx_gpio_get_direction()
183 u64 bit_cfg; in thunderx_gpio_set_config() local
[all …]
/Linux-v6.1/drivers/input/touchscreen/
Dti_am335x_tsc.c78 int i, bit_cfg; in titsc_config_wires() local
99 bit_cfg = config_pins[wi_order]; in titsc_config_wires()
100 if (bit_cfg == 0) in titsc_config_wires()
104 ts_dev->bit_xp = bit_cfg; in titsc_config_wires()
109 ts_dev->bit_xn = bit_cfg; in titsc_config_wires()
114 ts_dev->bit_yp = bit_cfg; in titsc_config_wires()
118 ts_dev->bit_yn = bit_cfg; in titsc_config_wires()