Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/gpio/
Dgpio-thunderx.c77 u64 bit_cfg = readq(txgpio->register_base + bit_cfg_reg(line)); in thunderx_gpio_is_gpio_nowarn() local
79 return (bit_cfg & GPIO_BIT_CFG_PIN_SEL_MASK) == 0; in thunderx_gpio_is_gpio_nowarn()
136 u64 bit_cfg = txgpio->line_entries[line].fil_bits | GPIO_BIT_CFG_TX_OE; in thunderx_gpio_dir_out() local
146 bit_cfg |= GPIO_BIT_CFG_PIN_XOR; in thunderx_gpio_dir_out()
149 bit_cfg |= GPIO_BIT_CFG_TX_OD; in thunderx_gpio_dir_out()
151 writeq(bit_cfg, txgpio->register_base + bit_cfg_reg(line)); in thunderx_gpio_dir_out()
160 u64 bit_cfg; in thunderx_gpio_get_direction() local
170 bit_cfg = readq(txgpio->register_base + bit_cfg_reg(line)); in thunderx_gpio_get_direction()
172 return !(bit_cfg & GPIO_BIT_CFG_TX_OE); in thunderx_gpio_get_direction()
181 u64 bit_cfg; in thunderx_gpio_set_config() local
[all …]
/Linux-v5.4/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()