Home
last modified time | relevance | path

Searched refs:hba (Results 1 – 25 of 46) sorted by relevance

12

/linux-2.6.39/drivers/scsi/bnx2i/
Dbnx2i_init.c78 void bnx2i_identify_device(struct bnx2i_hba *hba) in bnx2i_identify_device() argument
80 hba->cnic_dev_type = 0; in bnx2i_identify_device()
81 if ((hba->pci_did == PCI_DEVICE_ID_NX2_5706) || in bnx2i_identify_device()
82 (hba->pci_did == PCI_DEVICE_ID_NX2_5706S)) in bnx2i_identify_device()
83 set_bit(BNX2I_NX2_DEV_5706, &hba->cnic_dev_type); in bnx2i_identify_device()
84 else if ((hba->pci_did == PCI_DEVICE_ID_NX2_5708) || in bnx2i_identify_device()
85 (hba->pci_did == PCI_DEVICE_ID_NX2_5708S)) in bnx2i_identify_device()
86 set_bit(BNX2I_NX2_DEV_5708, &hba->cnic_dev_type); in bnx2i_identify_device()
87 else if ((hba->pci_did == PCI_DEVICE_ID_NX2_5709) || in bnx2i_identify_device()
88 (hba->pci_did == PCI_DEVICE_ID_NX2_5709S)) { in bnx2i_identify_device()
[all …]
Dbnx2i_iscsi.c31 static int bnx2i_adapter_ready(struct bnx2i_hba *hba) in bnx2i_adapter_ready() argument
35 if (!hba || !test_bit(ADAPTER_STATE_UP, &hba->adapter_state) || in bnx2i_adapter_ready()
36 test_bit(ADAPTER_STATE_GOING_DOWN, &hba->adapter_state) || in bnx2i_adapter_ready()
37 test_bit(ADAPTER_STATE_LINK_DOWN, &hba->adapter_state)) in bnx2i_adapter_ready()
140 static int bnx2i_map_scsi_sg(struct bnx2i_hba *hba, struct bnx2i_cmd *cmd) in bnx2i_map_scsi_sg() argument
187 bd_count = bnx2i_map_scsi_sg(cmd->conn->hba, cmd); in bnx2i_iscsi_map_sg_list()
235 static int bnx2i_bind_conn_to_iscsi_cid(struct bnx2i_hba *hba, in bnx2i_bind_conn_to_iscsi_cid() argument
239 if (hba && hba->cid_que.conn_cid_tbl[iscsi_cid]) { in bnx2i_bind_conn_to_iscsi_cid()
245 hba->cid_que.conn_cid_tbl[iscsi_cid] = bnx2i_conn; in bnx2i_bind_conn_to_iscsi_cid()
255 struct bnx2i_conn *bnx2i_get_conn_from_id(struct bnx2i_hba *hba, in bnx2i_get_conn_from_id() argument
[all …]
Dbnx2i_hwi.c30 if (test_bit(BNX2I_NX2_DEV_57710, &ep->hba->cnic_dev_type)) in bnx2i_get_cid_num()
44 static void bnx2i_adjust_qp_size(struct bnx2i_hba *hba) in bnx2i_adjust_qp_size() argument
48 if (test_bit(BNX2I_NX2_DEV_5706, &hba->cnic_dev_type) || in bnx2i_adjust_qp_size()
49 test_bit(BNX2I_NX2_DEV_5708, &hba->cnic_dev_type) || in bnx2i_adjust_qp_size()
50 test_bit(BNX2I_NX2_DEV_5709, &hba->cnic_dev_type)) { in bnx2i_adjust_qp_size()
51 if (!is_power_of_2(hba->max_sqes)) in bnx2i_adjust_qp_size()
52 hba->max_sqes = rounddown_pow_of_two(hba->max_sqes); in bnx2i_adjust_qp_size()
54 if (!is_power_of_2(hba->max_rqes)) in bnx2i_adjust_qp_size()
55 hba->max_rqes = rounddown_pow_of_two(hba->max_rqes); in bnx2i_adjust_qp_size()
63 if (hba->max_sqes < num_elements_per_pg) in bnx2i_adjust_qp_size()
[all …]
Dbnx2i_sysfs.c39 struct bnx2i_hba *hba = bnx2i_dev_to_hba(dev); in bnx2i_show_sq_info() local
41 return sprintf(buf, "0x%x\n", hba->max_sqes); in bnx2i_show_sq_info()
59 struct bnx2i_hba *hba = bnx2i_dev_to_hba(dev); in bnx2i_set_sq_info() local
63 if (hba->ofld_conns_active) in bnx2i_set_sq_info()
66 if (test_bit(BNX2I_NX2_DEV_57710, &hba->cnic_dev_type)) in bnx2i_set_sq_info()
74 hba->max_sqes = val; in bnx2i_set_sq_info()
95 struct bnx2i_hba *hba = bnx2i_dev_to_hba(dev); in bnx2i_show_ccell_info() local
97 return sprintf(buf, "0x%x\n", hba->num_ccell); in bnx2i_show_ccell_info()
114 struct bnx2i_hba *hba = bnx2i_dev_to_hba(dev); in bnx2i_set_ccell_info() local
116 if (hba->ofld_conns_active) in bnx2i_set_ccell_info()
[all …]
Dbnx2i.h236 struct bnx2i_hba *hba; member
680 struct bnx2i_hba *hba; member
721 extern void bnx2i_identify_device(struct bnx2i_hba *hba);
729 struct bnx2i_conn *bnx2i_get_conn_from_id(struct bnx2i_hba *hba,
734 struct bnx2i_endpoint *bnx2i_ep_ofld_list_next(struct bnx2i_hba *hba);
735 struct bnx2i_endpoint *bnx2i_ep_destroy_list_next(struct bnx2i_hba *hba);
740 void bnx2i_free_hba(struct bnx2i_hba *hba);
749 extern int bnx2i_send_fw_iscsi_init_msg(struct bnx2i_hba *hba);
763 extern void bnx2i_send_cmd_cleanup_req(struct bnx2i_hba *hba,
765 extern int bnx2i_send_conn_ofld_req(struct bnx2i_hba *hba,
[all …]
/linux-2.6.39/drivers/scsi/
Dhptiop.c47 static int iop_send_sync_msg(struct hptiop_hba *hba, u32 msg, u32 millisec);
48 static void hptiop_finish_scsi_req(struct hptiop_hba *hba, u32 tag,
50 static void hptiop_host_request_callback_itl(struct hptiop_hba *hba, u32 tag);
51 static void hptiop_iop_request_callback_itl(struct hptiop_hba *hba, u32 tag);
52 static void hptiop_message_callback(struct hptiop_hba *hba, u32 msg);
54 static int iop_wait_ready_itl(struct hptiop_hba *hba, u32 millisec) in iop_wait_ready_itl() argument
60 req = readl(&hba->u.itl.iop->inbound_queue); in iop_wait_ready_itl()
67 writel(req, &hba->u.itl.iop->outbound_queue); in iop_wait_ready_itl()
68 readl(&hba->u.itl.iop->outbound_intstatus); in iop_wait_ready_itl()
75 static int iop_wait_ready_mv(struct hptiop_hba *hba, u32 millisec) in iop_wait_ready_mv() argument
[all …]
Dstex.c373 static struct status_msg *stex_get_status(struct st_hba *hba) in stex_get_status() argument
375 struct status_msg *status = hba->status_buffer + hba->status_tail; in stex_get_status()
377 ++hba->status_tail; in stex_get_status()
378 hba->status_tail %= hba->sts_count+1; in stex_get_status()
394 static struct req_msg *stex_alloc_req(struct st_hba *hba) in stex_alloc_req() argument
396 struct req_msg *req = hba->dma_mem + hba->req_head * hba->rq_size; in stex_alloc_req()
398 ++hba->req_head; in stex_alloc_req()
399 hba->req_head %= hba->rq_count+1; in stex_alloc_req()
404 static struct req_msg *stex_ss_alloc_req(struct st_hba *hba) in stex_ss_alloc_req() argument
406 return (struct req_msg *)(hba->dma_mem + in stex_ss_alloc_req()
[all …]
Dhptiop.h274 struct hptiop_hba * hba; member
286 int (*iop_wait_ready)(struct hptiop_hba *hba, u32 millisec);
287 int (*internal_memalloc)(struct hptiop_hba *hba);
288 int (*internal_memfree)(struct hptiop_hba *hba);
289 int (*map_pci_bar)(struct hptiop_hba *hba);
290 void (*unmap_pci_bar)(struct hptiop_hba *hba);
291 void (*enable_intr)(struct hptiop_hba *hba);
292 void (*disable_intr)(struct hptiop_hba *hba);
293 int (*get_config)(struct hptiop_hba *hba,
295 int (*set_config)(struct hptiop_hba *hba,
[all …]
/linux-2.6.39/drivers/scsi/bnx2fc/
Dbnx2fc_fcoe.c64 static void bnx2fc_start_disc(struct bnx2fc_hba *hba);
69 static int bnx2fc_bind_adapter_devices(struct bnx2fc_hba *hba);
70 static void bnx2fc_unbind_adapter_devices(struct bnx2fc_hba *hba);
71 static int bnx2fc_bind_pcidev(struct bnx2fc_hba *hba);
72 static void bnx2fc_unbind_pcidev(struct bnx2fc_hba *hba);
73 static struct fc_lport *bnx2fc_if_create(struct bnx2fc_hba *hba,
80 static int bnx2fc_fw_init(struct bnx2fc_hba *hba);
81 static void bnx2fc_fw_destroy(struct bnx2fc_hba *hba);
84 static void bnx2fc_stop(struct bnx2fc_hba *hba);
145 struct bnx2fc_hba *hba = port->priv; in bnx2fc_cleanup() local
[all …]
Dbnx2fc_hwi.c18 static void bnx2fc_fastpath_notification(struct bnx2fc_hba *hba,
20 static void bnx2fc_process_ofld_cmpl(struct bnx2fc_hba *hba,
22 static void bnx2fc_process_enable_conn_cmpl(struct bnx2fc_hba *hba,
24 static void bnx2fc_init_failure(struct bnx2fc_hba *hba, u32 err_code);
25 static void bnx2fc_process_conn_destroy_cmpl(struct bnx2fc_hba *hba,
28 int bnx2fc_send_stat_req(struct bnx2fc_hba *hba) in bnx2fc_send_stat_req() argument
40 stat_req.stat_params_addr_lo = (u32) hba->stats_buf_dma; in bnx2fc_send_stat_req()
41 stat_req.stat_params_addr_hi = (u32) ((u64)hba->stats_buf_dma >> 32); in bnx2fc_send_stat_req()
45 if (hba->cnic && hba->cnic->submit_kwqes) in bnx2fc_send_stat_req()
46 rc = hba->cnic->submit_kwqes(hba->cnic, kwqe_arr, num_kwqes); in bnx2fc_send_stat_req()
[all …]
Dbnx2fc_tgt.c20 static u32 bnx2fc_alloc_conn_id(struct bnx2fc_hba *hba,
22 static int bnx2fc_alloc_session_resc(struct bnx2fc_hba *hba,
24 static void bnx2fc_free_session_resc(struct bnx2fc_hba *hba,
26 static void bnx2fc_free_conn_id(struct bnx2fc_hba *hba, u32 conn_id);
68 struct bnx2fc_hba *hba = port->priv; in bnx2fc_offload_session() local
82 rval = bnx2fc_alloc_session_resc(hba, tgt); in bnx2fc_offload_session()
143 bnx2fc_free_session_resc(hba, tgt); in bnx2fc_offload_session()
145 bnx2fc_free_conn_id(hba, tgt->fcoe_conn_id); in bnx2fc_offload_session()
238 struct bnx2fc_hba *hba = port->priv; in bnx2fc_upload_session() local
280 bnx2fc_send_session_destroy_req(hba, tgt); in bnx2fc_upload_session()
[all …]
Dbnx2fc.h236 struct bnx2fc_hba *hba; member
434 int bnx2fc_send_fw_fcoe_init_msg(struct bnx2fc_hba *hba);
435 int bnx2fc_send_fw_fcoe_destroy_msg(struct bnx2fc_hba *hba);
440 int bnx2fc_send_session_destroy_req(struct bnx2fc_hba *hba,
445 int bnx2fc_setup_task_ctx(struct bnx2fc_hba *hba);
446 void bnx2fc_free_task_ctx(struct bnx2fc_hba *hba);
447 int bnx2fc_setup_fw_resc(struct bnx2fc_hba *hba);
448 void bnx2fc_free_fw_resc(struct bnx2fc_hba *hba);
449 struct bnx2fc_cmd_mgr *bnx2fc_cmd_mgr_alloc(struct bnx2fc_hba *hba,
452 void bnx2fc_get_link_state(struct bnx2fc_hba *hba);
[all …]
Dbnx2fc_io.c32 struct bnx2fc_hba *hba = io_req->port->priv; in bnx2fc_cmd_timer_set() local
34 if (queue_delayed_work(hba->timer_work_queue, &io_req->timeout_work, in bnx2fc_cmd_timer_set()
238 struct bnx2fc_cmd_mgr *bnx2fc_cmd_mgr_alloc(struct bnx2fc_hba *hba, in bnx2fc_cmd_mgr_alloc() argument
283 cmgr->hba = hba; in bnx2fc_cmd_mgr_alloc()
342 bdt_info->bd_tbl = dma_alloc_coherent(&hba->pcidev->dev, in bnx2fc_cmd_mgr_alloc()
363 struct bnx2fc_hba *hba = cmgr->hba; in bnx2fc_cmd_mgr_free() local
380 dma_free_coherent(&hba->pcidev->dev, bd_tbl_sz, in bnx2fc_cmd_mgr_free()
422 struct bnx2fc_hba *hba = port->priv; in bnx2fc_elstm_alloc() local
423 struct bnx2fc_cmd_mgr *cmd_mgr = hba->cmd_mgr; in bnx2fc_elstm_alloc()
487 struct bnx2fc_hba *hba = port->priv; in bnx2fc_cmd_alloc() local
[all …]
/linux-2.6.39/drivers/target/
Dtarget_core_hba.c102 struct se_hba *hba; in core_alloc_hba() local
105 hba = kzalloc(sizeof(*hba), GFP_KERNEL); in core_alloc_hba()
106 if (!hba) { in core_alloc_hba()
111 INIT_LIST_HEAD(&hba->hba_dev_list); in core_alloc_hba()
112 spin_lock_init(&hba->device_lock); in core_alloc_hba()
113 spin_lock_init(&hba->hba_queue_lock); in core_alloc_hba()
114 mutex_init(&hba->hba_access_mutex); in core_alloc_hba()
116 hba->hba_index = scsi_get_new_index(SCSI_INST_INDEX); in core_alloc_hba()
117 hba->hba_flags |= hba_flags; in core_alloc_hba()
119 atomic_set(&hba->max_queue_depth, 0); in core_alloc_hba()
[all …]
Dtarget_core_pscsi.c81 static int pscsi_attach_hba(struct se_hba *hba, u32 host_id) in pscsi_attach_hba() argument
94 atomic_set(&hba->left_queue_depth, hba_depth); in pscsi_attach_hba()
95 atomic_set(&hba->max_queue_depth, hba_depth); in pscsi_attach_hba()
97 hba->hba_ptr = (void *)phv; in pscsi_attach_hba()
100 " Generic Target Core Stack %s\n", hba->hba_id, in pscsi_attach_hba()
103 " Target Core with TCQ Depth: %d\n", hba->hba_id, in pscsi_attach_hba()
104 atomic_read(&hba->max_queue_depth)); in pscsi_attach_hba()
109 static void pscsi_detach_hba(struct se_hba *hba) in pscsi_detach_hba() argument
111 struct pscsi_hba_virt *phv = hba->hba_ptr; in pscsi_detach_hba()
118 " Generic Target Core\n", hba->hba_id, in pscsi_detach_hba()
[all …]
Dtarget_core_file.c63 static int fd_attach_hba(struct se_hba *hba, u32 host_id) in fd_attach_hba() argument
75 atomic_set(&hba->left_queue_depth, FD_HBA_QUEUE_DEPTH); in fd_attach_hba()
76 atomic_set(&hba->max_queue_depth, FD_HBA_QUEUE_DEPTH); in fd_attach_hba()
77 hba->hba_ptr = (void *) fd_host; in fd_attach_hba()
80 " Target Core Stack %s\n", hba->hba_id, FD_VERSION, in fd_attach_hba()
84 hba->hba_id, fd_host->fd_host_id, in fd_attach_hba()
85 atomic_read(&hba->max_queue_depth), FD_MAX_SECTORS); in fd_attach_hba()
90 static void fd_detach_hba(struct se_hba *hba) in fd_detach_hba() argument
92 struct fd_host *fd_host = hba->hba_ptr; in fd_detach_hba()
95 " Target Core\n", hba->hba_id, fd_host->fd_host_id); in fd_detach_hba()
[all …]
Dtarget_core_rd.c57 static int rd_attach_hba(struct se_hba *hba, u32 host_id) in rd_attach_hba() argument
69 atomic_set(&hba->left_queue_depth, RD_HBA_QUEUE_DEPTH); in rd_attach_hba()
70 atomic_set(&hba->max_queue_depth, RD_HBA_QUEUE_DEPTH); in rd_attach_hba()
71 hba->hba_ptr = (void *) rd_host; in rd_attach_hba()
74 " Generic Target Core Stack %s\n", hba->hba_id, in rd_attach_hba()
77 " Target Core TCQ Depth: %d MaxSectors: %u\n", hba->hba_id, in rd_attach_hba()
78 rd_host->rd_host_id, atomic_read(&hba->max_queue_depth), in rd_attach_hba()
84 static void rd_detach_hba(struct se_hba *hba) in rd_detach_hba() argument
86 struct rd_host *rd_host = hba->hba_ptr; in rd_detach_hba()
89 " Generic Target Core\n", hba->hba_id, rd_host->rd_host_id); in rd_detach_hba()
[all …]
Dtarget_core_iblock.c64 static int iblock_attach_hba(struct se_hba *hba, u32 host_id) in iblock_attach_hba() argument
77 atomic_set(&hba->left_queue_depth, IBLOCK_HBA_QUEUE_DEPTH); in iblock_attach_hba()
78 atomic_set(&hba->max_queue_depth, IBLOCK_HBA_QUEUE_DEPTH); in iblock_attach_hba()
79 hba->hba_ptr = (void *) ib_host; in iblock_attach_hba()
82 " Generic Target Core Stack %s\n", hba->hba_id, in iblock_attach_hba()
86 " Target Core TCQ Depth: %d\n", hba->hba_id, in iblock_attach_hba()
87 ib_host->iblock_host_id, atomic_read(&hba->max_queue_depth)); in iblock_attach_hba()
92 static void iblock_detach_hba(struct se_hba *hba) in iblock_detach_hba() argument
94 struct iblock_hba *ib_host = hba->hba_ptr; in iblock_detach_hba()
97 " Target Core\n", hba->hba_id, ib_host->iblock_host_id); in iblock_detach_hba()
[all …]
Dtarget_core_configfs.c1664 struct se_hba *hba = se_dev->se_dev_hba; in target_core_show_dev_info() local
1665 struct se_subsystem_api *t = hba->transport; in target_core_show_dev_info()
1674 read_bytes += t->show_configfs_dev_params(hba, se_dev, page+read_bytes); in target_core_show_dev_info()
1692 struct se_hba *hba = se_dev->se_dev_hba; in target_core_store_dev_control() local
1693 struct se_subsystem_api *t = hba->transport; in target_core_store_dev_control()
1701 return t->set_configfs_dev_params(hba, se_dev, page, count); in target_core_store_dev_control()
1728 struct se_hba *hba = se_dev->se_dev_hba; in target_core_store_dev_alias() local
1743 config_item_name(&hba->hba_group.cg_item), in target_core_store_dev_alias()
1774 struct se_hba *hba = se_dev->se_dev_hba; in target_core_store_dev_udev_path() local
1789 config_item_name(&hba->hba_group.cg_item), in target_core_store_dev_udev_path()
[all …]
/linux-2.6.39/drivers/parisc/
Dlba_pci.c193 u8 first_bus = d->hba.hba_bus->secondary; in lba_device_present()
194 u8 last_sub_bus = d->hba.hba_bus->subordinate; in lba_device_present()
209 error_config = READ_REG32(d->hba.base_addr + LBA_ERROR_CONFIG); \
212 status_control = READ_REG32(d->hba.base_addr + LBA_STAT_CTL); \
218 arb_mask = READ_REG32(d->hba.base_addr + LBA_ARB_MASK); \
224 WRITE_REG32(0x1, d->hba.base_addr + LBA_ARB_MASK); \
230 WRITE_REG32(error_config | LBA_SMART_MODE, d->hba.base_addr + LBA_ERROR_CONFIG); \
239 WRITE_REG32(tok | PCI_VENDOR_ID, (d)->hba.base_addr + LBA_PCI_CFG_ADDR);\
244 lba_t32 = READ_REG32((d)->hba.base_addr + LBA_PCI_CFG_ADDR); \
249 WRITE_REG32(~0, (d)->hba.base_addr + LBA_PCI_CFG_DATA); \
[all …]
Ddino.c146 struct pci_hba_data hba; /* 'C' inheritance - must be first */ member
180 void __iomem *base_addr = d->hba.base_addr; in dino_cfg_read()
215 void __iomem *base_addr = d->hba.base_addr; in dino_cfg_write()
308 __raw_writel(dino_dev->imr, dino_dev->hba.base_addr+DINO_IMR); in dino_mask_irq()
325 __raw_readl(dino_dev->hba.base_addr+DINO_IPR); in dino_unmask_irq()
329 __raw_writel( dino_dev->imr, dino_dev->hba.base_addr+DINO_IMR); in dino_unmask_irq()
340 tmp = __raw_readl(dino_dev->hba.base_addr+DINO_ILR); in dino_unmask_irq()
371 mask = __raw_readl(dino_dev->hba.base_addr+DINO_IRR0) & DINO_IRR_MASK; in dino_isr()
393 mask = __raw_readl(dino_dev->hba.base_addr+DINO_ILR) & dino_dev->imr; in dino_isr()
398 dino_dev->hba.base_addr, mask); in dino_isr()
[all …]
Deisa.c65 struct pci_hba_data hba; member
311 eisa_dev.hba.dev = dev; in eisa_probe()
312 eisa_dev.hba.iommu = ccio_get_iommu(dev); in eisa_probe()
314 eisa_dev.hba.lmmio_space.name = "EISA"; in eisa_probe()
315 eisa_dev.hba.lmmio_space.start = F_EXTEND(0xfc000000); in eisa_probe()
316 eisa_dev.hba.lmmio_space.end = F_EXTEND(0xffbfffff); in eisa_probe()
317 eisa_dev.hba.lmmio_space.flags = IORESOURCE_MEM; in eisa_probe()
318 result = ccio_request_resource(dev, &eisa_dev.hba.lmmio_space); in eisa_probe()
323 eisa_dev.hba.io_space.name = "EISA"; in eisa_probe()
324 eisa_dev.hba.io_space.start = 0; in eisa_probe()
[all …]
/linux-2.6.39/arch/parisc/include/asm/
Dpci.h85 #define PCI_IS_LMMIO(hba,a) pci_is_lmmio(hba,a) argument
90 static __inline__ int pci_is_lmmio(struct pci_hba_data *hba, unsigned long a) in pci_is_lmmio() argument
103 #define PCI_BUS_ADDR(hba,a) (PCI_IS_LMMIO(hba,a) \ argument
104 ? ((a) - hba->lmmio_space_offset) /* mangle LMMIO */ \
106 #define PCI_HOST_ADDR(hba,a) (((a) & PCI_F_EXTEND) == 0 \ argument
107 ? (a) + hba->lmmio_space_offset \
112 #define PCI_BUS_ADDR(hba,a) (a) argument
113 #define PCI_HOST_ADDR(hba,a) (a) argument
115 #define PCI_IS_LMMIO(hba,a) (1) /* 32-bit doesn't support GMMIO */ argument
172 u8 (*inb) (struct pci_hba_data *hba, u16 port);
[all …]
/linux-2.6.39/drivers/block/
Dcpqarray.c73 static ctlr_info_t *hba[MAX_CTLR]; variable
224 proc_create_data(hba[i]->devname, 0, proc_array, &ida_proc_fops, hba[i]); in ida_procinit()
336 free_irq(hba[i]->intr, hba[i]); in cpqarray_remove_one()
337 iounmap(hba[i]->vaddr); in cpqarray_remove_one()
338 unregister_blkdev(COMPAQ_SMART2_MAJOR+i, hba[i]->devname); in cpqarray_remove_one()
339 del_timer(&hba[i]->timer); in cpqarray_remove_one()
340 remove_proc_entry(hba[i]->devname, proc_array); in cpqarray_remove_one()
341 pci_free_consistent(hba[i]->pci_dev, in cpqarray_remove_one()
342 NR_CMDS * sizeof(cmdlist_t), (hba[i]->cmd_pool), in cpqarray_remove_one()
343 hba[i]->cmd_pool_dhandle); in cpqarray_remove_one()
[all …]
/linux-2.6.39/arch/parisc/kernel/
Dpci.c203 struct pci_hba_data *hba = HBA_DATA(dev->bus->bridge->platform_data); in pcibios_resource_to_bus() local
218 region->start = PCI_BUS_ADDR(hba, res->start); in pcibios_resource_to_bus()
219 region->end = PCI_BUS_ADDR(hba, res->end); in pcibios_resource_to_bus()
231 struct pci_hba_data *hba = HBA_DATA(dev->bus->bridge->platform_data); in pcibios_bus_to_resource() local
235 res->start = PCI_HOST_ADDR(hba, region->start); in pcibios_bus_to_resource()
236 res->end = PCI_HOST_ADDR(hba, region->end); in pcibios_bus_to_resource()
319 void pcibios_register_hba(struct pci_hba_data *hba) in pcibios_register_hba() argument
326 parisc_pci_hba[pci_hba_count] = hba; in pcibios_register_hba()
327 hba->hba_num = pci_hba_count++; in pcibios_register_hba()

12