Home
last modified time | relevance | path

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

/linux-6.12.1/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 if (bit_cfg & GPIO_BIT_CFG_TX_OE) in thunderx_gpio_get_direction()
184 u64 bit_cfg; in thunderx_gpio_set_config() local
[all …]
/linux-6.12.1/drivers/input/touchscreen/
Dti_am335x_tsc.c77 int i, bit_cfg; in titsc_config_wires() local
98 bit_cfg = config_pins[wi_order]; in titsc_config_wires()
99 if (bit_cfg == 0) in titsc_config_wires()
103 ts_dev->bit_xp = bit_cfg; in titsc_config_wires()
108 ts_dev->bit_xn = bit_cfg; in titsc_config_wires()
113 ts_dev->bit_yp = bit_cfg; in titsc_config_wires()
117 ts_dev->bit_yn = bit_cfg; in titsc_config_wires()