Lines Matching refs:cpu_to_le16
426 dst->sg_count = cpu_to_le16((u16)nseg); in stex_map_sg()
427 dst->max_sg_count = cpu_to_le16(hba->host->sg_tablesize); in stex_map_sg()
458 dst->sg_count = cpu_to_le16((u16)nseg); in stex_ss_map_sg()
459 dst->max_sg_count = cpu_to_le16(hba->host->sg_tablesize); in stex_ss_map_sg()
505 req->tag = cpu_to_le16(tag); in stex_send_cmd()
522 req->tag = cpu_to_le16(tag); in stex_ss_send_cmd()
531 msg_h->timeout = cpu_to_le16(cmd->request->timeout/HZ); in stex_ss_send_cmd()
1001 h->req_sz = cpu_to_le16(hba->rq_size); in stex_common_handshake()
1002 h->req_cnt = cpu_to_le16(hba->rq_count+1); in stex_common_handshake()
1003 h->status_sz = cpu_to_le16(sizeof(struct status_msg)); in stex_common_handshake()
1004 h->status_cnt = cpu_to_le16(hba->sts_count+1); in stex_common_handshake()
1075 h->req_sz = cpu_to_le16(hba->rq_size); in stex_ss_handshake()
1076 h->req_cnt = cpu_to_le16(hba->rq_count+1); in stex_ss_handshake()
1077 h->status_sz = cpu_to_le16(sizeof(struct status_msg)); in stex_ss_handshake()
1078 h->status_cnt = cpu_to_le16(hba->sts_count+1); in stex_ss_handshake()