Home
last modified time | relevance | path

Searched refs:bit_cfg (Results 1 - 4 of 4) sorted by relevance

/kernel/linux/linux-5.10/drivers/gpio/
H A 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 if (bit_cfg & GPIO_BIT_CFG_TX_OE) in thunderx_gpio_get_direction()
185 u64 bit_cfg; in thunderx_gpio_set_config() local
332 u64 bit_cfg; thunderx_gpio_irq_set_type() local
494 u64 bit_cfg = readq(txgpio->register_base + bit_cfg_reg(i)); thunderx_gpio_probe() local
[all...]
/kernel/linux/linux-6.6/drivers/gpio/
H A 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
330 u64 bit_cfg; thunderx_gpio_irq_set_type() local
495 u64 bit_cfg = readq(txgpio->register_base + bit_cfg_reg(i)); thunderx_gpio_probe() local
[all...]
/kernel/linux/linux-5.10/drivers/input/touchscreen/
H A 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()
/kernel/linux/linux-6.6/drivers/input/touchscreen/
H A 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()

Completed in 3 milliseconds