Home
last modified time | relevance | path

Searched refs:mm_le16_to_cpu (Results 1 – 12 of 12) sorted by relevance

/titanic_41/usr/src/uts/common/io/bnxe/577xx/drivers/common/lm/device/
H A Dl2_dbg.c140 …def_sb->c_def_status_block.status_block_index = mm_cpu_to_le16(mm_le16_to_cpu(def_sb->c_def_status… in dbg_change_sb_index()
141 …def_sb->u_def_status_block.status_block_index = mm_cpu_to_le16(mm_le16_to_cpu(def_sb->u_def_status… in dbg_change_sb_index()
142 …def_sb->x_def_status_block.status_block_index = mm_cpu_to_le16(mm_le16_to_cpu(def_sb->x_def_status… in dbg_change_sb_index()
143 …def_sb->t_def_status_block.status_block_index = mm_cpu_to_le16(mm_le16_to_cpu(def_sb->t_def_status… in dbg_change_sb_index()
144 …def_sb->atten_status_block.attn_bits_index = mm_cpu_to_le16(mm_le16_to_cpu(def_sb->atten_status… in dbg_change_sb_index()
148 mm_le16_to_cpu(def_sb->c_def_status_block.status_block_index), in dbg_change_sb_index()
149 mm_le16_to_cpu(def_sb->u_def_status_block.status_block_index), in dbg_change_sb_index()
150 mm_le16_to_cpu(def_sb->x_def_status_block.status_block_index), in dbg_change_sb_index()
151 mm_le16_to_cpu(def_sb->t_def_status_block.status_block_index), in dbg_change_sb_index()
152 mm_le16_to_cpu(def_sb->atten_status_block.attn_bits_index)); in dbg_change_sb_index()
[all …]
H A Dlm_send.c56 … if ( tx_chain->hw_con_idx_ptr && (mm_le16_to_cpu(*tx_chain->hw_con_idx_ptr) != tx_chain->pkt_idx)) in lm_is_tx_completion()
73 u16_t old_nbd = mm_le16_to_cpu(start_bd->nbd); in lm_handle_lso_split()
74 u16_t old_nbytes = mm_le16_to_cpu(generic_bd->nbytes); in lm_handle_lso_split()
85 LM_INC64(&frag_addr_data_offset, mm_le16_to_cpu(generic_bd->nbytes)); in lm_handle_lso_split()
98 mm_le16_to_cpu(generic_bd->nbytes), mm_le16_to_cpu(prod_bd->nbytes)); in lm_handle_lso_split()
198 mm_le16_to_cpu(start_bd->nbytes) - hlen_reminder, in lm_process_lso_packet()
206 u16_t start_bd_nbytes = mm_le16_to_cpu(start_bd->nbytes); in lm_process_lso_packet()
230 mm_le16_to_cpu(prod_bd->nbytes) - hlen_reminder, in lm_process_lso_packet()
239 u16_t prod_bd_nbytes = mm_le16_to_cpu(prod_bd->nbytes); in lm_process_lso_packet()
1021 … cnt, start_bd[cnt].bd_flags.as_bitfield, mm_le16_to_cpu(start_bd[cnt].nbytes), in lm_send_packet()
[all …]
H A Dlm_recv.c18 (mm_le16_to_cpu(*rcq_chain->hw_con_idx_ptr) != in lm_is_rx_completion()
359 … u32_t sge_size = mm_le16_to_cpu(cqe->pkt_len) - pkt->l2pkt_rx_info->size; in lm_tpa_stop()
372 DbgBreakIf( mm_le16_to_cpu(cqe->pkt_len) < pkt->l2pkt_rx_info->size); in lm_tpa_stop()
380 pkt->l2pkt_rx_info->total_packet_size = mm_le16_to_cpu(cqe->pkt_len); in lm_tpa_stop()
381 pkt->l2pkt_rx_info->coal_seg_cnt = mm_le16_to_cpu(cqe->num_of_coalesced_segs); in lm_tpa_stop()
400 DbgBreakIf( mm_le16_to_cpu(cqe->pkt_len) != pkt->l2pkt_rx_info->size); in lm_tpa_stop()
408 …active_entry = LM_TPA_BD_ENTRY_TO_ACTIVE_ENTRY(pdev, chain_idx, mm_le16_to_cpu(cqe->sgl_or_raw_dat… in lm_tpa_stop()
435 mm_le16_to_cpu(cqe->sgl_or_raw_data.sgl[sge_num_elem -1])); in lm_tpa_stop()
949 cq_new_idx = mm_le16_to_cpu(*(rcq_chain->hw_con_idx_ptr)); in lm_get_packets_rcvd()
1035 parse_flags = mm_le16_to_cpu(cqe->fast_path_cqe.pars_flags.flags); in lm_get_packets_rcvd()
[all …]
H A Dlm_sb.c279 atomic_index = mm_le16_to_cpu(sp_sb->running_index); in lm_update_def_hc_indices()
289 atomic_index = mm_le16_to_cpu(attn_sb->attn_bits_index); in lm_update_def_hc_indices()
370 hw_sb_idx = mm_le16_to_cpu(sp_sb->running_index); in lm_is_def_sb_updated()
380 hw_sb_idx = mm_le16_to_cpu(attn_sb->attn_bits_index); in lm_is_def_sb_updated()
H A Dlm_hw_attn.c1770 lcl_attn_sb_index = mm_le16_to_cpu(attention_sb->attn_bits_index); in lm_get_attn_info()
1774 } while (lcl_attn_sb_index != mm_le16_to_cpu(attention_sb->attn_bits_index)); in lm_get_attn_info()
H A Dlm_sp.c172 …if ( eq_chain->hw_con_idx_ptr && (mm_le16_to_cpu(*eq_chain->hw_con_idx_ptr) != lm_bd_chain_cons_id… in lm_is_eq_completion()
3342 cq_new_idx = mm_le16_to_cpu(*(eq_chain->hw_con_idx_ptr)); in lm_service_eq_intr()
/titanic_41/usr/src/uts/common/io/bnxe/577xx/drivers/common/include/
H A Dmm.h525 #define mm_le16_to_cpu(val) mm_le16_to_cpu_imp(val) macro
536 #define mm_le16_to_cpu(val) mm_le16_to_cpu_imp(val) macro
/titanic_41/usr/src/uts/common/io/bnxe/577xx/drivers/common/lm/l5/
H A Dlm_l5.c1493 mm_le16_to_cpu(*eq->hw_con_idx_ptr) != lm_bd_chain_cons_idx(&eq->bd_chain) ) in lm_sc_is_eq_completion()
1515 mm_le16_to_cpu(*eq->hw_con_idx_ptr) != lm_bd_chain_cons_idx(&eq->bd_chain)) in lm_fc_is_eq_completion()
1647 eq_new_idx = mm_le16_to_cpu(*(eq_chain->hw_con_idx_ptr)); in lm_sc_service_eq_intr()
1765 eq_new_idx = mm_le16_to_cpu(*(eq_chain->hw_con_idx_ptr)); in lm_fc_service_eq_intr()
/titanic_41/usr/src/uts/common/io/bnxe/577xx/drivers/common/lm/include/
H A Dlm_stats.h94 …_counter ) ( _pdev->vars.stats.stats_collect.stats_fw.drv_counter == mm_le16_to_cpu(pdev->vars.sta…
H A Dlm5710.h3309 …return mm_le16_to_cpu(pdev->vars.status_blocks_arr[sb_id].host_hc_status_block.e1x_sb->sb.running_… in lm_get_sb_running_index()
3313 …return mm_le16_to_cpu(pdev->vars.status_blocks_arr[sb_id].host_hc_status_block.e2_sb->sb.running_i… in lm_get_sb_running_index()
3325 …return mm_le16_to_cpu(pdev->vars.status_blocks_arr[sb_id].host_hc_status_block.e1x_sb->sb.index_va… in lm_get_sb_index()
3329 …return mm_le16_to_cpu(pdev->vars.status_blocks_arr[sb_id].host_hc_status_block.e2_sb->sb.index_val… in lm_get_sb_index()
/titanic_41/usr/src/uts/common/io/bnxe/
H A Dbnxe_kstat.c1591 mm_le16_to_cpu(*pRxq->hw_con_idx_ptr) : 0; in BnxeKstatRxRingUpdate()
1610 mm_le16_to_cpu(*pRcq->hw_con_idx_ptr) : 0; in BnxeKstatRxRingUpdate()
1656 mm_le16_to_cpu(*LM_TXQ(pLM, idx).hw_con_idx_ptr) : 0; in BnxeKstatTxRingUpdate()
/titanic_41/usr/src/uts/common/io/bnxe/577xx/drivers/common/lm/vf/channel_vf/
H A Dlm_vf.c1308 return mm_le16_to_cpu(running_index); in lm_vf_pf_get_sb_running_index()
1329 return mm_le16_to_cpu(pdev->vars.status_blocks_arr[sb_id].host_hc_status_block.vf_sb[sb_id]); in lm_vf_pf_get_sb_index()