Searched refs:cnic (Results 1 – 9 of 9) sorted by relevance
/linux-6.1.9/drivers/scsi/bnx2i/ |
D | bnx2i_init.c | 119 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 …]
|
D | bnx2i_iscsi.c | 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() 1571 len = sysfs_format_mac(buf, hba->cnic->mac_addr, 6); in bnx2i_host_get_param() 1673 struct cnic_dev *cnic = NULL; in bnx2i_check_route() local 1676 if (hba && hba->cnic) in bnx2i_check_route() 1677 cnic = hba->cnic->cm_select_dev(desti, CNIC_ULP_ISCSI); in bnx2i_check_route() 1678 if (!cnic) { in bnx2i_check_route() [all …]
|
D | bnx2i_hwi.c | 674 if (hba->cnic && hba->cnic->submit_kwqes) in bnx2i_update_iscsi_conn() 675 hba->cnic->submit_kwqes(hba->cnic, kwqe_arr, 1); in bnx2i_update_iscsi_conn() 771 if (hba->cnic && hba->cnic->submit_kwqes) in bnx2i_send_conn_destroy() 772 rc = hba->cnic->submit_kwqes(hba->cnic, kwqe_arr, 1); in bnx2i_send_conn_destroy() 831 if (hba->cnic && hba->cnic->submit_kwqes) in bnx2i_570x_send_conn_ofld_req() 832 rc = hba->cnic->submit_kwqes(hba->cnic, kwqe_arr, num_kwqes); in bnx2i_570x_send_conn_ofld_req() 900 if (hba->cnic && hba->cnic->submit_kwqes) in bnx2i_5771x_send_conn_ofld_req() 901 rc = hba->cnic->submit_kwqes(hba->cnic, kwqe_arr, num_kwqes); in bnx2i_5771x_send_conn_ofld_req() 1322 if (hba->cnic && hba->cnic->submit_kwqes) in bnx2i_send_fw_iscsi_init_msg() 1323 rc = hba->cnic->submit_kwqes(hba->cnic, kwqe_arr, 2); in bnx2i_send_fw_iscsi_init_msg()
|
D | bnx2i.h | 401 struct cnic_dev *cnic; member 823 struct bnx2i_hba *bnx2i_find_hba_for_cnic(struct cnic_dev *cnic); 825 struct bnx2i_hba *bnx2i_alloc_hba(struct cnic_dev *cnic);
|
/linux-6.1.9/drivers/scsi/bnx2fc/ |
D | bnx2fc_hwi.c | 47 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() 141 if (hba->cnic && hba->cnic->submit_kwqes) in bnx2fc_send_fw_fcoe_init_msg() 142 rc = hba->cnic->submit_kwqes(hba->cnic, kwqe_arr, num_kwqes); in bnx2fc_send_fw_fcoe_init_msg() 160 if (hba->cnic && hba->cnic->submit_kwqes) in bnx2fc_send_fw_fcoe_destroy_msg() 161 rc = hba->cnic->submit_kwqes(hba->cnic, kwqe_arr, num_kwqes); in bnx2fc_send_fw_fcoe_destroy_msg() 344 if (hba->cnic && hba->cnic->submit_kwqes) in bnx2fc_send_session_ofld_req() 345 rc = hba->cnic->submit_kwqes(hba->cnic, kwqe_arr, num_kwqes); in bnx2fc_send_session_ofld_req() 415 if (hba->cnic && hba->cnic->submit_kwqes) in bnx2fc_send_session_enable_req() [all …]
|
D | bnx2fc_fcoe.c | 91 static struct bnx2fc_hba *bnx2fc_find_hba_for_cnic(struct cnic_dev *cnic); 1356 static struct bnx2fc_hba *bnx2fc_hba_create(struct cnic_dev *cnic) in bnx2fc_hba_create() argument 1371 hba->cnic = cnic; in bnx2fc_hba_create() 1373 hba->max_tasks = cnic->max_fcoe_exchanges; in bnx2fc_hba_create() 1383 hba->phys_dev = cnic->netdev; in bnx2fc_hba_create() 1726 struct cnic_dev *cnic; in bnx2fc_bind_pcidev() local 1729 if (!hba->cnic) { in bnx2fc_bind_pcidev() 1733 cnic = hba->cnic; in bnx2fc_bind_pcidev() 1734 pdev = hba->pcidev = cnic->pcidev; in bnx2fc_bind_pcidev() 1792 struct cnic_dev *cnic; in bnx2fc_ulp_get_stats() local [all …]
|
D | bnx2fc.h | 185 struct cnic_dev *cnic; member
|
/linux-6.1.9/drivers/net/ethernet/broadcom/ |
D | Makefile | 11 obj-$(CONFIG_CNIC) += cnic.o
|
D | Kconfig | 108 will be called cnic. This is recommended.
|