Lines Matching refs:phy_no

915 static void mvs_update_wideport(struct mvs_info *mvi, int phy_no)  in mvs_update_wideport()  argument
917 struct mvs_phy *phy = &mvi->phy[phy_no]; in mvs_update_wideport()
1123 int phy_no = 0; in mvs_port_notify_deformed() local
1125 while (phy != &mvi->phy[phy_no]) { in mvs_port_notify_deformed()
1126 phy_no++; in mvs_port_notify_deformed()
1127 if (phy_no >= MVS_MAX_PHYS) in mvs_port_notify_deformed()
1131 mvs_do_release_task(phy->mvi, phy_no, dev); in mvs_port_notify_deformed()
1828 int phy_no, struct domain_device *dev) in mvs_do_release_task() argument
1835 phy = &mvi->phy[phy_no]; in mvs_do_release_task()
1882 u32 phy_no = (unsigned long) mwq->data; in mvs_work_queue() local
1884 struct mvs_phy *phy = &mvi->phy[phy_no]; in mvs_work_queue()
1893 tmp = MVS_CHIP_DISP->read_phy_ctl(mvi, phy_no); in mvs_work_queue()
1900 mv_dprintk("phy%d Removed Device\n", phy_no); in mvs_work_queue()
1902 MVS_CHIP_DISP->detect_porttype(mvi, phy_no); in mvs_work_queue()
1903 mvs_update_phyinfo(mvi, phy_no, 1); in mvs_work_queue()
1904 mvs_bytes_dmaed(mvi, phy_no); in mvs_work_queue()
1906 mv_dprintk("phy%d Attached Device\n", phy_no); in mvs_work_queue()
1913 mv_dprintk("phy%d Got Broadcast Change\n", phy_no); in mvs_work_queue()
1943 u8 phy_no; in mvs_sig_time_out() local
1945 for (phy_no = 0; phy_no < mvi->chip->n_phy; phy_no++) { in mvs_sig_time_out()
1946 if (&mvi->phy[phy_no] == phy) { in mvs_sig_time_out()
1948 phy_no+mvi->id*mvi->chip->n_phy); in mvs_sig_time_out()
1949 MVS_CHIP_DISP->phy_reset(mvi, phy_no, MVS_HARD_RESET); in mvs_sig_time_out()
1954 void mvs_int_port(struct mvs_info *mvi, int phy_no, u32 events) in mvs_int_port() argument
1957 struct mvs_phy *phy = &mvi->phy[phy_no]; in mvs_int_port()
1959 phy->irq_status = MVS_CHIP_DISP->read_port_irq_stat(mvi, phy_no); in mvs_int_port()
1960 MVS_CHIP_DISP->write_port_irq_stat(mvi, phy_no, phy->irq_status); in mvs_int_port()
1961 mv_dprintk("phy %d ctrl sts=0x%08X.\n", phy_no+mvi->id*mvi->chip->n_phy, in mvs_int_port()
1962 MVS_CHIP_DISP->read_phy_ctl(mvi, phy_no)); in mvs_int_port()
1963 mv_dprintk("phy %d irq sts = 0x%08X\n", phy_no+mvi->id*mvi->chip->n_phy, in mvs_int_port()
1973 phy_no + mvi->id*mvi->chip->n_phy); in mvs_int_port()
1981 mvs_do_release_task(mvi, phy_no, NULL); in mvs_int_port()
1985 (void *)(unsigned long)phy_no, in mvs_int_port()
1987 ready = mvs_is_phy_ready(mvi, phy_no); in mvs_int_port()
1991 phy_no); in mvs_int_port()
1994 phy_no, MVS_SOFT_RESET); in mvs_int_port()
2001 tmp = MVS_CHIP_DISP->read_port_irq_mask(mvi, phy_no); in mvs_int_port()
2002 MVS_CHIP_DISP->write_port_irq_mask(mvi, phy_no, in mvs_int_port()
2011 phy->phy_status = mvs_is_phy_ready(mvi, phy_no); in mvs_int_port()
2012 mv_dprintk("notify plug in on phy[%d]\n", phy_no); in mvs_int_port()
2015 MVS_CHIP_DISP->detect_porttype(mvi, phy_no); in mvs_int_port()
2018 mvi, phy_no); in mvs_int_port()
2021 phy_no, tmp); in mvs_int_port()
2023 mvs_update_phyinfo(mvi, phy_no, 0); in mvs_int_port()
2025 MVS_CHIP_DISP->phy_reset(mvi, phy_no, MVS_PHY_TUNE); in mvs_int_port()
2029 mvs_bytes_dmaed(mvi, phy_no); in mvs_int_port()
2037 phy_no + mvi->id*mvi->chip->n_phy); in mvs_int_port()
2041 phy_no + mvi->id*mvi->chip->n_phy); in mvs_int_port()
2042 mvs_handle_event(mvi, (void *)(unsigned long)phy_no, in mvs_int_port()