Lines Matching refs:status

336 static void debug_status_in(struct cosa_data *cosa, int status);
337 static void debug_status_out(struct cosa_data *cosa, int status);
630 pr_notice("%s: start the firmware first (status %d)\n",
780 pr_notice("%s: start the firmware first (status %d)\n",
855 pr_notice("%s: start the firmware first (status %d)\n",
1026 pr_notice("%s: reset the card first (status %d)\n",
1065 pr_notice("%s: reset the card first (status %d)\n",
1098 pr_notice("%s: download the microcode and/or reset the card first (status %d)\n",
1262 int status;
1266 status = (cosa->rxbitmap ? DRIVER_RX_READY : 0)
1286 cosa_putdata8(cosa, status);
1288 debug_data_cmd(cosa, status);
1296 int status;
1298 status = (cosa->rxbitmap ? DRIVER_RX_READY : 0)
1316 cosa_putdata8(cosa, status);
1318 debug_data_cmd(cosa, status);
1324 * clean up the driver status.
1571 pr_info("timeout in get_wait_data (status 0x%x)\n",
1598 pr_info("cosa%d: timeout in put_wait_data (status 0x%x)\n",
1641 * COSA status byte. I have moved the rx/tx/eot interrupt handling into
1655 * flow-control - in the status word has bits 2 and 3 set to 1 means that the
1659 * When the driver status says that the kernel has no more data for transmit
1666 static inline void tx_interrupt(struct cosa_data *cosa, int status)
1670 pr_info("cosa%d: SR_DOWN_REQUEST status=0x%04x\n", cosa->num, status);
1692 if (~status & (1 << (cosa->txchan+DRIVER_TXMAP_SHIFT)))
1767 pr_info("status %x\n", cosa_getstatus(cosa));
1801 static inline void rx_interrupt(struct cosa_data *cosa, int status)
1878 if (!is_8bit(cosa) && (status & SR_TX_RDY))
1882 if (!is_8bit(cosa) && (status & SR_TX_RDY))
1888 static inline void eot_interrupt(struct cosa_data *cosa, int status)
1937 unsigned status;
1941 status = cosa_getstatus(cosa);
1943 pr_info("cosa%d: got IRQ, status 0x%02x\n", cosa->num, status & 0xff);
1946 debug_status_in(cosa, status);
1948 switch (status & SR_CMD_FROM_SRP_MASK) {
1950 tx_interrupt(cosa, status);
1953 rx_interrupt(cosa, status);
1956 eot_interrupt(cosa, status);
1964 pr_info("cosa%d: unknown status 0x%02x in IRQ after %d retries\n",
1965 cosa->num, status & 0xff, count);
1969 pr_info("%s: %d-times got unknown status in IRQ\n",
1982 * the data being transferred on the data and status I/O port in a
1987 static void debug_status_in(struct cosa_data *cosa, int status)
1990 switch (status & SR_CMD_FROM_SRP_MASK) {
2004 pr_info("%s: IO: status -> 0x%02x (%s%s%s%s)\n",
2006 status,
2007 status & SR_USR_RQ ? "USR_RQ|" : "",
2008 status & SR_TX_RDY ? "TX_RDY|" : "",
2009 status & SR_RX_RDY ? "RX_RDY|" : "",
2013 static void debug_status_out(struct cosa_data *cosa, int status)
2015 pr_info("%s: IO: status <- 0x%02x (%s%s%s%s%s%s)\n",
2017 status,
2018 status & SR_RX_DMA_ENA ? "RXDMA|" : "!rxdma|",
2019 status & SR_TX_DMA_ENA ? "TXDMA|" : "!txdma|",
2020 status & SR_RST ? "RESET|" : "",
2021 status & SR_USR_INT_ENA ? "USRINT|" : "!usrint|",
2022 status & SR_TX_INT_ENA ? "TXINT|" : "!txint|",
2023 status & SR_RX_INT_ENA ? "RXINT" : "!rxint");