[go: nahoru, domu]

Searched refs:ntohl (Results 1 - 25 of 104) sorted by relevance

12345

/drivers/net/ethernet/cisco/enic/
H A Dvnic_vic.c58 if (ntohl(vp->length) + offsetof(struct vic_provinfo_tlv, value) +
63 ntohl(vp->length) - sizeof(vp->num_tlvs));
69 vp->num_tlvs = htonl(ntohl(vp->num_tlvs) + 1);
70 vp->length = htonl(ntohl(vp->length) +
78 return vp ? ntohl(vp->length) + sizeof(*vp) - sizeof(vp->num_tlvs) : 0;
/drivers/staging/bcm/
H A Dhostmibs.c129 ntohl(t->wmanIfCmnCpsFixedVsVariableSduInd);
131 t->wmanIfCmnCpsSduSize = ntohl(t->wmanIfCmnCpsSduSize);
135 ntohl(t->wmanIfCmnCpsSfSchedulingType);
137 t->wmanIfCmnCpsArqEnable = ntohl(t->wmanIfCmnCpsArqEnable);
139 t->wmanIfCmnCpsArqWindowSize = ntohl(t->wmanIfCmnCpsArqWindowSize);
143 ntohl(t->wmanIfCmnCpsArqBlockLifetime);
147 ntohl(t->wmanIfCmnCpsArqSyncLossTimeout);
150 ntohl(t->wmanIfCmnCpsArqDeliverInOrder);
154 ntohl(t->wmanIfCmnCpsArqRxPurgeTimeout);
156 t->wmanIfCmnCpsArqBlockSize = ntohl(
[all...]
H A Dnvm.c1437 uiEepromSize = ntohl(uiEepromSize);
1981 uiSectorSig = ntohl(sFlashCsInfo.FlashSectorSizeSig);
1982 uiCurrentSectorSize = ntohl(sFlashCsInfo.FlashSectorSize);
2317 psFlash2xCSInfo->MagicNumber = ntohl(psFlash2xCSInfo->MagicNumber);
2318 psFlash2xCSInfo->FlashLayoutVersion = ntohl(psFlash2xCSInfo->FlashLayoutVersion);
2320 psFlash2xCSInfo->ISOImageVersion = ntohl(psFlash2xCSInfo->ISOImageVersion);
2321 psFlash2xCSInfo->SCSIFirmwareVersion = ntohl(psFlash2xCSInfo->SCSIFirmwareVersion);
2322 psFlash2xCSInfo->OffsetFromZeroForPart1ISOImage = ntohl(psFlash2xCSInfo->OffsetFromZeroForPart1ISOImage);
2323 psFlash2xCSInfo->OffsetFromZeroForScsiFirmware = ntohl(psFlash2xCSInfo->OffsetFromZeroForScsiFirmware);
2324 psFlash2xCSInfo->SizeOfScsiFirmware = ntohl(psFlash2xCSInf
[all...]
H A DInterfaceIdleMode.c58 if (ntohl(*puiBuffer) == GO_TO_IDLE_MODE_PAYLOAD) {
59 if (ntohl(*(puiBuffer+1)) == 0) {
130 } else if (ntohl(*puiBuffer) == IDLE_MODE_SF_UPDATE_MSG) {
H A DInterfaceInit.c81 ulReg = ntohl(EP2_MPS_REG);
83 ulReg = ntohl(EP2_MPS);
86 ulReg = ntohl(EP2_CFG_REG);
91 ulReg = ntohl(EP2_CFG_INT);
95 ulReg = ntohl(EP2_CFG_BULK);
100 ulReg = ntohl(EP4_MPS_REG);
102 ulReg = ntohl(EP4_MPS);
114 ulReg = ntohl(ulReg);
117 ulReg = ntohl(EP4_CFG_REG);
120 ulReg = ntohl(ISO_MPS_RE
[all...]
H A DCmHost.c202 ntohl(st_src_ip->ulIpv4Addr[i]);
211 ntohl(st_dest_ip->ulIpv4Addr[i]);
232 ntohl(st_src_ip->ulIpv4Mask[i]);
241 ntohl(st_dest_ip->ulIpv4Mask[i]);
567 "%s: SFID= %x ", __func__, ntohl(psfLocalSet->u32SFID));
571 ulSFID = ntohl(psfLocalSet->u32SFID);
637 curr_packinfo->ulSFID = ntohl(psfLocalSet->u32SFID);
800 } else if (ntohl(psfLocalSet->u32MaxSustainedTrafficRate) > WIMAX_MAX_ALLOWED_RATE) {
805 ntohl(psfLocalSet->u32MaxSustainedTrafficRate);
808 curr_packinfo->uiMaxLatency = ntohl(psfLocalSe
[all...]
H A DMisc.c459 Adapter->StatisticsPointer = ntohl(*(__be32 *)pvBuffer);
1096 if (ntohl(Adapter->pstargetparams->m_u32PhyParameter2) & AUTO_SYNC_DISABLE) {
1104 if (ntohl(Adapter->pstargetparams->HostDrvrConfig6) & AUTO_LINKUP_ENABLE) {
1112 Adapter->DDRSetting = (ntohl(Adapter->pstargetparams->HostDrvrConfig6) >> 8)&0x0F;
1113 Adapter->ulPowerSaveMode = (ntohl(Adapter->pstargetparams->HostDrvrConfig6)>>12)&0x0F;
1116 if (ntohl(Adapter->pstargetparams->HostDrvrConfig6) & AUTO_FIRM_DOWNLOAD) {
1123 uiHostDrvrCfg6 = ntohl(Adapter->pstargetparams->HostDrvrConfig6);
1136 uiEEPROMFlag = ntohl(Adapter->pstargetparams->m_u32EEPROMFlag);
1140 Adapter->uiSectorSizeInCFG = 1024*(0xFFFF & ntohl(Adapter->pstargetparams->HostDrvrConfig4));
1141 Adapter->bSectorSizeOverride = (bool) ((ntohl(Adapte
[all...]
/drivers/infiniband/hw/cxgb4/
H A Dev.c53 G_FW_RI_TPTE_VALID(ntohl(tpte.valid_to_pdid)),
54 G_FW_RI_TPTE_STAGKEY(ntohl(tpte.valid_to_pdid)),
55 G_FW_RI_TPTE_STAGSTATE(ntohl(tpte.valid_to_pdid)),
56 G_FW_RI_TPTE_PDID(ntohl(tpte.valid_to_pdid)),
57 G_FW_RI_TPTE_PERM(ntohl(tpte.locread_to_qpid)),
58 G_FW_RI_TPTE_PS(ntohl(tpte.locread_to_qpid)),
59 ((u64)ntohl(tpte.len_hi) << 32) | ntohl(tpte.len_lo),
60 ((u64)ntohl(tpte.va_hi) << 32) | ntohl(tpt
[all...]
/drivers/scsi/csiostor/
H A Dcsio_mb.c62 return FW_CMD_RETVAL_GET(ntohl(hdr->lo));
115 *retval = FW_CMD_RETVAL_GET(ntohl(rsp->retval_len16));
118 hw->fwrev = ntohl(rsp->fwrev);
120 value = ntohl(rsp->err_to_clearinit);
248 *retval = FW_CMD_RETVAL_GET(ntohl(rsp->retval_len16));
252 *val++ = ntohl(*p);
396 *retval = FW_CMD_RETVAL_GET(ntohl(rsp->action_to_len16));
591 *ret_val = FW_CMD_RETVAL_GET(ntohl(rsp->alloc_to_len16));
776 *ret_val = FW_CMD_RETVAL_GET(ntohl(rsp->alloc_to_len16));
780 ntohl(rs
[all...]
H A Dcsio_rnode.c341 ((ntohl(*port_id) >> 8) & CSIO_DID_MASK));
458 if (((ntohl(*did) >> 8) & CSIO_DID_MASK) != FC_FID_FLOGI) {
471 if (((ntohl(*did) >> 8) & CSIO_DID_MASK) != FC_FID_DIR_SERV) {
521 (ntohl(*did) & CSIO_DID_MASK));
530 (ntohl(*did) & CSIO_DID_MASK));
537 rn->nport_id = (ntohl(*did) >> 8) & CSIO_DID_MASK;
H A Dcsio_attr.c454 if (FW_CMD_RETVAL_GET(ntohl(rsp->alloc_to_len16)) != FW_SUCCESS) {
456 FW_CMD_RETVAL_GET(ntohl(rsp->alloc_to_len16)));
462 ntohl(rsp->gen_wwn_to_vnpi));
529 if (FW_CMD_RETVAL_GET(ntohl(rsp->alloc_to_len16)) != FW_SUCCESS) {
531 FW_CMD_RETVAL_GET(ntohl(rsp->alloc_to_len16)));
/drivers/net/slip/
H A Dslhc.c374 if((deltaA = ntohl(th->ack_seq) - ntohl(oth->ack_seq)) != 0L){
380 if((deltaS = ntohl(th->seq) - ntohl(oth->seq)) != 0L){
540 thp->ack_seq = htonl( ntohl(thp->ack_seq) + i);
541 thp->seq = htonl( ntohl(thp->seq) + i);
546 thp->seq = htonl( ntohl(thp->seq) +
569 thp->ack_seq = htonl( ntohl(thp->ack_seq) + x);
575 thp->seq = htonl( ntohl(thp->seq) + x);
/drivers/staging/ft1000/ft1000-usb/
H A Dft1000_download.c208 tempx = ntohl(tempx);
285 tempx = ntohl(tempx);
291 tempx = ntohl(tempx);
308 tempx = ntohl(tempx);
320 tempx = ntohl(tempx);
336 value = ntohl(value);
344 value = ntohl(value);
357 tempx = ntohl(lvalue);
/drivers/infiniband/hw/usnic/
H A Dusnic_transport.c180 *addr = ntohl(((struct sockaddr_in *)
/drivers/mtd/maps/
H A Duclinux.c84 mapp->size = PAGE_ALIGN(ntohl(*((unsigned long *)(mapp->phys + 8))));
/drivers/net/wan/
H A Dhdlc_cisco.c190 switch (ntohl (cisco_data->type)) {
223 st->rxseq = ntohl(cisco_data->par1);
224 ack = ntohl(cisco_data->par2);
231 sec = ntohl(cisco_data->time) / 1000;
/drivers/scsi/
H A Dosst.c637 if (ntohl(aux->format_id) != 0) {
639 printk(OSST_DEB_MSG "%s:D: Skipping frame, format_id %u\n", name, ntohl(aux->format_id));
688 if (frame_seq_number != -1 && ntohl(aux->frame_seq_num) != frame_seq_number) {
692 name, ntohl(aux->frame_seq_num), frame_seq_number);
700 i = ntohl(aux->filemark_cnt);
702 STp->first_frame_position - 1 != ntohl(STp->header_cache->dat_fm_tab.fm_tab_ent[i]))) {
719 blk_sz = ntohl(aux->dat.dat_list[0].blk_sz);
736 STp->frame_seq_number = ntohl(aux->frame_seq_num);
737 STp->logical_blk_num = ntohl(aux->logical_blk_num);
1087 ntohl(au
[all...]
/drivers/net/ethernet/intel/i40e/
H A Di40e_dcb.c273 ouisubtype = ntohl(tlv->ouisubtype);
308 ouisubtype = ntohl(tlv->ouisubtype);
/drivers/staging/ft1000/ft1000-pcmcia/
H A Dft1000_dnld.c163 ntohl(ft1000_read_dpram_mag_32
192 tempx = ntohl(tempx);
208 tempx = ntohl(tempx);
238 value = ntohl(value);
266 tempx = ntohl(lvalue);
/drivers/scsi/cxgbi/cxgb3i/
H A Dcxgb3i.c478 unsigned int atid = G_PASS_OPEN_TID(ntohl(req->tos_tid));
479 u32 rcv_isn = ntohl(req->rcv_isn); /* real RCV_ISN + 1 */
508 cxgbi_sock_established(csk, ntohl(req->snd_isn), ntohs(req->tcp_opt));
629 csk, csk->state, csk->flags, csk->tid, ntohl(rpl->snd_nxt));
631 cxgbi_sock_rcv_close_conn_rpl(csk, ntohl(rpl->snd_nxt));
768 cxgbi_skcb_tcp_seq(skb) = ntohl(hdr_cpl->seq);
795 cxgbi_skcb_rx_ddigest(skb) = ntohl(ddp_cpl.ulp_crc);
796 status = ntohl(ddp_cpl.ddp_status);
825 csk->rcv_nxt = ntohl(ddp_cpl.seq) + cxgbi_skcb_rx_pdulen(skb);
855 cxgbi_sock_rcv_wr_ack(csk, ntohs(hdr->credits), ntohl(hd
[all...]
/drivers/infiniband/hw/nes/
H A Dnes_cm.c612 ntohl(mapped_loc_addr->sin_addr.s_addr);
617 ntohl(mapped_rem_addr->sin_addr.s_addr);
839 new_send->seq_num = ntohl(tcp_hdr(skb)->seq);
1518 neigh->ha, ntohl(rt->rt_gateway));
1966 err = ((ntohl(tcph->ack_seq) == cm_node->tcp_cntxt.loc_seq_num)) ? 0 : 1;
1983 seq = ntohl(tcph->seq);
1984 ack_seq = ntohl(tcph->ack_seq);
2016 inc_sequence = ntohl(tcph->seq);
2077 inc_sequence = ntohl(tcph->seq);
2084 cm_node->tcp_cntxt.rem_ack_num = ntohl(tcp
[all...]
/drivers/net/ethernet/chelsio/cxgb3/
H A Dcxgb3_offload.c742 unsigned int atid = G_TID(ntohl(rpl->atid));
762 unsigned int stid = G_TID(ntohl(p->opcode_tid));
780 unsigned int hwtid = G_TID(ntohl(p->opcode_tid));
798 unsigned int stid = G_PASS_OPEN_TID(ntohl(req->tos_tid));
847 unsigned int hwtid = G_TID(ntohl(p->opcode_tid));
892 unsigned int atid = G_PASS_OPEN_TID(ntohl(req->tos_tid));
936 return ntohl((__force __be32)skb->priority) >> 8 & 0xfffff;
941 return G_OPCODE(ntohl((__force __be32)skb->csum));
1031 dev->name, opcode, G_TID(ntohl(p->opcode_tid)));
/drivers/staging/lustre/lustre/libcfs/linux/
H A Dlinux-tcpip.c120 *ip = ntohl(val);
132 *mask = ntohl(val);
475 *ip = ntohl (sin.sin_addr.s_addr);
/drivers/target/tcm_fc/
H A Dtfc_sess.c372 fcp_parm = ntohl(rspp->spp_params);
400 fcp_parm = ntohl(spp->spp_params);
406 fcp_parm = ntohl(spp->spp_params);
/drivers/net/ethernet/myricom/myri10ge/
H A Dmyri10ge.c449 result = ntohl(response->result);
450 value = ntohl(response->data);
570 if (ntohl(hdr->mcp_type) != MCP_TYPE_ETH) {
571 dev_err(dev, "Bad firmware type: 0x%x\n", ntohl(hdr->mcp_type));
620 hdr_offset = ntohl(*(__be32 *) (fw->data + MCP_HEADER_PTR_OFFSET));
1637 unsigned link_up = ntohl(stats->link_up);
1655 ntohl(stats->rdma_tags_available)) {
1657 ntohl(stats->rdma_tags_available);
1758 send_done_count = ntohl(stats->send_done_count);
2004 data[i++] = (unsigned int)ntohl(s
[all...]

Completed in 1358 milliseconds

12345