Lines Matching refs:max3100_port
94 struct max3100_port {
138 static struct max3100_port *max3100s[MAX_MAX3100]; /* the chips */
141 static int max3100_do_parity(struct max3100_port *s, u16 c)
159 static int max3100_check_parity(struct max3100_port *s, u16 c)
164 static void max3100_calc_parity(struct max3100_port *s, u16 *c)
177 static void max3100_dowork(struct max3100_port *s)
186 struct max3100_port *s = (struct max3100_port *)data;
194 static int max3100_sr(struct max3100_port *s, u16 tx, u16 *rx)
219 static int max3100_handlerx(struct max3100_port *s, u16 rx)
261 struct max3100_port *s = container_of(w, struct max3100_port, work);
330 struct max3100_port *s = dev_id;
340 struct max3100_port *s = container_of(port,
341 struct max3100_port,
351 struct max3100_port *s = container_of(port,
352 struct max3100_port,
362 struct max3100_port *s = container_of(port,
363 struct max3100_port,
378 struct max3100_port *s = container_of(port,
379 struct max3100_port,
391 struct max3100_port *s = container_of(port,
392 struct max3100_port,
405 struct max3100_port *s = container_of(port,
406 struct max3100_port,
427 struct max3100_port *s = container_of(port,
428 struct max3100_port,
550 struct max3100_port *s = container_of(port,
551 struct max3100_port,
585 struct max3100_port *s = container_of(port,
586 struct max3100_port,
640 struct max3100_port *s = container_of(port,
641 struct max3100_port,
651 struct max3100_port *s = container_of(port,
652 struct max3100_port,
660 struct max3100_port *s = container_of(port,
661 struct max3100_port,
673 struct max3100_port *s = container_of(port,
674 struct max3100_port,
687 struct max3100_port *s = container_of(port,
688 struct max3100_port,
696 struct max3100_port *s = container_of(port,
697 struct max3100_port,
706 struct max3100_port *s = container_of(port,
707 struct max3100_port,
769 max3100s[i] = kzalloc(sizeof(struct max3100_port), GFP_KERNEL);
820 struct max3100_port *s = dev_get_drvdata(&spi->dev);
852 struct max3100_port *s = dev_get_drvdata(&spi->dev);
875 struct max3100_port *s = dev_get_drvdata(&spi->dev);