Lines Matching refs:pcontrol

2148 static int resp_err_recov_pg(unsigned char *p, int pcontrol, int target)  in resp_err_recov_pg()  argument
2154 if (1 == pcontrol) in resp_err_recov_pg()
2159 static int resp_disconnect_pg(unsigned char *p, int pcontrol, int target) in resp_disconnect_pg() argument
2165 if (1 == pcontrol) in resp_disconnect_pg()
2170 static int resp_format_pg(unsigned char *p, int pcontrol, int target) in resp_format_pg() argument
2181 if (1 == pcontrol) in resp_format_pg()
2190 static int resp_caching_pg(unsigned char *p, int pcontrol, int target) in resp_caching_pg() argument
2200 if (1 == pcontrol) in resp_caching_pg()
2202 else if (2 == pcontrol) in resp_caching_pg()
2210 static int resp_ctrl_m_pg(unsigned char *p, int pcontrol, int target) in resp_ctrl_m_pg() argument
2226 if (1 == pcontrol) in resp_ctrl_m_pg()
2228 else if (2 == pcontrol) in resp_ctrl_m_pg()
2234 static int resp_iec_m_pg(unsigned char *p, int pcontrol, int target) in resp_iec_m_pg() argument
2242 if (1 == pcontrol) in resp_iec_m_pg()
2244 else if (2 == pcontrol) in resp_iec_m_pg()
2249 static int resp_sas_sf_m_pg(unsigned char *p, int pcontrol, int target) in resp_sas_sf_m_pg() argument
2255 if (1 == pcontrol) in resp_sas_sf_m_pg()
2261 static int resp_sas_pcd_m_spg(unsigned char *p, int pcontrol, int target, in resp_sas_pcd_m_spg() argument
2289 if (1 == pcontrol) in resp_sas_pcd_m_spg()
2294 static int resp_sas_sha_m_spg(unsigned char *p, int pcontrol) in resp_sas_sha_m_spg() argument
2301 if (1 == pcontrol) in resp_sas_sha_m_spg()
2311 int pcontrol, pcode, subpcode, bd_len; in resp_mode_sense() local
2321 pcontrol = (cmd[2] & 0xc0) >> 6; in resp_mode_sense()
2334 if (0x3 == pcontrol) { /* Saving values not supported */ in resp_mode_sense()
2386 len = resp_err_recov_pg(ap, pcontrol, target); in resp_mode_sense()
2390 len = resp_disconnect_pg(ap, pcontrol, target); in resp_mode_sense()
2395 len = resp_format_pg(ap, pcontrol, target); in resp_mode_sense()
2402 len = resp_caching_pg(ap, pcontrol, target); in resp_mode_sense()
2408 len = resp_ctrl_m_pg(ap, pcontrol, target); in resp_mode_sense()
2418 len += resp_sas_sf_m_pg(ap + len, pcontrol, target); in resp_mode_sense()
2420 len += resp_sas_pcd_m_spg(ap + len, pcontrol, target, in resp_mode_sense()
2423 len += resp_sas_sha_m_spg(ap + len, pcontrol); in resp_mode_sense()
2427 len = resp_iec_m_pg(ap, pcontrol, target); in resp_mode_sense()
2432 len = resp_err_recov_pg(ap, pcontrol, target); in resp_mode_sense()
2433 len += resp_disconnect_pg(ap + len, pcontrol, target); in resp_mode_sense()
2435 len += resp_format_pg(ap + len, pcontrol, in resp_mode_sense()
2437 len += resp_caching_pg(ap + len, pcontrol, in resp_mode_sense()
2440 len += resp_caching_pg(ap + len, pcontrol, in resp_mode_sense()
2443 len += resp_ctrl_m_pg(ap + len, pcontrol, target); in resp_mode_sense()
2444 len += resp_sas_sf_m_pg(ap + len, pcontrol, target); in resp_mode_sense()
2446 len += resp_sas_pcd_m_spg(ap + len, pcontrol, in resp_mode_sense()
2448 len += resp_sas_sha_m_spg(ap + len, pcontrol); in resp_mode_sense()
2450 len += resp_iec_m_pg(ap + len, pcontrol, target); in resp_mode_sense()