Home
last modified time | relevance | path

Searched refs:htole32 (Results 1 – 25 of 197) sorted by relevance

12345678

/NextBSD/usr.sbin/btxld/
HDelfh.c49 htole32(EV_CURRENT), /* e_version */
50 htole32(SET_ME), /* e_entry */
51 htole32(offsetof(struct elfh, p)), /* e_phoff */
52 htole32(offsetof(struct elfh, sh)), /* e_shoff */
63 htole32(PT_LOAD), /* p_type */
64 htole32(sizeof(elfhdr)), /* p_offset */
65 htole32(SET_ME), /* p_vaddr */
66 htole32(SET_ME), /* p_paddr */
67 htole32(SET_ME), /* p_filesz */
68 htole32(SET_ME), /* p_memsz */
[all …]
HDbtxld.c273 btxle.btx_entry = htole32(btxle.btx_entry); in btxld()
412 ex.a_text = htole32(hdr->text); in puthdr()
414 ex.a_data = htole32(hdr->data); in puthdr()
415 ex.a_entry = htole32(hdr->entry); in puthdr()
422 eh.e.e_entry = htole32(hdr->entry); in puthdr()
423 eh.p[0].p_vaddr = eh.p[0].p_paddr = htole32(hdr->org); in puthdr()
424 eh.p[0].p_filesz = eh.p[0].p_memsz = htole32(hdr->text); in puthdr()
425 eh.p[1].p_offset = htole32(le32toh(eh.p[0].p_offset) + in puthdr()
428 htole32(align(le32toh(eh.p[0].p_paddr) + le32toh(eh.p[0].p_memsz), in puthdr()
430 eh.p[1].p_filesz = eh.p[1].p_memsz = htole32(hdr->data); in puthdr()
/NextBSD/usr.sbin/kgzip/
HDelfhdr.c48 htole32(EV_CURRENT), /* e_version */
51 htole32(offsetof(struct kgz_elfhdr, sh)), /* e_shoff */
64 htole32(SHT_NULL), /* sh_type */
69 htole32(SHN_UNDEF), /* sh_link */
75 htole32(offsetof(struct kgz_shstrtab, symtab)), /* sh_name */
76 htole32(SHT_SYMTAB), /* sh_type */
79 htole32(offsetof(struct kgz_elfhdr, st)), /* sh_offset */
80 htole32(sizeof(Elf32_Sym) * KGZ_STNUM), /* sh_size */
81 htole32(KGZ_SH_STRTAB), /* sh_link */
82 htole32(1), /* sh_info */
[all …]
HDkgzcmp.c93 ehdr.st[KGZ_ST_KGZ_NDATA].st_size = htole32(kh->nsize); in kgzcmp()
95 htole32(le32toh(ehdr.sh[KGZ_SH_DATA].sh_size) + kh->nsize); in kgzcmp()
100 khle.dload = htole32(khle.dload); in kgzcmp()
101 khle.dsize = htole32(khle.dsize); in kgzcmp()
102 khle.isize = htole32(khle.isize); in kgzcmp()
103 khle.entry = htole32(khle.entry); in kgzcmp()
104 khle.nsize = htole32(khle.nsize); in kgzcmp()
/NextBSD/sys/dev/iwm/
HDif_iwm_time_event.c200 cmd_v1->repeat = htole32(IWM_TE_V1_REPEAT_ENDLESS); in iwm_mvm_te_v2_to_v1()
202 cmd_v1->repeat = htole32(cmd_v2->repeat); in iwm_mvm_te_v2_to_v1()
203 cmd_v1->max_frags = htole32(cmd_v2->max_frags); in iwm_mvm_te_v2_to_v1()
206 cmd_v1->dep_policy = htole32(iwm_te_v2_get_dep_policy(cmd_v2->policy)); in iwm_mvm_te_v2_to_v1()
207 cmd_v1->is_present = htole32(!iwm_te_v2_get_absence(cmd_v2->policy)); in iwm_mvm_te_v2_to_v1()
208 cmd_v1->notify = htole32(iwm_te_v2_get_notify(cmd_v2->policy)); in iwm_mvm_te_v2_to_v1()
253 time_cmd.action = htole32(IWM_FW_CTXT_ACTION_ADD); in iwm_mvm_protect_session()
255 htole32(IWM_FW_CMD_ID_AND_COLOR(IWM_DEFAULT_MACID, IWM_DEFAULT_COLOR)); in iwm_mvm_protect_session()
256 time_cmd.id = htole32(IWM_TE_BSS_STA_AGGRESSIVE_ASSOC); in iwm_mvm_protect_session()
258 time_cmd.apply_time = htole32(iwm_read_prph(sc, in iwm_mvm_protect_session()
[all …]
HDif_iwm_mac_ctxt.c259 cmd->id_and_color = htole32(IWM_FW_CMD_ID_AND_COLOR(IWM_DEFAULT_MACID, in iwm_mvm_mac_ctxt_cmd_common()
261 cmd->action = htole32(action); in iwm_mvm_mac_ctxt_cmd_common()
263 cmd->mac_type = htole32(IWM_FW_MAC_TYPE_BSS_STA); in iwm_mvm_mac_ctxt_cmd_common()
274 cmd->tsf_id = htole32(IWM_DEFAULT_TSFID); in iwm_mvm_mac_ctxt_cmd_common()
297 cmd->cck_rates = htole32(cck_ack_rates); in iwm_mvm_mac_ctxt_cmd_common()
298 cmd->ofdm_rates = htole32(ofdm_ack_rates); in iwm_mvm_mac_ctxt_cmd_common()
301 = htole32((ic->ic_flags & IEEE80211_F_SHPREAMBLE) in iwm_mvm_mac_ctxt_cmd_common()
304 = htole32((ic->ic_flags & IEEE80211_F_SHSLOT) in iwm_mvm_mac_ctxt_cmd_common()
319 cmd->protection_flags |= htole32(IWM_MAC_PROT_FLG_TGG_PROTECT); in iwm_mvm_mac_ctxt_cmd_common()
321 cmd->filter_flags = htole32(IWM_MAC_FILTER_ACCEPT_GRP); in iwm_mvm_mac_ctxt_cmd_common()
[all …]
HDif_iwm_scan.c187 return htole32(SHORT_OUT_TIME_PERIOD); in iwm_mvm_scan_max_out_time()
188 return htole32(LONG_OUT_TIME_PERIOD); in iwm_mvm_scan_max_out_time()
196 return htole32(SUSPEND_TIME_PERIOD); in iwm_mvm_scan_suspend_time()
203 return htole32(IWM_PHY_BAND_24); in iwm_mvm_scan_rxon_flags()
205 return htole32(IWM_PHY_BAND_5); in iwm_mvm_scan_rxon_flags()
225 return htole32(IWM_RATE_1M_PLCP | IWM_RATE_MCS_CCK_MSK | in iwm_mvm_scan_rate_n_flags()
228 return htole32(IWM_RATE_6M_PLCP | tx_ant); in iwm_mvm_scan_rate_n_flags()
295 chan->type = htole32(type); in iwm_mvm_scan_fill_channels()
297 chan->type &= htole32(~IWM_SCAN_CHANNEL_TYPE_ACTIVE); in iwm_mvm_scan_fill_channels()
390 cmd->filter_flags = htole32(IWM_MAC_FILTER_ACCEPT_GRP | in iwm_mvm_scan_request()
[all …]
HDif_iwm_phy_ctxt.c178 cmd->id_and_color = htole32(IWM_FW_CMD_ID_AND_COLOR(ctxt->id, in iwm_mvm_phy_ctxt_cmd_hdr()
180 cmd->action = htole32(action); in iwm_mvm_phy_ctxt_cmd_hdr()
181 cmd->apply_time = htole32(apply_time); in iwm_mvm_phy_ctxt_cmd_hdr()
218 cmd->rxchain_info = htole32(IWM_FW_VALID_RX_ANT(sc) << in iwm_mvm_phy_ctxt_cmd_data()
220 cmd->rxchain_info |= htole32(idle_cnt << IWM_PHY_RX_CHAIN_CNT_POS); in iwm_mvm_phy_ctxt_cmd_data()
221 cmd->rxchain_info |= htole32(active_cnt << in iwm_mvm_phy_ctxt_cmd_data()
224 cmd->txchain_info = htole32(IWM_FW_VALID_TX_ANT(sc)); in iwm_mvm_phy_ctxt_cmd_data()
HDif_iwm_binding.c172 = htole32(IWM_FW_CMD_ID_AND_COLOR(phyctxt->id, phyctxt->color)); in iwm_mvm_binding_cmd()
173 cmd.action = htole32(action); in iwm_mvm_binding_cmd()
174 cmd.phy = htole32(IWM_FW_CMD_ID_AND_COLOR(phyctxt->id, phyctxt->color)); in iwm_mvm_binding_cmd()
176 cmd.macs[0] = htole32(IWM_FW_CMD_ID_AND_COLOR(IWM_DEFAULT_MACID, in iwm_mvm_binding_cmd()
180 cmd.macs[i] = htole32(IWM_FW_CTXT_INVALID); in iwm_mvm_binding_cmd()
HDif_iwm_power.c198 cmd->ba_enable_beacon_abort = htole32(sc->sc_bf.ba_enabled); in iwm_mvm_beacon_filter_set_cqm_params()
207 .bf_enable_beacon_filter = htole32(1), in iwm_mvm_update_beacon_abort()
208 .ba_enable_beacon_abort = htole32(enable), in iwm_mvm_update_beacon_abort()
270 cmd->id_and_color = htole32(IWM_FW_CMD_ID_AND_COLOR(IWM_DEFAULT_MACID, in iwm_mvm_power_build_cmd()
331 .bf_enable_beacon_filter = htole32(1), in iwm_mvm_enable_beacon_filter()
/NextBSD/sys/dev/mwl/
HDmwlhal.c567 pCmd->ulFwAwakeCookie = htole32((unsigned int)mh->mh_cmdaddr+2048); in mwl_hal_gethwspecs()
614 pCmd->WcbBase[0] = htole32(dma->wcbBase[0]); in mwl_hal_sethwdma()
615 pCmd->WcbBase[1] = htole32(dma->wcbBase[1]); in mwl_hal_sethwdma()
616 pCmd->WcbBase[2] = htole32(dma->wcbBase[2]); in mwl_hal_sethwdma()
617 pCmd->WcbBase[3] = htole32(dma->wcbBase[3]); in mwl_hal_sethwdma()
618 pCmd->TxWcbNumPerQueue = htole32(dma->maxNumTxWcb); in mwl_hal_sethwdma()
619 pCmd->NumTxQueues = htole32(dma->maxNumWCB); in mwl_hal_sethwdma()
620 pCmd->TotalRxWcb = htole32(1); /* XXX */ in mwl_hal_sethwdma()
621 pCmd->RxPdWrPtr = htole32(dma->rxDescRead); in mwl_hal_sethwdma()
622 pCmd->Flags = htole32(SET_HW_SPEC_HOSTFORM_BEACON in mwl_hal_sethwdma()
[all …]
/NextBSD/sys/dev/usb/
HDusb_pf.c433 up->up_totlen = htole32(totlen); in usbpf_xfertap()
434 up->up_busunit = htole32(temp); in usbpf_xfertap()
443 up->up_flags = htole32(temp); in usbpf_xfertap()
445 up->up_status = htole32(temp); in usbpf_xfertap()
447 up->up_error = htole32(temp); in usbpf_xfertap()
449 up->up_interval = htole32(temp); in usbpf_xfertap()
450 up->up_frames = htole32(nframes); in usbpf_xfertap()
452 up->up_packet_size = htole32(temp); in usbpf_xfertap()
454 up->up_packet_count = htole32(temp); in usbpf_xfertap()
456 up->up_endpoint = htole32(temp); in usbpf_xfertap()
[all …]
/NextBSD/sys/dev/usb/controller/
HDuhci.c225 td->td_buffer = htole32(ml->fix_res.physaddr); in uhci_mem_layout_fixup()
242 if ((td->td_token & htole32(UHCI_TD_PID)) == in uhci_mem_layout_fixup()
243 htole32(UHCI_TD_PID_IN)) { in uhci_mem_layout_fixup()
264 td->td_buffer = htole32(ml->buf_res.physaddr); in uhci_mem_layout_fixup()
424 htole32(buf_res.physaddr) | in uhci_init_qh()
425 htole32(UHCI_PTR_QH); in uhci_init_qh()
443 htole32(buf_res.physaddr) | in uhci_init_td()
444 htole32(UHCI_PTR_TD); in uhci_init_td()
525 qh_x->qh_e_next = htole32(UHCI_PTR_T); in uhci_init()
542 qh_intr->qh_e_next = htole32(UHCI_PTR_T); in uhci_init()
[all …]
HDohci.c313 ed->ed_self = htole32(buf_res.physaddr); in ohci_init_ed()
314 ed->ed_flags = htole32(OHCI_ED_SKIP); in ohci_init_ed()
1268 if ((temp->td_flags & htole32(OHCI_TD_DP_MASK)) == htole32(OHCI_TD_IN)) { in ohci_setup_standard_chain_sub()
1269 temp->td_flags |= htole32(OHCI_TD_R); in ohci_setup_standard_chain_sub()
1271 temp->td_flags &= ~htole32(OHCI_TD_R); in ohci_setup_standard_chain_sub()
1325 temp->td_flags &= ~htole32(OHCI_TD_TOGGLE_MASK); in ohci_setup_standard_chain_sub()
1339 td->td_cbp = htole32(buf_res.physaddr); in ohci_setup_standard_chain_sub()
1343 td->td_be = htole32(buf_res.physaddr); in ohci_setup_standard_chain_sub()
1355 td->td_flags &= htole32(~OHCI_TD_INTR_MASK); in ohci_setup_standard_chain_sub()
1356 td->td_flags |= htole32(OHCI_TD_SET_DI(1)); in ohci_setup_standard_chain_sub()
[all …]
/NextBSD/sys/dev/usb/net/
HDif_urndis.c296 msg.ibuf.filter = htole32(sc->sc_filter); in urndis_attach()
637 msg_filter.filter = htole32(sc->sc_filter); in urndis_ctrl_handle_reset()
657 msg.rm_type = htole32(REMOTE_NDIS_INITIALIZE_MSG); in urndis_ctrl_init()
658 msg.rm_len = htole32(sizeof(msg)); in urndis_ctrl_init()
660 msg.rm_ver_major = htole32(1); in urndis_ctrl_init()
661 msg.rm_ver_minor = htole32(1); in urndis_ctrl_init()
662 msg.rm_max_xfersz = htole32(RNDIS_RX_MAXLEN); in urndis_ctrl_init()
694 msg.rm_type = htole32(REMOTE_NDIS_HALT_MSG); in urndis_ctrl_halt()
695 msg.rm_len = htole32(sizeof(msg)); in urndis_ctrl_halt()
723 msg->rm_type = htole32(REMOTE_NDIS_QUERY_MSG); in urndis_ctrl_query()
[all …]
/NextBSD/sys/dev/netmap/
HDif_re_netmap.h113 desc->rl_bufaddr_lo = htole32(RL_ADDR_LO(paddr)); in re_netmap_txsync()
114 desc->rl_bufaddr_hi = htole32(RL_ADDR_HI(paddr)); in re_netmap_txsync()
121 desc->rl_cmdstat = htole32(cmd); in re_netmap_txsync()
254 desc->rl_bufaddr_lo = htole32(RL_ADDR_LO(paddr)); in re_netmap_rxsync()
255 desc->rl_bufaddr_hi = htole32(RL_ADDR_HI(paddr)); in re_netmap_rxsync()
260 desc->rl_cmdstat = htole32(cmd); in re_netmap_rxsync()
309 desc[i].rl_bufaddr_lo = htole32(RL_ADDR_LO(paddr)); in re_netmap_tx_init()
310 desc[i].rl_bufaddr_hi = htole32(RL_ADDR_HI(paddr)); in re_netmap_tx_init()
344 desc[nic_i].rl_bufaddr_lo = htole32(RL_ADDR_LO(paddr)); in re_netmap_rx_init()
345 desc[nic_i].rl_bufaddr_hi = htole32(RL_ADDR_HI(paddr)); in re_netmap_rx_init()
[all …]
/NextBSD/sys/gnu/fs/reiserfs/
HDreiserfs_fs.h434 #define put_block_num(p, i, v) put_unaligned(htole32(v), (p) + (i))
529 (key->u.k_offset_v1.k_offset = htole32(offset)) : in set_le_key_k_offset()
546 htole32(type2uniqueness(type))) : in set_le_key_k_type()
711 #define set_sd_v1_size(sdp, v) ((sdp)->sd_size = htole32(v))
713 #define set_sd_v1_atime(sdp, v) ((sdp)->sd_atime = htole32(v))
715 #define set_sd_v1_mtime(sdp, v) ((sdp)->sd_mtime = htole32(v))
717 #define set_sd_v1_ctime(sdp, v) ((sdp)->sd_ctime = htole32(v))
719 #define set_sd_v1_rdev(sdp, v) ((sdp)->u.sd_rdev = htole32(v))
721 #define set_sd_v1_blocks(sdp, v) ((sdp)->u.sd_blocks = htole32(v))
725 ((sdp)->sd_first_direct_byte = htole32(v))
[all …]
/NextBSD/sys/dev/iir/
HDiir_pci.c229 bus_write_4(gdt->sc_dpmem, GDT_MPR_IC, htole32(GDT_MPR_MAGIC)); in iir_pci_attach()
230 if (bus_read_4(gdt->sc_dpmem, GDT_MPR_IC) != htole32(GDT_MPR_MAGIC)) { in iir_pci_attach()
236 bus_set_region_4(gdt->sc_dpmem, GDT_I960_SZ, htole32(0), GDT_MPR_SZ >> 2); in iir_pci_attach()
246 htole32(rman_get_start(gdt->sc_dpmem))); in iir_pci_attach()
271 bus_write_4(gdt->sc_dpmem, GDT_MPR_IC + GDT_S_INFO, htole32(0)); in iir_pci_attach()
273 htole32(0)); in iir_pci_attach()
275 htole32(1)); in iir_pci_attach()
277 htole32(0)); in iir_pci_attach()
/NextBSD/sys/dev/ata/chipsets/
HData-promise.c689 wordp[0] = htole32(0x04 | ((ch->unit + 1) << 16) | (0x00 << 24)); in ata_promise_mio_command()
694 wordp[0] = htole32(0x00 | ((ch->unit + 1) << 16) | (0x00 << 24)); in ata_promise_mio_command()
697 wordp[1] = htole32(request->dma->sg_bus); in ata_promise_mio_command()
1010 prd[i].addr = htole32(segs[i].ds_addr); in ata_promise_mio_setprd()
1011 prd[i].count = htole32(segs[i].ds_len); in ata_promise_mio_setprd()
1015 prd[i - 1].count = htole32(segs[i - 1].ds_len - MAXLASTSGSIZE); in ata_promise_mio_setprd()
1016 prd[i].count = htole32(MAXLASTSGSIZE); in ata_promise_mio_setprd()
1017 prd[i].addr = htole32(segs[i - 1].ds_addr + in ata_promise_mio_setprd()
1022 prd[i - 1].count |= htole32(ATA_DMA_EOT); in ata_promise_mio_setprd()
1073 htole32((ch->unit * ATA_PDC_CHN_OFFSET) + in ata_promise_sx4_intr()
[all …]
/NextBSD/sys/dev/hifn/
HDhifn7751.c1348 dma->cmdr[HIFN_D_CMD_RSIZE].l = htole32(HIFN_D_VALID | in hifn_alloc_slot()
1358 dma->srcr[HIFN_D_SRC_RSIZE].l = htole32(HIFN_D_VALID | in hifn_alloc_slot()
1368 dma->dstr[HIFN_D_DST_RSIZE].l = htole32(HIFN_D_VALID | in hifn_alloc_slot()
1378 dma->resr[HIFN_D_RES_RSIZE].l = htole32(HIFN_D_VALID | in hifn_alloc_slot()
1411 dma->srcr[srci].p = htole32(sc->sc_dma_physaddr in hifn_writeramaddr()
1413 dma->dstr[dsti].p = htole32(sc->sc_dma_physaddr in hifn_writeramaddr()
1416 dma->cmdr[cmdi].l = htole32(16 | masks); in hifn_writeramaddr()
1417 dma->srcr[srci].l = htole32(8 | masks); in hifn_writeramaddr()
1418 dma->dstr[dsti].l = htole32(4 | masks); in hifn_writeramaddr()
1419 dma->resr[resi].l = htole32(4 | masks); in hifn_writeramaddr()
[all …]
/NextBSD/sys/net80211/
HDieee80211_radiotap.c73 th->it_present = htole32(tx_radiotap); in ieee80211_radiotap_attachv()
89 rh->it_present = htole32(rx_radiotap); in ieee80211_radiotap_attachv()
153 rc->flags = htole32(c->ic_flags); in set_xchannel()
168 if (rh->it_present & htole32(1<<IEEE80211_RADIOTAP_XCHANNEL)) in ieee80211_radiotap_chan_change()
170 else if (rh->it_present & htole32(1<<IEEE80211_RADIOTAP_CHANNEL)) in ieee80211_radiotap_chan_change()
176 if (th->it_present & htole32(1<<IEEE80211_RADIOTAP_XCHANNEL)) in ieee80211_radiotap_chan_change()
178 else if (th->it_present & htole32(1<<IEEE80211_RADIOTAP_CHANNEL)) in ieee80211_radiotap_chan_change()
/NextBSD/sys/dev/ixgbe/
HDixgbe_txrx.c176 TXD->vlan_macip_lens = htole32(vlan_macip_lens); in ixgbe_tx_ctx_setup()
177 TXD->type_tucmd_mlhl = htole32(type_tucmd_mlhl); in ixgbe_tx_ctx_setup()
178 TXD->seqnum_seed = htole32(0); in ixgbe_tx_ctx_setup()
179 TXD->mss_l4len_idx = htole32(0); in ixgbe_tx_ctx_setup()
271 TXD->vlan_macip_lens = htole32(vlan_macip_lens); in ixgbe_tso_setup()
276 TXD->type_tucmd_mlhl = htole32(type_tucmd_mlhl); in ixgbe_tso_setup()
281 TXD->mss_l4len_idx = htole32(mss_l4len_idx); in ixgbe_tso_setup()
283 TXD->seqnum_seed = htole32(0); in ixgbe_tso_setup()
341 txd->read.cmd_type_len = htole32(txr->txd_cmd | in ixgbe_isc_txd_encap()
343 txd->read.olinfo_status = htole32(olinfo_status); in ixgbe_isc_txd_encap()
[all …]
/NextBSD/sys/dev/ipw/
HDif_ipw.c707 sbd->bd->physaddr = htole32(physaddr); in ipw_dma_alloc()
708 sbd->bd->len = htole32(MCLBYTES); in ipw_dma_alloc()
1204 sbd->bd->physaddr = htole32(physaddr); in ipw_rx_data_intr()
1492 sc->cmd.type = htole32(type); in ipw_cmd()
1494 sc->cmd.len = htole32(len); in ipw_cmd()
1499 sbd->bd->physaddr = htole32(physaddr); in ipw_cmd()
1500 sbd->bd->len = htole32(sizeof (struct ipw_cmd)); in ipw_cmd()
1577 shdr->hdr.type = htole32(IPW_HDR_TYPE_SEND); in ipw_tx_start()
1636 sbd->bd->physaddr = htole32(physaddr); in ipw_tx_start()
1637 sbd->bd->len = htole32(sizeof (struct ipw_hdr)); in ipw_tx_start()
[all …]
/NextBSD/sys/dev/ubsec/
HDubsec.c195 #define SWAP32(x) (x) = htole32(ntohl((x)))
196 #define HTOLE32(x) (x) = htole32(x)
1302 pb->pb_addr = htole32(packp); in ubsec_process()
1306 pb->pb_len = htole32(stheend); in ubsec_process()
1309 pb->pb_len = htole32(packl); in ubsec_process()
1313 pb->pb_len = htole32(packl); in ubsec_process()
1318 pb->pb_next = htole32(dmap->d_alloc.dma_paddr + in ubsec_process()
1326 dmap->d_dma->d_mcr.mcr_opktbuf.pb_next = htole32(dmap->d_alloc.dma_paddr + in ubsec_process()
1466 pb->pb_addr = htole32(packp); in ubsec_process()
1470 pb->pb_len = htole32(dtheend); in ubsec_process()
[all …]
/NextBSD/sys/dev/txp/
HDif_txp.c1040 rbd->rb_paddrlo = htole32(TXP_ADDR_LO(segs[0].ds_addr)); in txp_rxbuf_reclaim()
1041 rbd->rb_paddrhi = htole32(TXP_ADDR_HI(segs[0].ds_addr)); in txp_rxbuf_reclaim()
1052 hv->hv_rx_buf_write_idx = htole32(TXP_IDX2OFFSET(prod)); in txp_rxbuf_reclaim()
1346 htole32(TXP_ADDR_LO(sc->sc_ldata.txp_hostvar_paddr)); in txp_alloc_rings()
1348 htole32(TXP_ADDR_HI(sc->sc_ldata.txp_hostvar_paddr)); in txp_alloc_rings()
1360 htole32(TXP_ADDR_LO(sc->sc_ldata.txp_txhiring_paddr)); in txp_alloc_rings()
1362 htole32(TXP_ADDR_HI(sc->sc_ldata.txp_txhiring_paddr)); in txp_alloc_rings()
1364 htole32(TX_ENTRIES * sizeof(struct txp_tx_desc)); in txp_alloc_rings()
1381 htole32(TXP_ADDR_LO(sc->sc_ldata.txp_txloring_paddr)); in txp_alloc_rings()
1383 htole32(TXP_ADDR_HI(sc->sc_ldata.txp_txloring_paddr)); in txp_alloc_rings()
[all …]

12345678