Lines Matching defs:mode
27 /* the mode to be set when the port ist opened */
114 __u8 mode;
289 /* in serial mode, if someone is waiting for data from
722 * garmin native mode
813 pkt[4] = __cpu_to_le32(garmin_data_p->mode);
913 garmin_data_p->mode = initial_mode;
933 dev_dbg(&port->dev, "%s - mode=%d state=%d flags=0x%X\n",
934 __func__, garmin_data_p->mode, garmin_data_p->state,
959 if (garmin_data_p->mode == MODE_GARMIN_SERIAL) {
1018 if (garmin_data_p->mode == MODE_GARMIN_SERIAL) {
1081 garmin_data_p->mode = __le32_to_cpu(privpkt[3]);
1082 dev_dbg(dev, "%s - mode set to %d\n",
1083 __func__, garmin_data_p->mode);
1100 garmin_data_p->mode);
1107 if (garmin_data_p->mode == MODE_GARMIN_SERIAL) {
1150 if (garmin_data_p->mode == MODE_GARMIN_SERIAL) {
1292 * Sends the next queued packt to the tty port (garmin native mode only)
1341 /* in native mode send queued data to tty, in
1342 serial mode nothing needs to be done here */
1343 if (garmin_data_p->mode == MODE_NATIVE)
1365 if (garmin_data_p->mode == MODE_NATIVE)
1448 MODULE_PARM_DESC(initial_mode, "Initial mode");