/freebsd/sys/contrib/ncsw/inc/ |
H A D | endian_ext.h | 296 #define CPU_TO_LE32(val) SwapUint32(val) macro 333 #define LE32_TO_CPU(val) CPU_TO_LE32(val)
|
/freebsd/sys/dev/iavf/ |
H A D | iavf_adminq.c | 175 CPU_TO_LE32(IAVF_HI_DWORD(bi->pa)); in iavf_alloc_arq_bufs() 177 CPU_TO_LE32(IAVF_LO_DWORD(bi->pa)); in iavf_alloc_arq_bufs() 716 CPU_TO_LE32(IAVF_HI_DWORD(details->cookie)); in iavf_asq_send_command() 718 CPU_TO_LE32(IAVF_LO_DWORD(details->cookie)); in iavf_asq_send_command() 781 CPU_TO_LE32(IAVF_HI_DWORD(dma_buff->pa)); in iavf_asq_send_command() 783 CPU_TO_LE32(IAVF_LO_DWORD(dma_buff->pa)); in iavf_asq_send_command() 968 desc->params.external.addr_high = CPU_TO_LE32(IAVF_HI_DWORD(bi->pa)); in iavf_clean_arq_element() 969 desc->params.external.addr_low = CPU_TO_LE32(IAVF_LO_DWORD(bi->pa)); in iavf_clean_arq_element()
|
H A D | iavf_osdep.h | 118 #define CPU_TO_LE32(s) htole32(s) macro
|
H A D | iavf_common.c | 386 cmd->driver_unloading = CPU_TO_LE32(IAVF_AQ_DRIVER_UNLOADING); in iavf_aq_queue_shutdown() 964 desc.cookie_high = CPU_TO_LE32(v_opcode); in iavf_aq_send_msg_to_pf() 965 desc.cookie_low = CPU_TO_LE32(v_retval); in iavf_aq_send_msg_to_pf()
|
/freebsd/sys/dev/ixl/ |
H A D | i40e_common.c | 428 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() 1678 CPU_TO_LE32(I40E_AQ_PHY_REPORT_QUALIFIED_MODULES); in i40e_aq_get_phy_capabilities() 1682 CPU_TO_LE32(I40E_AQ_PHY_REPORT_INITIAL_VALUES); in i40e_aq_get_phy_capabilities() 2130 cmd->local_an_reg0 = CPU_TO_LE32(I40E_LO_DWORD(advt_reg)); in i40e_aq_set_local_advt_reg() 3391 cmd->id = CPU_TO_LE32(vfid); in i40e_aq_send_msg_to_vf() 3392 desc.cookie_high = CPU_TO_LE32(v_opcode); in i40e_aq_send_msg_to_vf() 3393 desc.cookie_low = CPU_TO_LE32(v_retval); in i40e_aq_send_msg_to_vf() 3430 cmd_resp->address = CPU_TO_LE32(reg_addr); in i40e_aq_debug_read_register() 3462 cmd->address = CPU_TO_LE32(reg_addr); in i40e_aq_debug_write_register() [all …]
|
H A D | i40e_adminq.c | 190 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() 887 CPU_TO_LE32(I40E_HI_DWORD(details->cookie)); in i40e_asq_send_command() 889 CPU_TO_LE32(I40E_LO_DWORD(details->cookie)); in i40e_asq_send_command() 952 CPU_TO_LE32(I40E_HI_DWORD(dma_buff->pa)); in i40e_asq_send_command() 954 CPU_TO_LE32(I40E_LO_DWORD(dma_buff->pa)); in i40e_asq_send_command() 1142 desc->params.external.addr_high = CPU_TO_LE32(I40E_HI_DWORD(bi->pa)); in i40e_clean_arq_element() 1143 desc->params.external.addr_low = CPU_TO_LE32(I40E_LO_DWORD(bi->pa)); in i40e_clean_arq_element()
|
H A D | i40e_osdep.h | 100 #define CPU_TO_LE32(s) htole32(s) macro
|
H A D | i40e_lan_hmc.c | 887 dest_dword &= ~(CPU_TO_LE32(mask)); /* get the bits not changing */ in i40e_write_dword() 888 dest_dword |= CPU_TO_LE32(src_dword); /* add in the new bits */ in i40e_write_dword() 1065 src_dword &= ~(CPU_TO_LE32(mask)); in i40e_read_dword()
|
/freebsd/sys/dev/ice/ |
H A D | ice_controlq.c | 207 CPU_TO_LE32(ICE_HI_DWORD(bi->pa)); in ice_alloc_rq_bufs() 209 CPU_TO_LE32(ICE_LO_DWORD(bi->pa)); in ice_alloc_rq_bufs() 1101 CPU_TO_LE32(ICE_HI_DWORD(dma_buf->pa)); in ice_sq_send_cmd_nolock() 1103 CPU_TO_LE32(ICE_LO_DWORD(dma_buf->pa)); in ice_sq_send_cmd_nolock() 1308 desc->params.generic.addr_high = CPU_TO_LE32(ICE_HI_DWORD(bi->pa)); 1309 desc->params.generic.addr_low = CPU_TO_LE32(ICE_LO_DWORD(bi->pa));
|
H A D | ice_switch.c | 959 cmd->bcast_thresh_size = CPU_TO_LE32(bcast_thresh & ICE_AQ_THRESHOLD_M); in ice_aq_set_storm_ctrl() 960 cmd->mcast_thresh_size = CPU_TO_LE32(mcast_thresh & ICE_AQ_THRESHOLD_M); in ice_aq_set_storm_ctrl() 961 cmd->storm_ctrl_ctrl = CPU_TO_LE32(ctl_bitmask); in ice_aq_set_storm_ctrl() 1338 s_rule->act = CPU_TO_LE32(act); in ice_fill_sw_rule() 1416 lg_act->act[0] = CPU_TO_LE32(act); in ice_add_marker_act() 1422 lg_act->act[1] = CPU_TO_LE32(act); in ice_add_marker_act() 1432 lg_act->act[2] = CPU_TO_LE32(act); in ice_add_marker_act() 1439 rx_tx->act = CPU_TO_LE32(ICE_SINGLE_ACT_PTR | in ice_add_marker_act() 1516 lg_act->act[0] = CPU_TO_LE32(act); in ice_add_counter_act() 1522 lg_act->act[1] = CPU_TO_LE32(ac in ice_add_counter_act() [all...] |
H A D | ice_common.c | 1809 msg.msg_addr_high = CPU_TO_LE32(in->msg_addr_high); 1812 msg.data = CPU_TO_LE32(in->data); 2109 cmd_resp->res_number = CPU_TO_LE32(sdp_number); 2110 cmd_resp->timeout = CPU_TO_LE32(*timeout); 2177 cmd->res_number = CPU_TO_LE32(sdp_number); in ice_free_hw_res() 4342 cmd->start_address = CPU_TO_LE32(start_address); in ice_aq_dis_lan_txq() 4969 dest_dword &= ~(CPU_TO_LE32(mask)); /* get the bits not changing */ in ice_read_qword() 4970 dest_dword |= CPU_TO_LE32(src_dword); /* add in the new bits */ in ice_read_qword() 5106 cmd->idx = CPU_TO_LE32(start); in ice_ena_vsi_txq() 5240 src_dword &= CPU_TO_LE32(mas in ice_dis_vsi_txq() [all...] |
H A D | ice_osdep.h | 317 #define CPU_TO_LE32 htole32 macro
|
H A D | ice_ddp_common.c | 1783 buf->section_entry[sect_count].type = CPU_TO_LE32(type); in ice_pkg_buf_alloc_section() 2055 CPU_TO_LE32(state->type)) in ice_pkg_enum_section()
|
H A D | ice_sched.c | 282 buf->teid[i] = CPU_TO_LE32(node_teids[i]); in ice_sched_remove_elems() 571 buf[i] = CPU_TO_LE32(node_teids[i]); in ice_sched_suspend_resume_elems() 2301 cmd->teid = CPU_TO_LE32(node_teid); in ice_aq_query_node_to_root()
|
H A D | ice_lib.c | 538 ctx->info.ingress_table = CPU_TO_LE32(table); in ice_set_rss_vsi_ctx() 539 ctx->info.egress_table = CPU_TO_LE32(table); in ice_set_rss_vsi_ctx() 541 ctx->info.outer_up_table = CPU_TO_LE32(table); in ice_set_rss_vsi_ctx()
|
/freebsd/sys/dev/hptrr/ |
H A D | osm.h | 57 #define CPU_TO_LE32(x) (x) macro
|
/freebsd/sys/dev/hpt27xx/ |
H A D | osm.h | 59 #define CPU_TO_LE32(x) (x) macro
|
/freebsd/sys/dev/hptnr/ |
H A D | osm.h | 57 #define CPU_TO_LE32(x) (x) macro
|
/freebsd/sys/dev/pms/freebsd/driver/ini/src/ |
H A D | agtiapi.c | 108 #define CPU_TO_LE32(dst, src) \ macro 2635 CPU_TO_LE32(pccb->tiSuperScsiRequest.agSgl1, segs[0].ds_addr); in agtiapi_PrepareSGListCB() 2656 CPU_TO_LE32(pccb->tiSuperScsiRequest.agSgl1, segs[0].ds_addr); in agtiapi_PrepareSGListCB() 2670 CPU_TO_LE32(pccb->sgList[i], segs[i].ds_addr); in agtiapi_PrepareSGListCB() 2677 CPU_TO_LE32(pccb->tiSuperScsiRequest.agSgl1, pccb->tisgl_busaddr); in agtiapi_PrepareSGListCB() 2721 CPU_TO_LE32(pccb->tiSuperScsiRequest.agSgl1, phys_addr); in agtiapi_PrepareSGListCB()
|