Lines Matching refs:pcontrol

2158 static int resp_err_recov_pg(unsigned char *p, int pcontrol, int target)  in resp_err_recov_pg()  argument
2164 if (1 == pcontrol) in resp_err_recov_pg()
2169 static int resp_disconnect_pg(unsigned char *p, int pcontrol, int target) in resp_disconnect_pg() argument
2175 if (1 == pcontrol) in resp_disconnect_pg()
2180 static int resp_format_pg(unsigned char *p, int pcontrol, int target) in resp_format_pg() argument
2191 if (1 == pcontrol) in resp_format_pg()
2200 static int resp_caching_pg(unsigned char *p, int pcontrol, int target) in resp_caching_pg() argument
2210 if (1 == pcontrol) in resp_caching_pg()
2212 else if (2 == pcontrol) in resp_caching_pg()
2220 static int resp_ctrl_m_pg(unsigned char *p, int pcontrol, int target) in resp_ctrl_m_pg() argument
2236 if (1 == pcontrol) in resp_ctrl_m_pg()
2238 else if (2 == pcontrol) in resp_ctrl_m_pg()
2244 static int resp_iec_m_pg(unsigned char *p, int pcontrol, int target) in resp_iec_m_pg() argument
2252 if (1 == pcontrol) in resp_iec_m_pg()
2254 else if (2 == pcontrol) in resp_iec_m_pg()
2259 static int resp_sas_sf_m_pg(unsigned char *p, int pcontrol, int target) in resp_sas_sf_m_pg() argument
2265 if (1 == pcontrol) in resp_sas_sf_m_pg()
2271 static int resp_sas_pcd_m_spg(unsigned char *p, int pcontrol, int target, in resp_sas_pcd_m_spg() argument
2299 if (1 == pcontrol) in resp_sas_pcd_m_spg()
2304 static int resp_sas_sha_m_spg(unsigned char *p, int pcontrol) in resp_sas_sha_m_spg() argument
2311 if (1 == pcontrol) in resp_sas_sha_m_spg()
2321 int pcontrol, pcode, subpcode, bd_len; in resp_mode_sense() local
2332 pcontrol = (cmd[2] & 0xc0) >> 6; in resp_mode_sense()
2345 if (0x3 == pcontrol) { /* Saving values not supported */ in resp_mode_sense()
2397 len = resp_err_recov_pg(ap, pcontrol, target); in resp_mode_sense()
2401 len = resp_disconnect_pg(ap, pcontrol, target); in resp_mode_sense()
2406 len = resp_format_pg(ap, pcontrol, target); in resp_mode_sense()
2413 len = resp_caching_pg(ap, pcontrol, target); in resp_mode_sense()
2419 len = resp_ctrl_m_pg(ap, pcontrol, target); in resp_mode_sense()
2429 len += resp_sas_sf_m_pg(ap + len, pcontrol, target); in resp_mode_sense()
2431 len += resp_sas_pcd_m_spg(ap + len, pcontrol, target, in resp_mode_sense()
2434 len += resp_sas_sha_m_spg(ap + len, pcontrol); in resp_mode_sense()
2438 len = resp_iec_m_pg(ap, pcontrol, target); in resp_mode_sense()
2443 len = resp_err_recov_pg(ap, pcontrol, target); in resp_mode_sense()
2444 len += resp_disconnect_pg(ap + len, pcontrol, target); in resp_mode_sense()
2446 len += resp_format_pg(ap + len, pcontrol, in resp_mode_sense()
2448 len += resp_caching_pg(ap + len, pcontrol, in resp_mode_sense()
2451 len += resp_caching_pg(ap + len, pcontrol, in resp_mode_sense()
2454 len += resp_ctrl_m_pg(ap + len, pcontrol, target); in resp_mode_sense()
2455 len += resp_sas_sf_m_pg(ap + len, pcontrol, target); in resp_mode_sense()
2457 len += resp_sas_pcd_m_spg(ap + len, pcontrol, in resp_mode_sense()
2459 len += resp_sas_sha_m_spg(ap + len, pcontrol); in resp_mode_sense()
2461 len += resp_iec_m_pg(ap + len, pcontrol, target); in resp_mode_sense()