Lines Matching refs:cb_idx

1555 	u8 cb_idx = 0xFF;  in _base_get_cb_idx()  local
1563 cb_idx = st->cb_idx; in _base_get_cb_idx()
1565 cb_idx = ioc->ctl_cb_idx; in _base_get_cb_idx()
1568 cb_idx = ioc->hpr_lookup[i].cb_idx; in _base_get_cb_idx()
1571 cb_idx = ioc->internal_lookup[i].cb_idx; in _base_get_cb_idx()
1573 return cb_idx; in _base_get_cb_idx()
1693 u8 cb_idx; in _base_process_reply_queue() local
1712 cb_idx = 0xFF; in _base_process_reply_queue()
1725 cb_idx = _base_get_cb_idx(ioc, smid); in _base_process_reply_queue()
1726 if ((likely(cb_idx < MPT_MAX_CALLBACKS)) && in _base_process_reply_queue()
1727 (likely(mpt_callbacks[cb_idx] != NULL))) { in _base_process_reply_queue()
1728 rc = mpt_callbacks[cb_idx](ioc, smid, in _base_process_reply_queue()
1741 cb_idx = _base_get_cb_idx(ioc, smid); in _base_process_reply_queue()
1742 if ((likely(cb_idx < MPT_MAX_CALLBACKS)) && in _base_process_reply_queue()
1743 (likely(mpt_callbacks[cb_idx] != NULL))) { in _base_process_reply_queue()
1744 rc = mpt_callbacks[cb_idx](ioc, smid, in _base_process_reply_queue()
2041 mpt3sas_base_release_callback_handler(u8 cb_idx) in mpt3sas_base_release_callback_handler() argument
2043 mpt_callbacks[cb_idx] = NULL; in mpt3sas_base_release_callback_handler()
2055 u8 cb_idx; in mpt3sas_base_register_callback_handler() local
2057 for (cb_idx = MPT_MAX_CALLBACKS-1; cb_idx; cb_idx--) in mpt3sas_base_register_callback_handler()
2058 if (mpt_callbacks[cb_idx] == NULL) in mpt3sas_base_register_callback_handler()
2061 mpt_callbacks[cb_idx] = cb_func; in mpt3sas_base_register_callback_handler()
2062 return cb_idx; in mpt3sas_base_register_callback_handler()
2071 u8 cb_idx; in mpt3sas_base_initialize_callback_handler() local
2073 for (cb_idx = 0; cb_idx < MPT_MAX_CALLBACKS; cb_idx++) in mpt3sas_base_initialize_callback_handler()
2074 mpt3sas_base_release_callback_handler(cb_idx); in mpt3sas_base_initialize_callback_handler()
3922 mpt3sas_base_get_smid(struct MPT3SAS_ADAPTER *ioc, u8 cb_idx) in mpt3sas_base_get_smid() argument
3937 request->cb_idx = cb_idx; in mpt3sas_base_get_smid()
3953 mpt3sas_base_get_smid_scsiio(struct MPT3SAS_ADAPTER *ioc, u8 cb_idx, in mpt3sas_base_get_smid_scsiio() argument
3976 request->cb_idx = cb_idx; in mpt3sas_base_get_smid_scsiio()
3991 mpt3sas_base_get_smid_hpr(struct MPT3SAS_ADAPTER *ioc, u8 cb_idx) in mpt3sas_base_get_smid_hpr() argument
4005 request->cb_idx = cb_idx; in mpt3sas_base_get_smid_hpr()
4030 st->cb_idx = 0xFF; in mpt3sas_base_clear_st()
4072 ioc->hpr_lookup[i].cb_idx = 0xFF; in mpt3sas_base_free_smid()
4077 ioc->internal_lookup[i].cb_idx = 0xFF; in mpt3sas_base_free_smid()
8230 ioc->hpr_lookup[i].cb_idx = 0xFF; in _base_make_ioc_operational()
8240 ioc->internal_lookup[i].cb_idx = 0xFF; in _base_make_ioc_operational()