Lines Matching refs:cpu_to_be16
153 data.issuer_lid = cpu_to_be16(ppd_from_ibp(ibp)->lid); in qib_bad_pqkey()
177 data.issuer_lid = cpu_to_be16(ppd_from_ibp(ibp)->lid); in qib_bad_mkey()
215 data.issuer_lid = cpu_to_be16(ppd_from_ibp(ibp)->lid); in qib_cap_mask_chg()
235 data.issuer_lid = cpu_to_be16(ppd_from_ibp(ibp)->lid); in qib_sys_guid_chg()
255 data.issuer_lid = cpu_to_be16(ppd_from_ibp(ibp)->lid); in qib_node_desc_chg()
298 nip->partition_cap = cpu_to_be16(qib_get_npkeys(dd)); in subn_get_nodeinfo()
299 nip->device_id = cpu_to_be16(dd->deviceid); in subn_get_nodeinfo()
495 pip->lid = cpu_to_be16(ppd->lid); in subn_get_portinfo()
496 pip->sm_lid = cpu_to_be16(ibp->sm_lid); in subn_get_portinfo()
499 pip->mkey_lease_period = cpu_to_be16(ibp->mkey_lease_period); in subn_get_portinfo()
544 pip->mkey_violations = cpu_to_be16(ibp->mkey_violations); in subn_get_portinfo()
546 pip->pkey_violations = cpu_to_be16(ibp->pkey_violations); in subn_get_portinfo()
547 pip->qkey_violations = cpu_to_be16(ibp->qkey_violations); in subn_get_portinfo()
610 q[i] = cpu_to_be16(p[i]); in subn_get_pkeytable()
1204 p->tag = cpu_to_be16(ibp->pma_tag); in pma_get_portsamplescontrol()
1360 p->tag = cpu_to_be16(ibp->pma_tag); in pma_get_portsamplesresult()
1365 p->sample_status = cpu_to_be16(status); in pma_get_portsamplesresult()
1400 p->tag = cpu_to_be16(ibp->pma_tag); in pma_get_portsamplesresult_ext()
1405 p->sample_status = cpu_to_be16(status); in pma_get_portsamplesresult_ext()
1464 p->symbol_error_counter = cpu_to_be16(0xFFFF); in pma_get_portcounters()
1467 cpu_to_be16((u16)cntrs.symbol_error_counter); in pma_get_portcounters()
1478 p->port_rcv_errors = cpu_to_be16(0xFFFF); in pma_get_portcounters()
1481 cpu_to_be16((u16) cntrs.port_rcv_errors); in pma_get_portcounters()
1483 p->port_rcv_remphys_errors = cpu_to_be16(0xFFFF); in pma_get_portcounters()
1486 cpu_to_be16((u16)cntrs.port_rcv_remphys_errors); in pma_get_portcounters()
1488 p->port_xmit_discards = cpu_to_be16(0xFFFF); in pma_get_portcounters()
1491 cpu_to_be16((u16)cntrs.port_xmit_discards); in pma_get_portcounters()
1499 p->vl15_dropped = cpu_to_be16(0xFFFF); in pma_get_portcounters()
1501 p->vl15_dropped = cpu_to_be16((u16)cntrs.vl15_dropped); in pma_get_portcounters()
1580 cpu_to_be16((QIB_XMIT_RATE_PICO << 13) | in pma_get_portcounters_cong()
1592 p->symbol_error_counter = cpu_to_be16(0xFFFF); in pma_get_portcounters_cong()
1595 cpu_to_be16( in pma_get_portcounters_cong()
1608 p->port_rcv_errors = cpu_to_be16(0xFFFF); in pma_get_portcounters_cong()
1611 cpu_to_be16((u16) cntrs.port_rcv_errors); in pma_get_portcounters_cong()
1613 p->port_rcv_remphys_errors = cpu_to_be16(0xFFFF); in pma_get_portcounters_cong()
1616 cpu_to_be16( in pma_get_portcounters_cong()
1619 p->port_xmit_discards = cpu_to_be16(0xFFFF); in pma_get_portcounters_cong()
1622 cpu_to_be16((u16)cntrs.port_xmit_discards); in pma_get_portcounters_cong()
1630 p->vl15_dropped = cpu_to_be16(0xFFFF); in pma_get_portcounters_cong()
1632 p->vl15_dropped = cpu_to_be16((u16)cntrs.vl15_dropped); in pma_get_portcounters_cong()
2142 p->port_control = cpu_to_be16( in cc_get_congestion_setting()
2144 p->control_map = cpu_to_be16( in cc_get_congestion_setting()
2148 p->entries[i].ccti_timer = cpu_to_be16(entries[i].ccti_timer); in cc_get_congestion_setting()
2194 p->ccti_limit = cpu_to_be16(cct_entry); in cc_get_congestion_control_table()
2201 p->ccti_entries[i].entry = cpu_to_be16(entries[i].entry); in cc_get_congestion_control_table()