Lines Matching refs:txline
288 struct thunderx_line *txline = irq_data_get_irq_chip_data(data); in thunderx_gpio_irq_ack() local
291 txline->txgpio->register_base + intr_reg(txline->line)); in thunderx_gpio_irq_ack()
296 struct thunderx_line *txline = irq_data_get_irq_chip_data(data); in thunderx_gpio_irq_mask() local
299 txline->txgpio->register_base + intr_reg(txline->line)); in thunderx_gpio_irq_mask()
304 struct thunderx_line *txline = irq_data_get_irq_chip_data(data); in thunderx_gpio_irq_mask_ack() local
307 txline->txgpio->register_base + intr_reg(txline->line)); in thunderx_gpio_irq_mask_ack()
312 struct thunderx_line *txline = irq_data_get_irq_chip_data(data); in thunderx_gpio_irq_unmask() local
315 txline->txgpio->register_base + intr_reg(txline->line)); in thunderx_gpio_irq_unmask()
321 struct thunderx_line *txline = irq_data_get_irq_chip_data(data); in thunderx_gpio_irq_set_type() local
322 struct thunderx_gpio *txgpio = txline->txgpio; in thunderx_gpio_irq_set_type()
327 bit_cfg = txline->fil_bits | GPIO_BIT_CFG_INT_EN; in thunderx_gpio_irq_set_type()
339 set_bit(txline->line, txgpio->invert_mask); in thunderx_gpio_irq_set_type()
341 clear_bit(txline->line, txgpio->invert_mask); in thunderx_gpio_irq_set_type()
343 clear_bit(txline->line, txgpio->od_mask); in thunderx_gpio_irq_set_type()
344 writeq(bit_cfg, txgpio->register_base + bit_cfg_reg(txline->line)); in thunderx_gpio_irq_set_type()
364 struct thunderx_line *txline = irq_data_get_irq_chip_data(data); in thunderx_gpio_irq_request_resources() local
365 struct thunderx_gpio *txgpio = txline->txgpio; in thunderx_gpio_irq_request_resources()
368 r = gpiochip_lock_as_irq(&txgpio->chip, txline->line); in thunderx_gpio_irq_request_resources()
374 gpiochip_unlock_as_irq(&txgpio->chip, txline->line); in thunderx_gpio_irq_request_resources()
381 struct thunderx_line *txline = irq_data_get_irq_chip_data(data); in thunderx_gpio_irq_release_resources() local
382 struct thunderx_gpio *txgpio = txline->txgpio; in thunderx_gpio_irq_release_resources()
386 gpiochip_unlock_as_irq(&txgpio->chip, txline->line); in thunderx_gpio_irq_release_resources()
431 struct thunderx_line *txline = arg; in thunderx_gpio_irq_alloc() local
433 return irq_domain_set_hwirq_and_chip(d, virq, txline->line, in thunderx_gpio_irq_alloc()
434 &thunderx_gpio_irq_chip, txline); in thunderx_gpio_irq_alloc()