Lines Matching refs:status

203 	int status = usb_control_msg(usbdev, pipe, request, requesttype, value,
205 if (status < 0)
207 "mos7720: usb_control_msg() failed: %d\n", status);
208 return status;
226 int status;
234 status = usb_control_msg(usbdev, pipe, request, requesttype, value,
236 if (status == 1) {
240 "mos7720: usb_control_msg() failed: %d\n", status);
241 if (status >= 0)
242 status = -EIO;
248 return status;
345 int status = urb->status;
348 if (unlikely(status))
349 dev_dbg(&urb->dev->dev, "%s - nonzero urb status received: %d\n", __func__, status);
560 unsigned char status;
569 status = atomic_read(&mos_parport->shadowDSR) & 0xf8;
571 return status;
767 int status = urb->status;
773 switch (status) {
781 dev_dbg(dev, "%s - urb shutting down with status: %d\n", __func__, status);
784 dev_dbg(dev, "%s - nonzero urb status received: %d\n", __func__, status);
795 * Byte 4 FIFO status for both */
814 dev_dbg(dev, "Serial Port 1: Receiver status error or address bit detected in 9-bit mode\n");
820 /* dev_dbg(dev, "Serial Port 1: Modem status change\n"); */
826 dev_dbg(dev, "Serial Port 2: Receiver status error or address bit detected in 9-bit mode\n");
832 /* dev_dbg(dev, "Serial Port 2: Modem status change\n"); */
852 int status = urb->status;
857 switch (status) {
866 dev_dbg(dev, "%s - urb shutting down with status: %d\n", __func__, status);
869 dev_dbg(dev, "%s - nonzero urb status received: %d\n", __func__, status);
880 * Byte 4: FIFO status for both */
891 dev_dbg(dev, "Serial Port: Receiver status error or address bit detected in 9-bit mode\n");
897 /* dev_dbg(dev, "Serial Port: Modem status change\n"); */
928 int status = urb->status;
930 if (status) {
931 dev_dbg(&urb->dev->dev, "nonzero read bulk status received: %d\n", status);
946 if (port->read_urb->status != -EINPROGRESS) {
961 int status = urb->status;
963 if (status) {
964 dev_dbg(&urb->dev->dev, "nonzero write bulk status received:%d\n", status);
1123 mos7720_port->write_urb_pool[i]->status == -EINPROGRESS)
1208 mos7720_port->write_urb_pool[i]->status != -EINPROGRESS)
1219 int status;
1240 mos7720_port->write_urb_pool[i]->status != -EINPROGRESS) {
1274 status = usb_submit_urb(urb, GFP_ATOMIC);
1275 if (status) {
1277 "with status = %d\n", __func__, status);
1278 bytes_sent = status;
1291 int status;
1306 status = mos7720_write(tty, port, &stop_char, 1);
1307 if (status <= 0)
1323 int status;
1336 status = mos7720_write(tty, port, &start_char, 1);
1337 if (status <= 0)
1488 int status;
1501 status = calc_baud_rate_divisor(port, baudrate, &divisor);
1502 if (status) {
1504 return status;
1520 return status;
1539 int status;
1665 status = send_cmd_write_baud_rate(mos7720_port, baud);
1673 if (port->read_urb->status != -EINPROGRESS) {
1674 status = usb_submit_urb(port->read_urb, GFP_KERNEL);
1675 if (status)
1676 dev_dbg(&port->dev, "usb_submit_urb(read bulk) failed, status = %d\n", status);
1688 int status;
1704 if (port->read_urb->status != -EINPROGRESS) {
1705 status = usb_submit_urb(port->read_urb, GFP_KERNEL);
1706 if (status)
1707 dev_dbg(&port->dev, "usb_submit_urb(read bulk) failed, status = %d\n", status);
1712 * get_lsr_info - get line status register info