Searched refs:htole32 (Results 1 – 17 of 17) sorted by relevance
270 msg.ibuf.filter = htole32(sc->sc_filter); in urndis_attach()619 msg_filter.filter = htole32(sc->sc_filter); in urndis_ctrl_handle_reset()639 msg.rm_type = htole32(REMOTE_NDIS_INITIALIZE_MSG); in urndis_ctrl_init()640 msg.rm_len = htole32(sizeof(msg)); in urndis_ctrl_init()642 msg.rm_ver_major = htole32(1); in urndis_ctrl_init()643 msg.rm_ver_minor = htole32(1); in urndis_ctrl_init()644 msg.rm_max_xfersz = htole32(RNDIS_RX_MAXLEN); in urndis_ctrl_init()676 msg.rm_type = htole32(REMOTE_NDIS_HALT_MSG); in urndis_ctrl_halt()677 msg.rm_len = htole32(sizeof(msg)); in urndis_ctrl_halt()705 msg->rm_type = htole32(REMOTE_NDIS_QUERY_MSG); in urndis_ctrl_query()[all …]
607 txhdr = htole32(txlen); in axge_bulk_write_callback()610 txhdr = htole32(txhdr); in axge_bulk_write_callback()
268 val = htole32(val); in axe_miibus_writereg()
725 crc = htole32(crc); in cdce_bulk_write_callback()
160 packet[0] = htole32(secure << 18 | 1); in amdgpu_sdma_lcopy()161 packet[1] = htole32(size-1); in amdgpu_sdma_lcopy()162 packet[2] = htole32(0); in amdgpu_sdma_lcopy()163 packet[3] = htole32((uint32_t)(src & 0xFFFFFFFFU)); in amdgpu_sdma_lcopy()164 packet[4] = htole32((uint32_t)(src >> 32)); in amdgpu_sdma_lcopy()165 packet[5] = htole32((uint32_t)(dst & 0xFFFFFFFFU)); in amdgpu_sdma_lcopy()166 packet[6] = htole32((uint32_t)(dst >> 32)); in amdgpu_sdma_lcopy()173 packet[0] = htole32(nop_count << 16); in amdgpu_sdma_nop()
199 *ptr = htole32(val); in xhci_ctx_set_le32()405 phwr->hwr_ring_seg[0].dwEvrsTableSize = htole32(XHCI_MAX_EVENTS); in xhci_start_controller()815 if (!(td->td_trb[0].dwTrb3 & htole32(XHCI_TRB_3_CYCLE_BIT))) { in xhci_activate_transfer()817 td->td_trb[0].dwTrb3 |= htole32(XHCI_TRB_3_CYCLE_BIT); in xhci_activate_transfer()837 if (!(td->td_trb[0].dwTrb3 & htole32(XHCI_TRB_3_CYCLE_BIT))) { in xhci_skip_transfer()1166 temp |= htole32(XHCI_TRB_3_CYCLE_BIT); in xhci_do_command()1168 temp &= ~htole32(XHCI_TRB_3_CYCLE_BIT); in xhci_do_command()1170 temp &= ~htole32(XHCI_TRB_3_TC_BIT); in xhci_do_command()1185 temp = htole32(XHCI_TRB_3_TC_BIT | in xhci_do_command()1189 temp = htole32(XHCI_TRB_3_TC_BIT | in xhci_do_command()[all …]
398 return sc->sc_flags & EHCI_SCFLG_BIGEDESC ? htobe32(v) : htole32(v); in htohc32()425 return htole32(v); in htohc32()
43 #define htole32(x) (uint32_t)(x) macro56 #define htole32(x) __bswap32(x) macro
47 #define htole32(x) (uint32_t)(x) macro60 #define htole32(x) __bswap32(x) macro
410 chunk->size = htole32(data_size); in build_riff_chunk_header()422 subchunk->size = htole32(size); in build_subchunk_header()451 subchunk->frames_per_second = htole32(state->frames_per_second); in build_wave_format_subchunk()453 htole32(average_bytes_per_second); in build_wave_format_subchunk()
624 block->frames_per_second = htole32(frames_per_second); in write_v120_format_block()
57 #define CPU_TO_LE32( x ) htole32( x )
1080 because OS X does not provide the `le32toh()` and `htole32()` functions.)