Searched refs:txgpio (Results 1 – 1 of 1) sorted by relevance
48 struct thunderx_gpio *txgpio; member75 static bool thunderx_gpio_is_gpio_nowarn(struct thunderx_gpio *txgpio, in thunderx_gpio_is_gpio_nowarn() argument78 u64 bit_cfg = readq(txgpio->register_base + bit_cfg_reg(line)); in thunderx_gpio_is_gpio_nowarn()87 static bool thunderx_gpio_is_gpio(struct thunderx_gpio *txgpio, in thunderx_gpio_is_gpio() argument90 bool rv = thunderx_gpio_is_gpio_nowarn(txgpio, line); in thunderx_gpio_is_gpio()99 struct thunderx_gpio *txgpio = gpiochip_get_data(chip); in thunderx_gpio_request() local101 return thunderx_gpio_is_gpio(txgpio, line) ? 0 : -EIO; in thunderx_gpio_request()106 struct thunderx_gpio *txgpio = gpiochip_get_data(chip); in thunderx_gpio_dir_in() local108 if (!thunderx_gpio_is_gpio(txgpio, line)) in thunderx_gpio_dir_in()111 raw_spin_lock(&txgpio->lock); in thunderx_gpio_dir_in()[all …]