Home
last modified time | relevance | path

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

/titanic_41/usr/src/cmd/cdrw/
H A Dbyteorder.h52 #define CPU_TO_LE32(x) swap32(x) macro
57 #define CPU_TO_LE32(x) (x)
63 #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()
/titanic_41/usr/src/uts/common/io/i40e/core/
H A Di40e_common.c401 cmd->driver_unloading = CPU_TO_LE32(I40E_AQ_DRIVER_UNLOADING); in i40e_aq_queue_shutdown()
1052 cmd_data->mac_sal = CPU_TO_LE32(((u32)mac_addr[2] << 24) | in i40e_aq_mac_address_write()
1614 CPU_TO_LE32(I40E_AQ_PHY_REPORT_QUALIFIED_MODULES); in i40e_aq_get_phy_capabilities()
1618 CPU_TO_LE32(I40E_AQ_PHY_REPORT_INITIAL_VALUES); in i40e_aq_get_phy_capabilities()
2008 cmd->local_an_reg0 = CPU_TO_LE32(I40E_LO_DWORD(advt_reg)); in i40e_aq_set_local_advt_reg()
3188 cmd->id = CPU_TO_LE32(vfid); in i40e_aq_send_msg_to_vf()
3189 desc.cookie_high = CPU_TO_LE32(v_opcode); in i40e_aq_send_msg_to_vf()
3190 desc.cookie_low = CPU_TO_LE32(v_retval); in i40e_aq_send_msg_to_vf()
3227 cmd_resp->address = CPU_TO_LE32(reg_addr); in i40e_aq_debug_read_register()
3259 cmd->address = CPU_TO_LE32(reg_addr); in i40e_aq_debug_write_register()
[all …]
H A Di40e_adminq.c190 CPU_TO_LE32(I40E_HI_DWORD(bi->pa)); in i40e_alloc_arq_bufs()
192 CPU_TO_LE32(I40E_LO_DWORD(bi->pa)); in i40e_alloc_arq_bufs()
799 CPU_TO_LE32(I40E_HI_DWORD(details->cookie)); in i40e_asq_send_command()
801 CPU_TO_LE32(I40E_LO_DWORD(details->cookie)); in i40e_asq_send_command()
864 CPU_TO_LE32(I40E_HI_DWORD(dma_buff->pa)); in i40e_asq_send_command()
866 CPU_TO_LE32(I40E_LO_DWORD(dma_buff->pa)); in i40e_asq_send_command()
1044 desc->params.external.addr_high = CPU_TO_LE32(I40E_HI_DWORD(bi->pa)); in i40e_clean_arq_element()
1045 desc->params.external.addr_low = CPU_TO_LE32(I40E_LO_DWORD(bi->pa)); in i40e_clean_arq_element()
H A Di40e_lan_hmc.c883 dest_dword &= ~(CPU_TO_LE32(mask)); /* get the bits not changing */ in i40e_write_dword()
884 dest_dword |= CPU_TO_LE32(src_dword); /* add in the new bits */ in i40e_write_dword()
1061 src_dword &= ~(CPU_TO_LE32(mask)); in i40e_read_dword()
/titanic_41/usr/src/uts/common/io/i40e/
H A Di40e_osdep.h68 #define CPU_TO_LE32(s) LE_32(s) macro