Searched refs:cb_idx (Results 1 – 5 of 5) sorted by relevance
/linux-6.6.21/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 917 extern void mpt_deregister(u8 cb_idx); 918 extern int mpt_event_register(u8 cb_idx, MPT_EVHANDLER ev_cbfunc); 919 extern void mpt_event_deregister(u8 cb_idx); 920 extern int mpt_reset_register(u8 cb_idx, MPT_RESETHANDLER reset_func); 921 extern void mpt_reset_deregister(u8 cb_idx); 922 extern int mpt_device_driver_register(struct mpt_pci_driver * dd_cbfunc, u8 cb_idx); 923 extern void mpt_device_driver_deregister(u8 cb_idx); 924 extern MPT_FRAME_HDR *mpt_get_msg_frame(u8 cb_idx, MPT_ADAPTER *ioc); 926 extern void mpt_put_msg_frame(u8 cb_idx, MPT_ADAPTER *ioc, MPT_FRAME_HDR *mf); [all …]
|
/linux-6.6.21/drivers/scsi/mpt3sas/ |
D | mpt3sas_base.c | 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() [all …]
|
D | mpt3sas_base.h | 883 u8 cb_idx; member 898 u8 cb_idx; member 1726 u16 mpt3sas_base_get_smid_hpr(struct MPT3SAS_ADAPTER *ioc, u8 cb_idx); 1727 u16 mpt3sas_base_get_smid_scsiio(struct MPT3SAS_ADAPTER *ioc, u8 cb_idx, 1732 u16 mpt3sas_base_get_smid(struct MPT3SAS_ADAPTER *ioc, u8 cb_idx); 1736 void mpt3sas_base_release_callback_handler(u8 cb_idx);
|
D | mpt3sas_scsih.c | 1774 if (st->cb_idx == 0xFF || st->smid == 0) in mpt3sas_scsih_scsi_lookup_get() 3322 if (st == NULL || st->cb_idx == 0xFF) { in scsih_abort() 3351 if (r == SUCCESS && st->cb_idx != 0xFF) in scsih_abort() 4491 ioc->internal_lookup[i].cb_idx = ioc->base_cb_idx; in _scsih_issue_delayed_event_ack() 4549 ioc->internal_lookup[i].cb_idx = ioc->tm_sas_control_cb_idx; in _scsih_issue_delayed_sas_io_unit_ctrl() 8773 if (r == FAILED || st->cb_idx != 0xFF) { in _scsih_sas_broadcast_primitive_event()
|