Home
last modified time | relevance | path

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

/linux/drivers/message/fusion/
H A Dmptbase.c211 static void mpt_sas_log_info(MPT_ADAPTER *ioc, u32 log_info , u8 cb_idx);
267 u8 cb_idx; in mpt_get_cb_idx() local
269 for (cb_idx = MPT_MAX_PROTOCOL_DRIVERS-1; cb_idx; cb_idx--) in mpt_get_cb_idx()
270 if (MptDriverClass[cb_idx] == dclass) in mpt_get_cb_idx()
271 return cb_idx; in mpt_get_cb_idx()
448 u8 cb_idx; in mpt_turbo_reply() local
456 cb_idx = (pa & 0x00FF0000) >> 16; in mpt_turbo_reply()
460 cb_idx = mpt_get_cb_idx(MPTLAN_DRIVER); in mpt_turbo_reply()
480 cb_idx = mpt_get_cb_idx(MPTSTM_DRIVER); in mpt_turbo_reply()
484 cb_idx = 0; in mpt_turbo_reply()
[all …]
H A Dmptbase.h299 u8 cb_idx; /* callback function index */ member
914 extern void mpt_deregister(u8 cb_idx);
915 extern int mpt_event_register(u8 cb_idx, MPT_EVHANDLER ev_cbfunc);
916 extern void mpt_event_deregister(u8 cb_idx);
917 extern int mpt_reset_register(u8 cb_idx, MPT_RESETHANDLER reset_func);
918 extern void mpt_reset_deregister(u8 cb_idx);
919 extern int mpt_device_driver_register(struct mpt_pci_driver * dd_cbfunc, u8 cb_idx);
920 extern void mpt_device_driver_deregister(u8 cb_idx);
921 extern MPT_FRAME_HDR *mpt_get_msg_frame(u8 cb_idx, MPT_ADAPTER *ioc);
923 extern void mpt_put_msg_frame(u8 cb_idx, MPT_ADAPTER *ioc, MPT_FRAME_HDR *mf);
[all …]
/linux/drivers/scsi/mpt3sas/
H A Dmpt3sas_base.c1555 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()
[all …]
H A Dmpt3sas_base.h883 u8 cb_idx; member
898 u8 cb_idx; member
1723 u16 mpt3sas_base_get_smid_hpr(struct MPT3SAS_ADAPTER *ioc, u8 cb_idx);
1724 u16 mpt3sas_base_get_smid_scsiio(struct MPT3SAS_ADAPTER *ioc, u8 cb_idx,
1729 u16 mpt3sas_base_get_smid(struct MPT3SAS_ADAPTER *ioc, u8 cb_idx);
1733 void mpt3sas_base_release_callback_handler(u8 cb_idx);
H A Dmpt3sas_scsih.c1774 if (st->cb_idx == 0xFF || st->smid == 0) in mpt3sas_scsih_scsi_lookup_get()
3313 if (st == NULL || st->cb_idx == 0xFF) { in scsih_abort()
3342 if (r == SUCCESS && st->cb_idx != 0xFF) in scsih_abort()
4482 ioc->internal_lookup[i].cb_idx = ioc->base_cb_idx; in _scsih_issue_delayed_event_ack()
4540 ioc->internal_lookup[i].cb_idx = ioc->tm_sas_control_cb_idx; in _scsih_issue_delayed_sas_io_unit_ctrl()
8759 if (r == FAILED || st->cb_idx != 0xFF) { in _scsih_sas_broadcast_primitive_event()