Home
last modified time | relevance | path

Searched refs:CPU_TO_LE32 (Results 1 – 6 of 6) sorted by relevance

/illumos-gate/usr/src/cmd/cdrw/
H A Dbyteorder.h50 #define CPU_TO_LE32(x) swap32(x) macro
55 #define CPU_TO_LE32(x) (x)
61 #define LE32_TO_CPU(x) CPU_TO_LE32(x)
H A Dbstream.c195 wav.total_chunk_size = CPU_TO_LE32(sz - 8); in wav_write_stream_close()
196 wav.data_size = CPU_TO_LE32(sz - 44); in wav_write_stream_close()
498 if (((CPU_TO_LE32(wav->total_chunk_size) + 8) != st.st_size) || in open_wav_read_stream()
502 (CPU_TO_LE32(wav->sample_rate) != 44100) || in open_wav_read_stream()
505 ((CPU_TO_LE32(wav->data_size) + 44) != st.st_size)) { in open_wav_read_stream()
510 data_size = CPU_TO_LE32(wav->data_size); in open_wav_read_stream()
/illumos-gate/usr/src/uts/common/io/i40e/core/
H A Di40e_common.c428 cmd->driver_unloading = CPU_TO_LE32(I40E_AQ_DRIVER_UNLOADING); in i40e_aq_queue_shutdown()
1088 cmd_data->mac_sal = CPU_TO_LE32(((u32)mac_addr[2] << 24) | in i40e_aq_mac_address_write()
1708 CPU_TO_LE32(I40E_AQ_PHY_REPORT_QUALIFIED_MODULES); in i40e_aq_get_phy_capabilities()
1712 CPU_TO_LE32(I40E_AQ_PHY_REPORT_INITIAL_VALUES); in i40e_aq_get_phy_capabilities()
2157 cmd->local_an_reg0 = CPU_TO_LE32(I40E_LO_DWORD(advt_reg)); in i40e_aq_set_local_advt_reg()
3395 cmd->id = CPU_TO_LE32(vfid); in i40e_aq_send_msg_to_vf()
3396 desc.cookie_high = CPU_TO_LE32(v_opcode); in i40e_aq_send_msg_to_vf()
3397 desc.cookie_low = CPU_TO_LE32(v_retval); in i40e_aq_send_msg_to_vf()
3434 cmd_resp->address = CPU_TO_LE32(reg_addr); in i40e_aq_debug_read_register()
3466 cmd->address = CPU_TO_LE32(reg_addr); in i40e_aq_debug_write_register()
[all …]
H A Di40e_adminq.c191 CPU_TO_LE32(I40E_HI_DWORD(bi->pa)); in i40e_alloc_arq_bufs()
193 CPU_TO_LE32(I40E_LO_DWORD(bi->pa)); in i40e_alloc_arq_bufs()
886 CPU_TO_LE32(I40E_HI_DWORD(details->cookie)); in i40e_asq_send_command()
888 CPU_TO_LE32(I40E_LO_DWORD(details->cookie)); in i40e_asq_send_command()
951 CPU_TO_LE32(I40E_HI_DWORD(dma_buff->pa)); in i40e_asq_send_command()
953 CPU_TO_LE32(I40E_LO_DWORD(dma_buff->pa)); in i40e_asq_send_command()
1141 desc->params.external.addr_high = CPU_TO_LE32(I40E_HI_DWORD(bi->pa)); in i40e_clean_arq_element()
1142 desc->params.external.addr_low = CPU_TO_LE32(I40E_LO_DWORD(bi->pa)); in i40e_clean_arq_element()
H A Di40e_lan_hmc.c888 dest_dword &= ~(CPU_TO_LE32(mask)); /* get the bits not changing */ in i40e_write_dword()
889 dest_dword |= CPU_TO_LE32(src_dword); /* add in the new bits */ in i40e_write_dword()
1066 src_dword &= ~(CPU_TO_LE32(mask)); in i40e_read_dword()
/illumos-gate/usr/src/uts/common/io/i40e/
H A Di40e_osdep.h68 #define CPU_TO_LE32(s) LE_32(s) macro