Home
last modified time | relevance | path

Searched refs:max3100s (Results 1 – 1 of 1) sorted by relevance

/linux-6.12.1/drivers/tty/serial/
Dmax3100.c119 static struct max3100_port *max3100s[MAX_MAX3100]; /* the chips */ variable
703 if (!max3100s[i]) in max3100_probe()
710 max3100s[i] = kzalloc(sizeof(struct max3100_port), GFP_KERNEL); in max3100_probe()
711 if (!max3100s[i]) { in max3100_probe()
715 max3100s[i]->spi = spi; in max3100_probe()
716 spin_lock_init(&max3100s[i]->conf_lock); in max3100_probe()
717 spi_set_drvdata(spi, max3100s[i]); in max3100_probe()
718 max3100s[i]->minor = i; in max3100_probe()
719 timer_setup(&max3100s[i]->timer, max3100_timeout, 0); in max3100_probe()
722 max3100s[i]->port.irq = spi->irq; in max3100_probe()
[all …]