Lines Matching refs:ntohl

60 	if (ntohl(*pchecksum) == 0)  in ncsi_validate_rsp_pkt()
287 ncm->data[1] = ntohl(cmd->mode); in ncsi_rsp_handler_ae()
309 ncm->data[0] = ntohl(cmd->mode); in ncsi_rsp_handler_sl()
310 ncm->data[1] = ntohl(cmd->oem_mode); in ncsi_rsp_handler_sl()
331 ncm->data[2] = ntohl(rsp->status); in ncsi_rsp_handler_gls()
332 ncm->data[3] = ntohl(rsp->other); in ncsi_rsp_handler_gls()
333 ncm->data[4] = ntohl(rsp->oem_status); in ncsi_rsp_handler_gls()
406 ncm->data[0] = ntohl((__force __be32)cmd->mode); in ncsi_rsp_handler_ev()
503 ncm->data[0] = ntohl(cmd->mode); in ncsi_rsp_handler_ebf()
556 ncm->data[0] = ntohl(cmd->mode); in ncsi_rsp_handler_egmf()
768 mfr_id = ntohl(rsp->mfr_id); in ncsi_rsp_handler_oem()
809 ncv->version = ntohl(rsp->ncsi_version); in ncsi_rsp_handler_gvi()
812 ncv->fw_version = ntohl(rsp->fw_version); in ncsi_rsp_handler_gvi()
815 ncv->mf_id = ntohl(rsp->mf_id); in ncsi_rsp_handler_gvi()
835 nc->caps[NCSI_CAP_GENERIC].cap = ntohl(rsp->cap) & in ncsi_rsp_handler_gc()
837 nc->caps[NCSI_CAP_BC].cap = ntohl(rsp->bc_cap) & in ncsi_rsp_handler_gc()
839 nc->caps[NCSI_CAP_MC].cap = ntohl(rsp->mc_cap) & in ncsi_rsp_handler_gc()
841 nc->caps[NCSI_CAP_BUFFER].cap = ntohl(rsp->buf_cap); in ncsi_rsp_handler_gc()
842 nc->caps[NCSI_CAP_AEN].cap = ntohl(rsp->aen_cap) & in ncsi_rsp_handler_gc()
890 if (ntohl(rsp->valid_modes) & 0x1) { /* BC filter mode */ in ncsi_rsp_handler_gp()
892 nc->modes[NCSI_MODE_BC].data[0] = ntohl(rsp->bc_mode); in ncsi_rsp_handler_gp()
894 if (ntohl(rsp->valid_modes) & 0x2) /* Channel enabled */ in ncsi_rsp_handler_gp()
896 if (ntohl(rsp->valid_modes) & 0x4) /* Channel Tx enabled */ in ncsi_rsp_handler_gp()
898 if (ntohl(rsp->valid_modes) & 0x8) /* MC filter mode */ in ncsi_rsp_handler_gp()
903 nc->modes[NCSI_MODE_LINK].data[0] = ntohl(rsp->link_mode); in ncsi_rsp_handler_gp()
909 nc->modes[NCSI_MODE_AEN].data[0] = ntohl(rsp->aen_mode); in ncsi_rsp_handler_gp()
961 ncs->hnc_cnt_hi = ntohl(rsp->cnt_hi); in ncsi_rsp_handler_gcps()
962 ncs->hnc_cnt_lo = ntohl(rsp->cnt_lo); in ncsi_rsp_handler_gcps()
963 ncs->hnc_rx_bytes = ntohl(rsp->rx_bytes); in ncsi_rsp_handler_gcps()
964 ncs->hnc_tx_bytes = ntohl(rsp->tx_bytes); in ncsi_rsp_handler_gcps()
965 ncs->hnc_rx_uc_pkts = ntohl(rsp->rx_uc_pkts); in ncsi_rsp_handler_gcps()
966 ncs->hnc_rx_mc_pkts = ntohl(rsp->rx_mc_pkts); in ncsi_rsp_handler_gcps()
967 ncs->hnc_rx_bc_pkts = ntohl(rsp->rx_bc_pkts); in ncsi_rsp_handler_gcps()
968 ncs->hnc_tx_uc_pkts = ntohl(rsp->tx_uc_pkts); in ncsi_rsp_handler_gcps()
969 ncs->hnc_tx_mc_pkts = ntohl(rsp->tx_mc_pkts); in ncsi_rsp_handler_gcps()
970 ncs->hnc_tx_bc_pkts = ntohl(rsp->tx_bc_pkts); in ncsi_rsp_handler_gcps()
971 ncs->hnc_fcs_err = ntohl(rsp->fcs_err); in ncsi_rsp_handler_gcps()
972 ncs->hnc_align_err = ntohl(rsp->align_err); in ncsi_rsp_handler_gcps()
973 ncs->hnc_false_carrier = ntohl(rsp->false_carrier); in ncsi_rsp_handler_gcps()
974 ncs->hnc_runt_pkts = ntohl(rsp->runt_pkts); in ncsi_rsp_handler_gcps()
975 ncs->hnc_jabber_pkts = ntohl(rsp->jabber_pkts); in ncsi_rsp_handler_gcps()
976 ncs->hnc_rx_pause_xon = ntohl(rsp->rx_pause_xon); in ncsi_rsp_handler_gcps()
977 ncs->hnc_rx_pause_xoff = ntohl(rsp->rx_pause_xoff); in ncsi_rsp_handler_gcps()
978 ncs->hnc_tx_pause_xon = ntohl(rsp->tx_pause_xon); in ncsi_rsp_handler_gcps()
979 ncs->hnc_tx_pause_xoff = ntohl(rsp->tx_pause_xoff); in ncsi_rsp_handler_gcps()
980 ncs->hnc_tx_s_collision = ntohl(rsp->tx_s_collision); in ncsi_rsp_handler_gcps()
981 ncs->hnc_tx_m_collision = ntohl(rsp->tx_m_collision); in ncsi_rsp_handler_gcps()
982 ncs->hnc_l_collision = ntohl(rsp->l_collision); in ncsi_rsp_handler_gcps()
983 ncs->hnc_e_collision = ntohl(rsp->e_collision); in ncsi_rsp_handler_gcps()
984 ncs->hnc_rx_ctl_frames = ntohl(rsp->rx_ctl_frames); in ncsi_rsp_handler_gcps()
985 ncs->hnc_rx_64_frames = ntohl(rsp->rx_64_frames); in ncsi_rsp_handler_gcps()
986 ncs->hnc_rx_127_frames = ntohl(rsp->rx_127_frames); in ncsi_rsp_handler_gcps()
987 ncs->hnc_rx_255_frames = ntohl(rsp->rx_255_frames); in ncsi_rsp_handler_gcps()
988 ncs->hnc_rx_511_frames = ntohl(rsp->rx_511_frames); in ncsi_rsp_handler_gcps()
989 ncs->hnc_rx_1023_frames = ntohl(rsp->rx_1023_frames); in ncsi_rsp_handler_gcps()
990 ncs->hnc_rx_1522_frames = ntohl(rsp->rx_1522_frames); in ncsi_rsp_handler_gcps()
991 ncs->hnc_rx_9022_frames = ntohl(rsp->rx_9022_frames); in ncsi_rsp_handler_gcps()
992 ncs->hnc_tx_64_frames = ntohl(rsp->tx_64_frames); in ncsi_rsp_handler_gcps()
993 ncs->hnc_tx_127_frames = ntohl(rsp->tx_127_frames); in ncsi_rsp_handler_gcps()
994 ncs->hnc_tx_255_frames = ntohl(rsp->tx_255_frames); in ncsi_rsp_handler_gcps()
995 ncs->hnc_tx_511_frames = ntohl(rsp->tx_511_frames); in ncsi_rsp_handler_gcps()
996 ncs->hnc_tx_1023_frames = ntohl(rsp->tx_1023_frames); in ncsi_rsp_handler_gcps()
997 ncs->hnc_tx_1522_frames = ntohl(rsp->tx_1522_frames); in ncsi_rsp_handler_gcps()
998 ncs->hnc_tx_9022_frames = ntohl(rsp->tx_9022_frames); in ncsi_rsp_handler_gcps()
999 ncs->hnc_rx_valid_bytes = ntohl(rsp->rx_valid_bytes); in ncsi_rsp_handler_gcps()
1000 ncs->hnc_rx_runt_pkts = ntohl(rsp->rx_runt_pkts); in ncsi_rsp_handler_gcps()
1001 ncs->hnc_rx_jabber_pkts = ntohl(rsp->rx_jabber_pkts); in ncsi_rsp_handler_gcps()
1022 ncs->ncsi_rx_cmds = ntohl(rsp->rx_cmds); in ncsi_rsp_handler_gns()
1023 ncs->ncsi_dropped_cmds = ntohl(rsp->dropped_cmds); in ncsi_rsp_handler_gns()
1024 ncs->ncsi_cmd_type_errs = ntohl(rsp->cmd_type_errs); in ncsi_rsp_handler_gns()
1025 ncs->ncsi_cmd_csum_errs = ntohl(rsp->cmd_csum_errs); in ncsi_rsp_handler_gns()
1026 ncs->ncsi_rx_pkts = ntohl(rsp->rx_pkts); in ncsi_rsp_handler_gns()
1027 ncs->ncsi_tx_pkts = ntohl(rsp->tx_pkts); in ncsi_rsp_handler_gns()
1028 ncs->ncsi_tx_aen_pkts = ntohl(rsp->tx_aen_pkts); in ncsi_rsp_handler_gns()
1049 ncs->pt_tx_pkts = ntohl(rsp->tx_pkts); in ncsi_rsp_handler_gnpts()
1050 ncs->pt_tx_dropped = ntohl(rsp->tx_dropped); in ncsi_rsp_handler_gnpts()
1051 ncs->pt_tx_channel_err = ntohl(rsp->tx_channel_err); in ncsi_rsp_handler_gnpts()
1052 ncs->pt_tx_us_err = ntohl(rsp->tx_us_err); in ncsi_rsp_handler_gnpts()
1053 ncs->pt_rx_pkts = ntohl(rsp->rx_pkts); in ncsi_rsp_handler_gnpts()
1054 ncs->pt_rx_dropped = ntohl(rsp->rx_dropped); in ncsi_rsp_handler_gnpts()
1055 ncs->pt_rx_channel_err = ntohl(rsp->rx_channel_err); in ncsi_rsp_handler_gnpts()
1056 ncs->pt_rx_us_err = ntohl(rsp->rx_us_err); in ncsi_rsp_handler_gnpts()
1057 ncs->pt_rx_os_err = ntohl(rsp->rx_os_err); in ncsi_rsp_handler_gnpts()