Lines Matching refs:cpu_to_le16
419 dst->sg_count = cpu_to_le16((u16)nseg); in stex_map_sg()
420 dst->max_sg_count = cpu_to_le16(hba->host->sg_tablesize); in stex_map_sg()
451 dst->sg_count = cpu_to_le16((u16)nseg); in stex_ss_map_sg()
452 dst->max_sg_count = cpu_to_le16(hba->host->sg_tablesize); in stex_ss_map_sg()
498 req->tag = cpu_to_le16(tag); in stex_send_cmd()
515 req->tag = cpu_to_le16(tag); in stex_ss_send_cmd()
524 msg_h->timeout = cpu_to_le16(cmd->request->timeout/HZ); in stex_ss_send_cmd()
994 h->req_sz = cpu_to_le16(hba->rq_size); in stex_common_handshake()
995 h->req_cnt = cpu_to_le16(hba->rq_count+1); in stex_common_handshake()
996 h->status_sz = cpu_to_le16(sizeof(struct status_msg)); in stex_common_handshake()
997 h->status_cnt = cpu_to_le16(hba->sts_count+1); in stex_common_handshake()
1068 h->req_sz = cpu_to_le16(hba->rq_size); in stex_ss_handshake()
1069 h->req_cnt = cpu_to_le16(hba->rq_count+1); in stex_ss_handshake()
1070 h->status_sz = cpu_to_le16(sizeof(struct status_msg)); in stex_ss_handshake()
1071 h->status_cnt = cpu_to_le16(hba->sts_count+1); in stex_ss_handshake()