Lines Matching refs:unique_id
1519 * @unique_id: specifies the unique_id for the buffer
1524 _ctl_diag_get_bufftype(struct MPT3SAS_ADAPTER *ioc, u32 unique_id)
1529 if (ioc->unique_id[index] == unique_id)
1582 if (diag_register->unique_id == 0) {
1585 diag_register->unique_id, buffer_type);
1595 __func__, buffer_type, ioc->unique_id[buffer_type]);
1612 if (ioc->unique_id[buffer_type] == MPT3DIAGBUFFUNIQUEID &&
1621 ioc->unique_id[buffer_type],
1622 diag_register->unique_id));
1628 ioc->unique_id[buffer_type] =
1629 diag_register->unique_id;
1633 } else if (ioc->unique_id[buffer_type] !=
1635 if (ioc->unique_id[buffer_type] !=
1636 diag_register->unique_id ||
1654 if (ioc->unique_id[buffer_type] != MPT3DIAGBUFFUNIQUEID ||
1687 ioc->unique_id[buffer_type] = diag_register->unique_id;
1813 diag_register.unique_id =
1882 diag_register.unique_id = 0x7075901;
1891 diag_register.unique_id = 0x7075901;
1952 buffer_type = _ctl_diag_get_bufftype(ioc, karg.unique_id);
1954 ioc_err(ioc, "%s: buffer with unique_id(0x%08x) not found\n",
1955 __func__, karg.unique_id);
1978 if (karg.unique_id != ioc->unique_id[buffer_type]) {
1979 ioc_err(ioc, "%s: unique_id(0x%08x) is not registered\n",
1980 __func__, karg.unique_id);
1993 ioc->unique_id[buffer_type] = MPT3DIAGBUFFUNIQUEID;
2014 * The application will send only buffer_type and unique_id. Driver will
2015 * inspect unique_id first, if valid, fill in all the info. If unique_id is
2054 if (karg.unique_id) {
2055 if (karg.unique_id != ioc->unique_id[buffer_type]) {
2056 ioc_err(ioc, "%s: unique_id(0x%08x) is not registered\n",
2057 __func__, karg.unique_id);
2091 karg.unique_id = ioc->unique_id[buffer_type];
2231 buffer_type = _ctl_diag_get_bufftype(ioc, karg.unique_id);
2233 ioc_err(ioc, "%s: buffer with unique_id(0x%08x) not found\n",
2234 __func__, karg.unique_id);
2251 if (karg.unique_id != ioc->unique_id[buffer_type]) {
2252 ioc_err(ioc, "%s: unique_id(0x%08x) is not registered\n",
2253 __func__, karg.unique_id);
2321 buffer_type = _ctl_diag_get_bufftype(ioc, karg.unique_id);
2323 ioc_err(ioc, "%s: buffer with unique_id(0x%08x) not found\n",
2324 __func__, karg.unique_id);
2334 if (karg.unique_id != ioc->unique_id[buffer_type]) {
2335 ioc_err(ioc, "%s: unique_id(0x%08x) is not registered\n",
2336 __func__, karg.unique_id);
3400 diag_register.unique_id =