Lines Matching refs:status
143 EXPECT_HDR3 = 3, /* Expect header byte 3 (for status hdrs only) */
222 __u8 rxStatusCode; /* the receive status code */
223 __u8 rxStatusParam; /* the receive status paramater */
657 int status = urb->status;
659 switch (status) {
667 dev_dbg(&urb->dev->dev, "%s - urb shutting down with status: %d\n", __func__, status);
670 dev_dbg(&urb->dev->dev, "%s - nonzero urb status received: %d\n", __func__, status);
764 int status = urb->status;
767 if (status) {
768 dev_dbg(&urb->dev->dev, "%s - nonzero read bulk status received: %d\n",
769 __func__, status);
821 int status = urb->status;
823 if (status) {
825 "%s - nonzero write bulk status received: %d\n",
826 __func__, status);
849 int status = urb->status;
862 if (status) {
864 "%s - nonzero write bulk status received: %d\n",
865 __func__, status);
1130 int status;
1148 status = send_iosp_ext_cmd(edge_port, IOSP_CMD_CHASE_PORT, 0);
1149 if (status == 0)
1292 int status;
1374 status = usb_submit_urb(urb, GFP_ATOMIC);
1375 if (status) {
1378 "%s - usb_submit_urb(write bulk) failed, status = %d, data lost\n",
1379 __func__, status);
1475 int status;
1488 status = edge_write(tty, port, &stop_char, 1);
1489 if (status <= 0)
1496 status = send_cmd_write_uart_register(edge_port, MCR,
1498 if (status != 0)
1513 int status;
1526 status = edge_write(tty, port, &start_char, 1);
1527 if (status <= 0)
1563 * get_lsr_info - get line status register info
1686 int status;
1694 status = send_iosp_ext_cmd(edge_port, IOSP_CMD_CHASE_PORT, 0);
1695 if (status == 0) {
1707 status = send_iosp_ext_cmd(edge_port,
1711 status = send_iosp_ext_cmd(edge_port,
1714 if (status)
1764 * data or status */
1767 /* Decode this status header and go to
1768 * EXPECT_HDR1 (if we can process the status
1779 /* This status needs additional bytes.
1789 status now */
1840 case EXPECT_HDR3: /* Expect 3rd byte of status header */
1846 status now */
1859 * this function handles the any status messages received on the
1887 /* we want to do EXT status regardless of port
1935 /* If port is closed, silently discard all rcvd status. We can
1936 * have cases where buffered status is received AFTER the close
1967 * Process this new modem status and generate appropriate
1968 * events, etc, based on the new status. This routine
1975 dev_dbg(dev, "%s - Unrecognized IOSP status code %u\n", __func__, code);
2026 /* Save the new modem status */
2217 int status = 0;
2228 status = write_cmd_usb(edge_port, buffer, length);
2229 if (status) {
2234 return status;
2248 int status = 0;
2268 status = usb_submit_urb(urb, GFP_ATOMIC);
2270 if (status) {
2272 dev_err(dev, "%s - usb_submit_urb(write command) failed, status = %d\n",
2273 __func__, status);
2276 return status;
2285 status = -EINVAL;
2288 return status;
2307 int status;
2319 status = calc_baud_rate_divisor(dev, baudRate, &divisor);
2320 if (status) {
2322 return status;
2343 status = write_cmd_usb(edge_port, cmdBuffer, cmdLen);
2344 if (status) {
2349 return status;
2400 int status;
2430 status = write_cmd_usb(edge_port, cmdBuffer, cmdLen);
2431 if (status) {
2436 return status;
2460 int status;
2577 status = send_cmd_write_uart_register(edge_port, LCR,
2579 if (status != 0)
2587 status = send_cmd_write_uart_register(edge_port, MCR,
2589 if (status != 0)
2600 status = send_cmd_write_baud_rate(edge_port, baud);
2601 if (status == -1) {