Lines Matching defs:dev
40 #include "sir-dev.h"
67 static int esi_open(struct sir_dev *dev)
69 struct qos_info *qos = &dev->qos;
72 sirdev_set_dtr_rts(dev, FALSE, TRUE);
83 static int esi_close(struct sir_dev *dev)
86 sirdev_set_dtr_rts(dev, FALSE, FALSE);
98 static int esi_change_speed(struct sir_dev *dev, unsigned speed)
122 sirdev_set_dtr_rts(dev, dtr, rts);
123 dev->speed = speed;
134 static int esi_reset(struct sir_dev *dev)
136 sirdev_set_dtr_rts(dev, FALSE, FALSE);
146 sirdev_set_dtr_rts(dev, FALSE, TRUE);
147 dev->speed = 9600;