Lines Matching defs:duplex
83 static void sis900_read_mode(struct nic *nic, int phy_addr, int *speed, int *duplex);
84 static void amd79c901_read_mode(struct nic *nic, int phy_addr, int *speed, int *duplex);
85 static void ics1893_read_mode(struct nic *nic, int phy_addr, int *speed, int *duplex);
86 static void rtl8201_read_mode(struct nic *nic, int phy_addr, int *speed, int *duplex);
92 void (*read_mode) (struct nic *nic, int phy_addr, int *speed, int *duplex);
692 int speed, duplex;
695 mii.chip_info->read_mode(nic, cur_phy, &speed, &duplex);
709 if (duplex == FDX_CAPABLE_FULL_SELECTED) {
722 * Description: retrieves and displays speed and duplex
731 sis900_read_mode(struct nic *nic, int phy_addr, int *speed, int *duplex)
746 *duplex = FDX_CAPABLE_FULL_SELECTED;
748 *duplex = FDX_CAPABLE_HALF_SELECTED;
753 printf("sis900_read_mode: Media Link On %s %s-duplex \n",
756 *duplex == FDX_CAPABLE_FULL_SELECTED ?
764 * Description: retrieves and displays speed and duplex
773 amd79c901_read_mode(struct nic *nic, int phy_addr, int *speed, int *duplex)
790 *duplex = FDX_CAPABLE_FULL_SELECTED;
792 *duplex = FDX_CAPABLE_HALF_SELECTED;
795 printf("amd79c901_read_mode: Media Link On %s %s-duplex \n",
798 *duplex == FDX_CAPABLE_FULL_SELECTED ?
806 *duplex = FDX_CAPABLE_HALF_SELECTED;
808 printf("amd79c901_read_mode:Media Link On 1mbps half-duplex \n");
821 * @duplex: the duplex mode to be determined
824 * to determine the speed and duplex mode for sis900
827 static void ics1893_read_mode(struct nic *nic, int phy_addr, int *speed, int *duplex)
842 *duplex = FDX_CAPABLE_FULL_SELECTED;
844 *duplex = FDX_CAPABLE_HALF_SELECTED;
847 printf("ics1893_read_mode: Media Link On %s %s-duplex \n",
850 *duplex == FDX_CAPABLE_FULL_SELECTED ?
861 * @duplex: the duplex mode to be determined
864 * to determine the speed and duplex mode for sis900
867 static void rtl8201_read_mode(struct nic *nic, int phy_addr, int *speed, int *duplex)
875 *duplex = FDX_CAPABLE_FULL_SELECTED;
879 *duplex = FDX_CAPABLE_HALF_SELECTED;
883 *duplex = FDX_CAPABLE_FULL_SELECTED;
887 *duplex = FDX_CAPABLE_HALF_SELECTED;
891 printf("rtl8201_read_mode: Media Link On %s %s-duplex \n",
894 *duplex == FDX_CAPABLE_FULL_SELECTED ?