Lines Matching refs:fcp
265 if (ipl->ipl_info.fcp.opt == DIAG308_IPL_OPT_DUMP) in get_ipl_type()
352 count = min(size - 1, scpdata_length(ipb->ipl_info.fcp.scp_data, in reipl_append_ascii_scpdata()
353 ipb->ipl_info.fcp.scp_data_len)); in reipl_append_ascii_scpdata()
359 if (!isascii(ipb->ipl_info.fcp.scp_data[i])) { in reipl_append_ascii_scpdata()
363 if (!has_lowercase && islower(ipb->ipl_info.fcp.scp_data[i])) in reipl_append_ascii_scpdata()
368 memcpy(dest, ipb->ipl_info.fcp.scp_data, count); in reipl_append_ascii_scpdata()
371 dest[i] = tolower(ipb->ipl_info.fcp.scp_data[i]); in reipl_append_ascii_scpdata()
403 return sprintf(page, "0.0.%04x\n", ipl->ipl_info.fcp.devno); in sys_ipl_device_show()
433 unsigned int size = IPL_PARMBLOCK_START->ipl_info.fcp.scp_data_len; in ipl_scp_data_read()
434 void *scp_data = &IPL_PARMBLOCK_START->ipl_info.fcp.scp_data; in ipl_scp_data_read()
451 IPL_PARMBLOCK_START->ipl_info.fcp.wwpn);
453 IPL_PARMBLOCK_START->ipl_info.fcp.lun);
455 IPL_PARMBLOCK_START->ipl_info.fcp.bootprog);
457 IPL_PARMBLOCK_START->ipl_info.fcp.br_lba);
709 size_t size = reipl_block_fcp->ipl_info.fcp.scp_data_len; in reipl_fcp_scpdata_read()
710 void *scp_data = reipl_block_fcp->ipl_info.fcp.scp_data; in reipl_fcp_scpdata_read()
731 memcpy(reipl_block_fcp->ipl_info.fcp.scp_data, buf + off, count); in reipl_fcp_scpdata_write()
736 memset(reipl_block_fcp->ipl_info.fcp.scp_data + scpdata_len, in reipl_fcp_scpdata_write()
741 reipl_block_fcp->ipl_info.fcp.scp_data_len = scpdata_len; in reipl_fcp_scpdata_write()
759 reipl_block_fcp->ipl_info.fcp.wwpn);
761 reipl_block_fcp->ipl_info.fcp.lun);
763 reipl_block_fcp->ipl_info.fcp.bootprog);
765 reipl_block_fcp->ipl_info.fcp.br_lba);
767 reipl_block_fcp->ipl_info.fcp.devno);
1262 reipl_block_fcp->ipl_info.fcp.opt = DIAG308_IPL_OPT_IPL; in reipl_fcp_init()
1328 dump_block_fcp->ipl_info.fcp.wwpn);
1330 dump_block_fcp->ipl_info.fcp.lun);
1332 dump_block_fcp->ipl_info.fcp.bootprog);
1334 dump_block_fcp->ipl_info.fcp.br_lba);
1336 dump_block_fcp->ipl_info.fcp.devno);
1496 dump_block_fcp->ipl_info.fcp.opt = DIAG308_IPL_OPT_DUMP; in dump_fcp_init()
1955 ipl_info.data.fcp.dev_id.devno = in setup_ipl()
1956 IPL_PARMBLOCK_START->ipl_info.fcp.devno; in setup_ipl()
1957 ipl_info.data.fcp.dev_id.ssid = 0; in setup_ipl()
1958 ipl_info.data.fcp.wwpn = IPL_PARMBLOCK_START->ipl_info.fcp.wwpn; in setup_ipl()
1959 ipl_info.data.fcp.lun = IPL_PARMBLOCK_START->ipl_info.fcp.lun; in setup_ipl()