Searched refs:txgpio (Results 1 – 1 of 1) sorted by relevance
47 struct thunderx_gpio *txgpio; member73 static bool thunderx_gpio_is_gpio_nowarn(struct thunderx_gpio *txgpio, in thunderx_gpio_is_gpio_nowarn() argument76 u64 bit_cfg = readq(txgpio->register_base + bit_cfg_reg(line)); in thunderx_gpio_is_gpio_nowarn()85 static bool thunderx_gpio_is_gpio(struct thunderx_gpio *txgpio, in thunderx_gpio_is_gpio() argument88 bool rv = thunderx_gpio_is_gpio_nowarn(txgpio, line); in thunderx_gpio_is_gpio()97 struct thunderx_gpio *txgpio = gpiochip_get_data(chip); in thunderx_gpio_request() local99 return thunderx_gpio_is_gpio(txgpio, line) ? 0 : -EIO; in thunderx_gpio_request()104 struct thunderx_gpio *txgpio = gpiochip_get_data(chip); in thunderx_gpio_dir_in() local106 if (!thunderx_gpio_is_gpio(txgpio, line)) in thunderx_gpio_dir_in()109 raw_spin_lock(&txgpio->lock); in thunderx_gpio_dir_in()[all …]