Lines Matching refs:htonl
76 fw_dump->fw_major_version = htonl(ha->fw_major_version); in qla2xxx_prep_dump()
77 fw_dump->fw_minor_version = htonl(ha->fw_minor_version); in qla2xxx_prep_dump()
78 fw_dump->fw_subminor_version = htonl(ha->fw_subminor_version); in qla2xxx_prep_dump()
79 fw_dump->fw_attributes = htonl(ha->fw_attributes); in qla2xxx_prep_dump()
81 fw_dump->vendor = htonl(ha->pdev->vendor); in qla2xxx_prep_dump()
82 fw_dump->device = htonl(ha->pdev->device); in qla2xxx_prep_dump()
83 fw_dump->subsystem_vendor = htonl(ha->pdev->subsystem_vendor); in qla2xxx_prep_dump()
84 fw_dump->subsystem_device = htonl(ha->pdev->subsystem_device); in qla2xxx_prep_dump()
305 *buf++ = htonl(rd_reg_dword(dmp_reg)); in qla24xx_read_window()
493 fcec->type = htonl(DUMP_CHAIN_FCE); in qla25xx_copy_fce()
494 fcec->chain_size = htonl(sizeof(struct qla2xxx_fce_chain) + in qla25xx_copy_fce()
496 fcec->size = htonl(fce_calc_size(ha->fce_bufs)); in qla25xx_copy_fce()
497 fcec->addr_l = htonl(LSD(ha->fce_dma)); in qla25xx_copy_fce()
498 fcec->addr_h = htonl(MSD(ha->fce_dma)); in qla25xx_copy_fce()
502 *iter_reg++ = htonl(ha->fce_mb[cnt]); in qla25xx_copy_fce()
578 q->type = htonl(DUMP_CHAIN_QUEUE); in qla2xxx_copy_atioqueues()
579 q->chain_size = htonl( in qla2xxx_copy_atioqueues()
587 qh->queue = htonl(TYPE_ATIO_QUEUE); in qla2xxx_copy_atioqueues()
588 qh->number = htonl(que); in qla2xxx_copy_atioqueues()
589 qh->size = htonl(aqp->length * sizeof(request_t)); in qla2xxx_copy_atioqueues()
622 q->type = htonl(DUMP_CHAIN_QUEUE); in qla25xx_copy_mqueues()
623 q->chain_size = htonl( in qla25xx_copy_mqueues()
631 qh->queue = htonl(TYPE_REQUEST_QUEUE); in qla25xx_copy_mqueues()
632 qh->number = htonl(que); in qla25xx_copy_mqueues()
633 qh->size = htonl(req->length * sizeof(request_t)); in qla25xx_copy_mqueues()
650 q->type = htonl(DUMP_CHAIN_QUEUE); in qla25xx_copy_mqueues()
651 q->chain_size = htonl( in qla25xx_copy_mqueues()
659 qh->queue = htonl(TYPE_RESPONSE_QUEUE); in qla25xx_copy_mqueues()
660 qh->number = htonl(que); in qla25xx_copy_mqueues()
661 qh->size = htonl(rsp->length * sizeof(response_t)); in qla25xx_copy_mqueues()
686 mq->type = htonl(DUMP_CHAIN_MQ); in qla25xx_copy_mq()
687 mq->chain_size = htonl(sizeof(struct qla2xxx_mq_chain)); in qla25xx_copy_mq()
691 mq->count = htonl(que_cnt); in qla25xx_copy_mq()
696 htonl(rd_reg_dword(®->isp25mq.req_q_in)); in qla25xx_copy_mq()
698 htonl(rd_reg_dword(®->isp25mq.req_q_out)); in qla25xx_copy_mq()
700 htonl(rd_reg_dword(®->isp25mq.rsp_q_in)); in qla25xx_copy_mq()
702 htonl(rd_reg_dword(®->isp25mq.rsp_q_out)); in qla25xx_copy_mq()
1118 fw->host_status = htonl(rd_reg_dword(®->host_status)); in qla24xx_fw_dump()
1129 fw->host_reg[cnt] = htonl(rd_reg_dword(dmp_reg)); in qla24xx_fw_dump()
1139 fw->shadow_reg[0] = htonl(rd_reg_dword(®->iobase_sdata)); in qla24xx_fw_dump()
1142 fw->shadow_reg[1] = htonl(rd_reg_dword(®->iobase_sdata)); in qla24xx_fw_dump()
1145 fw->shadow_reg[2] = htonl(rd_reg_dword(®->iobase_sdata)); in qla24xx_fw_dump()
1148 fw->shadow_reg[3] = htonl(rd_reg_dword(®->iobase_sdata)); in qla24xx_fw_dump()
1151 fw->shadow_reg[4] = htonl(rd_reg_dword(®->iobase_sdata)); in qla24xx_fw_dump()
1154 fw->shadow_reg[5] = htonl(rd_reg_dword(®->iobase_sdata)); in qla24xx_fw_dump()
1157 fw->shadow_reg[6] = htonl(rd_reg_dword(®->iobase_sdata)); in qla24xx_fw_dump()
1201 *iter_reg++ = htonl(rd_reg_dword(dmp_reg)); in qla24xx_fw_dump()
1207 *iter_reg++ = htonl(rd_reg_dword(dmp_reg)); in qla24xx_fw_dump()
1213 *iter_reg++ = htonl(rd_reg_dword(dmp_reg)); in qla24xx_fw_dump()
1313 ha->fw_dump->version |= htonl(DUMP_CHAIN_VARIANT); in qla24xx_fw_dump()
1314 *last_chain |= htonl(DUMP_CHAIN_LAST); in qla24xx_fw_dump()
1359 ha->fw_dump->version = htonl(2); in qla25xx_fw_dump()
1361 fw->host_status = htonl(rd_reg_dword(®->host_status)); in qla25xx_fw_dump()
1379 fw->pcie_regs[0] = htonl(rd_reg_dword(dmp_reg)); in qla25xx_fw_dump()
1381 fw->pcie_regs[1] = htonl(rd_reg_dword(dmp_reg)); in qla25xx_fw_dump()
1383 fw->pcie_regs[2] = htonl(rd_reg_dword(dmp_reg)); in qla25xx_fw_dump()
1384 fw->pcie_regs[3] = htonl(rd_reg_dword(®->iobase_window)); in qla25xx_fw_dump()
1392 fw->host_reg[cnt] = htonl(rd_reg_dword(dmp_reg)); in qla25xx_fw_dump()
1402 fw->shadow_reg[0] = htonl(rd_reg_dword(®->iobase_sdata)); in qla25xx_fw_dump()
1405 fw->shadow_reg[1] = htonl(rd_reg_dword(®->iobase_sdata)); in qla25xx_fw_dump()
1408 fw->shadow_reg[2] = htonl(rd_reg_dword(®->iobase_sdata)); in qla25xx_fw_dump()
1411 fw->shadow_reg[3] = htonl(rd_reg_dword(®->iobase_sdata)); in qla25xx_fw_dump()
1414 fw->shadow_reg[4] = htonl(rd_reg_dword(®->iobase_sdata)); in qla25xx_fw_dump()
1417 fw->shadow_reg[5] = htonl(rd_reg_dword(®->iobase_sdata)); in qla25xx_fw_dump()
1420 fw->shadow_reg[6] = htonl(rd_reg_dword(®->iobase_sdata)); in qla25xx_fw_dump()
1423 fw->shadow_reg[7] = htonl(rd_reg_dword(®->iobase_sdata)); in qla25xx_fw_dump()
1426 fw->shadow_reg[8] = htonl(rd_reg_dword(®->iobase_sdata)); in qla25xx_fw_dump()
1429 fw->shadow_reg[9] = htonl(rd_reg_dword(®->iobase_sdata)); in qla25xx_fw_dump()
1432 fw->shadow_reg[10] = htonl(rd_reg_dword(®->iobase_sdata)); in qla25xx_fw_dump()
1436 fw->risc_io_reg = htonl(rd_reg_dword(®->iobase_window)); in qla25xx_fw_dump()
1505 *iter_reg++ = htonl(rd_reg_dword(dmp_reg)); in qla25xx_fw_dump()
1511 *iter_reg++ = htonl(rd_reg_dword(dmp_reg)); in qla25xx_fw_dump()
1517 *iter_reg++ = htonl(rd_reg_dword(dmp_reg)); in qla25xx_fw_dump()
1626 ha->fw_dump->version |= htonl(DUMP_CHAIN_VARIANT); in qla25xx_fw_dump()
1627 *last_chain |= htonl(DUMP_CHAIN_LAST); in qla25xx_fw_dump()
1672 fw->host_status = htonl(rd_reg_dword(®->host_status)); in qla81xx_fw_dump()
1690 fw->pcie_regs[0] = htonl(rd_reg_dword(dmp_reg)); in qla81xx_fw_dump()
1692 fw->pcie_regs[1] = htonl(rd_reg_dword(dmp_reg)); in qla81xx_fw_dump()
1694 fw->pcie_regs[2] = htonl(rd_reg_dword(dmp_reg)); in qla81xx_fw_dump()
1695 fw->pcie_regs[3] = htonl(rd_reg_dword(®->iobase_window)); in qla81xx_fw_dump()
1703 fw->host_reg[cnt] = htonl(rd_reg_dword(dmp_reg)); in qla81xx_fw_dump()
1713 fw->shadow_reg[0] = htonl(rd_reg_dword(®->iobase_sdata)); in qla81xx_fw_dump()
1716 fw->shadow_reg[1] = htonl(rd_reg_dword(®->iobase_sdata)); in qla81xx_fw_dump()
1719 fw->shadow_reg[2] = htonl(rd_reg_dword(®->iobase_sdata)); in qla81xx_fw_dump()
1722 fw->shadow_reg[3] = htonl(rd_reg_dword(®->iobase_sdata)); in qla81xx_fw_dump()
1725 fw->shadow_reg[4] = htonl(rd_reg_dword(®->iobase_sdata)); in qla81xx_fw_dump()
1728 fw->shadow_reg[5] = htonl(rd_reg_dword(®->iobase_sdata)); in qla81xx_fw_dump()
1731 fw->shadow_reg[6] = htonl(rd_reg_dword(®->iobase_sdata)); in qla81xx_fw_dump()
1734 fw->shadow_reg[7] = htonl(rd_reg_dword(®->iobase_sdata)); in qla81xx_fw_dump()
1737 fw->shadow_reg[8] = htonl(rd_reg_dword(®->iobase_sdata)); in qla81xx_fw_dump()
1740 fw->shadow_reg[9] = htonl(rd_reg_dword(®->iobase_sdata)); in qla81xx_fw_dump()
1743 fw->shadow_reg[10] = htonl(rd_reg_dword(®->iobase_sdata)); in qla81xx_fw_dump()
1747 fw->risc_io_reg = htonl(rd_reg_dword(®->iobase_window)); in qla81xx_fw_dump()
1816 *iter_reg++ = htonl(rd_reg_dword(dmp_reg)); in qla81xx_fw_dump()
1822 *iter_reg++ = htonl(rd_reg_dword(dmp_reg)); in qla81xx_fw_dump()
1828 *iter_reg++ = htonl(rd_reg_dword(dmp_reg)); in qla81xx_fw_dump()
1941 ha->fw_dump->version |= htonl(DUMP_CHAIN_VARIANT); in qla81xx_fw_dump()
1942 *last_chain |= htonl(DUMP_CHAIN_LAST); in qla81xx_fw_dump()
1987 fw->host_status = htonl(rd_reg_dword(®->host_status)); in qla83xx_fw_dump()
2025 fw->pcie_regs[0] = htonl(rd_reg_dword(dmp_reg)); in qla83xx_fw_dump()
2027 fw->pcie_regs[1] = htonl(rd_reg_dword(dmp_reg)); in qla83xx_fw_dump()
2029 fw->pcie_regs[2] = htonl(rd_reg_dword(dmp_reg)); in qla83xx_fw_dump()
2030 fw->pcie_regs[3] = htonl(rd_reg_dword(®->iobase_window)); in qla83xx_fw_dump()
2038 fw->host_reg[cnt] = htonl(rd_reg_dword(dmp_reg)); in qla83xx_fw_dump()
2048 fw->shadow_reg[0] = htonl(rd_reg_dword(®->iobase_sdata)); in qla83xx_fw_dump()
2051 fw->shadow_reg[1] = htonl(rd_reg_dword(®->iobase_sdata)); in qla83xx_fw_dump()
2054 fw->shadow_reg[2] = htonl(rd_reg_dword(®->iobase_sdata)); in qla83xx_fw_dump()
2057 fw->shadow_reg[3] = htonl(rd_reg_dword(®->iobase_sdata)); in qla83xx_fw_dump()
2060 fw->shadow_reg[4] = htonl(rd_reg_dword(®->iobase_sdata)); in qla83xx_fw_dump()
2063 fw->shadow_reg[5] = htonl(rd_reg_dword(®->iobase_sdata)); in qla83xx_fw_dump()
2066 fw->shadow_reg[6] = htonl(rd_reg_dword(®->iobase_sdata)); in qla83xx_fw_dump()
2069 fw->shadow_reg[7] = htonl(rd_reg_dword(®->iobase_sdata)); in qla83xx_fw_dump()
2072 fw->shadow_reg[8] = htonl(rd_reg_dword(®->iobase_sdata)); in qla83xx_fw_dump()
2075 fw->shadow_reg[9] = htonl(rd_reg_dword(®->iobase_sdata)); in qla83xx_fw_dump()
2078 fw->shadow_reg[10] = htonl(rd_reg_dword(®->iobase_sdata)); in qla83xx_fw_dump()
2082 fw->risc_io_reg = htonl(rd_reg_dword(®->iobase_window)); in qla83xx_fw_dump()
2183 *iter_reg++ = htonl(rd_reg_dword(dmp_reg)); in qla83xx_fw_dump()
2189 *iter_reg++ = htonl(rd_reg_dword(dmp_reg)); in qla83xx_fw_dump()
2195 *iter_reg++ = htonl(rd_reg_dword(dmp_reg)); in qla83xx_fw_dump()
2442 ha->fw_dump->version |= htonl(DUMP_CHAIN_VARIANT); in qla83xx_fw_dump()
2443 *last_chain |= htonl(DUMP_CHAIN_LAST); in qla83xx_fw_dump()