Lines Matching refs:max3100_port
97 struct max3100_port { struct
141 static struct max3100_port *max3100s[MAX_MAX3100]; /* the chips */ argument
144 static int max3100_do_parity(struct max3100_port *s, u16 c) in max3100_do_parity()
162 static int max3100_check_parity(struct max3100_port *s, u16 c) in max3100_check_parity()
167 static void max3100_calc_parity(struct max3100_port *s, u16 *c) in max3100_calc_parity()
180 static void max3100_dowork(struct max3100_port *s) in max3100_dowork()
188 struct max3100_port *s = (struct max3100_port *)data; in max3100_timeout()
196 static int max3100_sr(struct max3100_port *s, u16 tx, u16 *rx) in max3100_sr()
221 static int max3100_handlerx(struct max3100_port *s, u16 rx) in max3100_handlerx()
263 struct max3100_port *s = container_of(w, struct max3100_port, work); in max3100_work()
332 struct max3100_port *s = dev_id; in max3100_irq()
342 struct max3100_port *s = container_of(port, in max3100_enable_ms()
343 struct max3100_port, in max3100_enable_ms()
353 struct max3100_port *s = container_of(port, in max3100_start_tx()
354 struct max3100_port, in max3100_start_tx()
364 struct max3100_port *s = container_of(port, in max3100_stop_rx()
365 struct max3100_port, in max3100_stop_rx()
380 struct max3100_port *s = container_of(port, in max3100_tx_empty()
381 struct max3100_port, in max3100_tx_empty()
393 struct max3100_port *s = container_of(port, in max3100_get_mctrl()
394 struct max3100_port, in max3100_get_mctrl()
407 struct max3100_port *s = container_of(port, in max3100_set_mctrl()
408 struct max3100_port, in max3100_set_mctrl()
429 struct max3100_port *s = container_of(port, in max3100_set_termios()
430 struct max3100_port, in max3100_set_termios()
552 struct max3100_port *s = container_of(port, in max3100_shutdown()
553 struct max3100_port, in max3100_shutdown()
587 struct max3100_port *s = container_of(port, in max3100_startup()
588 struct max3100_port, in max3100_startup()
642 struct max3100_port *s = container_of(port, in max3100_type()
643 struct max3100_port, in max3100_type()
653 struct max3100_port *s = container_of(port, in max3100_release_port()
654 struct max3100_port, in max3100_release_port()
662 struct max3100_port *s = container_of(port, in max3100_config_port()
663 struct max3100_port, in max3100_config_port()
675 struct max3100_port *s = container_of(port, in max3100_verify_port()
676 struct max3100_port, in max3100_verify_port()
689 struct max3100_port *s = container_of(port, in max3100_stop_tx()
690 struct max3100_port, in max3100_stop_tx()
698 struct max3100_port *s = container_of(port, in max3100_request_port()
699 struct max3100_port, in max3100_request_port()
708 struct max3100_port *s = container_of(port, in max3100_break_ctl()
709 struct max3100_port, in max3100_break_ctl()
771 max3100s[i] = kzalloc(sizeof(struct max3100_port), GFP_KERNEL); in max3100_probe()
822 struct max3100_port *s = spi_get_drvdata(spi); in max3100_remove()
856 struct max3100_port *s = dev_get_drvdata(dev); in max3100_suspend()
879 struct max3100_port *s = dev_get_drvdata(dev); in max3100_resume()