Lines Matching refs:pcontrol
2179 static int resp_err_recov_pg(unsigned char *p, int pcontrol, int target) in resp_err_recov_pg() argument
2185 if (1 == pcontrol) in resp_err_recov_pg()
2190 static int resp_disconnect_pg(unsigned char *p, int pcontrol, int target) in resp_disconnect_pg() argument
2196 if (1 == pcontrol) in resp_disconnect_pg()
2201 static int resp_format_pg(unsigned char *p, int pcontrol, int target) in resp_format_pg() argument
2212 if (1 == pcontrol) in resp_format_pg()
2221 static int resp_caching_pg(unsigned char *p, int pcontrol, int target) in resp_caching_pg() argument
2231 if (1 == pcontrol) in resp_caching_pg()
2233 else if (2 == pcontrol) in resp_caching_pg()
2241 static int resp_ctrl_m_pg(unsigned char *p, int pcontrol, int target) in resp_ctrl_m_pg() argument
2257 if (1 == pcontrol) in resp_ctrl_m_pg()
2259 else if (2 == pcontrol) in resp_ctrl_m_pg()
2265 static int resp_iec_m_pg(unsigned char *p, int pcontrol, int target) in resp_iec_m_pg() argument
2273 if (1 == pcontrol) in resp_iec_m_pg()
2275 else if (2 == pcontrol) in resp_iec_m_pg()
2280 static int resp_sas_sf_m_pg(unsigned char *p, int pcontrol, int target) in resp_sas_sf_m_pg() argument
2286 if (1 == pcontrol) in resp_sas_sf_m_pg()
2292 static int resp_sas_pcd_m_spg(unsigned char *p, int pcontrol, int target, in resp_sas_pcd_m_spg() argument
2320 if (1 == pcontrol) in resp_sas_pcd_m_spg()
2325 static int resp_sas_sha_m_spg(unsigned char *p, int pcontrol) in resp_sas_sha_m_spg() argument
2332 if (1 == pcontrol) in resp_sas_sha_m_spg()
2342 int pcontrol, pcode, subpcode, bd_len; in resp_mode_sense() local
2353 pcontrol = (cmd[2] & 0xc0) >> 6; in resp_mode_sense()
2366 if (0x3 == pcontrol) { /* Saving values not supported */ in resp_mode_sense()
2418 len = resp_err_recov_pg(ap, pcontrol, target); in resp_mode_sense()
2422 len = resp_disconnect_pg(ap, pcontrol, target); in resp_mode_sense()
2427 len = resp_format_pg(ap, pcontrol, target); in resp_mode_sense()
2434 len = resp_caching_pg(ap, pcontrol, target); in resp_mode_sense()
2440 len = resp_ctrl_m_pg(ap, pcontrol, target); in resp_mode_sense()
2450 len += resp_sas_sf_m_pg(ap + len, pcontrol, target); in resp_mode_sense()
2452 len += resp_sas_pcd_m_spg(ap + len, pcontrol, target, in resp_mode_sense()
2455 len += resp_sas_sha_m_spg(ap + len, pcontrol); in resp_mode_sense()
2459 len = resp_iec_m_pg(ap, pcontrol, target); in resp_mode_sense()
2464 len = resp_err_recov_pg(ap, pcontrol, target); in resp_mode_sense()
2465 len += resp_disconnect_pg(ap + len, pcontrol, target); in resp_mode_sense()
2467 len += resp_format_pg(ap + len, pcontrol, in resp_mode_sense()
2469 len += resp_caching_pg(ap + len, pcontrol, in resp_mode_sense()
2472 len += resp_caching_pg(ap + len, pcontrol, in resp_mode_sense()
2475 len += resp_ctrl_m_pg(ap + len, pcontrol, target); in resp_mode_sense()
2476 len += resp_sas_sf_m_pg(ap + len, pcontrol, target); in resp_mode_sense()
2478 len += resp_sas_pcd_m_spg(ap + len, pcontrol, in resp_mode_sense()
2480 len += resp_sas_sha_m_spg(ap + len, pcontrol); in resp_mode_sense()
2482 len += resp_iec_m_pg(ap + len, pcontrol, target); in resp_mode_sense()