Lines Matching refs:pcontrol
1957 static int resp_err_recov_pg(unsigned char *p, int pcontrol, int target) in resp_err_recov_pg() argument
1963 if (1 == pcontrol) in resp_err_recov_pg()
1968 static int resp_disconnect_pg(unsigned char *p, int pcontrol, int target) in resp_disconnect_pg() argument
1974 if (1 == pcontrol) in resp_disconnect_pg()
1979 static int resp_format_pg(unsigned char *p, int pcontrol, int target) in resp_format_pg() argument
1990 if (1 == pcontrol) in resp_format_pg()
1999 static int resp_caching_pg(unsigned char *p, int pcontrol, int target) in resp_caching_pg() argument
2009 if (1 == pcontrol) in resp_caching_pg()
2011 else if (2 == pcontrol) in resp_caching_pg()
2019 static int resp_ctrl_m_pg(unsigned char *p, int pcontrol, int target) in resp_ctrl_m_pg() argument
2035 if (1 == pcontrol) in resp_ctrl_m_pg()
2037 else if (2 == pcontrol) in resp_ctrl_m_pg()
2043 static int resp_iec_m_pg(unsigned char *p, int pcontrol, int target) in resp_iec_m_pg() argument
2051 if (1 == pcontrol) in resp_iec_m_pg()
2053 else if (2 == pcontrol) in resp_iec_m_pg()
2058 static int resp_sas_sf_m_pg(unsigned char *p, int pcontrol, int target) in resp_sas_sf_m_pg() argument
2064 if (1 == pcontrol) in resp_sas_sf_m_pg()
2070 static int resp_sas_pcd_m_spg(unsigned char *p, int pcontrol, int target, in resp_sas_pcd_m_spg() argument
2098 if (1 == pcontrol) in resp_sas_pcd_m_spg()
2103 static int resp_sas_sha_m_spg(unsigned char *p, int pcontrol) in resp_sas_sha_m_spg() argument
2110 if (1 == pcontrol) in resp_sas_sha_m_spg()
2120 int pcontrol, pcode, subpcode, bd_len; in resp_mode_sense() local
2130 pcontrol = (cmd[2] & 0xc0) >> 6; in resp_mode_sense()
2142 if (0x3 == pcontrol) { /* Saving values not supported */ in resp_mode_sense()
2192 len = resp_err_recov_pg(ap, pcontrol, target); in resp_mode_sense()
2196 len = resp_disconnect_pg(ap, pcontrol, target); in resp_mode_sense()
2201 len = resp_format_pg(ap, pcontrol, target); in resp_mode_sense()
2208 len = resp_caching_pg(ap, pcontrol, target); in resp_mode_sense()
2214 len = resp_ctrl_m_pg(ap, pcontrol, target); in resp_mode_sense()
2224 len += resp_sas_sf_m_pg(ap + len, pcontrol, target); in resp_mode_sense()
2226 len += resp_sas_pcd_m_spg(ap + len, pcontrol, target, in resp_mode_sense()
2229 len += resp_sas_sha_m_spg(ap + len, pcontrol); in resp_mode_sense()
2233 len = resp_iec_m_pg(ap, pcontrol, target); in resp_mode_sense()
2238 len = resp_err_recov_pg(ap, pcontrol, target); in resp_mode_sense()
2239 len += resp_disconnect_pg(ap + len, pcontrol, target); in resp_mode_sense()
2241 len += resp_format_pg(ap + len, pcontrol, in resp_mode_sense()
2243 len += resp_caching_pg(ap + len, pcontrol, in resp_mode_sense()
2246 len += resp_ctrl_m_pg(ap + len, pcontrol, target); in resp_mode_sense()
2247 len += resp_sas_sf_m_pg(ap + len, pcontrol, target); in resp_mode_sense()
2249 len += resp_sas_pcd_m_spg(ap + len, pcontrol, in resp_mode_sense()
2251 len += resp_sas_sha_m_spg(ap + len, pcontrol); in resp_mode_sense()
2253 len += resp_iec_m_pg(ap + len, pcontrol, target); in resp_mode_sense()