Lines Matching refs:debug
120 debug("asix_write_cmd() cmd=0x%02x value=0x%04x index=0x%04x " in asix_write_cmd()
142 debug("asix_read_cmd() cmd=0x%02x value=0x%04x index=0x%04x size=%d\n", in asix_read_cmd()
164 debug("Failed to enable software MII access\n"); in asix_set_sw_mii()
174 debug("Failed to enable hardware MII access\n"); in asix_set_hw_mii()
186 debug("asix_mdio_read() phy_id=0x%02x, loc=0x%02x, returns=0x%04x\n", in asix_mdio_read()
198 debug("asix_mdio_write() phy_id=0x%02x, loc=0x%02x, val=0x%04x\n", in asix_mdio_write()
214 debug("Failed to send software reset: %02x\n", ret); in asix_sw_reset()
227 debug("asix_get_phy_addr()\n"); in asix_get_phy_addr()
230 debug("Error reading PHYID register: %02x\n", ret); in asix_get_phy_addr()
233 debug("asix_get_phy_addr() returning 0x%02x%02x\n", buf[0], buf[1]); in asix_get_phy_addr()
244 debug("asix_write_medium_mode() - mode = 0x%04x\n", mode); in asix_write_medium_mode()
248 debug("Failed to write Medium Mode mode to 0x%04x: %02x\n", in asix_write_medium_mode()
261 debug("Error reading RX_CTL register: %02x\n", ret); in asix_read_rx_ctl()
271 debug("asix_write_rx_ctl() - mode = 0x%04x\n", mode); in asix_write_rx_ctl()
274 debug("Failed to write RX_CTL mode to 0x%04x: %02x\n", in asix_write_rx_ctl()
284 debug("asix_write_gpio() - value = 0x%04x\n", value); in asix_write_gpio()
287 debug("Failed to write GPIO value 0x%04x: %02x\n", in asix_write_gpio()
305 debug("Failed to set MAC address: %02x\n", ret); in asix_write_hwaddr_common()
346 debug("Failed to read SROM address 04h.\n"); in asix_read_mac_common()
354 debug("Failed to read MAC address.\n"); in asix_read_mac_common()
376 debug("Select PHY #1 failed\n"); in asix_basic_reset()
395 debug("RX_CTL is 0x%04x after software reset\n", rx_ctl); in asix_basic_reset()
400 debug("RX_CTL is 0x%04x setting to 0x0000\n", rx_ctl); in asix_basic_reset()
404 debug("Failed to read phy id\n"); in asix_basic_reset()
417 debug("Write IPG,IPG1,IPG2 failed\n"); in asix_basic_reset()
430 debug("** %s()\n", __func__); in asix_init_common()
475 debug("** %s(), len %d\n", __func__, length); in asix_send_common()
489 debug("Tx: len = %zu, actual = %u, err = %d\n", in asix_send_common()
522 debug("** %s()\n", __func__); in asix_recv()
530 debug("Rx: len = %u, actual = %u, err = %d\n", AX_RX_URB_SIZE, in asix_recv()
533 debug("Rx: failed to receive\n"); in asix_recv()
537 debug("Rx: received too many bytes %d\n", actual_len); in asix_recv()
548 debug("Rx: incomplete packet length\n"); in asix_recv()
554 debug("Rx: malformed packet length: %#x (%#x:%#x)\n", in asix_recv()
561 debug("Rx: too large packet: %d\n", packet_len); in asix_recv()
581 debug("** %s()\n", __func__); in asix_halt()
650 debug("\n\nUSB Ethernet device detected: %#04x:%#04x\n", in asix_eth_probe()
698 debug("Endpoints In %d Out %d Int %d\n", in asix_eth_probe()
704 debug("Problems with device\n"); in asix_eth_probe()
717 debug("%s: missing parameter.\n", __func__); in asix_eth_get_info()
735 debug("MAC %pM\n", eth->enetaddr); in asix_eth_get_info()
752 debug("** %s()\n", __func__); in asix_eth_stop()
771 debug("%s: first try, len=%d\n", __func__, len); in asix_eth_recv()
780 debug("%s: second try, len=%d\n", __func__, len); in asix_eth_recv()
788 debug("Rx: incomplete packet length\n"); in asix_eth_recv()
794 debug("Rx: malformed packet length: %#x (%#x:%#x)\n", in asix_eth_recv()
801 debug("Rx: too large packet: %d\n", packet_len); in asix_eth_recv()
855 debug("MAC %pM\n", pdata->enetaddr); in asix_eth_probe()