Searched refs:cb_idx (Results 1 – 5 of 5) sorted by relevance
/linux-6.1.9/drivers/message/fusion/ |
D | mptbase.c | 211 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 …]
|
D | mptbase.h | 299 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 …]
|
/linux-6.1.9/drivers/scsi/mpt3sas/ |
D | mpt3sas_base.c | 1539 u8 cb_idx = 0xFF; in _base_get_cb_idx() local 1547 cb_idx = st->cb_idx; in _base_get_cb_idx() 1549 cb_idx = ioc->ctl_cb_idx; in _base_get_cb_idx() 1552 cb_idx = ioc->hpr_lookup[i].cb_idx; in _base_get_cb_idx() 1555 cb_idx = ioc->internal_lookup[i].cb_idx; in _base_get_cb_idx() 1557 return cb_idx; in _base_get_cb_idx() 1677 u8 cb_idx; in _base_process_reply_queue() local 1696 cb_idx = 0xFF; in _base_process_reply_queue() 1709 cb_idx = _base_get_cb_idx(ioc, smid); in _base_process_reply_queue() 1710 if ((likely(cb_idx < MPT_MAX_CALLBACKS)) && in _base_process_reply_queue() [all …]
|
D | mpt3sas_base.h | 883 u8 cb_idx; member 898 u8 cb_idx; member 1725 u16 mpt3sas_base_get_smid_hpr(struct MPT3SAS_ADAPTER *ioc, u8 cb_idx); 1726 u16 mpt3sas_base_get_smid_scsiio(struct MPT3SAS_ADAPTER *ioc, u8 cb_idx, 1731 u16 mpt3sas_base_get_smid(struct MPT3SAS_ADAPTER *ioc, u8 cb_idx); 1735 void mpt3sas_base_release_callback_handler(u8 cb_idx);
|
D | mpt3sas_scsih.c | 1775 if (st->cb_idx == 0xFF || st->smid == 0) in mpt3sas_scsih_scsi_lookup_get() 3323 if (st == NULL || st->cb_idx == 0xFF) { in scsih_abort() 3352 if (r == SUCCESS && st->cb_idx != 0xFF) in scsih_abort() 4492 ioc->internal_lookup[i].cb_idx = ioc->base_cb_idx; in _scsih_issue_delayed_event_ack() 4550 ioc->internal_lookup[i].cb_idx = ioc->tm_sas_control_cb_idx; in _scsih_issue_delayed_sas_io_unit_ctrl() 8774 if (r == FAILED || st->cb_idx != 0xFF) { in _scsih_sas_broadcast_primitive_event()
|