Lines Matching refs:hba
438 int (*iop_wait_ready)(struct hpt_iop_hba *hba, u_int32_t millisec);
439 int (*internal_memalloc)(struct hpt_iop_hba *hba);
440 int (*internal_memfree)(struct hpt_iop_hba *hba);
441 int (*alloc_pci_res)(struct hpt_iop_hba *hba);
442 void (*release_pci_res)(struct hpt_iop_hba *hba);
443 void (*enable_intr)(struct hpt_iop_hba *hba);
444 void (*disable_intr)(struct hpt_iop_hba *hba);
445 int (*get_config)(struct hpt_iop_hba *hba,
447 int (*set_config)(struct hpt_iop_hba *hba,
449 int (*iop_intr)(struct hpt_iop_hba *hba);
450 void (*post_msg)(struct hpt_iop_hba *hba, u_int32_t msg);
451 void (*post_req)(struct hpt_iop_hba *hba, struct hpt_iop_srb *srb, bus_dma_segment_t *segs, int nsegs);
452 int (*do_ioctl)(struct hpt_iop_hba *hba, struct hpt_iop_ioctl_param * pParams);
453 int (*reset_comm)(struct hpt_iop_hba *hba);
458 struct hpt_iop_hba *hba;
468 #define hptiop_lock_adapter(hba) mtx_lock(&(hba)->lock)
469 #define hptiop_unlock_adapter(hba) mtx_unlock(&(hba)->lock)
476 static __inline int hptiop_sleep(struct hpt_iop_hba *hba, void *ident,
482 retval = msleep(ident, &hba->lock, priority, wmesg, timo);