Home
last modified time | relevance | path

Searched refs:cb_idx (Results 1 – 6 of 6) sorted by relevance

/drivers/message/fusion/
Dmptbase.c215 static void mpt_sas_log_info(MPT_ADAPTER *ioc, u32 log_info , u8 cb_idx);
271 u8 cb_idx; in mpt_get_cb_idx() local
273 for (cb_idx = MPT_MAX_PROTOCOL_DRIVERS-1; cb_idx; cb_idx--) in mpt_get_cb_idx()
274 if (MptDriverClass[cb_idx] == dclass) in mpt_get_cb_idx()
275 return cb_idx; in mpt_get_cb_idx()
452 u8 cb_idx; in mpt_turbo_reply() local
460 cb_idx = (pa & 0x00FF0000) >> 16; in mpt_turbo_reply()
464 cb_idx = mpt_get_cb_idx(MPTLAN_DRIVER); in mpt_turbo_reply()
485 cb_idx = mpt_get_cb_idx(MPTSTM_DRIVER); in mpt_turbo_reply()
489 cb_idx = 0; in mpt_turbo_reply()
[all …]
Dmptbase.h299 u8 cb_idx; /* callback function index */ member
919 extern void mpt_deregister(u8 cb_idx);
920 extern int mpt_event_register(u8 cb_idx, MPT_EVHANDLER ev_cbfunc);
921 extern void mpt_event_deregister(u8 cb_idx);
922 extern int mpt_reset_register(u8 cb_idx, MPT_RESETHANDLER reset_func);
923 extern void mpt_reset_deregister(u8 cb_idx);
924 extern int mpt_device_driver_register(struct mpt_pci_driver * dd_cbfunc, u8 cb_idx);
925 extern void mpt_device_driver_deregister(u8 cb_idx);
926 extern MPT_FRAME_HDR *mpt_get_msg_frame(u8 cb_idx, MPT_ADAPTER *ioc);
928 extern void mpt_put_msg_frame(u8 cb_idx, MPT_ADAPTER *ioc, MPT_FRAME_HDR *mf);
[all …]
/drivers/scsi/mpt3sas/
Dmpt3sas_base.c825 u8 cb_idx; in _base_get_cb_idx() local
829 cb_idx = ioc->scsi_lookup[i].cb_idx; in _base_get_cb_idx()
832 cb_idx = ioc->hpr_lookup[i].cb_idx; in _base_get_cb_idx()
835 cb_idx = ioc->internal_lookup[i].cb_idx; in _base_get_cb_idx()
837 cb_idx = 0xFF; in _base_get_cb_idx()
838 return cb_idx; in _base_get_cb_idx()
904 u8 cb_idx; in _base_interrupt() local
926 cb_idx = 0xFF; in _base_interrupt()
937 cb_idx = _base_get_cb_idx(ioc, smid); in _base_interrupt()
938 if ((likely(cb_idx < MPT_MAX_CALLBACKS)) && in _base_interrupt()
[all …]
Dmpt3sas_base.h461 u8 cb_idx; member
474 u8 cb_idx; member
979 u16 mpt3sas_base_get_smid_hpr(struct MPT3SAS_ADAPTER *ioc, u8 cb_idx);
980 u16 mpt3sas_base_get_smid_scsiio(struct MPT3SAS_ADAPTER *ioc, u8 cb_idx,
983 u16 mpt3sas_base_get_smid(struct MPT3SAS_ADAPTER *ioc, u8 cb_idx);
993 void mpt3sas_base_release_callback_handler(u8 cb_idx);
/drivers/scsi/mpt2sas/
Dmpt2sas_base.c838 u8 cb_idx; in _base_get_cb_idx() local
842 cb_idx = ioc->scsi_lookup[i].cb_idx; in _base_get_cb_idx()
845 cb_idx = ioc->hpr_lookup[i].cb_idx; in _base_get_cb_idx()
848 cb_idx = ioc->internal_lookup[i].cb_idx; in _base_get_cb_idx()
850 cb_idx = 0xFF; in _base_get_cb_idx()
851 return cb_idx; in _base_get_cb_idx()
917 u8 cb_idx; in _base_interrupt() local
939 cb_idx = 0xFF; in _base_interrupt()
960 cb_idx = _base_get_cb_idx(ioc, smid); in _base_interrupt()
961 if ((likely(cb_idx < MPT_MAX_CALLBACKS)) in _base_interrupt()
[all …]
Dmpt2sas_base.h539 u8 cb_idx; member
553 u8 cb_idx; member
1038 u16 mpt2sas_base_get_smid_hpr(struct MPT2SAS_ADAPTER *ioc, u8 cb_idx);
1039 u16 mpt2sas_base_get_smid_scsiio(struct MPT2SAS_ADAPTER *ioc, u8 cb_idx,
1042 u16 mpt2sas_base_get_smid(struct MPT2SAS_ADAPTER *ioc, u8 cb_idx);
1052 void mpt2sas_base_release_callback_handler(u8 cb_idx);