Lines Matching refs:pcontrol
2167 static int resp_err_recov_pg(unsigned char *p, int pcontrol, int target) in resp_err_recov_pg() argument
2173 if (1 == pcontrol) in resp_err_recov_pg()
2178 static int resp_disconnect_pg(unsigned char *p, int pcontrol, int target) in resp_disconnect_pg() argument
2184 if (1 == pcontrol) in resp_disconnect_pg()
2189 static int resp_format_pg(unsigned char *p, int pcontrol, int target) in resp_format_pg() argument
2200 if (1 == pcontrol) in resp_format_pg()
2209 static int resp_caching_pg(unsigned char *p, int pcontrol, int target) in resp_caching_pg() argument
2219 if (1 == pcontrol) in resp_caching_pg()
2221 else if (2 == pcontrol) in resp_caching_pg()
2229 static int resp_ctrl_m_pg(unsigned char *p, int pcontrol, int target) in resp_ctrl_m_pg() argument
2245 if (1 == pcontrol) in resp_ctrl_m_pg()
2247 else if (2 == pcontrol) in resp_ctrl_m_pg()
2253 static int resp_iec_m_pg(unsigned char *p, int pcontrol, int target) in resp_iec_m_pg() argument
2261 if (1 == pcontrol) in resp_iec_m_pg()
2263 else if (2 == pcontrol) in resp_iec_m_pg()
2268 static int resp_sas_sf_m_pg(unsigned char *p, int pcontrol, int target) in resp_sas_sf_m_pg() argument
2274 if (1 == pcontrol) in resp_sas_sf_m_pg()
2280 static int resp_sas_pcd_m_spg(unsigned char *p, int pcontrol, int target, in resp_sas_pcd_m_spg() argument
2308 if (1 == pcontrol) in resp_sas_pcd_m_spg()
2313 static int resp_sas_sha_m_spg(unsigned char *p, int pcontrol) in resp_sas_sha_m_spg() argument
2320 if (1 == pcontrol) in resp_sas_sha_m_spg()
2330 int pcontrol, pcode, subpcode, bd_len; in resp_mode_sense() local
2341 pcontrol = (cmd[2] & 0xc0) >> 6; in resp_mode_sense()
2354 if (0x3 == pcontrol) { /* Saving values not supported */ in resp_mode_sense()
2406 len = resp_err_recov_pg(ap, pcontrol, target); in resp_mode_sense()
2410 len = resp_disconnect_pg(ap, pcontrol, target); in resp_mode_sense()
2415 len = resp_format_pg(ap, pcontrol, target); in resp_mode_sense()
2422 len = resp_caching_pg(ap, pcontrol, target); in resp_mode_sense()
2428 len = resp_ctrl_m_pg(ap, pcontrol, target); in resp_mode_sense()
2438 len += resp_sas_sf_m_pg(ap + len, pcontrol, target); in resp_mode_sense()
2440 len += resp_sas_pcd_m_spg(ap + len, pcontrol, target, in resp_mode_sense()
2443 len += resp_sas_sha_m_spg(ap + len, pcontrol); in resp_mode_sense()
2447 len = resp_iec_m_pg(ap, pcontrol, target); in resp_mode_sense()
2452 len = resp_err_recov_pg(ap, pcontrol, target); in resp_mode_sense()
2453 len += resp_disconnect_pg(ap + len, pcontrol, target); in resp_mode_sense()
2455 len += resp_format_pg(ap + len, pcontrol, in resp_mode_sense()
2457 len += resp_caching_pg(ap + len, pcontrol, in resp_mode_sense()
2460 len += resp_caching_pg(ap + len, pcontrol, in resp_mode_sense()
2463 len += resp_ctrl_m_pg(ap + len, pcontrol, target); in resp_mode_sense()
2464 len += resp_sas_sf_m_pg(ap + len, pcontrol, target); in resp_mode_sense()
2466 len += resp_sas_pcd_m_spg(ap + len, pcontrol, in resp_mode_sense()
2468 len += resp_sas_sha_m_spg(ap + len, pcontrol); in resp_mode_sense()
2470 len += resp_iec_m_pg(ap + len, pcontrol, target); in resp_mode_sense()