Lines Matching refs:cpu_to_le16
1153 nack->u.isp24.srr_flags = cpu_to_le16(srr_flags); in qlt_send_notify_ack()
1277 ctio->timeout = cpu_to_le16(QLA_TGT_TIMEOUT); in qlt_24xx_retry_term_exchange()
1283 ctio->u.status1.flags = cpu_to_le16(CTIO7_FLAGS_STATUS_MODE_1 | in qlt_24xx_retry_term_exchange()
1285 ctio->u.status1.ox_id = cpu_to_le16(entry->fcp_hdr_le.ox_id); in qlt_24xx_retry_term_exchange()
1524 ctio->timeout = cpu_to_le16(QLA_TGT_TIMEOUT); in qlt_24xx_send_task_mgmt_ctio()
1531 cpu_to_le16(CTIO7_FLAGS_STATUS_MODE_1 | CTIO7_FLAGS_SEND_STATUS); in qlt_24xx_send_task_mgmt_ctio()
1533 ctio->u.status1.ox_id = cpu_to_le16(temp); in qlt_24xx_send_task_mgmt_ctio()
1535 cpu_to_le16(SS_RESPONSE_INFO_LEN_VALID); in qlt_24xx_send_task_mgmt_ctio()
1536 ctio->u.status1.response_len = cpu_to_le16(8); in qlt_24xx_send_task_mgmt_ctio()
1787 pkt->timeout = cpu_to_le16(QLA_TGT_TIMEOUT); in qlt_24xx_build_ctio_pkt()
1794 pkt->u.status0.ox_id = cpu_to_le16(temp); in qlt_24xx_build_ctio_pkt()
1878 pkt24->dseg_count = cpu_to_le16(prm->seg_cnt); in qlt_load_data_segments()
2088 ctio->u.status0.flags |= cpu_to_le16(CTIO7_FLAGS_SEND_STATUS); in qlt_24xx_init_ctio_to_isp()
2090 ctio->u.status0.flags |= cpu_to_le16( in qlt_24xx_init_ctio_to_isp()
2095 ctio->u.status0.scsi_status = cpu_to_le16(prm->rq_result); in qlt_24xx_init_ctio_to_isp()
2107 ctio->u.status1.flags |= cpu_to_le16( in qlt_24xx_init_ctio_to_isp()
2113 ~cpu_to_le16(CTIO7_FLAGS_STATUS_MODE_0); in qlt_24xx_init_ctio_to_isp()
2115 cpu_to_le16(CTIO7_FLAGS_STATUS_MODE_1); in qlt_24xx_init_ctio_to_isp()
2117 cpu_to_le16(SS_SENSE_LEN_VALID); in qlt_24xx_init_ctio_to_isp()
2119 cpu_to_le16(prm->sense_buffer_len); in qlt_24xx_init_ctio_to_isp()
2137 ~cpu_to_le16(CTIO7_FLAGS_STATUS_MODE_0); in qlt_24xx_init_ctio_to_isp()
2139 cpu_to_le16(CTIO7_FLAGS_STATUS_MODE_1); in qlt_24xx_init_ctio_to_isp()
2366 pkt->timeout = cpu_to_le16(QLA_TGT_TIMEOUT); in qlt_build_ctio_crc2_pkt()
2374 pkt->ox_id = cpu_to_le16(t16); in qlt_build_ctio_crc2_pkt()
2377 pkt->flags |= cpu_to_le16(t16); in qlt_build_ctio_crc2_pkt()
2382 pkt->flags = cpu_to_le16(CTIO7_FLAGS_DATA_IN); in qlt_build_ctio_crc2_pkt()
2384 pkt->flags = cpu_to_le16(CTIO7_FLAGS_DATA_OUT); in qlt_build_ctio_crc2_pkt()
2428 cpu_to_le16(prm->tot_dsds - prm->prot_seg_cnt); in qlt_build_ctio_crc2_pkt()
2433 crc_ctx_pkt->blk_size = cpu_to_le16(cmd->blk_sz); in qlt_build_ctio_crc2_pkt()
2434 crc_ctx_pkt->prot_opts = cpu_to_le16(fw_prot_opts); in qlt_build_ctio_crc2_pkt()
2436 crc_ctx_pkt->guard_seed = cpu_to_le16(0); in qlt_build_ctio_crc2_pkt()
2440 pkt->flags |= cpu_to_le16(CTIO7_FLAGS_DSD_PTR); in qlt_build_ctio_crc2_pkt()
2546 cpu_to_le16(CTIO7_FLAGS_DATA_IN | in qlt_xmit_response()
2555 cpu_to_le16(prm.rq_result); in qlt_xmit_response()
2558 pkt->u.status0.flags |= cpu_to_le16( in qlt_xmit_response()
2562 cpu_to_le16( in qlt_xmit_response()
2590 ctio->u.status1.flags &= ~cpu_to_le16( in qlt_xmit_response()
2595 pkt->u.status0.flags |= cpu_to_le16( in qlt_xmit_response()
2685 pkt->u.status0.flags |= cpu_to_le16(CTIO7_FLAGS_DATA_OUT | in qlt_rdy_to_xfer()
2966 ctio24->timeout = cpu_to_le16(QLA_TGT_TIMEOUT); in __qlt_send_term_exchange()
2973 cpu_to_le16(CTIO7_FLAGS_STATUS_MODE_1 | in __qlt_send_term_exchange()
2976 ctio24->u.status1.ox_id = cpu_to_le16(temp); in __qlt_send_term_exchange()
3213 cpu_to_le16(OF_TERM_EXCH)); in qlt_term_ctio_exchange()
4925 ctio24->timeout = cpu_to_le16(QLA_TGT_TIMEOUT); in __qlt_send_busy()
4932 cpu_to_le16( in __qlt_send_busy()
4940 ctio24->u.status1.scsi_status = cpu_to_le16(status); in __qlt_send_busy()
5260 cpu_to_le16(ATIO_CDB_VALID)) { in qlt_response_pkt()
5334 cpu_to_le16(NOTIFY_ACK_SUCCESS)) { in qlt_response_pkt()
6183 icb->msix_atio = cpu_to_le16(msix->entry); in qlt_24xx_config_rings()
6208 nv->exchange_count = cpu_to_le16(0xFFFF); in qlt_24xx_config_nvram_stage1()
6295 nv->exchange_count = cpu_to_le16(0xFFFF); in qlt_81xx_config_nvram_stage1()