• Home
  • Raw
  • Download

Lines Matching refs:cpu_to_be16

152 	data.issuer_lid = cpu_to_be16(ppd_from_ibp(ibp)->lid);  in qib_bad_pkey()
176 data.issuer_lid = cpu_to_be16(ppd_from_ibp(ibp)->lid); in qib_bad_mkey()
217 data.issuer_lid = cpu_to_be16(ppd_from_ibp(ibp)->lid); in qib_cap_mask_chg()
237 data.issuer_lid = cpu_to_be16(ppd_from_ibp(ibp)->lid); in qib_sys_guid_chg()
257 data.issuer_lid = cpu_to_be16(ppd_from_ibp(ibp)->lid); in qib_node_desc_chg()
300 nip->partition_cap = cpu_to_be16(qib_get_npkeys(dd)); in subn_get_nodeinfo()
301 nip->device_id = cpu_to_be16(dd->deviceid); in subn_get_nodeinfo()
498 pip->lid = cpu_to_be16(ppd->lid); in subn_get_portinfo()
499 pip->sm_lid = cpu_to_be16((u16)ibp->rvp.sm_lid); in subn_get_portinfo()
502 pip->mkey_lease_period = cpu_to_be16(ibp->rvp.mkey_lease_period); in subn_get_portinfo()
547 pip->mkey_violations = cpu_to_be16(ibp->rvp.mkey_violations); in subn_get_portinfo()
549 pip->pkey_violations = cpu_to_be16(ibp->rvp.pkey_violations); in subn_get_portinfo()
550 pip->qkey_violations = cpu_to_be16(ibp->rvp.qkey_violations); in subn_get_portinfo()
613 q[i] = cpu_to_be16(p[i]); in subn_get_pkeytable()
1208 p->tag = cpu_to_be16(ibp->rvp.pma_tag); in pma_get_portsamplescontrol()
1364 p->tag = cpu_to_be16(ibp->rvp.pma_tag); in pma_get_portsamplesresult()
1369 p->sample_status = cpu_to_be16(status); in pma_get_portsamplesresult()
1404 p->tag = cpu_to_be16(ibp->rvp.pma_tag); in pma_get_portsamplesresult_ext()
1409 p->sample_status = cpu_to_be16(status); in pma_get_portsamplesresult_ext()
1468 p->symbol_error_counter = cpu_to_be16(0xFFFF); in pma_get_portcounters()
1471 cpu_to_be16((u16)cntrs.symbol_error_counter); in pma_get_portcounters()
1482 p->port_rcv_errors = cpu_to_be16(0xFFFF); in pma_get_portcounters()
1485 cpu_to_be16((u16) cntrs.port_rcv_errors); in pma_get_portcounters()
1487 p->port_rcv_remphys_errors = cpu_to_be16(0xFFFF); in pma_get_portcounters()
1490 cpu_to_be16((u16)cntrs.port_rcv_remphys_errors); in pma_get_portcounters()
1492 p->port_xmit_discards = cpu_to_be16(0xFFFF); in pma_get_portcounters()
1495 cpu_to_be16((u16)cntrs.port_xmit_discards); in pma_get_portcounters()
1503 p->vl15_dropped = cpu_to_be16(0xFFFF); in pma_get_portcounters()
1505 p->vl15_dropped = cpu_to_be16((u16)cntrs.vl15_dropped); in pma_get_portcounters()
1584 cpu_to_be16((QIB_XMIT_RATE_PICO << 13) | in pma_get_portcounters_cong()
1596 p->symbol_error_counter = cpu_to_be16(0xFFFF); in pma_get_portcounters_cong()
1599 cpu_to_be16( in pma_get_portcounters_cong()
1612 p->port_rcv_errors = cpu_to_be16(0xFFFF); in pma_get_portcounters_cong()
1615 cpu_to_be16((u16) cntrs.port_rcv_errors); in pma_get_portcounters_cong()
1617 p->port_rcv_remphys_errors = cpu_to_be16(0xFFFF); in pma_get_portcounters_cong()
1620 cpu_to_be16( in pma_get_portcounters_cong()
1623 p->port_xmit_discards = cpu_to_be16(0xFFFF); in pma_get_portcounters_cong()
1626 cpu_to_be16((u16)cntrs.port_xmit_discards); in pma_get_portcounters_cong()
1634 p->vl15_dropped = cpu_to_be16(0xFFFF); in pma_get_portcounters_cong()
1636 p->vl15_dropped = cpu_to_be16((u16)cntrs.vl15_dropped); in pma_get_portcounters_cong()
2140 p->port_control = cpu_to_be16( in cc_get_congestion_setting()
2142 p->control_map = cpu_to_be16( in cc_get_congestion_setting()
2146 p->entries[i].ccti_timer = cpu_to_be16(entries[i].ccti_timer); in cc_get_congestion_setting()
2190 p->ccti_limit = cpu_to_be16(cct_entry); in cc_get_congestion_control_table()
2197 p->ccti_entries[i].entry = cpu_to_be16(entries[i].entry); in cc_get_congestion_control_table()