Lines Matching refs:ppr_options
845 if ((tinfo->curr.ppr_options & MSG_EXT_PPR_IU_REQ) != 0) { in ahd_linux_dev_reset()
1578 || (tinfo->curr.ppr_options & MSG_EXT_PPR_IU_REQ) != 0) { in ahd_linux_run_command()
1608 if ((tinfo->curr.ppr_options & MSG_EXT_PPR_IU_REQ) != 0) in ahd_linux_run_command()
1709 || tinfo->curr.ppr_options != tinfo->goal.ppr_options) in ahd_send_async()
1734 && tinfo->curr.ppr_options == target_ppr_options) in ahd_send_async()
1741 spi_dt(starget) = tinfo->curr.ppr_options & MSG_EXT_PPR_DT_REQ ? 1 : 0; in ahd_send_async()
1742 spi_qas(starget) = tinfo->curr.ppr_options & MSG_EXT_PPR_QAS_REQ ? 1 : 0; in ahd_send_async()
1743 spi_iu(starget) = tinfo->curr.ppr_options & MSG_EXT_PPR_IU_REQ ? 1 : 0; in ahd_send_async()
1744 spi_rd_strm(starget) = tinfo->curr.ppr_options & MSG_EXT_PPR_RD_STRM ? 1 : 0; in ahd_send_async()
1745 spi_pcomp_en(starget) = tinfo->curr.ppr_options & MSG_EXT_PPR_PCOMP_EN ? 1 : 0; in ahd_send_async()
1746 spi_rti(starget) = tinfo->curr.ppr_options & MSG_EXT_PPR_RTI ? 1 : 0; in ahd_send_async()
1747 spi_wr_flow(starget) = tinfo->curr.ppr_options & MSG_EXT_PPR_WR_FLOW ? 1 : 0; in ahd_send_async()
1748 spi_hold_mcs(starget) = tinfo->curr.ppr_options & MSG_EXT_PPR_HOLD_MCS ? 1 : 0; in ahd_send_async()
2410 unsigned int ppr_options = tinfo->goal.ppr_options; in ahd_linux_set_period() local
2426 ppr_options |= MSG_EXT_PPR_DT_REQ; in ahd_linux_set_period()
2428 ppr_options |= MSG_EXT_PPR_IU_REQ; in ahd_linux_set_period()
2433 dt = ppr_options & MSG_EXT_PPR_DT_REQ; in ahd_linux_set_period()
2439 if (ppr_options & ~MSG_EXT_PPR_QAS_REQ) { in ahd_linux_set_period()
2441 ppr_options &= MSG_EXT_PPR_QAS_REQ; in ahd_linux_set_period()
2444 ahd_find_syncrate(ahd, &period, &ppr_options, in ahd_linux_set_period()
2449 ppr_options, AHD_TRANS_GOAL, FALSE); in ahd_linux_set_period()
2463 unsigned int ppr_options = 0; in ahd_linux_set_offset() local
2465 unsigned int dt = ppr_options & MSG_EXT_PPR_DT_REQ; in ahd_linux_set_offset()
2477 ppr_options = tinfo->goal.ppr_options; in ahd_linux_set_offset()
2478 ahd_find_syncrate(ahd, &period, &ppr_options, in ahd_linux_set_offset()
2483 ahd_set_syncrate(ahd, &devinfo, period, offset, ppr_options, in ahd_linux_set_offset()
2498 unsigned int ppr_options = tinfo->goal.ppr_options in ahd_linux_set_dt() local
2510 ppr_options |= MSG_EXT_PPR_DT_REQ; in ahd_linux_set_dt()
2517 ppr_options &= ~MSG_EXT_PPR_IU_REQ; in ahd_linux_set_dt()
2521 ahd_find_syncrate(ahd, &period, &ppr_options, in ahd_linux_set_dt()
2526 ppr_options, AHD_TRANS_GOAL, FALSE); in ahd_linux_set_dt()
2540 unsigned int ppr_options = tinfo->goal.ppr_options in ahd_linux_set_qas() local
2553 ppr_options |= MSG_EXT_PPR_QAS_REQ; in ahd_linux_set_qas()
2556 dt = ppr_options & MSG_EXT_PPR_DT_REQ; in ahd_linux_set_qas()
2560 ahd_find_syncrate(ahd, &period, &ppr_options, in ahd_linux_set_qas()
2565 ppr_options, AHD_TRANS_GOAL, FALSE); in ahd_linux_set_qas()
2579 unsigned int ppr_options = tinfo->goal.ppr_options in ahd_linux_set_iu() local
2592 ppr_options |= MSG_EXT_PPR_IU_REQ; in ahd_linux_set_iu()
2593 ppr_options |= MSG_EXT_PPR_DT_REQ; /* IU requires DT */ in ahd_linux_set_iu()
2596 dt = ppr_options & MSG_EXT_PPR_DT_REQ; in ahd_linux_set_iu()
2600 ahd_find_syncrate(ahd, &period, &ppr_options, in ahd_linux_set_iu()
2605 ppr_options, AHD_TRANS_GOAL, FALSE); in ahd_linux_set_iu()
2619 unsigned int ppr_options = tinfo->goal.ppr_options in ahd_linux_set_rd_strm() local
2622 unsigned int dt = ppr_options & MSG_EXT_PPR_DT_REQ; in ahd_linux_set_rd_strm()
2632 ppr_options |= MSG_EXT_PPR_RD_STRM; in ahd_linux_set_rd_strm()
2636 ahd_find_syncrate(ahd, &period, &ppr_options, in ahd_linux_set_rd_strm()
2641 ppr_options, AHD_TRANS_GOAL, FALSE); in ahd_linux_set_rd_strm()
2655 unsigned int ppr_options = tinfo->goal.ppr_options in ahd_linux_set_wr_flow() local
2658 unsigned int dt = ppr_options & MSG_EXT_PPR_DT_REQ; in ahd_linux_set_wr_flow()
2668 ppr_options |= MSG_EXT_PPR_WR_FLOW; in ahd_linux_set_wr_flow()
2672 ahd_find_syncrate(ahd, &period, &ppr_options, in ahd_linux_set_wr_flow()
2677 ppr_options, AHD_TRANS_GOAL, FALSE); in ahd_linux_set_wr_flow()
2691 unsigned int ppr_options = tinfo->goal.ppr_options in ahd_linux_set_rti() local
2694 unsigned int dt = ppr_options & MSG_EXT_PPR_DT_REQ; in ahd_linux_set_rti()
2712 ppr_options |= MSG_EXT_PPR_RTI; in ahd_linux_set_rti()
2716 ahd_find_syncrate(ahd, &period, &ppr_options, in ahd_linux_set_rti()
2721 ppr_options, AHD_TRANS_GOAL, FALSE); in ahd_linux_set_rti()
2735 unsigned int ppr_options = tinfo->goal.ppr_options in ahd_linux_set_pcomp_en() local
2738 unsigned int dt = ppr_options & MSG_EXT_PPR_DT_REQ; in ahd_linux_set_pcomp_en()
2758 ppr_options |= MSG_EXT_PPR_PCOMP_EN; in ahd_linux_set_pcomp_en()
2766 ahd_find_syncrate(ahd, &period, &ppr_options, in ahd_linux_set_pcomp_en()
2771 ppr_options, AHD_TRANS_GOAL, FALSE); in ahd_linux_set_pcomp_en()
2785 unsigned int ppr_options = tinfo->goal.ppr_options in ahd_linux_set_hold_mcs() local
2788 unsigned int dt = ppr_options & MSG_EXT_PPR_DT_REQ; in ahd_linux_set_hold_mcs()
2792 ppr_options |= MSG_EXT_PPR_HOLD_MCS; in ahd_linux_set_hold_mcs()
2796 ahd_find_syncrate(ahd, &period, &ppr_options, in ahd_linux_set_hold_mcs()
2801 ppr_options, AHD_TRANS_GOAL, FALSE); in ahd_linux_set_hold_mcs()