Searched refs:hba (Results 1 - 10 of 10) sorted by last modified time

/freebsd-11-stable/sys/dev/isp/
H A Disp_freebsd.c503 struct isp_hba_device *hba = (struct isp_hba_device *) addr; local
504 int chan = hba->fc_channel;
510 hba->fc_fw_major = ISP_FW_MAJORX(isp->isp_fwrev);
511 hba->fc_fw_minor = ISP_FW_MINORX(isp->isp_fwrev);
512 hba->fc_fw_micro = ISP_FW_MICROX(isp->isp_fwrev);
513 hba->fc_nchannels = isp->isp_nchan;
515 hba->fc_nports = MAX_FC_TARG;
516 hba->fc_speed = FCPARAM(isp, hba->fc_channel)->isp_gbspeed;
517 hba
[all...]
/freebsd-11-stable/sys/dev/hptrr/
H A Dhptrr_osm_bsd.c80 PHBA hba = (PHBA)device_get_softc(dev); local
90 hba->ext_type = EXT_TYPE_HBA;
91 hba->ldm_adapter.him = him;
100 hba->ldm_adapter.him_handle = malloc(size, M_DEVBUF, M_WAITOK);
102 hba->pcidev = dev;
103 hba->pciaddr.tree = 0;
104 hba->pciaddr.bus = pci_get_bus(dev);
105 hba->pciaddr.device = pci_get_slot(dev);
106 hba->pciaddr.function = pci_get_function(dev);
108 if (!him->create_adapter(&pci_id, hba
154 PHBA hba; local
260 PHBA hba; local
343 PHBA hba; local
979 PHBA hba; local
[all...]
H A Dhptrr_os_bsd.c92 PHBA hba = (PHBA)osext; local
94 hba->pcibar[index].rid = 0x10 + index * 4;
96 if (pci_read_config(hba->pcidev, hba->pcibar[index].rid, 4) & 1)
97 hba->pcibar[index].type = SYS_RES_IOPORT;
99 hba->pcibar[index].type = SYS_RES_MEMORY;
101 hba->pcibar[index].res = bus_alloc_resource_any(hba->pcidev,
102 hba->pcibar[index].type, &hba
110 PHBA hba = (PHBA)osext; local
[all...]
/freebsd-11-stable/sys/dev/hptnr/
H A Dhptnr_osm_bsd.c73 PHBA hba = (PHBA)device_get_softc(dev); local
83 hba->ext_type = EXT_TYPE_HBA;
84 hba->ldm_adapter.him = him;
94 hba->ldm_adapter.him_handle = malloc(size, M_DEVBUF, M_WAITOK);
96 hba->pcidev = dev;
97 hba->pciaddr.tree = 0;
98 hba->pciaddr.bus = pci_get_bus(dev);
99 hba->pciaddr.device = pci_get_slot(dev);
100 hba->pciaddr.function = pci_get_function(dev);
102 if (!him->create_adapter(&pci_id, hba
148 PHBA hba; local
254 PHBA hba; local
337 PHBA hba; local
1331 PHBA hba; local
[all...]
H A Dhptnr_os_bsd.c101 PHBA hba = (PHBA)osext; local
104 hba->pcibar[index].rid = 0x10 + index * 4;
105 base = pci_read_config(hba->pcidev, hba->pcibar[index].rid, 4);
108 hba->pcibar[index].type = SYS_RES_IOPORT;
109 hba->pcibar[index].res = bus_alloc_resource_any(hba->pcidev,
110 hba->pcibar[index].type, &hba->pcibar[index].rid, RF_ACTIVE);
111 hba
124 PHBA hba = (PHBA)osext; local
[all...]
/freebsd-11-stable/sys/dev/hpt27xx/
H A Dhpt27xx_osm_bsd.c71 PHBA hba = (PHBA)device_get_softc(dev); local
81 hba->ext_type = EXT_TYPE_HBA;
82 hba->ldm_adapter.him = him;
91 hba->ldm_adapter.him_handle = malloc(size, M_DEVBUF, M_WAITOK);
92 if (!hba->ldm_adapter.him_handle)
95 hba->pcidev = dev;
96 hba->pciaddr.tree = 0;
97 hba->pciaddr.bus = pci_get_bus(dev);
98 hba->pciaddr.device = pci_get_slot(dev);
99 hba
151 PHBA hba; local
257 PHBA hba; local
343 PHBA hba; local
1136 PHBA hba; local
[all...]
H A Dhpt27xx_os_bsd.c115 PHBA hba = (PHBA)osext; local
118 hba->pcibar[index].rid = 0x10 + index * 4;
119 base = pci_read_config(hba->pcidev, hba->pcibar[index].rid, 4);
122 hba->pcibar[index].type = SYS_RES_IOPORT;
123 hba->pcibar[index].res = bus_alloc_resource_any(hba->pcidev,
124 hba->pcibar[index].type, &hba->pcibar[index].rid, RF_ACTIVE);
125 hba
138 PHBA hba = (PHBA)osext; local
[all...]
/freebsd-11-stable/sys/dev/hptiop/
H A Dhptiop.c80 static int hptiop_send_sync_msg(struct hpt_iop_hba *hba,
82 static void hptiop_request_callback_itl(struct hpt_iop_hba *hba,
84 static void hptiop_request_callback_mv(struct hpt_iop_hba *hba, u_int64_t req);
85 static void hptiop_request_callback_mvfrey(struct hpt_iop_hba *hba,
87 static void hptiop_os_message_callback(struct hpt_iop_hba *hba, u_int32_t msg);
88 static int hptiop_do_ioctl_itl(struct hpt_iop_hba *hba,
90 static int hptiop_do_ioctl_mv(struct hpt_iop_hba *hba,
92 static int hptiop_do_ioctl_mvfrey(struct hpt_iop_hba *hba,
94 static int hptiop_rescan_bus(struct hpt_iop_hba *hba);
95 static int hptiop_alloc_pci_res_itl(struct hpt_iop_hba *hba);
191 struct hpt_iop_hba *hba = hba_from_dev(dev); local
204 struct hpt_iop_hba *hba = hba_from_dev(dev); local
213 struct hpt_iop_hba *hba = hba_from_dev(dev); local
232 hptiop_mv_outbound_read(struct hpt_iop_hba *hba) argument
255 hptiop_mv_inbound_write(u_int64_t p, struct hpt_iop_hba *hba) argument
270 hptiop_post_msg_itl(struct hpt_iop_hba *hba, u_int32_t msg) argument
276 hptiop_post_msg_mv(struct hpt_iop_hba *hba, u_int32_t msg) argument
285 hptiop_post_msg_mvfrey(struct hpt_iop_hba *hba, u_int32_t msg) argument
291 hptiop_wait_ready_itl(struct hpt_iop_hba * hba, u_int32_t millisec) argument
312 hptiop_wait_ready_mv(struct hpt_iop_hba * hba, u_int32_t millisec) argument
320 hptiop_wait_ready_mvfrey(struct hpt_iop_hba * hba, u_int32_t millisec) argument
329 hptiop_request_callback_itl(struct hpt_iop_hba * hba, u_int32_t index) argument
466 hptiop_drain_outbound_queue_itl(struct hpt_iop_hba *hba) argument
505 hptiop_intr_itl(struct hpt_iop_hba * hba) argument
528 hptiop_request_callback_mv(struct hpt_iop_hba * hba, u_int64_t _tag) argument
624 hptiop_request_callback_mvfrey(struct hpt_iop_hba * hba, u_int32_t _tag) argument
729 hptiop_drain_outbound_queue_mv(struct hpt_iop_hba * hba) argument
742 hptiop_intr_mv(struct hpt_iop_hba * hba) argument
767 hptiop_intr_mvfrey(struct hpt_iop_hba * hba) argument
811 hptiop_send_sync_request_itl(struct hpt_iop_hba * hba, u_int32_t req32, u_int32_t millisec) argument
833 hptiop_send_sync_request_mv(struct hpt_iop_hba *hba, void *req, u_int32_t millisec) argument
857 hptiop_send_sync_request_mvfrey(struct hpt_iop_hba *hba, void *req, u_int32_t millisec) argument
899 hptiop_send_sync_msg(struct hpt_iop_hba *hba, u_int32_t msg, u_int32_t millisec) argument
917 hptiop_get_config_itl(struct hpt_iop_hba * hba, struct hpt_iop_request_get_config * config) argument
950 hptiop_get_config_mv(struct hpt_iop_hba * hba, struct hpt_iop_request_get_config * config) argument
973 hptiop_get_config_mvfrey(struct hpt_iop_hba * hba, struct hpt_iop_request_get_config * config) argument
1004 hptiop_set_config_itl(struct hpt_iop_hba *hba, struct hpt_iop_request_set_config *config) argument
1034 hptiop_set_config_mv(struct hpt_iop_hba *hba, struct hpt_iop_request_set_config *config) argument
1061 hptiop_set_config_mvfrey(struct hpt_iop_hba *hba, struct hpt_iop_request_set_config *config) argument
1086 hptiop_post_ioctl_command_itl(struct hpt_iop_hba *hba, u_int32_t req32, struct hpt_iop_ioctl_param *pParams) argument
1137 hptiop_bus_space_copyin(struct hpt_iop_hba *hba, u_int32_t bus, void *user, int size) argument
1152 hptiop_bus_space_copyout(struct hpt_iop_hba *hba, u_int32_t bus, void *user, int size) argument
1167 hptiop_do_ioctl_itl(struct hpt_iop_hba *hba, struct hpt_iop_ioctl_param * pParams) argument
1220 hptiop_post_ioctl_command_mv(struct hpt_iop_hba *hba, struct hpt_iop_request_ioctl_command *req, struct hpt_iop_ioctl_param *pParams) argument
1259 hptiop_do_ioctl_mv(struct hpt_iop_hba *hba, struct hpt_iop_ioctl_param *pParams) argument
1300 hptiop_post_ioctl_command_mvfrey(struct hpt_iop_hba *hba, struct hpt_iop_request_ioctl_command *req, struct hpt_iop_ioctl_param *pParams) argument
1356 hptiop_do_ioctl_mvfrey(struct hpt_iop_hba *hba, struct hpt_iop_ioctl_param *pParams) argument
1397 hptiop_rescan_bus(struct hpt_iop_hba * hba) argument
1417 hptiop_alloc_pci_res_itl(struct hpt_iop_hba *hba) argument
1443 hptiop_alloc_pci_res_mv(struct hpt_iop_hba *hba) argument
1492 hptiop_alloc_pci_res_mvfrey(struct hpt_iop_hba *hba) argument
1542 hptiop_release_pci_res_itl(struct hpt_iop_hba *hba) argument
1549 hptiop_release_pci_res_mv(struct hpt_iop_hba *hba) argument
1559 hptiop_release_pci_res_mvfrey(struct hpt_iop_hba *hba) argument
1569 hptiop_internal_memalloc_mv(struct hpt_iop_hba *hba) argument
1613 hptiop_internal_memalloc_mvfrey(struct hpt_iop_hba *hba) argument
1670 hptiop_internal_memfree_itl(struct hpt_iop_hba *hba) argument
1674 hptiop_internal_memfree_mv(struct hpt_iop_hba *hba) argument
1686 hptiop_internal_memfree_mvfrey(struct hpt_iop_hba *hba) argument
1698 hptiop_reset_comm_mvfrey(struct hpt_iop_hba *hba) argument
1811 struct hpt_iop_hba *hba; local
1880 struct hpt_iop_hba *hba = (struct hpt_iop_hba *)device_get_softc(dev); local
2135 struct hpt_iop_hba * hba = (struct hpt_iop_hba *)device_get_softc(dev); local
2163 struct hpt_iop_hba * hba = (struct hpt_iop_hba *)device_get_softc(dev); local
2182 struct hpt_iop_hba * hba = (struct hpt_iop_hba *)arg; local
2190 struct hpt_iop_hba *hba; local
2201 hptiop_enable_intr_itl(struct hpt_iop_hba *hba) argument
2207 hptiop_enable_intr_mv(struct hpt_iop_hba *hba) argument
2218 hptiop_enable_intr_mvfrey(struct hpt_iop_hba *hba) argument
2230 hptiop_disable_intr_itl(struct hpt_iop_hba *hba) argument
2241 hptiop_disable_intr_mv(struct hpt_iop_hba *hba) argument
2252 hptiop_disable_intr_mvfrey(struct hpt_iop_hba *hba) argument
2266 struct hpt_iop_hba * hba = (struct hpt_iop_hba *)argv; local
2272 hptiop_get_srb(struct hpt_iop_hba * hba) argument
2285 hptiop_free_srb(struct hpt_iop_hba *hba, struct hpt_iop_srb *srb) argument
2293 struct hpt_iop_hba * hba = (struct hpt_iop_hba *)cam_sim_softc(sim); local
2388 hptiop_post_req_itl(struct hpt_iop_hba *hba, struct hpt_iop_srb *srb, bus_dma_segment_t *segs, int nsegs) argument
2513 hptiop_post_req_mv(struct hpt_iop_hba *hba, struct hpt_iop_srb *srb, bus_dma_segment_t *segs, int nsegs) argument
2567 hptiop_post_req_mvfrey(struct hpt_iop_hba *hba, struct hpt_iop_srb *srb, bus_dma_segment_t *segs, int nsegs) argument
2644 struct hpt_iop_hba *hba = srb->hba; local
2664 struct hpt_iop_hba *hba = (struct hpt_iop_hba *)arg; local
2674 struct hpt_iop_hba *hba = (struct hpt_iop_hba *)arg; local
2709 struct hpt_iop_hba * hba = (struct hpt_iop_hba *)arg; local
2759 hptiop_os_message_callback(struct hpt_iop_hba * hba, u_int32_t msg) argument
2764 hptiop_os_query_remove_device(struct hpt_iop_hba * hba, int target_id) argument
2788 hptiop_release_resource(struct hpt_iop_hba *hba) argument
[all...]
H A Dhptiop.h436 int (*iop_wait_ready)(struct hpt_iop_hba *hba, u_int32_t millisec);
437 int (*internal_memalloc)(struct hpt_iop_hba *hba);
438 int (*internal_memfree)(struct hpt_iop_hba *hba);
439 int (*alloc_pci_res)(struct hpt_iop_hba *hba);
440 void (*release_pci_res)(struct hpt_iop_hba *hba);
441 void (*enable_intr)(struct hpt_iop_hba *hba);
442 void (*disable_intr)(struct hpt_iop_hba *hba);
443 int (*get_config)(struct hpt_iop_hba *hba,
445 int (*set_config)(struct hpt_iop_hba *hba,
447 int (*iop_intr)(struct hpt_iop_hba *hba);
456 struct hpt_iop_hba *hba; member in struct:hpt_iop_srb
474 hptiop_sleep(struct hpt_iop_hba *hba, void *ident, int priority, const char *wmesg, int timo) argument
[all...]
/freebsd-11-stable/sys/dev/iir/
H A Diir.h394 #define hba2minor(hba) ( (hba << 13) & HBA_MASK )

Completed in 137 milliseconds