Lines Matching refs:cpu_to_be16
102 nip->partition_cap = cpu_to_be16(ipath_get_npkeys(dd));
103 nip->device_id = cpu_to_be16(dd->ipath_deviceid);
247 pip->lid = lid ? cpu_to_be16(lid) : IB_LID_PERMISSIVE;
248 pip->sm_lid = cpu_to_be16(dev->sm_lid);
251 pip->mkey_lease_period = cpu_to_be16(dev->mkey_lease_period);
294 pip->mkey_violations = cpu_to_be16(dev->mkey_violations);
297 cpu_to_be16((ipath_get_cr_errpkey(dev->dd) -
299 pip->qkey_violations = cpu_to_be16(dev->qkey_violations);
348 q[i] = cpu_to_be16(p[i]);
961 p->tag = cpu_to_be16(dev->pma_tag);
1059 p->tag = cpu_to_be16(dev->pma_tag);
1060 p->sample_status = cpu_to_be16(dev->pma_sample_status);
1077 p->tag = cpu_to_be16(dev->pma_tag);
1078 p->sample_status = cpu_to_be16(dev->pma_sample_status);
1128 cpu_to_be16((u16)cntrs.symbol_error_counter);
1142 cpu_to_be16((u16) cntrs.port_rcv_errors);
1147 cpu_to_be16((u16)cntrs.port_rcv_remphys_errors);
1152 cpu_to_be16((u16)cntrs.port_xmit_discards);
1162 p->vl15_dropped = cpu_to_be16((u16)dev->n_vl15_dropped);