Lines Matching refs:pcontrol
2149 static int resp_err_recov_pg(unsigned char *p, int pcontrol, int target) in resp_err_recov_pg() argument
2155 if (1 == pcontrol) in resp_err_recov_pg()
2160 static int resp_disconnect_pg(unsigned char *p, int pcontrol, int target) in resp_disconnect_pg() argument
2166 if (1 == pcontrol) in resp_disconnect_pg()
2171 static int resp_format_pg(unsigned char *p, int pcontrol, int target) in resp_format_pg() argument
2182 if (1 == pcontrol) in resp_format_pg()
2191 static int resp_caching_pg(unsigned char *p, int pcontrol, int target) in resp_caching_pg() argument
2201 if (1 == pcontrol) in resp_caching_pg()
2203 else if (2 == pcontrol) in resp_caching_pg()
2211 static int resp_ctrl_m_pg(unsigned char *p, int pcontrol, int target) in resp_ctrl_m_pg() argument
2227 if (1 == pcontrol) in resp_ctrl_m_pg()
2229 else if (2 == pcontrol) in resp_ctrl_m_pg()
2235 static int resp_iec_m_pg(unsigned char *p, int pcontrol, int target) in resp_iec_m_pg() argument
2243 if (1 == pcontrol) in resp_iec_m_pg()
2245 else if (2 == pcontrol) in resp_iec_m_pg()
2250 static int resp_sas_sf_m_pg(unsigned char *p, int pcontrol, int target) in resp_sas_sf_m_pg() argument
2256 if (1 == pcontrol) in resp_sas_sf_m_pg()
2262 static int resp_sas_pcd_m_spg(unsigned char *p, int pcontrol, int target, in resp_sas_pcd_m_spg() argument
2290 if (1 == pcontrol) in resp_sas_pcd_m_spg()
2295 static int resp_sas_sha_m_spg(unsigned char *p, int pcontrol) in resp_sas_sha_m_spg() argument
2302 if (1 == pcontrol) in resp_sas_sha_m_spg()
2312 int pcontrol, pcode, subpcode, bd_len; in resp_mode_sense() local
2322 pcontrol = (cmd[2] & 0xc0) >> 6; in resp_mode_sense()
2335 if (0x3 == pcontrol) { /* Saving values not supported */ in resp_mode_sense()
2387 len = resp_err_recov_pg(ap, pcontrol, target); in resp_mode_sense()
2391 len = resp_disconnect_pg(ap, pcontrol, target); in resp_mode_sense()
2396 len = resp_format_pg(ap, pcontrol, target); in resp_mode_sense()
2403 len = resp_caching_pg(ap, pcontrol, target); in resp_mode_sense()
2409 len = resp_ctrl_m_pg(ap, pcontrol, target); in resp_mode_sense()
2419 len += resp_sas_sf_m_pg(ap + len, pcontrol, target); in resp_mode_sense()
2421 len += resp_sas_pcd_m_spg(ap + len, pcontrol, target, in resp_mode_sense()
2424 len += resp_sas_sha_m_spg(ap + len, pcontrol); in resp_mode_sense()
2428 len = resp_iec_m_pg(ap, pcontrol, target); in resp_mode_sense()
2433 len = resp_err_recov_pg(ap, pcontrol, target); in resp_mode_sense()
2434 len += resp_disconnect_pg(ap + len, pcontrol, target); in resp_mode_sense()
2436 len += resp_format_pg(ap + len, pcontrol, in resp_mode_sense()
2438 len += resp_caching_pg(ap + len, pcontrol, in resp_mode_sense()
2441 len += resp_caching_pg(ap + len, pcontrol, in resp_mode_sense()
2444 len += resp_ctrl_m_pg(ap + len, pcontrol, target); in resp_mode_sense()
2445 len += resp_sas_sf_m_pg(ap + len, pcontrol, target); in resp_mode_sense()
2447 len += resp_sas_pcd_m_spg(ap + len, pcontrol, in resp_mode_sense()
2449 len += resp_sas_sha_m_spg(ap + len, pcontrol); in resp_mode_sense()
2451 len += resp_iec_m_pg(ap + len, pcontrol, target); in resp_mode_sense()