Lines Matching defs:data

179  * Write data byte to the specified device register.  The data is embedded in
184 enum mos_regs reg, __u8 data)
191 __u16 value = get_reg_value(reg, serial_portnum) + data;
201 * Read data byte from the specified device register. The data returned by the
206 enum mos_regs reg, __u8 *data)
219 *data = 0;
226 *data = *buf;
232 *data = 0;
360 __u8 data;
364 data = ((__u8)d & 0x0f) | (mos_parport->shadowDCR & 0xf0);
365 write_mos_reg(mos_parport->serial, dummy, MOS7720_DCR, data);
366 mos_parport->shadowDCR = data;
602 * this is the callback function for when we have received data on the
611 __u8 *data;
631 data = urb->transfer_buffer;
643 dev_dbg(dev, "Wrong data !!!\n");
647 sp1 = data[3];
648 sp2 = data[2];
687 * this is the 7715's callback function for when we have received data on
696 __u8 *data;
716 data = urb->transfer_buffer;
718 /* Structure of data from 7715 device:
725 dev_dbg(dev, "Wrong data !!!\n");
729 iir = data[0];
750 atomic_set(&mos_parport->shadowDSR, data[2]);
762 * this is the callback function for when we have received data on the
768 unsigned char *data ;
781 data = urb->transfer_buffer;
784 tty_insert_flip_string(&port->port, data, urb->actual_length);
798 * data on the bulk out endpoint.
849 __u8 data;
897 read_mos_reg(serial, port_number, MOS7720_LSR, &data);
899 dev_dbg(&port->dev, "SS::%p LSR:%x\n", mos7720_port, data);
916 read_mos_reg(serial, dummy, MOS7720_SP_CONTROL_REG, &data);
917 data = data | (port->port_number + 1);
918 write_mos_reg(serial, dummy, MOS7720_SP_CONTROL_REG, data);
946 * bytes of data we currently have outstanding in the port (data that has
1002 unsigned char data;
1013 data = mos7720_port->shadowLCR | UART_LCR_SBC;
1015 data = mos7720_port->shadowLCR & ~UART_LCR_SBC;
1017 mos7720_port->shadowLCR = data;
1026 * bytes of data we can accept for a specific port.
1047 const unsigned char *data, int count)
1057 const unsigned char *current_position = data;
1096 /* fill urb with data and submit */
1539 unsigned char data = 0;
1545 read_mos_reg(port->serial, port_number, MOS7720_LSR, &data);
1546 if ((data & (UART_LSR_TEMT | UART_LSR_THRE))
1631 char data;
1657 read_mos_reg(serial, 0, MOS7720_LSR, &data);
1658 dev_dbg(&dev->dev, "LSR:%x\n", data);