Lines Matching refs:fw_ddb_entry
618 struct dev_db_entry *fw_ddb_entry, in qla4xxx_get_fwddb_entry() argument
660 if (fw_ddb_entry) { in qla4xxx_get_fwddb_entry()
661 options = le16_to_cpu(fw_ddb_entry->options); in qla4xxx_get_fwddb_entry()
668 fw_ddb_entry->ip_addr, in qla4xxx_get_fwddb_entry()
669 le16_to_cpu(fw_ddb_entry->port), in qla4xxx_get_fwddb_entry()
670 fw_ddb_entry->iscsi_name); in qla4xxx_get_fwddb_entry()
677 fw_ddb_entry->ip_addr, in qla4xxx_get_fwddb_entry()
678 le16_to_cpu(fw_ddb_entry->port), in qla4xxx_get_fwddb_entry()
679 fw_ddb_entry->iscsi_name); in qla4xxx_get_fwddb_entry()
1146 struct dev_db_entry *fw_ddb_entry; in qla4xxx_send_tgts() local
1152 fw_ddb_entry = dma_alloc_coherent(&ha->pdev->dev, in qla4xxx_send_tgts()
1153 sizeof(*fw_ddb_entry), in qla4xxx_send_tgts()
1155 if (!fw_ddb_entry) { in qla4xxx_send_tgts()
1170 memset(fw_ddb_entry->iscsi_alias, 0, in qla4xxx_send_tgts()
1171 sizeof(fw_ddb_entry->iscsi_alias)); in qla4xxx_send_tgts()
1173 memset(fw_ddb_entry->iscsi_name, 0, in qla4xxx_send_tgts()
1174 sizeof(fw_ddb_entry->iscsi_name)); in qla4xxx_send_tgts()
1176 memset(fw_ddb_entry->ip_addr, 0, sizeof(fw_ddb_entry->ip_addr)); in qla4xxx_send_tgts()
1177 memset(fw_ddb_entry->tgt_addr, 0, in qla4xxx_send_tgts()
1178 sizeof(fw_ddb_entry->tgt_addr)); in qla4xxx_send_tgts()
1180 fw_ddb_entry->options = (DDB_OPT_DISC_SESSION | DDB_OPT_TARGET); in qla4xxx_send_tgts()
1181 fw_ddb_entry->port = cpu_to_le16(ntohs(port)); in qla4xxx_send_tgts()
1183 fw_ddb_entry->ip_addr[0] = *ip; in qla4xxx_send_tgts()
1184 fw_ddb_entry->ip_addr[1] = *(ip + 1); in qla4xxx_send_tgts()
1185 fw_ddb_entry->ip_addr[2] = *(ip + 2); in qla4xxx_send_tgts()
1186 fw_ddb_entry->ip_addr[3] = *(ip + 3); in qla4xxx_send_tgts()
1191 dma_free_coherent(&ha->pdev->dev, sizeof(*fw_ddb_entry), in qla4xxx_send_tgts()
1192 fw_ddb_entry, fw_ddb_entry_dma); in qla4xxx_send_tgts()