Home
last modified time | relevance | path

Searched refs:cnic (Results 1 – 6 of 6) sorted by relevance

/linux/drivers/scsi/bnx2i/
H A Dbnx2i_init.c119 if (tmp_hba->cnic && tmp_hba->cnic->cm_select_dev) { in get_adapter_list_head()
135 struct bnx2i_hba *bnx2i_find_hba_for_cnic(struct cnic_dev *cnic) in bnx2i_find_hba_for_cnic() argument
141 if (hba->cnic == cnic) { in bnx2i_find_hba_for_cnic()
273 static int bnx2i_init_one(struct bnx2i_hba *hba, struct cnic_dev *cnic) in bnx2i_init_one() argument
278 if (!cnic->max_iscsi_conn) { in bnx2i_init_one()
285 hba->cnic = cnic; in bnx2i_init_one()
286 rc = cnic->register_device(cnic, CNIC_ULP_ISCSI, hba); in bnx2i_init_one()
294 "hba=%p, cnic=%p\n", hba, cnic); in bnx2i_init_one()
357 hba->cnic->unregister_device(hba->cnic, CNIC_ULP_ISCSI); in bnx2i_ulp_exit()
381 stats = (struct iscsi_stats_info *)hba->cnic->stats_addr; in bnx2i_get_stats()
[all …]
H A Dbnx2i_iscsi.c779 * @cnic: cnic device pointer
784 struct bnx2i_hba *bnx2i_alloc_hba(struct cnic_dev *cnic) in bnx2i_alloc_hba() argument
792 shost->dma_boundary = cnic->pcidev->dma_mask; in bnx2i_alloc_hba()
801 hba->netdev = cnic->netdev; in bnx2i_alloc_hba()
803 hba->pcidev = cnic->pcidev; in bnx2i_alloc_hba()
812 bnx2i_identify_device(hba, cnic); in bnx2i_alloc_hba()
1044 * Allocates buffers and BD tables before shipping requests to cnic
1572 len = sysfs_format_mac(buf, hba->cnic->mac_addr, 6); in bnx2i_host_get_param()
1674 struct cnic_dev *cnic in bnx2i_check_route()
1673 struct cnic_dev *cnic = NULL; bnx2i_check_route() local
1785 struct cnic_dev *cnic; bnx2i_ep_connect() local
2032 struct cnic_dev *cnic; bnx2i_hw_ep_disconnect() local
[all...]
H A Dbnx2i_hwi.c680 if (hba->cnic && hba->cnic->submit_kwqes)
681 hba->cnic->submit_kwqes(hba->cnic, kwqe_arr, 1);
777 if (hba->cnic && hba->cnic->submit_kwqes)
778 rc = hba->cnic->submit_kwqes(hba->cnic, kwqe_arr, 1);
837 if (hba->cnic && hba->cnic
[all...]
H A Dbnx2i.h401 struct cnic_dev *cnic; member
818 struct bnx2i_hba *bnx2i_find_hba_for_cnic(struct cnic_dev *cnic);
820 struct bnx2i_hba *bnx2i_alloc_hba(struct cnic_dev *cnic);
/linux/drivers/scsi/bnx2fc/
H A Dbnx2fc_hwi.c47 if (hba->cnic && hba->cnic->submit_kwqes) in bnx2fc_send_stat_req()
48 rc = hba->cnic->submit_kwqes(hba->cnic, kwqe_arr, num_kwqes); in bnx2fc_send_stat_req()
71 if (!hba->cnic) { in bnx2fc_send_fw_fcoe_init_msg()
72 printk(KERN_ERR PFX "hba->cnic NULL during fcoe fw init\n"); in bnx2fc_send_fw_fcoe_init_msg()
141 if (hba->cnic && hba->cnic->submit_kwqes) in bnx2fc_send_fw_fcoe_init_msg()
142 rc = hba->cnic->submit_kwqes(hba->cnic, kwqe_ar in bnx2fc_send_fw_fcoe_init_msg()
[all...]
/linux/drivers/net/ethernet/broadcom/
H A DMakefile11 obj-$(CONFIG_CNIC) += cnic.o