Lines Matching +full:0 +full:x00030001

41 	return sclp_sync_request_timeout(cmd, sccb, 0);  in sclp_sync_request()
70 pr_warn("sync request failed (cmd=0x%08x, status=0x%02x)\n", in sclp_sync_request_timeout()
83 #define SCLP_CMDW_CONFIGURE_CPU 0x00110001
84 #define SCLP_CMDW_DECONFIGURE_CPU 0x00100001
99 sccb->header.control_mask[2] = 0x80; in _sclp_get_core_info()
104 if (sccb->header.response_code != 0x0010) { in _sclp_get_core_info()
105 pr_warn("readcpuinfo failed (response=0x%04x)\n", in _sclp_get_core_info()
139 case 0x0020: in do_core_configure()
140 case 0x0120: in do_core_configure()
143 pr_warn("configure cpu failed (cmd=0x%08x, response=0x%04x)\n", in do_core_configure()
184 return 0; in arch_get_memory_phys_device()
207 case 0x0020: in do_assign_storage()
208 case 0x0120: in do_assign_storage()
211 pr_warn("assign storage failed (cmd=0x%08x, response=0x%04x, rn=0x%04x)\n", in do_assign_storage()
226 rc = do_assign_storage(0x000d0001, rn); in sclp_assign_storage()
231 return 0; in sclp_assign_storage()
236 return do_assign_storage(0x000c0001, rn); in sclp_unassign_storage()
257 sccb->header.function_code = 0x40; in sclp_attach_storage()
258 rc = sclp_sync_request_timeout(0x00080001 | id << 8, sccb, in sclp_attach_storage()
263 case 0x0020: in sclp_attach_storage()
265 for (i = 0; i < sccb->assigned; i++) { in sclp_attach_storage()
284 int rc = 0; in sclp_mem_change_state()
296 if (rc == 0) in sclp_mem_change_state()
297 incr->standby = online ? 0 : 1; in sclp_mem_change_state()
299 return rc ? -EIO : 0; in sclp_mem_change_state()
325 int rc = 0; in sclp_mem_notifier()
350 sclp_mem_change_state(start, size, 0); in sclp_mem_notifier()
353 sclp_mem_change_state(start, size, 0); in sclp_mem_notifier()
376 pr_info("Standby memory at 0x%llx (%lluM of %lluM usable)\n", in align_to_block_size()
404 add_memory(0, addr, block_size, MHP_NONE); in add_memory_merged()
417 add_memory_merged(0); in sclp_add_standby_memory()
431 last_rn = 0; in insert_increment()
456 return 0; in sclp_detect_standby_memory()
457 if ((sclp.facilities & 0xe00000000000ULL) != 0xe00000000000ULL) in sclp_detect_standby_memory()
458 return 0; in sclp_detect_standby_memory()
463 assigned = 0; in sclp_detect_standby_memory()
464 for (id = 0; id <= sclp_max_storage_id; id++) { in sclp_detect_standby_memory()
465 memset(sccb, 0, PAGE_SIZE); in sclp_detect_standby_memory()
471 case 0x0010: in sclp_detect_standby_memory()
473 for (i = 0; i < sccb->assigned; i++) { in sclp_detect_standby_memory()
477 insert_increment(sccb->entries[i] >> 16, 0, 1); in sclp_detect_standby_memory()
480 case 0x0310: in sclp_detect_standby_memory()
482 case 0x0410: in sclp_detect_standby_memory()
483 for (i = 0; i < sccb->assigned; i++) { in sclp_detect_standby_memory()
500 insert_increment(0, 1, 0); in sclp_detect_standby_memory()
517 #define SCLP_CMDW_CONFIGURE_CHPATH 0x000f0001
518 #define SCLP_CMDW_DECONFIGURE_CHPATH 0x000e0001
519 #define SCLP_CMDW_READ_CHPATH_INFORMATION 0x00030001
544 case 0x0020: in do_chp_configure()
545 case 0x0120: in do_chp_configure()
546 case 0x0440: in do_chp_configure()
547 case 0x0450: in do_chp_configure()
550 pr_warn("configure channel-path failed (cmd=0x%08x, response=0x%04x)\n", in do_chp_configure()
565 * Return 0 after command successfully finished, non-zero otherwise.
577 * and wait for completion. On success return 0. Return non-zero otherwise.
599 * On success, store channel-path information in @info and return 0. Return
617 if (sccb->header.response_code != 0x0010) { in sclp_chp_read_info()
618 pr_warn("read channel-path info failed (response=0x%04x)\n", in sclp_chp_read_info()