• Home
  • Raw
  • Download

Lines Matching +full:0 +full:x3a000000

45 	.start	= CSR_REGISTER_BASE + 0x10000,
46 .end = 0x1000000000000ULL,
50 0x1200609e, /* unit_specifier_id: NCITS/T10 */
51 0x13010483, /* unit_sw_version: 1155D Rev 4 */
52 0x3800609e, /* command_set_specifier_id: NCITS/T10 */
53 0x390104d8, /* command_set: SPC-2 */
54 0x3b000000, /* command_set_revision: 0 */
55 0x3c000001, /* firmware_revision: 1 */
60 static atomic_t login_id = ATOMIC_INIT(0);
130 int count = 0; in sbp_login_count_all_by_lun()
183 *err = 0; in sbp_get_lun_from_tpg()
339 sbp_login_count_all_by_lun(tpg, unpacked_lun, 0)) { in sbp_management_request_login()
365 if (sbp_login_count_all_by_lun(tpg, unpacked_lun, 0) >= in sbp_management_request_login()
461 ((login_response_len & 0xffff) << 16) | in sbp_management_request_login()
462 (login->login_id & 0xffff)); in sbp_management_request_login()
463 response->reconnect_hold = cpu_to_be32(sess->reconnect_hold & 0xffff); in sbp_management_request_login()
743 pr_debug("tgt_agent ORB_POINTER write: 0x%llx\n", in tgt_agent_rw_orb_pointer()
839 if (offset == 0x00 && length == 4) { in tgt_agent_rw()
842 } else if (offset == 0x04 && length == 4) { in tgt_agent_rw()
845 } else if (offset == 0x08 && length == 8) { in tgt_agent_rw()
848 } else if (offset == 0x10 && length == 4) { in tgt_agent_rw()
851 } else if (offset == 0x14 && length == 4) { in tgt_agent_rw()
872 pr_debug("tgt_orb ptr:0x%llx next_ORB:0x%llx data_descriptor:0x%llx misc:0x%x\n", in tgt_agent_process_work()
882 case 0:/* Format specified by this standard */ in tgt_agent_process_work()
890 STATUS_BLOCK_DEAD(0) | in tgt_agent_process_work()
900 STATUS_BLOCK_DEAD(0) | in tgt_agent_process_work()
931 if (tag < 0) in sbp_mgt_get_req()
935 memset(req, 0, sizeof(*req)); in sbp_mgt_get_req()
968 req->orb_pointer & 0xfffffffc); in tgt_agent_fetch_work()
994 if (be32_to_cpu(req->orb.next_orb.high) & 0x80000000) { in tgt_agent_fetch_work()
995 next_orb = 0; in tgt_agent_fetch_work()
1037 agent->handler.length = 0x20; in sbp_target_agent_register()
1044 agent->orb_pointer = 0; in sbp_target_agent_register()
1049 if (ret < 0) { in sbp_target_agent_register()
1148 return 0; in sbp_fetch_command()
1157 return 0; in sbp_fetch_page_table()
1175 return 0; in sbp_fetch_page_table()
1187 *data_len = 0; in sbp_calc_data_length_direction()
1195 *data_len = 0; in sbp_calc_data_length_direction()
1196 for (idx = 0; idx < data_size; idx++) { in sbp_calc_data_length_direction()
1229 pr_debug("sbp_handle_command ORB:0x%llx unpacked_lun:%d data_len:%d data_dir:%d\n", in sbp_handle_command()
1244 STATUS_BLOCK_DEAD(0) | in sbp_handle_command()
1279 pg_size = 0x100 << pg_size; in sbp_rw_data()
1292 offset = 0; in sbp_rw_data()
1293 length = 0; in sbp_rw_data()
1296 num_pte = 0; in sbp_rw_data()
1337 WARN_ON(length != 0); in sbp_rw_data()
1338 return 0; in sbp_rw_data()
1346 int rc, ret = 0, length; in sbp_send_status()
1349 length = (((be32_to_cpu(req->status.status) >> 24) & 0x07) + 1) * 4; in sbp_send_status()
1354 pr_debug("sbp_send_status: write failed: 0x%x\n", rc); in sbp_send_status()
1359 pr_debug("sbp_send_status: status write complete for ORB: 0x%llx\n", in sbp_send_status()
1379 switch (sense[0] & 0x7f) { /* sfmt */ in sbp_sense_mangle()
1380 case 0x70: /* current, fixed */ in sbp_sense_mangle()
1381 status[0] = 0 << 6; in sbp_sense_mangle()
1383 case 0x71: /* deferred, fixed */ in sbp_sense_mangle()
1384 status[0] = 1 << 6; in sbp_sense_mangle()
1386 case 0x72: /* current, descriptor */ in sbp_sense_mangle()
1387 case 0x73: /* deferred, descriptor */ in sbp_sense_mangle()
1393 pr_err("sbp_send_sense: unknown sense format: 0x%x\n", in sbp_sense_mangle()
1394 sense[0]); in sbp_sense_mangle()
1397 STATUS_BLOCK_DEAD(0) | in sbp_sense_mangle()
1403 status[0] |= se_cmd->scsi_status & 0x3f;/* status */ in sbp_sense_mangle()
1405 (sense[0] & 0x80) | /* valid */ in sbp_sense_mangle()
1406 ((sense[2] & 0xe0) >> 1) | /* mark, eom, ili */ in sbp_sense_mangle()
1407 (sense[2] & 0x0f); /* sense_key */ in sbp_sense_mangle()
1433 STATUS_BLOCK_DEAD(0) | in sbp_sense_mangle()
1447 STATUS_BLOCK_DEAD(0) | in sbp_send_sense()
1472 int status_data_len = 0; in sbp_mgt_agent_process()
1483 pr_debug("mgt_orb ptr1:0x%llx ptr2:0x%llx misc:0x%x len:0x%x status_fifo:0x%llx\n", in sbp_mgt_agent_process()
1490 ORB_REQUEST_FORMAT(be32_to_cpu(req->orb.misc)) != 0) { in sbp_mgt_agent_process()
1559 pr_notice("unknown management function 0x%x\n", in sbp_mgt_agent_process()
1662 agent->handler.length = 0x08; in sbp_management_agent_register()
1667 agent->orb_offset = 0; in sbp_management_agent_register()
1672 if (ret < 0) { in sbp_management_agent_register()
1694 return 0; in sbp_check_false()
1707 return &tport->tport_name[0]; in sbp_get_fabric_wwn()
1731 return 0; in sbp_sess_get_index()
1745 STATUS_BLOCK_DEAD(0) | in sbp_write_pending()
1754 return 0; in sbp_write_pending()
1759 return 0; in sbp_write_pending_status()
1769 return 0; in sbp_get_cmd_state()
1782 STATUS_BLOCK_DEAD(0) | in sbp_queue_data_in()
1818 return transport_generic_free_cmd(&req->se_cmd, 0); in sbp_check_stop_free()
1824 int count = 0; in sbp_count_se_tpg_luns()
1837 int num_luns, num_entries, idx = 0, mgt_agt_addr, ret; in sbp_update_unit_directory()
1847 return 0; in sbp_update_unit_directory()
1886 data[idx++] = 0x54000000 | (mgt_agt_addr & 0x00ffffff); in sbp_update_unit_directory()
1889 data[idx++] = 0x3a000000 | in sbp_update_unit_directory()
1890 (((tport->mgt_orb_timeout * 2) << 8) & 0xff00) | in sbp_update_unit_directory()
1894 data[idx++] = 0x3d000000 | (tport->max_reconnect_timeout & 0xffff); in sbp_update_unit_directory()
1897 data[idx++] = 0x8d000000 | (num_luns + 1); in sbp_update_unit_directory()
1911 data[idx++] = 0x14000000 | in sbp_update_unit_directory()
1912 ((type << 16) & 0x1f0000) | in sbp_update_unit_directory()
1913 (lun->unpacked_lun & 0xffff); in sbp_update_unit_directory()
1927 if (ret < 0) { in sbp_update_unit_directory()
1939 int pos = 0, err; in sbp_parse_wwn()
1941 *wwn = 0; in sbp_parse_wwn()
1944 if (c == '\n' && cp[1] == '\0') in sbp_parse_wwn()
1946 if (c == '\0') { in sbp_parse_wwn()
1954 nibble = c - '0'; in sbp_parse_wwn()
1976 u64 guid = 0; in sbp_init_nodeacl()
1978 if (sbp_parse_wwn(name, &guid) < 0) in sbp_init_nodeacl()
1980 return 0; in sbp_init_nodeacl()
2000 if (sbp_count_se_tpg_luns(&tpg->se_tpg) == 0) in sbp_pre_unlink_lun()
2001 tport->enable = 0; in sbp_pre_unlink_lun()
2004 if (ret < 0) in sbp_pre_unlink_lun()
2037 tport->enable = 0; in sbp_make_tpg()
2050 if (ret < 0) in sbp_make_tpg()
2080 u64 guid = 0; in sbp_make_tport()
2082 if (sbp_parse_wwn(name, &guid) < 0) in sbp_make_tport()
2143 if (kstrtoul(page, 16, &val) < 0) in sbp_tpg_directory_id_store()
2145 if (val > 0xffffff) in sbp_tpg_directory_id_store()
2171 if (kstrtoul(page, 0, &val) < 0) in sbp_tpg_enable_store()
2173 if ((val != 0) && (val != 1)) in sbp_tpg_enable_store()
2180 if (sbp_count_se_tpg_luns(&tpg->se_tpg) == 0) { in sbp_tpg_enable_store()
2197 if (ret < 0) { in sbp_tpg_enable_store()
2232 if (kstrtoul(page, 0, &val) < 0) in sbp_tpg_attrib_mgt_orb_timeout_store()
2243 if (ret < 0) in sbp_tpg_attrib_mgt_orb_timeout_store()
2267 if (kstrtoul(page, 0, &val) < 0) in sbp_tpg_attrib_max_reconnect_timeout_store()
2278 if (ret < 0) in sbp_tpg_attrib_max_reconnect_timeout_store()
2301 if (kstrtoul(page, 0, &val) < 0) in sbp_tpg_attrib_max_logins_per_lun_store()