Lines Matching refs:temp_64

3292 	u64 temp_64;  in pma_get_ib_portcounters()  local
3317 temp_64 = be64_to_cpu(rsp.port_rcv_errors); in pma_get_ib_portcounters()
3318 if (temp_64 > 0xFFFFUL) in pma_get_ib_portcounters()
3321 p->port_rcv_errors = cpu_to_be16((u16)temp_64); in pma_get_ib_portcounters()
3323 temp_64 = be64_to_cpu(rsp.port_rcv_remote_physical_errors); in pma_get_ib_portcounters()
3324 if (temp_64 > 0xFFFFUL) in pma_get_ib_portcounters()
3327 p->port_rcv_remphys_errors = cpu_to_be16((u16)temp_64); in pma_get_ib_portcounters()
3329 temp_64 = be64_to_cpu(rsp.port_rcv_switch_relay_errors); in pma_get_ib_portcounters()
3330 p->port_rcv_switch_relay_errors = cpu_to_be16((u16)temp_64); in pma_get_ib_portcounters()
3332 temp_64 = be64_to_cpu(rsp.port_xmit_discards); in pma_get_ib_portcounters()
3333 if (temp_64 > 0xFFFFUL) in pma_get_ib_portcounters()
3336 p->port_xmit_discards = cpu_to_be16((u16)temp_64); in pma_get_ib_portcounters()
3338 temp_64 = be64_to_cpu(rsp.port_xmit_constraint_errors); in pma_get_ib_portcounters()
3339 if (temp_64 > 0xFFUL) in pma_get_ib_portcounters()
3342 p->port_xmit_constraint_errors = (u8)temp_64; in pma_get_ib_portcounters()
3344 temp_64 = be64_to_cpu(rsp.port_rcv_constraint_errors); in pma_get_ib_portcounters()
3345 if (temp_64 > 0xFFUL) in pma_get_ib_portcounters()
3348 p->port_rcv_constraint_errors = (u8)temp_64; in pma_get_ib_portcounters()
3351 temp_64 = be64_to_cpu(rsp.local_link_integrity_errors); in pma_get_ib_portcounters()
3352 if (temp_64 > 0xFUL) in pma_get_ib_portcounters()
3353 temp_64 = 0xFUL; in pma_get_ib_portcounters()
3355 temp_link_overrun_errors = temp_64 << 4; in pma_get_ib_portcounters()
3357 temp_64 = be64_to_cpu(rsp.excessive_buffer_overruns); in pma_get_ib_portcounters()
3358 if (temp_64 > 0xFUL) in pma_get_ib_portcounters()
3359 temp_64 = 0xFUL; in pma_get_ib_portcounters()
3360 temp_link_overrun_errors |= temp_64; in pma_get_ib_portcounters()