Lines Matching refs:temp_64
3302 u64 temp_64; in pma_get_ib_portcounters() local
3327 temp_64 = be64_to_cpu(rsp.port_rcv_errors); in pma_get_ib_portcounters()
3328 if (temp_64 > 0xFFFFUL) in pma_get_ib_portcounters()
3331 p->port_rcv_errors = cpu_to_be16((u16)temp_64); in pma_get_ib_portcounters()
3333 temp_64 = be64_to_cpu(rsp.port_rcv_remote_physical_errors); in pma_get_ib_portcounters()
3334 if (temp_64 > 0xFFFFUL) in pma_get_ib_portcounters()
3337 p->port_rcv_remphys_errors = cpu_to_be16((u16)temp_64); in pma_get_ib_portcounters()
3339 temp_64 = be64_to_cpu(rsp.port_rcv_switch_relay_errors); in pma_get_ib_portcounters()
3340 p->port_rcv_switch_relay_errors = cpu_to_be16((u16)temp_64); in pma_get_ib_portcounters()
3342 temp_64 = be64_to_cpu(rsp.port_xmit_discards); in pma_get_ib_portcounters()
3343 if (temp_64 > 0xFFFFUL) in pma_get_ib_portcounters()
3346 p->port_xmit_discards = cpu_to_be16((u16)temp_64); in pma_get_ib_portcounters()
3348 temp_64 = be64_to_cpu(rsp.port_xmit_constraint_errors); in pma_get_ib_portcounters()
3349 if (temp_64 > 0xFFUL) in pma_get_ib_portcounters()
3352 p->port_xmit_constraint_errors = (u8)temp_64; in pma_get_ib_portcounters()
3354 temp_64 = be64_to_cpu(rsp.port_rcv_constraint_errors); in pma_get_ib_portcounters()
3355 if (temp_64 > 0xFFUL) in pma_get_ib_portcounters()
3358 p->port_rcv_constraint_errors = (u8)temp_64; in pma_get_ib_portcounters()
3361 temp_64 = be64_to_cpu(rsp.local_link_integrity_errors); in pma_get_ib_portcounters()
3362 if (temp_64 > 0xFUL) in pma_get_ib_portcounters()
3363 temp_64 = 0xFUL; in pma_get_ib_portcounters()
3365 temp_link_overrun_errors = temp_64 << 4; in pma_get_ib_portcounters()
3367 temp_64 = be64_to_cpu(rsp.excessive_buffer_overruns); in pma_get_ib_portcounters()
3368 if (temp_64 > 0xFUL) in pma_get_ib_portcounters()
3369 temp_64 = 0xFUL; in pma_get_ib_portcounters()
3370 temp_link_overrun_errors |= temp_64; in pma_get_ib_portcounters()