Lines Matching defs:pcontrol

2488 static int resp_err_recov_pg(unsigned char *p, int pcontrol, int target)
2494 if (1 == pcontrol)
2499 static int resp_disconnect_pg(unsigned char *p, int pcontrol, int target)
2505 if (1 == pcontrol)
2510 static int resp_format_pg(unsigned char *p, int pcontrol, int target)
2521 if (1 == pcontrol)
2530 static int resp_caching_pg(unsigned char *p, int pcontrol, int target)
2540 if (1 == pcontrol)
2542 else if (2 == pcontrol)
2550 static int resp_ctrl_m_pg(unsigned char *p, int pcontrol, int target)
2566 if (1 == pcontrol)
2568 else if (2 == pcontrol)
2574 static int resp_grouping_m_pg(unsigned char *p, int pcontrol, int target)
2601 if (1 == pcontrol) {
2608 static int resp_iec_m_pg(unsigned char *p, int pcontrol, int target)
2616 if (1 == pcontrol)
2618 else if (2 == pcontrol)
2623 static int resp_sas_sf_m_pg(unsigned char *p, int pcontrol, int target)
2629 if (1 == pcontrol)
2635 static int resp_sas_pcd_m_spg(unsigned char *p, int pcontrol, int target,
2663 if (1 == pcontrol)
2668 static int resp_sas_sha_m_spg(unsigned char *p, int pcontrol)
2675 if (1 == pcontrol)
2686 int pcontrol, pcode, subpcode, bd_len;
2700 pcontrol = (cmd[2] & 0xc0) >> 6;
2713 if (0x3 == pcontrol) { /* Saving values not supported */
2758 * len += resp_*_pg(ap + len, pcontrol, target);
2764 len = resp_err_recov_pg(ap, pcontrol, target);
2770 len = resp_disconnect_pg(ap, pcontrol, target);
2777 len = resp_format_pg(ap, pcontrol, target);
2787 len = resp_caching_pg(ap, pcontrol, target);
2796 len = resp_ctrl_m_pg(ap, pcontrol, target);
2799 len = resp_grouping_m_pg(ap, pcontrol, target);
2802 len = resp_ctrl_m_pg(ap, pcontrol, target);
2803 len += resp_grouping_m_pg(ap + len, pcontrol, target);
2815 len += resp_sas_sf_m_pg(ap + len, pcontrol, target);
2817 len += resp_sas_pcd_m_spg(ap + len, pcontrol, target,
2820 len += resp_sas_sha_m_spg(ap + len, pcontrol);
2826 len = resp_iec_m_pg(ap, pcontrol, target);
2832 len = resp_err_recov_pg(ap, pcontrol, target);
2833 len += resp_disconnect_pg(ap + len, pcontrol, target);
2835 len += resp_format_pg(ap + len, pcontrol, target);
2836 len += resp_caching_pg(ap + len, pcontrol, target);
2838 len += resp_caching_pg(ap + len, pcontrol, target);
2840 len += resp_ctrl_m_pg(ap + len, pcontrol, target);
2842 len += resp_grouping_m_pg(ap + len, pcontrol, target);
2843 len += resp_sas_sf_m_pg(ap + len, pcontrol, target);
2845 len += resp_sas_pcd_m_spg(ap + len, pcontrol, target,
2847 len += resp_sas_sha_m_spg(ap + len, pcontrol);
2849 len += resp_iec_m_pg(ap + len, pcontrol, target);