fcec 477 drivers/scsi/qla2xxx/qla_dbg.c struct qla2xxx_fce_chain *fcec = ptr; fcec 482 drivers/scsi/qla2xxx/qla_dbg.c *last_chain = &fcec->type; fcec 483 drivers/scsi/qla2xxx/qla_dbg.c fcec->type = htonl(DUMP_CHAIN_FCE); fcec 484 drivers/scsi/qla2xxx/qla_dbg.c fcec->chain_size = htonl(sizeof(struct qla2xxx_fce_chain) + fcec 486 drivers/scsi/qla2xxx/qla_dbg.c fcec->size = htonl(fce_calc_size(ha->fce_bufs)); fcec 487 drivers/scsi/qla2xxx/qla_dbg.c fcec->addr_l = htonl(LSD(ha->fce_dma)); fcec 488 drivers/scsi/qla2xxx/qla_dbg.c fcec->addr_h = htonl(MSD(ha->fce_dma)); fcec 490 drivers/scsi/qla2xxx/qla_dbg.c iter_reg = fcec->eregs; fcec 494 drivers/scsi/qla2xxx/qla_dbg.c memcpy(iter_reg, ha->fce, ntohl(fcec->size)); fcec 496 drivers/scsi/qla2xxx/qla_dbg.c return (char *)iter_reg + ntohl(fcec->size);