Searched refs:iocnum (Results 1 - 3 of 3) sorted by relevance

/linux-4.1.27/drivers/message/fusion/
H A Dmptctl.c625 int iocnum; __mptctl_ioctl() local
639 /* Verify intended MPT adapter - set iocnum and the adapter __mptctl_ioctl()
642 iocnumX = khdr.iocnum & 0xFF; __mptctl_ioctl()
643 if (((iocnum = mpt_verify_adapter(iocnumX, &iocp)) < 0) || __mptctl_ioctl()
721 if (mpt_verify_adapter(krinfo.hdr.iocnum, &iocp) < 0) { mptctl_do_reset()
723 __FILE__, __LINE__, krinfo.hdr.iocnum); mptctl_do_reset()
742 * This structure contains: iocnum, firmware length (bytes),
769 return mptctl_do_fw_download(kfwdl.iocnum, kfwdl.bufp, kfwdl.fwlen); mptctl_fw_download()
1243 int iocnum; mptctl_getiocinfo() local
1271 if (((iocnum = mpt_verify_adapter(karg->hdr.iocnum, &ioc)) < 0) || mptctl_getiocinfo()
1274 __FILE__, __LINE__, iocnum); mptctl_getiocinfo()
1392 int iocnum; mptctl_gettargetinfo() local
1407 if (((iocnum = mpt_verify_adapter(karg.hdr.iocnum, &ioc)) < 0) || mptctl_gettargetinfo()
1410 __FILE__, __LINE__, iocnum); mptctl_gettargetinfo()
1514 int iocnum; mptctl_readtest() local
1523 if (((iocnum = mpt_verify_adapter(karg.hdr.iocnum, &ioc)) < 0) || mptctl_readtest()
1526 __FILE__, __LINE__, iocnum); mptctl_readtest()
1575 int iocnum; mptctl_eventquery() local
1584 if (((iocnum = mpt_verify_adapter(karg.hdr.iocnum, &ioc)) < 0) || mptctl_eventquery()
1587 __FILE__, __LINE__, iocnum); mptctl_eventquery()
1614 int iocnum; mptctl_eventenable() local
1623 if (((iocnum = mpt_verify_adapter(karg.hdr.iocnum, &ioc)) < 0) || mptctl_eventenable()
1626 __FILE__, __LINE__, iocnum); mptctl_eventenable()
1662 int iocnum; mptctl_eventreport() local
1672 if (((iocnum = mpt_verify_adapter(karg.hdr.iocnum, &ioc)) < 0) || mptctl_eventreport()
1675 __FILE__, __LINE__, iocnum); mptctl_eventreport()
1716 int iocnum; mptctl_replace_fw() local
1726 if (((iocnum = mpt_verify_adapter(karg.hdr.iocnum, &ioc)) < 0) || mptctl_replace_fw()
1729 __FILE__, __LINE__, iocnum); mptctl_replace_fw()
1784 int iocnum; mptctl_mpt_command() local
1795 if (((iocnum = mpt_verify_adapter(karg.hdr.iocnum, &ioc)) < 0) || mptctl_mpt_command()
1798 __FILE__, __LINE__, iocnum); mptctl_mpt_command()
1831 int iocnum, flagsLength; mptctl_do_mpt_command() local
1846 if (((iocnum = mpt_verify_adapter(karg.hdr.iocnum, &ioc)) < 0) || mptctl_do_mpt_command()
1849 __FILE__, __LINE__, iocnum); mptctl_do_mpt_command()
2418 int iocnum; mptctl_hp_hostinfo() local
2442 if (((iocnum = mpt_verify_adapter(karg.hdr.iocnum, &ioc)) < 0) || mptctl_hp_hostinfo()
2445 __FILE__, __LINE__, iocnum); mptctl_hp_hostinfo()
2668 int iocnum; mptctl_hp_targetinfo() local
2682 if (((iocnum = mpt_verify_adapter(karg.hdr.iocnum, &ioc)) < 0) || mptctl_hp_targetinfo()
2685 __FILE__, __LINE__, iocnum); mptctl_hp_targetinfo()
2827 int iocnum, iocnumX; compat_mptfwxfer_ioctl() local
2836 iocnumX = kfw32.iocnum & 0xFF; compat_mptfwxfer_ioctl()
2837 if (((iocnum = mpt_verify_adapter(iocnumX, &iocp)) < 0) || compat_mptfwxfer_ioctl()
2849 kfw.iocnum = iocnum; compat_mptfwxfer_ioctl()
2853 ret = mptctl_do_fw_download(kfw.iocnum, kfw.bufp, kfw.fwlen); compat_mptfwxfer_ioctl()
2868 int iocnum, iocnumX; compat_mpt_command() local
2876 iocnumX = karg32.hdr.iocnum & 0xFF; compat_mpt_command()
2877 if (((iocnum = mpt_verify_adapter(iocnumX, &iocp)) < 0) || compat_mpt_command()
2890 karg.hdr.iocnum = karg32.hdr.iocnum; compat_mpt_command()
H A Dmptctl.h102 unsigned int iocnum; /* IOC unit number */ member in struct:mpt_fw_xfer
109 unsigned int iocnum; member in struct:mpt_fw_xfer32
117 * iocnum - must be defined.
128 unsigned int iocnum; /* IOC unit number */ member in struct:_mpt_ioctl_header
301 * iocnum
365 unsigned int iocnum; member in struct:_hp_header
374 * iocnum required (input)
425 * iocnum required (input)
/linux-4.1.27/drivers/parisc/
H A Dsba_iommu.c2025 int iocnum = (pci_hba->hw_path >> 3); /* rope # */ sba_get_iommu() local
2029 return &(sba->ioc[iocnum]); sba_get_iommu()

Completed in 115 milliseconds