Home
last modified time | relevance | path

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

/drivers/message/fusion/
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()
481 cb_idx = mpt_get_cb_idx(MPTSTM_DRIVER); in mpt_turbo_reply()
485 cb_idx = 0; in mpt_turbo_reply()
[all …]
Dmptbase.h299 u8 cb_idx; /* callback function index */ member
918 extern void mpt_deregister(u8 cb_idx);
919 extern int mpt_event_register(u8 cb_idx, MPT_EVHANDLER ev_cbfunc);
920 extern void mpt_event_deregister(u8 cb_idx);
921 extern int mpt_reset_register(u8 cb_idx, MPT_RESETHANDLER reset_func);
922 extern void mpt_reset_deregister(u8 cb_idx);
923 extern int mpt_device_driver_register(struct mpt_pci_driver * dd_cbfunc, u8 cb_idx);
924 extern void mpt_device_driver_deregister(u8 cb_idx);
925 extern MPT_FRAME_HDR *mpt_get_msg_frame(u8 cb_idx, MPT_ADAPTER *ioc);
927 extern void mpt_put_msg_frame(u8 cb_idx, MPT_ADAPTER *ioc, MPT_FRAME_HDR *mf);
[all …]
/drivers/scsi/mpt3sas/
Dmpt3sas_base.c1346 u8 cb_idx = 0xFF; in _base_get_cb_idx() local
1354 cb_idx = st->cb_idx; in _base_get_cb_idx()
1356 cb_idx = ioc->ctl_cb_idx; in _base_get_cb_idx()
1359 cb_idx = ioc->hpr_lookup[i].cb_idx; in _base_get_cb_idx()
1362 cb_idx = ioc->internal_lookup[i].cb_idx; in _base_get_cb_idx()
1364 return cb_idx; in _base_get_cb_idx()
1435 u8 cb_idx; in _base_process_reply_queue() local
1454 cb_idx = 0xFF; in _base_process_reply_queue()
1467 cb_idx = _base_get_cb_idx(ioc, smid); in _base_process_reply_queue()
1468 if ((likely(cb_idx < MPT_MAX_CALLBACKS)) && in _base_process_reply_queue()
[all …]
Dmpt3sas_base.h836 u8 cb_idx; member
851 u8 cb_idx; member
1507 u16 mpt3sas_base_get_smid_hpr(struct MPT3SAS_ADAPTER *ioc, u8 cb_idx);
1508 u16 mpt3sas_base_get_smid_scsiio(struct MPT3SAS_ADAPTER *ioc, u8 cb_idx,
1513 u16 mpt3sas_base_get_smid(struct MPT3SAS_ADAPTER *ioc, u8 cb_idx);
1517 void mpt3sas_base_release_callback_handler(u8 cb_idx);
Dmpt3sas_scsih.c1498 if (st->cb_idx == 0xFF || st->smid == 0) in mpt3sas_scsih_scsi_lookup_get()
2894 if (st == NULL || st->cb_idx == 0xFF) { in scsih_abort()
2920 if (r == SUCCESS && st->cb_idx != 0xFF) in scsih_abort()
4004 ioc->internal_lookup[i].cb_idx = ioc->base_cb_idx; in _scsih_issue_delayed_event_ack()
4062 ioc->internal_lookup[i].cb_idx = ioc->tm_sas_control_cb_idx; in _scsih_issue_delayed_sas_io_unit_ctrl()
7484 if (r == FAILED || st->cb_idx != 0xFF) { in _scsih_sas_broadcast_primitive_event()