Searched refs:bit_cfg_reg (Results 1 - 4 of 4) sorted by relevance
/kernel/linux/linux-5.10/drivers/gpio/ |
H A D | gpio-octeon.c | 25 static unsigned int bit_cfg_reg(unsigned int offset) in bit_cfg_reg() function 46 cvmx_write_csr(gpio->register_base + bit_cfg_reg(offset), 0); in octeon_gpio_dir_in() 69 cvmx_write_csr(gpio->register_base + bit_cfg_reg(offset), cfgx.u64); in octeon_gpio_dir_out()
|
H A D | gpio-thunderx.c | 65 static unsigned int bit_cfg_reg(unsigned int line) in bit_cfg_reg() function 78 u64 bit_cfg = readq(txgpio->register_base + bit_cfg_reg(line)); in thunderx_gpio_is_gpio_nowarn() 115 txgpio->register_base + bit_cfg_reg(line)); in thunderx_gpio_dir_in() 152 writeq(bit_cfg, txgpio->register_base + bit_cfg_reg(line)); in thunderx_gpio_dir_out() 171 bit_cfg = readq(txgpio->register_base + bit_cfg_reg(line)); in thunderx_gpio_get_direction() 201 bit_cfg = readq(txgpio->register_base + bit_cfg_reg(line)); in thunderx_gpio_set_config() 240 writeq(bit_cfg, txgpio->register_base + bit_cfg_reg(line)); in thunderx_gpio_set_config() 353 writeq(bit_cfg, txgpio->register_base + bit_cfg_reg(txline->line)); in thunderx_gpio_irq_set_type() 494 u64 bit_cfg = readq(txgpio->register_base + bit_cfg_reg(i)); in thunderx_gpio_probe()
|
/kernel/linux/linux-6.6/drivers/gpio/ |
H A D | gpio-octeon.c | 25 static unsigned int bit_cfg_reg(unsigned int offset) in bit_cfg_reg() function 46 cvmx_write_csr(gpio->register_base + bit_cfg_reg(offset), 0); in octeon_gpio_dir_in() 69 cvmx_write_csr(gpio->register_base + bit_cfg_reg(offset), cfgx.u64); in octeon_gpio_dir_out()
|
H A D | gpio-thunderx.c | 63 static unsigned int bit_cfg_reg(unsigned int line) in bit_cfg_reg() function 76 u64 bit_cfg = readq(txgpio->register_base + bit_cfg_reg(line)); in thunderx_gpio_is_gpio_nowarn() 113 txgpio->register_base + bit_cfg_reg(line)); in thunderx_gpio_dir_in() 150 writeq(bit_cfg, txgpio->register_base + bit_cfg_reg(line)); in thunderx_gpio_dir_out() 169 bit_cfg = readq(txgpio->register_base + bit_cfg_reg(line)); in thunderx_gpio_get_direction() 199 bit_cfg = readq(txgpio->register_base + bit_cfg_reg(line)); in thunderx_gpio_set_config() 238 writeq(bit_cfg, txgpio->register_base + bit_cfg_reg(line)); in thunderx_gpio_set_config() 351 writeq(bit_cfg, txgpio->register_base + bit_cfg_reg(txline->line)); in thunderx_gpio_irq_set_type() 495 u64 bit_cfg = readq(txgpio->register_base + bit_cfg_reg(i)); in thunderx_gpio_probe()
|
Completed in 3 milliseconds