Lines Matching refs:pcontrol

1951 static int resp_err_recov_pg(unsigned char *p, int pcontrol, int target)  in resp_err_recov_pg()  argument
1957 if (1 == pcontrol) in resp_err_recov_pg()
1962 static int resp_disconnect_pg(unsigned char *p, int pcontrol, int target) in resp_disconnect_pg() argument
1968 if (1 == pcontrol) in resp_disconnect_pg()
1973 static int resp_format_pg(unsigned char *p, int pcontrol, int target) in resp_format_pg() argument
1984 if (1 == pcontrol) in resp_format_pg()
1993 static int resp_caching_pg(unsigned char *p, int pcontrol, int target) in resp_caching_pg() argument
2003 if (1 == pcontrol) in resp_caching_pg()
2005 else if (2 == pcontrol) in resp_caching_pg()
2013 static int resp_ctrl_m_pg(unsigned char *p, int pcontrol, int target) in resp_ctrl_m_pg() argument
2029 if (1 == pcontrol) in resp_ctrl_m_pg()
2031 else if (2 == pcontrol) in resp_ctrl_m_pg()
2037 static int resp_iec_m_pg(unsigned char *p, int pcontrol, int target) in resp_iec_m_pg() argument
2045 if (1 == pcontrol) in resp_iec_m_pg()
2047 else if (2 == pcontrol) in resp_iec_m_pg()
2052 static int resp_sas_sf_m_pg(unsigned char *p, int pcontrol, int target) in resp_sas_sf_m_pg() argument
2058 if (1 == pcontrol) in resp_sas_sf_m_pg()
2064 static int resp_sas_pcd_m_spg(unsigned char *p, int pcontrol, int target, in resp_sas_pcd_m_spg() argument
2092 if (1 == pcontrol) in resp_sas_pcd_m_spg()
2097 static int resp_sas_sha_m_spg(unsigned char *p, int pcontrol) in resp_sas_sha_m_spg() argument
2104 if (1 == pcontrol) in resp_sas_sha_m_spg()
2114 int pcontrol, pcode, subpcode, bd_len; in resp_mode_sense() local
2124 pcontrol = (cmd[2] & 0xc0) >> 6; in resp_mode_sense()
2136 if (0x3 == pcontrol) { /* Saving values not supported */ in resp_mode_sense()
2188 len = resp_err_recov_pg(ap, pcontrol, target); in resp_mode_sense()
2192 len = resp_disconnect_pg(ap, pcontrol, target); in resp_mode_sense()
2197 len = resp_format_pg(ap, pcontrol, target); in resp_mode_sense()
2204 len = resp_caching_pg(ap, pcontrol, target); in resp_mode_sense()
2210 len = resp_ctrl_m_pg(ap, pcontrol, target); in resp_mode_sense()
2220 len += resp_sas_sf_m_pg(ap + len, pcontrol, target); in resp_mode_sense()
2222 len += resp_sas_pcd_m_spg(ap + len, pcontrol, target, in resp_mode_sense()
2225 len += resp_sas_sha_m_spg(ap + len, pcontrol); in resp_mode_sense()
2229 len = resp_iec_m_pg(ap, pcontrol, target); in resp_mode_sense()
2234 len = resp_err_recov_pg(ap, pcontrol, target); in resp_mode_sense()
2235 len += resp_disconnect_pg(ap + len, pcontrol, target); in resp_mode_sense()
2237 len += resp_format_pg(ap + len, pcontrol, in resp_mode_sense()
2239 len += resp_caching_pg(ap + len, pcontrol, in resp_mode_sense()
2242 len += resp_ctrl_m_pg(ap + len, pcontrol, target); in resp_mode_sense()
2243 len += resp_sas_sf_m_pg(ap + len, pcontrol, target); in resp_mode_sense()
2245 len += resp_sas_pcd_m_spg(ap + len, pcontrol, in resp_mode_sense()
2247 len += resp_sas_sha_m_spg(ap + len, pcontrol); in resp_mode_sense()
2249 len += resp_iec_m_pg(ap + len, pcontrol, target); in resp_mode_sense()