Lines Matching refs:debug
113 debug("asix_write_cmd() cmd=0x%02x value=0x%04x index=0x%04x " in asix_write_cmd()
135 debug("asix_read_cmd() cmd=0x%02x value=0x%04x index=0x%04x size=%d\n", in asix_read_cmd()
157 debug("Failed to enable software MII access\n"); in asix_set_sw_mii()
167 debug("Failed to enable hardware MII access\n"); in asix_set_hw_mii()
179 debug("asix_mdio_read() phy_id=0x%02x, loc=0x%02x, returns=0x%04x\n", in asix_mdio_read()
191 debug("asix_mdio_write() phy_id=0x%02x, loc=0x%02x, val=0x%04x\n", in asix_mdio_write()
207 debug("Failed to send software reset: %02x\n", ret); in asix_sw_reset()
220 debug("asix_get_phy_addr()\n"); in asix_get_phy_addr()
223 debug("Error reading PHYID register: %02x\n", ret); in asix_get_phy_addr()
226 debug("asix_get_phy_addr() returning 0x%02x%02x\n", buf[0], buf[1]); in asix_get_phy_addr()
237 debug("asix_write_medium_mode() - mode = 0x%04x\n", mode); in asix_write_medium_mode()
241 debug("Failed to write Medium Mode mode to 0x%04x: %02x\n", in asix_write_medium_mode()
254 debug("Error reading RX_CTL register: %02x\n", ret); in asix_read_rx_ctl()
264 debug("asix_write_rx_ctl() - mode = 0x%04x\n", mode); in asix_write_rx_ctl()
267 debug("Failed to write RX_CTL mode to 0x%04x: %02x\n", in asix_write_rx_ctl()
277 debug("asix_write_gpio() - value = 0x%04x\n", value); in asix_write_gpio()
280 debug("Failed to write GPIO value 0x%04x: %02x\n", in asix_write_gpio()
298 debug("Failed to set MAC address: %02x\n", ret); in asix_write_hwaddr_common()
339 debug("Failed to read SROM address 04h.\n"); in asix_read_mac_common()
347 debug("Failed to read MAC address.\n"); in asix_read_mac_common()
369 debug("Select PHY #1 failed\n"); in asix_basic_reset()
388 debug("RX_CTL is 0x%04x after software reset\n", rx_ctl); in asix_basic_reset()
393 debug("RX_CTL is 0x%04x setting to 0x0000\n", rx_ctl); in asix_basic_reset()
397 debug("Failed to read phy id\n"); in asix_basic_reset()
410 debug("Write IPG,IPG1,IPG2 failed\n"); in asix_basic_reset()
423 debug("** %s()\n", __func__); in asix_init_common()
468 debug("** %s(), len %d\n", __func__, length); in asix_send_common()
482 debug("Tx: len = %zu, actual = %u, err = %d\n", in asix_send_common()
498 debug("** %s()\n", __func__); in asix_eth_stop()
517 debug("%s: first try, len=%d\n", __func__, len); in asix_eth_recv()
526 debug("%s: second try, len=%d\n", __func__, len); in asix_eth_recv()
534 debug("Rx: incomplete packet length\n"); in asix_eth_recv()
540 debug("Rx: malformed packet length: %#x (%#x:%#x)\n", in asix_eth_recv()
547 debug("Rx: too large packet: %d\n", packet_len); in asix_eth_recv()
601 debug("MAC %pM\n", pdata->enetaddr); in asix_eth_probe()