Lines Matching refs:MVS_CHIP_DISP
142 MVS_CHIP_DISP->free_reg_set(mvi, &dev->taskfileset); in mvs_free_reg_set()
150 return MVS_CHIP_DISP->assign_reg_set(mvi, &dev->taskfileset); in mvs_assign_reg_set()
159 MVS_CHIP_DISP->phy_reset(mvi, no, hard); in mvs_phys_reset()
181 MVS_CHIP_DISP->phy_set_link_rate(mvi, phy_id, funcdata); in mvs_phy_control()
185 tmp = MVS_CHIP_DISP->read_phy_ctl(mvi, phy_id); in mvs_phy_control()
188 MVS_CHIP_DISP->phy_reset(mvi, phy_id, MVS_HARD_RESET); in mvs_phy_control()
192 MVS_CHIP_DISP->phy_enable(mvi, phy_id); in mvs_phy_control()
193 MVS_CHIP_DISP->phy_reset(mvi, phy_id, MVS_SOFT_RESET); in mvs_phy_control()
197 MVS_CHIP_DISP->phy_disable(mvi, phy_id); in mvs_phy_control()
213 MVS_CHIP_DISP->write_port_cfg_addr(mvi, port_id, off_lo); in mvs_set_sas_addr()
214 MVS_CHIP_DISP->write_port_cfg_data(mvi, port_id, lo); in mvs_set_sas_addr()
215 MVS_CHIP_DISP->write_port_cfg_addr(mvi, port_id, off_hi); in mvs_set_sas_addr()
216 MVS_CHIP_DISP->write_port_cfg_data(mvi, port_id, hi); in mvs_set_sas_addr()
242 sphy->maximum_linkrate_hw = MVS_CHIP_DISP->phy_max_link_rate(); in mvs_bytes_dmaed()
255 MVS_CHIP_DISP->write_port_cfg_addr(mvi, i, PHYR_PHY_STAT); in mvs_bytes_dmaed()
256 MVS_CHIP_DISP->write_port_cfg_data(mvi, i, 0x00); in mvs_bytes_dmaed()
366 i = MVS_CHIP_DISP->prd_size() * tei->n_elem; in mvs_task_prep_smp()
397 MVS_CHIP_DISP->make_prd(task->scatter, tei->n_elem, buf_prd); in mvs_task_prep_smp()
460 flags = (MVS_CHIP_DISP->prd_count() << MCH_PRD_LEN_SHIFT); in mvs_task_prep_ata()
510 i = MVS_CHIP_DISP->prd_size() * MVS_CHIP_DISP->prd_count(); in mvs_task_prep_ata()
545 MVS_CHIP_DISP->make_prd(task->scatter, tei->n_elem, buf_prd); in mvs_task_prep_ata()
548 MVS_CHIP_DISP->dma_fix(mvi, sas_port->phy_mask, in mvs_task_prep_ata()
626 i = MVS_CHIP_DISP->prd_size() * tei->n_elem; in mvs_task_prep_ssp()
690 MVS_CHIP_DISP->make_prd(task->scatter, tei->n_elem, buf_prd); in mvs_task_prep_ssp()
857 MVS_CHIP_DISP->start_delivery(mvi, (mvi->tx_prod - 1) & in mvs_task_exec()
923 MVS_CHIP_DISP->write_port_cfg_addr(mvi, no, in mvs_update_wideport()
925 MVS_CHIP_DISP->write_port_cfg_data(mvi, no, in mvs_update_wideport()
928 MVS_CHIP_DISP->write_port_cfg_addr(mvi, no, in mvs_update_wideport()
930 MVS_CHIP_DISP->write_port_cfg_data(mvi, no, in mvs_update_wideport()
942 tmp = MVS_CHIP_DISP->read_phy_ctl(mvi, i); in mvs_is_phy_ready()
971 MVS_CHIP_DISP->write_port_cfg_addr(mvi, i, PHYR_SATA_SIG3); in mvs_get_d2h_reg()
972 s[3] = cpu_to_le32(MVS_CHIP_DISP->read_port_cfg_data(mvi, i)); in mvs_get_d2h_reg()
974 MVS_CHIP_DISP->write_port_cfg_addr(mvi, i, PHYR_SATA_SIG2); in mvs_get_d2h_reg()
975 s[2] = cpu_to_le32(MVS_CHIP_DISP->read_port_cfg_data(mvi, i)); in mvs_get_d2h_reg()
977 MVS_CHIP_DISP->write_port_cfg_addr(mvi, i, PHYR_SATA_SIG1); in mvs_get_d2h_reg()
978 s[1] = cpu_to_le32(MVS_CHIP_DISP->read_port_cfg_data(mvi, i)); in mvs_get_d2h_reg()
980 MVS_CHIP_DISP->write_port_cfg_addr(mvi, i, PHYR_SATA_SIG0); in mvs_get_d2h_reg()
981 s[0] = cpu_to_le32(MVS_CHIP_DISP->read_port_cfg_data(mvi, i)); in mvs_get_d2h_reg()
1009 phy->irq_status = MVS_CHIP_DISP->read_port_irq_stat(mvi, i); in mvs_update_phyinfo()
1017 oob_done = MVS_CHIP_DISP->oob_done(mvi, i); in mvs_update_phyinfo()
1019 MVS_CHIP_DISP->fix_phy_info(mvi, i, id); in mvs_update_phyinfo()
1036 tmp = MVS_CHIP_DISP->read_port_irq_mask(mvi, i); in mvs_update_phyinfo()
1037 MVS_CHIP_DISP->write_port_irq_mask(mvi, i, in mvs_update_phyinfo()
1063 if (MVS_CHIP_DISP->phy_work_around) in mvs_update_phyinfo()
1064 MVS_CHIP_DISP->phy_work_around(mvi, i); in mvs_update_phyinfo()
1072 MVS_CHIP_DISP->write_port_irq_stat(mvi, i, phy->irq_status); in mvs_update_phyinfo()
1109 MVS_CHIP_DISP->write_port_cfg_addr(mvi, i, PHYR_PHY_STAT); in mvs_port_notify_formed()
1110 MVS_CHIP_DISP->write_port_cfg_data(mvi, i, 0x04); in mvs_port_notify_formed()
1660 MVS_CHIP_DISP->issue_stop(mvi, type, tfs); in mvs_slot_err()
1662 MVS_CHIP_DISP->command_active(mvi, slot_idx); in mvs_slot_err()
1854 MVS_CHIP_DISP->command_active(mvi, slot_idx); in mvs_do_release_task()
1893 tmp = MVS_CHIP_DISP->read_phy_ctl(mvi, phy_no); in mvs_work_queue()
1902 MVS_CHIP_DISP->detect_porttype(mvi, phy_no); in mvs_work_queue()
1949 MVS_CHIP_DISP->phy_reset(mvi, phy_no, MVS_HARD_RESET); in mvs_sig_time_out()
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()
1962 MVS_CHIP_DISP->read_phy_ctl(mvi, phy_no)); in mvs_int_port()
1983 MVS_CHIP_DISP->clear_srs_irq(mvi, 0, 1); in mvs_int_port()
1989 if (MVS_CHIP_DISP->stp_reset) in mvs_int_port()
1990 MVS_CHIP_DISP->stp_reset(mvi, in mvs_int_port()
1993 MVS_CHIP_DISP->phy_reset(mvi, 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()
2015 MVS_CHIP_DISP->detect_porttype(mvi, phy_no); in mvs_int_port()
2017 tmp = MVS_CHIP_DISP->read_port_irq_mask( in mvs_int_port()
2020 MVS_CHIP_DISP->write_port_irq_mask(mvi, in mvs_int_port()
2025 MVS_CHIP_DISP->phy_reset(mvi, phy_no, MVS_PHY_TUNE); in mvs_int_port()
2067 mvi->rx_cons = MVS_CHIP_DISP->rx_update(mvi) & RX_RING_SZ_MASK; in mvs_int_rx()
2090 MVS_CHIP_DISP->int_full(mvi); in mvs_int_rx()
2100 if (MVS_CHIP_DISP->gpio_write) { in mvs_gpio_write()
2101 return MVS_CHIP_DISP->gpio_write(mvs_prv, reg_type, in mvs_gpio_write()