Searched refs:chba (Results 1 – 3 of 3) sorted by relevance
930 static void update_address(struct cxgbi_hba *chba) in update_address() argument932 if (chba->ipv4addr) { in update_address()933 if (chba->vdev && in update_address()934 chba->ipv4addr != cxgb3i_get_private_ipv4addr(chba->vdev)) { in update_address()935 cxgb3i_set_private_ipv4addr(chba->vdev, chba->ipv4addr); in update_address()936 cxgb3i_set_private_ipv4addr(chba->ndev, 0); in update_address()938 chba->vdev->name, &chba->ipv4addr); in update_address()939 } else if (chba->ipv4addr != in update_address()940 cxgb3i_get_private_ipv4addr(chba->ndev)) { in update_address()941 cxgb3i_set_private_ipv4addr(chba->ndev, chba->ipv4addr); in update_address()[all …]
322 struct cxgbi_hba *chba; in cxgbi_hbas_remove() local328 chba = cdev->hbas[i]; in cxgbi_hbas_remove()329 if (chba) { in cxgbi_hbas_remove()331 iscsi_host_remove(chba->shost); in cxgbi_hbas_remove()333 iscsi_host_free(chba->shost); in cxgbi_hbas_remove()343 struct cxgbi_hba *chba; in cxgbi_hbas_add() local350 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 …]
531 struct cxgbi_hba *chba; member539 struct cxgbi_hba *chba; member578 static inline void cxgbi_set_iscsi_ipv4(struct cxgbi_hba *chba, __be32 ipaddr) in cxgbi_set_iscsi_ipv4() argument580 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()