Lines Matching defs:chip
697 chip_id_t *chip = &rgep->chipid;
706 chip->mac_ver = val32;
707 chip->is_pcie = pci_lcap_locate(rgep->cfg_handle,
713 chip->enable_mac_first = !chip->is_pcie;
714 if (chip->mac_ver == MAC_VER_8101E_C) {
715 chip->is_pcie = B_FALSE;
723 chip->phy_ver = val16;
726 if (chip->mac_ver == MAC_VER_8169 ||
727 chip->mac_ver == MAC_VER_8169S_D ||
728 chip->mac_ver == MAC_VER_8169S_E ||
729 chip->mac_ver == MAC_VER_8169SC)
732 if (chip->mac_ver == MAC_VER_8169SC) {
746 if (chip->is_pcie) {
773 chip->rxconfig = RX_CONFIG_DEFAULT;
774 chip->txconfig = TX_CONFIG_DEFAULT;
782 rgep->ifname, chip->mac_ver, chip->phy_ver));
786 * Perform first-stage chip (re-)initialisation, using only config-space
860 * Reset chip
888 chip_id_t *chip = &rgep->chipid;
893 if (chip->mac_ver == MAC_VER_8168B_B ||
894 chip->mac_ver == MAC_VER_8168B_C ||
895 chip->mac_ver == MAC_VER_8101E) {
899 if (chip->mac_ver == MAC_VER_8168 ||
900 chip->mac_ver == MAC_VER_8168B_B) {
929 if (chip->mac_ver == MAC_VER_8169S_D) {
933 if (chip->mac_ver == MAC_VER_8169S_E ||
934 chip->mac_ver == MAC_VER_8169SC) {
942 if (chip->enable_mac_first)
982 rge_reg_put32(rgep, RX_CONFIG_REG, val32 | chip->rxconfig);
989 rge_reg_put32(rgep, TX_CONFIG_REG, val32 | chip->txconfig);
1048 * rge_chip_start() -- start the chip transmitting and/or receiving,
1251 * rge_chip_sync() -- program the chip with the unicast MAC address,
1327 * Start H/W statistics dump for RTL8169 chip
1352 * rge_intr() -- handle chip interrupts
1516 RGE_REPORT((rgep, "tx error happened, resetting the chip "));
1529 RGE_REPORT((rgep, "sys error happened, resetting the chip "));
1616 * threshold value, the chip is assumed to have stalled and
1638 * reset & restart the chip after an error
1689 * If an error is detected, stop the chip now, marking it as
1710 * factotum, and prods the chip to update the status block (which