Home
last modified time | relevance | path

Searched refs:cntrl (Results 1 – 2 of 2) sorted by relevance

/hal_microchip-latest/mpfs/drivers/mss/mss_ethernet_mac/
Dvsc8575_phy.c425 static vsc_phy_control_t cntrl; in MSS_MAC_VSC8575_phy_init() local
449 (void)memset (&cntrl, 0, sizeof(cntrl)); in MSS_MAC_VSC8575_phy_init()
519 rc = viper_fmc_board_init(&cntrl); in MSS_MAC_VSC8575_phy_init()
521 cntrl.phy_addr = 0U; /* This is actually the port number 0-3 on the VSC8575 */ in MSS_MAC_VSC8575_phy_init()
522 cntrl.phy_usleep = usleep; in MSS_MAC_VSC8575_phy_init()
524 rc = vsc_get_phy_type(&cntrl); in MSS_MAC_VSC8575_phy_init()
525 cntrl.mac_if = PHY_MAC_IF_MODE_SGMII; in MSS_MAC_VSC8575_phy_init()
526 cntrl.media_if = PHY_MEDIA_IF_CU; in MSS_MAC_VSC8575_phy_init()
531 rc = initialize_viper_phy(&cntrl); in MSS_MAC_VSC8575_phy_init()
536 rc = reset_viper_phy(&cntrl); in MSS_MAC_VSC8575_phy_init()
[all …]
Dvsc8575_support.c398 int32_t viper_fmc_board_init(struct phy_control_t *cntrl);
524 int32_t viper_fmc_board_init(struct phy_control_t *cntrl) in viper_fmc_board_init() argument
526 cntrl->phy_reg_read = miim_read; /* Set pointer to the MIIM read function for this board. */ in viper_fmc_board_init()
527 cntrl->phy_reg_write = miim_write; /* Set pointer to the MIIM write function for this board. */ in viper_fmc_board_init()