Home
last modified time | relevance | path

Searched refs:chba (Results 1 – 3 of 3) sorted by relevance

/linux-6.1.9/drivers/scsi/cxgbi/cxgb3i/
Dcxgb3i.c931 static void update_address(struct cxgbi_hba *chba) in update_address() argument
933 if (chba->ipv4addr) { in update_address()
934 if (chba->vdev && in update_address()
935 chba->ipv4addr != cxgb3i_get_private_ipv4addr(chba->vdev)) { in update_address()
936 cxgb3i_set_private_ipv4addr(chba->vdev, chba->ipv4addr); in update_address()
937 cxgb3i_set_private_ipv4addr(chba->ndev, 0); in update_address()
939 chba->vdev->name, &chba->ipv4addr); in update_address()
940 } else if (chba->ipv4addr != in update_address()
941 cxgb3i_get_private_ipv4addr(chba->ndev)) { in update_address()
942 cxgb3i_set_private_ipv4addr(chba->ndev, chba->ipv4addr); in update_address()
[all …]
/linux-6.1.9/drivers/scsi/cxgbi/
Dlibcxgbi.c322 struct cxgbi_hba *chba; in cxgbi_hbas_remove() local
328 chba = cdev->hbas[i]; in cxgbi_hbas_remove()
329 if (chba) { in cxgbi_hbas_remove()
331 iscsi_host_remove(chba->shost, false); in cxgbi_hbas_remove()
333 iscsi_host_free(chba->shost); in cxgbi_hbas_remove()
343 struct cxgbi_hba *chba; in cxgbi_hbas_add() local
350 shost = iscsi_host_alloc(sht, sizeof(*chba), 1); in cxgbi_hbas_add()
364 chba = iscsi_host_priv(shost); in cxgbi_hbas_add()
365 chba->cdev = cdev; in cxgbi_hbas_add()
366 chba->ndev = cdev->ports[i]; in cxgbi_hbas_add()
[all …]
Dlibcxgbi.h531 struct cxgbi_hba *chba; member
539 struct cxgbi_hba *chba; member
578 static inline void cxgbi_set_iscsi_ipv4(struct cxgbi_hba *chba, __be32 ipaddr) in cxgbi_set_iscsi_ipv4() argument
580 if (chba->cdev->flags & CXGBI_FLAG_IPV4_SET) in cxgbi_set_iscsi_ipv4()
581 chba->ipv4addr = ipaddr; in cxgbi_set_iscsi_ipv4()
584 chba->ndev->name); in cxgbi_set_iscsi_ipv4()