• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/infiniband/hw/ipath/

Lines Matching refs:cpu_to_be16

40 #define IB_SMP_UNSUP_VERSION	cpu_to_be16(0x0004)
41 #define IB_SMP_UNSUP_METHOD cpu_to_be16(0x0008)
42 #define IB_SMP_UNSUP_METH_ATTR cpu_to_be16(0x000C)
43 #define IB_SMP_INVALID_FIELD cpu_to_be16(0x001C)
102 nip->partition_cap = cpu_to_be16(ipath_get_npkeys(dd));
103 nip->device_id = cpu_to_be16(dd->ipath_deviceid);
258 pip->lid = lid ? cpu_to_be16(lid) : IB_LID_PERMISSIVE;
259 pip->sm_lid = cpu_to_be16(dev->sm_lid);
262 pip->mkey_lease_period = cpu_to_be16(dev->mkey_lease_period);
309 pip->mkey_violations = cpu_to_be16(dev->mkey_violations);
312 cpu_to_be16((ipath_get_cr_errpkey(dd) -
314 pip->qkey_violations = cpu_to_be16(dev->qkey_violations);
371 q[i] = cpu_to_be16(p[i]);
785 #define IB_PMA_CLASS_PORT_INFO cpu_to_be16(0x0001)
786 #define IB_PMA_PORT_SAMPLES_CONTROL cpu_to_be16(0x0010)
787 #define IB_PMA_PORT_SAMPLES_RESULT cpu_to_be16(0x0011)
788 #define IB_PMA_PORT_COUNTERS cpu_to_be16(0x0012)
789 #define IB_PMA_PORT_COUNTERS_EXT cpu_to_be16(0x001D)
790 #define IB_PMA_PORT_SAMPLES_RESULT_EXT cpu_to_be16(0x001E)
880 #define IB_PMA_SEL_SYMBOL_ERROR cpu_to_be16(0x0001)
881 #define IB_PMA_SEL_LINK_ERROR_RECOVERY cpu_to_be16(0x0002)
882 #define IB_PMA_SEL_LINK_DOWNED cpu_to_be16(0x0004)
883 #define IB_PMA_SEL_PORT_RCV_ERRORS cpu_to_be16(0x0008)
884 #define IB_PMA_SEL_PORT_RCV_REMPHYS_ERRORS cpu_to_be16(0x0010)
885 #define IB_PMA_SEL_PORT_XMIT_DISCARDS cpu_to_be16(0x0040)
886 #define IB_PMA_SEL_LOCAL_LINK_INTEGRITY_ERRORS cpu_to_be16(0x0200)
887 #define IB_PMA_SEL_EXCESSIVE_BUFFER_OVERRUNS cpu_to_be16(0x0400)
888 #define IB_PMA_SEL_PORT_VL15_DROPPED cpu_to_be16(0x0800)
889 #define IB_PMA_SEL_PORT_XMIT_DATA cpu_to_be16(0x1000)
890 #define IB_PMA_SEL_PORT_RCV_DATA cpu_to_be16(0x2000)
891 #define IB_PMA_SEL_PORT_XMIT_PACKETS cpu_to_be16(0x4000)
892 #define IB_PMA_SEL_PORT_RCV_PACKETS cpu_to_be16(0x8000)
909 #define IB_PMA_SELX_PORT_XMIT_DATA cpu_to_be16(0x0001)
910 #define IB_PMA_SELX_PORT_RCV_DATA cpu_to_be16(0x0002)
911 #define IB_PMA_SELX_PORT_XMIT_PACKETS cpu_to_be16(0x0004)
912 #define IB_PMA_SELX_PORT_RCV_PACKETS cpu_to_be16(0x0008)
913 #define IB_PMA_SELX_PORT_UNI_XMIT_PACKETS cpu_to_be16(0x0010)
914 #define IB_PMA_SELX_PORT_UNI_RCV_PACKETS cpu_to_be16(0x0020)
915 #define IB_PMA_SELX_PORT_MULTI_XMIT_PACKETS cpu_to_be16(0x0040)
916 #define IB_PMA_SELX_PORT_MULTI_RCV_PACKETS cpu_to_be16(0x0080)
929 p->cap_mask = cpu_to_be16(1 << 8);
991 p->tag = cpu_to_be16(dev->pma_tag);
1100 p->tag = cpu_to_be16(dev->pma_tag);
1105 p->sample_status = cpu_to_be16(status);
1125 p->tag = cpu_to_be16(dev->pma_tag);
1130 p->sample_status = cpu_to_be16(status);
1180 p->symbol_error_counter = cpu_to_be16(0xFFFF);
1183 cpu_to_be16((u16)cntrs.symbol_error_counter);
1194 p->port_rcv_errors = cpu_to_be16(0xFFFF);
1197 cpu_to_be16((u16) cntrs.port_rcv_errors);
1199 p->port_rcv_remphys_errors = cpu_to_be16(0xFFFF);
1202 cpu_to_be16((u16)cntrs.port_rcv_remphys_errors);
1204 p->port_xmit_discards = cpu_to_be16(0xFFFF);
1207 cpu_to_be16((u16)cntrs.port_xmit_discards);
1215 p->vl15_dropped = cpu_to_be16(0xFFFF);
1217 p->vl15_dropped = cpu_to_be16((u16)cntrs.vl15_dropped);