Lines Matching +full:0 +full:x0120
34 #define SCLP_CMDW_ASSIGN_STORAGE 0x000d0001
35 #define SCLP_CMDW_UNASSIGN_STORAGE 0x000c0001
46 return sclp_sync_request_timeout(cmd, sccb, 0); in sclp_sync_request()
75 pr_warn("sync request failed (cmd=0x%08x, status=0x%02x)\n", in sclp_sync_request_timeout()
88 #define SCLP_CMDW_CONFIGURE_CPU 0x00110001
89 #define SCLP_CMDW_DECONFIGURE_CPU 0x00100001
104 sccb->header.control_mask[2] = 0x80; in _sclp_get_core_info()
109 if (sccb->header.response_code != 0x0010) { in _sclp_get_core_info()
110 pr_warn("readcpuinfo failed (response=0x%04x)\n", in _sclp_get_core_info()
144 case 0x0020: in do_core_configure()
145 case 0x0120: in do_core_configure()
148 pr_warn("configure cpu failed (cmd=0x%08x, response=0x%04x)\n", in do_core_configure()
189 return 0; in arch_get_memory_phys_device()
212 case 0x0020: in do_assign_storage()
213 case 0x0120: in do_assign_storage()
216 pr_warn("assign storage failed (cmd=0x%08x, response=0x%04x, rn=0x%04x)\n", in do_assign_storage()
236 return 0; in sclp_assign_storage()
262 sccb->header.function_code = 0x40; in sclp_attach_storage()
263 rc = sclp_sync_request_timeout(0x00080001 | id << 8, sccb, in sclp_attach_storage()
268 case 0x0020: in sclp_attach_storage()
270 for (i = 0; i < sccb->assigned; i++) { in sclp_attach_storage()
289 int rc = 0; in sclp_mem_change_state()
301 if (rc == 0) in sclp_mem_change_state()
302 incr->standby = online ? 0 : 1; in sclp_mem_change_state()
304 return rc ? -EIO : 0; in sclp_mem_change_state()
330 int rc = 0; in sclp_mem_notifier()
380 sclp_mem_change_state(start, size, 0); in sclp_mem_notifier()
402 pr_info("Standby memory at 0x%llx (%lluM of %lluM usable)\n", in align_to_block_size()
430 add_memory(0, addr, block_size, in add_memory_merged()
445 add_memory_merged(0); in sclp_add_standby_memory()
459 last_rn = 0; in insert_increment()
484 return 0; in sclp_detect_standby_memory()
485 if ((sclp.facilities & 0xe00000000000ULL) != 0xe00000000000ULL) in sclp_detect_standby_memory()
486 return 0; in sclp_detect_standby_memory()
491 assigned = 0; in sclp_detect_standby_memory()
492 for (id = 0; id <= sclp_max_storage_id; id++) { in sclp_detect_standby_memory()
493 memset(sccb, 0, PAGE_SIZE); in sclp_detect_standby_memory()
499 case 0x0010: in sclp_detect_standby_memory()
501 for (i = 0; i < sccb->assigned; i++) { in sclp_detect_standby_memory()
505 insert_increment(sccb->entries[i] >> 16, 0, 1); in sclp_detect_standby_memory()
508 case 0x0310: in sclp_detect_standby_memory()
510 case 0x0410: in sclp_detect_standby_memory()
511 for (i = 0; i < sccb->assigned; i++) { in sclp_detect_standby_memory()
528 insert_increment(0, 1, 0); in sclp_detect_standby_memory()
545 #define SCLP_CMDW_CONFIGURE_CHPATH 0x000f0001
546 #define SCLP_CMDW_DECONFIGURE_CHPATH 0x000e0001
547 #define SCLP_CMDW_READ_CHPATH_INFORMATION 0x00030001
572 case 0x0020: in do_chp_configure()
573 case 0x0120: in do_chp_configure()
574 case 0x0440: in do_chp_configure()
575 case 0x0450: in do_chp_configure()
578 pr_warn("configure channel-path failed (cmd=0x%08x, response=0x%04x)\n", in do_chp_configure()
593 * Return 0 after command successfully finished, non-zero otherwise.
605 * and wait for completion. On success return 0. Return non-zero otherwise.
627 * On success, store channel-path information in @info and return 0. Return
645 if (sccb->header.response_code != 0x0010) { in sclp_chp_read_info()
646 pr_warn("read channel-path info failed (response=0x%04x)\n", in sclp_chp_read_info()