Lines Matching refs:cpu_to_be16
145 data.issuer_lid = cpu_to_be16(ppd_from_ibp(ibp)->lid);
169 data.issuer_lid = cpu_to_be16(ppd_from_ibp(ibp)->lid);
207 data.issuer_lid = cpu_to_be16(ppd_from_ibp(ibp)->lid);
227 data.issuer_lid = cpu_to_be16(ppd_from_ibp(ibp)->lid);
247 data.issuer_lid = cpu_to_be16(ppd_from_ibp(ibp)->lid);
290 nip->partition_cap = cpu_to_be16(qib_get_npkeys(dd));
291 nip->device_id = cpu_to_be16(dd->deviceid);
472 pip->lid = lid ? cpu_to_be16(lid) : IB_LID_PERMISSIVE;
473 pip->sm_lid = cpu_to_be16(ibp->sm_lid);
476 pip->mkey_lease_period = cpu_to_be16(ibp->mkey_lease_period);
521 pip->mkey_violations = cpu_to_be16(ibp->mkey_violations);
523 pip->pkey_violations = cpu_to_be16(ibp->pkey_violations);
524 pip->qkey_violations = cpu_to_be16(ibp->qkey_violations);
587 q[i] = cpu_to_be16(p[i]);
1175 p->tag = cpu_to_be16(ibp->pma_tag);
1331 p->tag = cpu_to_be16(ibp->pma_tag);
1336 p->sample_status = cpu_to_be16(status);
1371 p->tag = cpu_to_be16(ibp->pma_tag);
1376 p->sample_status = cpu_to_be16(status);
1435 p->symbol_error_counter = cpu_to_be16(0xFFFF);
1438 cpu_to_be16((u16)cntrs.symbol_error_counter);
1449 p->port_rcv_errors = cpu_to_be16(0xFFFF);
1452 cpu_to_be16((u16) cntrs.port_rcv_errors);
1454 p->port_rcv_remphys_errors = cpu_to_be16(0xFFFF);
1457 cpu_to_be16((u16)cntrs.port_rcv_remphys_errors);
1459 p->port_xmit_discards = cpu_to_be16(0xFFFF);
1462 cpu_to_be16((u16)cntrs.port_xmit_discards);
1470 p->vl15_dropped = cpu_to_be16(0xFFFF);
1472 p->vl15_dropped = cpu_to_be16((u16)cntrs.vl15_dropped);
1551 cpu_to_be16((QIB_XMIT_RATE_PICO << 13) |
1563 p->symbol_error_counter = cpu_to_be16(0xFFFF);
1566 cpu_to_be16(
1579 p->port_rcv_errors = cpu_to_be16(0xFFFF);
1582 cpu_to_be16((u16) cntrs.port_rcv_errors);
1584 p->port_rcv_remphys_errors = cpu_to_be16(0xFFFF);
1587 cpu_to_be16(
1590 p->port_xmit_discards = cpu_to_be16(0xFFFF);
1593 cpu_to_be16((u16)cntrs.port_xmit_discards);
1601 p->vl15_dropped = cpu_to_be16(0xFFFF);
1603 p->vl15_dropped = cpu_to_be16((u16)cntrs.vl15_dropped);