Searched refs:hba (Results 1 - 10 of 10) sorted by relevance

/freebsd-12-stable/sys/dev/hptiop/
H A Dhptiop.c82 static int hptiop_send_sync_msg(struct hpt_iop_hba *hba,
84 static void hptiop_request_callback_itl(struct hpt_iop_hba *hba,
86 static void hptiop_request_callback_mv(struct hpt_iop_hba *hba, u_int64_t req);
87 static void hptiop_request_callback_mvfrey(struct hpt_iop_hba *hba,
89 static void hptiop_os_message_callback(struct hpt_iop_hba *hba, u_int32_t msg);
90 static int hptiop_do_ioctl_itl(struct hpt_iop_hba *hba,
92 static int hptiop_do_ioctl_mv(struct hpt_iop_hba *hba,
94 static int hptiop_do_ioctl_mvfrey(struct hpt_iop_hba *hba,
96 static int hptiop_rescan_bus(struct hpt_iop_hba *hba);
97 static int hptiop_alloc_pci_res_itl(struct hpt_iop_hba *hba);
193 struct hpt_iop_hba *hba = hba_from_dev(dev); local
206 struct hpt_iop_hba *hba = hba_from_dev(dev); local
215 struct hpt_iop_hba *hba = hba_from_dev(dev); local
234 hptiop_mv_outbound_read(struct hpt_iop_hba *hba) argument
257 hptiop_mv_inbound_write(u_int64_t p, struct hpt_iop_hba *hba) argument
272 hptiop_post_msg_itl(struct hpt_iop_hba *hba, u_int32_t msg) argument
278 hptiop_post_msg_mv(struct hpt_iop_hba *hba, u_int32_t msg) argument
287 hptiop_post_msg_mvfrey(struct hpt_iop_hba *hba, u_int32_t msg) argument
293 hptiop_wait_ready_itl(struct hpt_iop_hba * hba, u_int32_t millisec) argument
314 hptiop_wait_ready_mv(struct hpt_iop_hba * hba, u_int32_t millisec) argument
322 hptiop_wait_ready_mvfrey(struct hpt_iop_hba * hba, u_int32_t millisec) argument
331 hptiop_request_callback_itl(struct hpt_iop_hba * hba, u_int32_t index) argument
468 hptiop_drain_outbound_queue_itl(struct hpt_iop_hba *hba) argument
507 hptiop_intr_itl(struct hpt_iop_hba * hba) argument
530 hptiop_request_callback_mv(struct hpt_iop_hba * hba, u_int64_t _tag) argument
626 hptiop_request_callback_mvfrey(struct hpt_iop_hba * hba, u_int32_t _tag) argument
731 hptiop_drain_outbound_queue_mv(struct hpt_iop_hba * hba) argument
744 hptiop_intr_mv(struct hpt_iop_hba * hba) argument
769 hptiop_intr_mvfrey(struct hpt_iop_hba * hba) argument
813 hptiop_send_sync_request_itl(struct hpt_iop_hba * hba, u_int32_t req32, u_int32_t millisec) argument
835 hptiop_send_sync_request_mv(struct hpt_iop_hba *hba, void *req, u_int32_t millisec) argument
859 hptiop_send_sync_request_mvfrey(struct hpt_iop_hba *hba, void *req, u_int32_t millisec) argument
901 hptiop_send_sync_msg(struct hpt_iop_hba *hba, u_int32_t msg, u_int32_t millisec) argument
919 hptiop_get_config_itl(struct hpt_iop_hba * hba, struct hpt_iop_request_get_config * config) argument
952 hptiop_get_config_mv(struct hpt_iop_hba * hba, struct hpt_iop_request_get_config * config) argument
975 hptiop_get_config_mvfrey(struct hpt_iop_hba * hba, struct hpt_iop_request_get_config * config) argument
1006 hptiop_set_config_itl(struct hpt_iop_hba *hba, struct hpt_iop_request_set_config *config) argument
1036 hptiop_set_config_mv(struct hpt_iop_hba *hba, struct hpt_iop_request_set_config *config) argument
1063 hptiop_set_config_mvfrey(struct hpt_iop_hba *hba, struct hpt_iop_request_set_config *config) argument
1088 hptiop_post_ioctl_command_itl(struct hpt_iop_hba *hba, u_int32_t req32, struct hpt_iop_ioctl_param *pParams) argument
1139 hptiop_bus_space_copyin(struct hpt_iop_hba *hba, u_int32_t bus, void *user, int size) argument
1154 hptiop_bus_space_copyout(struct hpt_iop_hba *hba, u_int32_t bus, void *user, int size) argument
1169 hptiop_do_ioctl_itl(struct hpt_iop_hba *hba, struct hpt_iop_ioctl_param * pParams) argument
1222 hptiop_post_ioctl_command_mv(struct hpt_iop_hba *hba, struct hpt_iop_request_ioctl_command *req, struct hpt_iop_ioctl_param *pParams) argument
1261 hptiop_do_ioctl_mv(struct hpt_iop_hba *hba, struct hpt_iop_ioctl_param *pParams) argument
1302 hptiop_post_ioctl_command_mvfrey(struct hpt_iop_hba *hba, struct hpt_iop_request_ioctl_command *req, struct hpt_iop_ioctl_param *pParams) argument
1358 hptiop_do_ioctl_mvfrey(struct hpt_iop_hba *hba, struct hpt_iop_ioctl_param *pParams) argument
1399 hptiop_rescan_bus(struct hpt_iop_hba * hba) argument
1419 hptiop_alloc_pci_res_itl(struct hpt_iop_hba *hba) argument
1445 hptiop_alloc_pci_res_mv(struct hpt_iop_hba *hba) argument
1494 hptiop_alloc_pci_res_mvfrey(struct hpt_iop_hba *hba) argument
1544 hptiop_release_pci_res_itl(struct hpt_iop_hba *hba) argument
1551 hptiop_release_pci_res_mv(struct hpt_iop_hba *hba) argument
1561 hptiop_release_pci_res_mvfrey(struct hpt_iop_hba *hba) argument
1571 hptiop_internal_memalloc_mv(struct hpt_iop_hba *hba) argument
1615 hptiop_internal_memalloc_mvfrey(struct hpt_iop_hba *hba) argument
1672 hptiop_internal_memfree_itl(struct hpt_iop_hba *hba) argument
1676 hptiop_internal_memfree_mv(struct hpt_iop_hba *hba) argument
1688 hptiop_internal_memfree_mvfrey(struct hpt_iop_hba *hba) argument
1700 hptiop_reset_comm_mvfrey(struct hpt_iop_hba *hba) argument
1813 struct hpt_iop_hba *hba; local
1882 struct hpt_iop_hba *hba = (struct hpt_iop_hba *)device_get_softc(dev); local
2137 struct hpt_iop_hba * hba = (struct hpt_iop_hba *)device_get_softc(dev); local
2165 struct hpt_iop_hba * hba = (struct hpt_iop_hba *)device_get_softc(dev); local
2184 struct hpt_iop_hba * hba = (struct hpt_iop_hba *)arg; local
2192 struct hpt_iop_hba *hba; local
2203 hptiop_enable_intr_itl(struct hpt_iop_hba *hba) argument
2209 hptiop_enable_intr_mv(struct hpt_iop_hba *hba) argument
2220 hptiop_enable_intr_mvfrey(struct hpt_iop_hba *hba) argument
2232 hptiop_disable_intr_itl(struct hpt_iop_hba *hba) argument
2243 hptiop_disable_intr_mv(struct hpt_iop_hba *hba) argument
2254 hptiop_disable_intr_mvfrey(struct hpt_iop_hba *hba) argument
2268 struct hpt_iop_hba * hba = (struct hpt_iop_hba *)argv; local
2274 hptiop_get_srb(struct hpt_iop_hba * hba) argument
2287 hptiop_free_srb(struct hpt_iop_hba *hba, struct hpt_iop_srb *srb) argument
2295 struct hpt_iop_hba * hba = (struct hpt_iop_hba *)cam_sim_softc(sim); local
2390 hptiop_post_req_itl(struct hpt_iop_hba *hba, struct hpt_iop_srb *srb, bus_dma_segment_t *segs, int nsegs) argument
2515 hptiop_post_req_mv(struct hpt_iop_hba *hba, struct hpt_iop_srb *srb, bus_dma_segment_t *segs, int nsegs) argument
2569 hptiop_post_req_mvfrey(struct hpt_iop_hba *hba, struct hpt_iop_srb *srb, bus_dma_segment_t *segs, int nsegs) argument
2646 struct hpt_iop_hba *hba = srb->hba; local
2666 struct hpt_iop_hba *hba = (struct hpt_iop_hba *)arg; local
2676 struct hpt_iop_hba *hba = (struct hpt_iop_hba *)arg; local
2711 struct hpt_iop_hba * hba = (struct hpt_iop_hba *)arg; local
2761 hptiop_os_message_callback(struct hpt_iop_hba * hba, u_int32_t msg) argument
2766 hptiop_os_query_remove_device(struct hpt_iop_hba * hba, int target_id) argument
2790 hptiop_release_resource(struct hpt_iop_hba *hba) argument
[all...]
H A Dhptiop.h438 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);
458 struct hpt_iop_hba *hba; member in struct:hpt_iop_srb
476 hptiop_sleep(struct hpt_iop_hba *hba, void *ident, int priority, const char *wmesg, int timo) argument
[all...]
/freebsd-12-stable/sys/dev/hptrr/
H A Dhptrr_os_bsd.c94 PHBA hba = (PHBA)osext; local
96 hba->pcibar[index].rid = 0x10 + index * 4;
98 if (pci_read_config(hba->pcidev, hba->pcibar[index].rid, 4) & 1)
99 hba->pcibar[index].type = SYS_RES_IOPORT;
101 hba->pcibar[index].type = SYS_RES_MEMORY;
103 hba->pcibar[index].res = bus_alloc_resource_any(hba->pcidev,
104 hba->pcibar[index].type, &hba
112 PHBA hba = (PHBA)osext; local
[all...]
H A Dhptrr_osm_bsd.c82 PHBA hba = (PHBA)device_get_softc(dev); local
92 hba->ext_type = EXT_TYPE_HBA;
93 hba->ldm_adapter.him = him;
102 hba->ldm_adapter.him_handle = malloc(size, M_DEVBUF, M_WAITOK);
104 hba->pcidev = dev;
105 hba->pciaddr.tree = 0;
106 hba->pciaddr.bus = pci_get_bus(dev);
107 hba->pciaddr.device = pci_get_slot(dev);
108 hba->pciaddr.function = pci_get_function(dev);
110 if (!him->create_adapter(&pci_id, hba
156 PHBA hba; local
262 PHBA hba; local
345 PHBA hba; local
981 PHBA hba; local
[all...]
/freebsd-12-stable/sys/dev/hpt27xx/
H A Dhpt27xx_os_bsd.c117 PHBA hba = (PHBA)osext; local
120 hba->pcibar[index].rid = 0x10 + index * 4;
121 base = pci_read_config(hba->pcidev, hba->pcibar[index].rid, 4);
124 hba->pcibar[index].type = SYS_RES_IOPORT;
125 hba->pcibar[index].res = bus_alloc_resource_any(hba->pcidev,
126 hba->pcibar[index].type, &hba->pcibar[index].rid, RF_ACTIVE);
127 hba
140 PHBA hba = (PHBA)osext; local
[all...]
H A Dhpt27xx_osm_bsd.c73 PHBA hba = (PHBA)device_get_softc(dev); local
83 hba->ext_type = EXT_TYPE_HBA;
84 hba->ldm_adapter.him = him;
93 hba->ldm_adapter.him_handle = malloc(size, M_DEVBUF, M_WAITOK);
94 if (!hba->ldm_adapter.him_handle)
97 hba->pcidev = dev;
98 hba->pciaddr.tree = 0;
99 hba->pciaddr.bus = pci_get_bus(dev);
100 hba->pciaddr.device = pci_get_slot(dev);
101 hba
153 PHBA hba; local
259 PHBA hba; local
345 PHBA hba; local
1138 PHBA hba; local
[all...]
/freebsd-12-stable/sys/dev/hptnr/
H A Dhptnr_os_bsd.c103 PHBA hba = (PHBA)osext; local
106 hba->pcibar[index].rid = 0x10 + index * 4;
107 base = pci_read_config(hba->pcidev, hba->pcibar[index].rid, 4);
110 hba->pcibar[index].type = SYS_RES_IOPORT;
111 hba->pcibar[index].res = bus_alloc_resource_any(hba->pcidev,
112 hba->pcibar[index].type, &hba->pcibar[index].rid, RF_ACTIVE);
113 hba
126 PHBA hba = (PHBA)osext; local
[all...]
H A Dhptnr_osm_bsd.c75 PHBA hba = (PHBA)device_get_softc(dev); local
85 hba->ext_type = EXT_TYPE_HBA;
86 hba->ldm_adapter.him = him;
96 hba->ldm_adapter.him_handle = malloc(size, M_DEVBUF, M_WAITOK);
98 hba->pcidev = dev;
99 hba->pciaddr.tree = 0;
100 hba->pciaddr.bus = pci_get_bus(dev);
101 hba->pciaddr.device = pci_get_slot(dev);
102 hba->pciaddr.function = pci_get_function(dev);
104 if (!him->create_adapter(&pci_id, hba
150 PHBA hba; local
256 PHBA hba; local
339 PHBA hba; local
1333 PHBA hba; local
[all...]
/freebsd-12-stable/sys/dev/isp/
H A Disp_freebsd.c496 struct isp_hba_device *hba = (struct isp_hba_device *) addr; local
497 int chan = hba->fc_channel;
503 hba->fc_fw_major = ISP_FW_MAJORX(isp->isp_fwrev);
504 hba->fc_fw_minor = ISP_FW_MINORX(isp->isp_fwrev);
505 hba->fc_fw_micro = ISP_FW_MICROX(isp->isp_fwrev);
506 hba->fc_nchannels = isp->isp_nchan;
508 hba->fc_nports = MAX_FC_TARG;
509 hba->fc_speed = FCPARAM(isp, hba->fc_channel)->isp_gbspeed;
510 hba
[all...]
/freebsd-12-stable/sys/dev/iir/
H A Diir.h396 #define hba2minor(hba) ( (hba << 13) & HBA_MASK )

Completed in 125 milliseconds