Lines Matching refs:cpu_to_be16

154 	data.issuer_lid = cpu_to_be16(ppd_from_ibp(ibp)->lid);  in qib_bad_pqkey()
178 data.issuer_lid = cpu_to_be16(ppd_from_ibp(ibp)->lid); in qib_bad_mkey()
216 data.issuer_lid = cpu_to_be16(ppd_from_ibp(ibp)->lid); in qib_cap_mask_chg()
236 data.issuer_lid = cpu_to_be16(ppd_from_ibp(ibp)->lid); in qib_sys_guid_chg()
256 data.issuer_lid = cpu_to_be16(ppd_from_ibp(ibp)->lid); in qib_node_desc_chg()
299 nip->partition_cap = cpu_to_be16(qib_get_npkeys(dd)); in subn_get_nodeinfo()
300 nip->device_id = cpu_to_be16(dd->deviceid); in subn_get_nodeinfo()
496 pip->lid = cpu_to_be16(ppd->lid); in subn_get_portinfo()
497 pip->sm_lid = cpu_to_be16(ibp->sm_lid); in subn_get_portinfo()
500 pip->mkey_lease_period = cpu_to_be16(ibp->mkey_lease_period); in subn_get_portinfo()
545 pip->mkey_violations = cpu_to_be16(ibp->mkey_violations); in subn_get_portinfo()
547 pip->pkey_violations = cpu_to_be16(ibp->pkey_violations); in subn_get_portinfo()
548 pip->qkey_violations = cpu_to_be16(ibp->qkey_violations); in subn_get_portinfo()
611 q[i] = cpu_to_be16(p[i]); in subn_get_pkeytable()
1205 p->tag = cpu_to_be16(ibp->pma_tag); in pma_get_portsamplescontrol()
1361 p->tag = cpu_to_be16(ibp->pma_tag); in pma_get_portsamplesresult()
1366 p->sample_status = cpu_to_be16(status); in pma_get_portsamplesresult()
1401 p->tag = cpu_to_be16(ibp->pma_tag); in pma_get_portsamplesresult_ext()
1406 p->sample_status = cpu_to_be16(status); in pma_get_portsamplesresult_ext()
1465 p->symbol_error_counter = cpu_to_be16(0xFFFF); in pma_get_portcounters()
1468 cpu_to_be16((u16)cntrs.symbol_error_counter); in pma_get_portcounters()
1479 p->port_rcv_errors = cpu_to_be16(0xFFFF); in pma_get_portcounters()
1482 cpu_to_be16((u16) cntrs.port_rcv_errors); in pma_get_portcounters()
1484 p->port_rcv_remphys_errors = cpu_to_be16(0xFFFF); in pma_get_portcounters()
1487 cpu_to_be16((u16)cntrs.port_rcv_remphys_errors); in pma_get_portcounters()
1489 p->port_xmit_discards = cpu_to_be16(0xFFFF); in pma_get_portcounters()
1492 cpu_to_be16((u16)cntrs.port_xmit_discards); in pma_get_portcounters()
1500 p->vl15_dropped = cpu_to_be16(0xFFFF); in pma_get_portcounters()
1502 p->vl15_dropped = cpu_to_be16((u16)cntrs.vl15_dropped); in pma_get_portcounters()
1581 cpu_to_be16((QIB_XMIT_RATE_PICO << 13) | in pma_get_portcounters_cong()
1593 p->symbol_error_counter = cpu_to_be16(0xFFFF); in pma_get_portcounters_cong()
1596 cpu_to_be16( in pma_get_portcounters_cong()
1609 p->port_rcv_errors = cpu_to_be16(0xFFFF); in pma_get_portcounters_cong()
1612 cpu_to_be16((u16) cntrs.port_rcv_errors); in pma_get_portcounters_cong()
1614 p->port_rcv_remphys_errors = cpu_to_be16(0xFFFF); in pma_get_portcounters_cong()
1617 cpu_to_be16( in pma_get_portcounters_cong()
1620 p->port_xmit_discards = cpu_to_be16(0xFFFF); in pma_get_portcounters_cong()
1623 cpu_to_be16((u16)cntrs.port_xmit_discards); in pma_get_portcounters_cong()
1631 p->vl15_dropped = cpu_to_be16(0xFFFF); in pma_get_portcounters_cong()
1633 p->vl15_dropped = cpu_to_be16((u16)cntrs.vl15_dropped); in pma_get_portcounters_cong()
2143 p->port_control = cpu_to_be16( in cc_get_congestion_setting()
2145 p->control_map = cpu_to_be16( in cc_get_congestion_setting()
2149 p->entries[i].ccti_timer = cpu_to_be16(entries[i].ccti_timer); in cc_get_congestion_setting()
2195 p->ccti_limit = cpu_to_be16(cct_entry); in cc_get_congestion_control_table()
2202 p->ccti_entries[i].entry = cpu_to_be16(entries[i].entry); in cc_get_congestion_control_table()