Lines Matching refs:ppr_options
845 if ((tinfo->curr.ppr_options & MSG_EXT_PPR_IU_REQ) != 0) { in ahd_linux_dev_reset()
1580 || (tinfo->curr.ppr_options & MSG_EXT_PPR_IU_REQ) != 0) { in ahd_linux_run_command()
1610 if ((tinfo->curr.ppr_options & MSG_EXT_PPR_IU_REQ) != 0) in ahd_linux_run_command()
1711 || tinfo->curr.ppr_options != tinfo->goal.ppr_options) in ahd_send_async()
1736 && tinfo->curr.ppr_options == target_ppr_options) in ahd_send_async()
1743 spi_dt(starget) = tinfo->curr.ppr_options & MSG_EXT_PPR_DT_REQ ? 1 : 0; in ahd_send_async()
1744 spi_qas(starget) = tinfo->curr.ppr_options & MSG_EXT_PPR_QAS_REQ ? 1 : 0; in ahd_send_async()
1745 spi_iu(starget) = tinfo->curr.ppr_options & MSG_EXT_PPR_IU_REQ ? 1 : 0; in ahd_send_async()
1746 spi_rd_strm(starget) = tinfo->curr.ppr_options & MSG_EXT_PPR_RD_STRM ? 1 : 0; in ahd_send_async()
1747 spi_pcomp_en(starget) = tinfo->curr.ppr_options & MSG_EXT_PPR_PCOMP_EN ? 1 : 0; in ahd_send_async()
1748 spi_rti(starget) = tinfo->curr.ppr_options & MSG_EXT_PPR_RTI ? 1 : 0; in ahd_send_async()
1749 spi_wr_flow(starget) = tinfo->curr.ppr_options & MSG_EXT_PPR_WR_FLOW ? 1 : 0; in ahd_send_async()
1750 spi_hold_mcs(starget) = tinfo->curr.ppr_options & MSG_EXT_PPR_HOLD_MCS ? 1 : 0; in ahd_send_async()
2412 unsigned int ppr_options = tinfo->goal.ppr_options; in ahd_linux_set_period() local
2428 ppr_options |= MSG_EXT_PPR_DT_REQ; in ahd_linux_set_period()
2430 ppr_options |= MSG_EXT_PPR_IU_REQ; in ahd_linux_set_period()
2435 dt = ppr_options & MSG_EXT_PPR_DT_REQ; in ahd_linux_set_period()
2441 if (ppr_options & ~MSG_EXT_PPR_QAS_REQ) { in ahd_linux_set_period()
2443 ppr_options &= MSG_EXT_PPR_QAS_REQ; in ahd_linux_set_period()
2446 ahd_find_syncrate(ahd, &period, &ppr_options, in ahd_linux_set_period()
2451 ppr_options, AHD_TRANS_GOAL, FALSE); in ahd_linux_set_period()
2465 unsigned int ppr_options = 0; in ahd_linux_set_offset() local
2467 unsigned int dt = ppr_options & MSG_EXT_PPR_DT_REQ; in ahd_linux_set_offset()
2479 ppr_options = tinfo->goal.ppr_options; in ahd_linux_set_offset()
2480 ahd_find_syncrate(ahd, &period, &ppr_options, in ahd_linux_set_offset()
2485 ahd_set_syncrate(ahd, &devinfo, period, offset, ppr_options, in ahd_linux_set_offset()
2500 unsigned int ppr_options = tinfo->goal.ppr_options in ahd_linux_set_dt() local
2512 ppr_options |= MSG_EXT_PPR_DT_REQ; in ahd_linux_set_dt()
2519 ppr_options &= ~MSG_EXT_PPR_IU_REQ; in ahd_linux_set_dt()
2523 ahd_find_syncrate(ahd, &period, &ppr_options, in ahd_linux_set_dt()
2528 ppr_options, AHD_TRANS_GOAL, FALSE); in ahd_linux_set_dt()
2542 unsigned int ppr_options = tinfo->goal.ppr_options in ahd_linux_set_qas() local
2555 ppr_options |= MSG_EXT_PPR_QAS_REQ; in ahd_linux_set_qas()
2558 dt = ppr_options & MSG_EXT_PPR_DT_REQ; in ahd_linux_set_qas()
2562 ahd_find_syncrate(ahd, &period, &ppr_options, in ahd_linux_set_qas()
2567 ppr_options, AHD_TRANS_GOAL, FALSE); in ahd_linux_set_qas()
2581 unsigned int ppr_options = tinfo->goal.ppr_options in ahd_linux_set_iu() local
2594 ppr_options |= MSG_EXT_PPR_IU_REQ; in ahd_linux_set_iu()
2595 ppr_options |= MSG_EXT_PPR_DT_REQ; /* IU requires DT */ in ahd_linux_set_iu()
2598 dt = ppr_options & MSG_EXT_PPR_DT_REQ; in ahd_linux_set_iu()
2602 ahd_find_syncrate(ahd, &period, &ppr_options, in ahd_linux_set_iu()
2607 ppr_options, AHD_TRANS_GOAL, FALSE); in ahd_linux_set_iu()
2621 unsigned int ppr_options = tinfo->goal.ppr_options in ahd_linux_set_rd_strm() local
2624 unsigned int dt = ppr_options & MSG_EXT_PPR_DT_REQ; in ahd_linux_set_rd_strm()
2634 ppr_options |= MSG_EXT_PPR_RD_STRM; in ahd_linux_set_rd_strm()
2638 ahd_find_syncrate(ahd, &period, &ppr_options, in ahd_linux_set_rd_strm()
2643 ppr_options, AHD_TRANS_GOAL, FALSE); in ahd_linux_set_rd_strm()
2657 unsigned int ppr_options = tinfo->goal.ppr_options in ahd_linux_set_wr_flow() local
2660 unsigned int dt = ppr_options & MSG_EXT_PPR_DT_REQ; in ahd_linux_set_wr_flow()
2670 ppr_options |= MSG_EXT_PPR_WR_FLOW; in ahd_linux_set_wr_flow()
2674 ahd_find_syncrate(ahd, &period, &ppr_options, in ahd_linux_set_wr_flow()
2679 ppr_options, AHD_TRANS_GOAL, FALSE); in ahd_linux_set_wr_flow()
2693 unsigned int ppr_options = tinfo->goal.ppr_options in ahd_linux_set_rti() local
2696 unsigned int dt = ppr_options & MSG_EXT_PPR_DT_REQ; in ahd_linux_set_rti()
2714 ppr_options |= MSG_EXT_PPR_RTI; in ahd_linux_set_rti()
2718 ahd_find_syncrate(ahd, &period, &ppr_options, in ahd_linux_set_rti()
2723 ppr_options, AHD_TRANS_GOAL, FALSE); in ahd_linux_set_rti()
2737 unsigned int ppr_options = tinfo->goal.ppr_options in ahd_linux_set_pcomp_en() local
2740 unsigned int dt = ppr_options & MSG_EXT_PPR_DT_REQ; in ahd_linux_set_pcomp_en()
2760 ppr_options |= MSG_EXT_PPR_PCOMP_EN; in ahd_linux_set_pcomp_en()
2768 ahd_find_syncrate(ahd, &period, &ppr_options, in ahd_linux_set_pcomp_en()
2773 ppr_options, AHD_TRANS_GOAL, FALSE); in ahd_linux_set_pcomp_en()
2787 unsigned int ppr_options = tinfo->goal.ppr_options in ahd_linux_set_hold_mcs() local
2790 unsigned int dt = ppr_options & MSG_EXT_PPR_DT_REQ; in ahd_linux_set_hold_mcs()
2794 ppr_options |= MSG_EXT_PPR_HOLD_MCS; in ahd_linux_set_hold_mcs()
2798 ahd_find_syncrate(ahd, &period, &ppr_options, in ahd_linux_set_hold_mcs()
2803 ppr_options, AHD_TRANS_GOAL, FALSE); in ahd_linux_set_hold_mcs()