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