Home
last modified time | relevance | path

Searched refs:as_u32 (Results 1 – 23 of 23) sorted by relevance

/titanic_50/usr/src/uts/common/io/bnxe/577xx/drivers/common/lm/l5/
H A Dlm_l5.c252 bd_chain->bd_chain_phy.as_u32.high, in lm_sc_setup_eq()
253 bd_chain->bd_chain_phy.as_u32.low); in lm_sc_setup_eq()
371 bd_chain->bd_chain_phy.as_u32.high, in lm_fc_setup_eq()
372 bd_chain->bd_chain_phy.as_u32.low); in lm_fc_setup_eq()
880 …, eq_idx), lm_bd_chain_phys_addr(&LM_SC_EQ(pdev, eq_sb_idx).bd_chain, 1).as_u32.low, BAR_CSTRORM_I… in lm_sc_init()
881 …, eq_idx), lm_bd_chain_phys_addr(&LM_SC_EQ(pdev, eq_sb_idx).bd_chain, 1).as_u32.high, BAR_CSTRORM_… in lm_sc_init()
882 …, eq_idx), lm_bd_chain_phys_addr(&LM_SC_EQ(pdev, eq_sb_idx).bd_chain, 0).as_u32.low, BAR_CSTRORM_I… in lm_sc_init()
883 …, eq_idx), lm_bd_chain_phys_addr(&LM_SC_EQ(pdev, eq_sb_idx).bd_chain, 0).as_u32.high, BAR_CSTRORM_… in lm_sc_init()
1006 …e32(LM_FC_PBL(pdev, pdev->fcoe_info.run_time.fc_eq_base_chain_idx).pbl_phys_table_phys.as_u32.low); in lm_fc_init()
1007 …32(LM_FC_PBL(pdev, pdev->fcoe_info.run_time.fc_eq_base_chain_idx).pbl_phys_table_phys.as_u32.high); in lm_fc_init()
[all …]
H A Dlm_l5sp.c39 spe.data.phy_address.hi = iscsi->sp_req_data.phys_addr.as_u32.high; in lm_sc_post_update_request()
40 spe.data.phy_address.lo = iscsi->sp_req_data.phys_addr.as_u32.low; in lm_sc_post_update_request()
235 spe.data.phy_address.hi = iscsi->sp_req_data.phys_addr.as_u32.high; in lm_sc_init_sp_req_type()
236 spe.data.phy_address.lo = iscsi->sp_req_data.phys_addr.as_u32.low; in lm_sc_init_sp_req_type()
/titanic_50/usr/src/uts/common/io/bnxe/577xx/drivers/common/lm/device/
H A Dbd_chain.h127 (mem_phy.as_u32.low & LM_PAGE_MASK)); in lm_bd_chain_set_next_ptrs()
169 next_bd->addr_hi = mm_cpu_to_le32(mem_phy.as_u32.high); in lm_bd_chain_set_next_ptrs()
170 next_bd->addr_lo = mm_cpu_to_le32(mem_phy.as_u32.low); in lm_bd_chain_set_next_ptrs()
180 next_bd->addr_hi = mm_cpu_to_le32(start_mem_phy.as_u32.high); in lm_bd_chain_set_next_ptrs()
181 next_bd->addr_lo = mm_cpu_to_le32(start_mem_phy.as_u32.low); in lm_bd_chain_set_next_ptrs()
214 next_bd->addr_hi = mm_cpu_to_le32(mem_phys.as_u32.high); in lm_bd_chain_add_page()
215 next_bd->addr_lo = mm_cpu_to_le32(mem_phys.as_u32.low); in lm_bd_chain_add_page()
218 next_bd->addr_hi = mm_cpu_to_le32(bd_chain->bd_chain_phy.as_u32.high); in lm_bd_chain_add_page()
219 next_bd->addr_lo = mm_cpu_to_le32(bd_chain->bd_chain_phy.as_u32.low); in lm_bd_chain_add_page()
241 next_bd->addr_hi = mm_cpu_to_le32(mem_phys.as_u32.high); in lm_bd_chain_add_page()
[all …]
H A Dlm_dmae.c326 command->comp_addr_hi = context->completion_word_paddr.as_u32.high; in lm_dmae_initialize_command_by_block()
327 command->comp_addr_lo = context->completion_word_paddr.as_u32.low; in lm_dmae_initialize_command_by_block()
897 operation->main_cmd.src_addr_hi = src_addr.as_u32.high; in lm_dmae_context_execute_sub_operation()
898 operation->main_cmd.src_addr_lo = src_addr.as_u32.low; in lm_dmae_context_execute_sub_operation()
903 operation->main_cmd.src_addr_hi = context->intermediate_buffer_paddr.as_u32.high; in lm_dmae_context_execute_sub_operation()
904 operation->main_cmd.src_addr_lo = context->intermediate_buffer_paddr.as_u32.low; in lm_dmae_context_execute_sub_operation()
929 operation->main_cmd.dst_addr_hi = dst_addr.as_u32.high; in lm_dmae_context_execute_sub_operation()
930 operation->main_cmd.dst_addr_lo = dst_addr.as_u32.low; in lm_dmae_context_execute_sub_operation()
935 operation->main_cmd.dst_addr_hi = context->intermediate_buffer_paddr.as_u32.high; in lm_dmae_context_execute_sub_operation()
936 operation->main_cmd.dst_addr_lo = context->intermediate_buffer_paddr.as_u32.low; in lm_dmae_context_execute_sub_operation()
H A Dlm_send.c91 prod_bd->addr_lo = mm_cpu_to_le32(frag_addr_data_offset.as_u32.low); in lm_handle_lso_split()
92 prod_bd->addr_hi = mm_cpu_to_le32(frag_addr_data_offset.as_u32.high); in lm_handle_lso_split()
220 prod_bd->addr_lo = mm_cpu_to_le32((*frag)->addr.as_u32.low); in lm_process_lso_packet()
221 prod_bd->addr_hi = mm_cpu_to_le32((*frag)->addr.as_u32.high); in lm_process_lso_packet()
705 start_bd->addr_lo = mm_cpu_to_le32(frag->addr.as_u32.low); in lm_send_packet()
706 start_bd->addr_hi = mm_cpu_to_le32(frag->addr.as_u32.high); in lm_send_packet()
836 cnt, frag->addr.as_u32.high, frag->addr.as_u32.low, frag->size); in lm_send_packet()
844 prod_bd->addr_lo = mm_cpu_to_le32(frag->addr.as_u32.low); in lm_send_packet()
845 prod_bd->addr_hi = mm_cpu_to_le32(frag->addr.as_u32.high); in lm_send_packet()
H A Dlm_sb.c566 host_sb_addr->as_u32.low, host_sb_addr->as_u32.high); in init_hc_attn_status_block()
570 REG_WR(pdev, HC_REG_ATTN_MSG0_ADDR_L + 8*PORT_ID(pdev), host_sb_addr->as_u32.low); in init_hc_attn_status_block()
571 REG_WR(pdev, HC_REG_ATTN_MSG0_ADDR_H + 8*PORT_ID(pdev), host_sb_addr->as_u32.high); in init_hc_attn_status_block()
580 REG_WR(pdev, IGU_REG_ATTN_MSG_ADDR_L, host_sb_addr->as_u32.low); in init_igu_attn_status_block()
581 REG_WR(pdev, IGU_REG_ATTN_MSG_ADDR_H, host_sb_addr->as_u32.high); in init_igu_attn_status_block()
584 host_sb_addr->as_u32.low, host_sb_addr->as_u32.high); in init_igu_attn_status_block()
639 pdev->vars.gen_sp_status_block.sb_data.host_sb_addr.lo = sb_phy_addr.as_u32.low; in lm_init_sp_status_block()
640 pdev->vars.gen_sp_status_block.sb_data.host_sb_addr.hi = sb_phy_addr.as_u32.high; in lm_init_sp_status_block()
1587 …f_info,sb_idx)].hc_status_block_data.e2_sb_data.common.host_sb_addr.lo = sb_phy_address.as_u32.low; in lm_pf_init_vf_non_def_sb()
1588 …_info,sb_idx)].hc_status_block_data.e2_sb_data.common.host_sb_addr.hi = sb_phy_address.as_u32.high; in lm_pf_init_vf_non_def_sb()
H A Dbnxe_context.c649 phy_addr.as_u32.low = (pdev->hw_info.mem_base[BAR_1].as_u32.low) & 0xfffffff0; in lm_allocate_cid()
650 phy_addr.as_u32.high = pdev->hw_info.mem_base[BAR_1].as_u32.high; in lm_allocate_cid()
683 …map_io_space failed. address low=%d address high=%d\n", phy_addr.as_u32.low,phy_addr.as_u32.high ); in lm_allocate_cid()
H A Dlm_resc.c607 LM_TXQ(pdev, cid).bd_chain.bd_chain_phy.as_u32.high, in lm_setup_txq()
608 LM_TXQ(pdev, cid).bd_chain.bd_chain_phy.as_u32.low); in lm_setup_txq()
718 … bd_chain->bd_chain_phy.as_u32.high, in lm_setup_rxq()
719 … bd_chain->bd_chain_phy.as_u32.low); in lm_setup_rxq()
794 …DbgMessage(pdev, INFORMi, " bd_chain_phy 0x%x%08x\n", rcq_chain->bd_chain.bd_chain_phy.as_u32.hi… in lm_setup_rcq()
795 … rcq_chain->bd_chain.bd_chain_phy.as_u32.low); in lm_setup_rcq()
1429 DbgMessage(pdev, INFORMi, " bd_chain_phy[%d] 0x%x%08x\n", bd_chain->bd_chain_phy.as_u32.high, in lm_setup_tpa_chain()
1430 bd_chain->bd_chain_phy.as_u32.low); in lm_setup_tpa_chain()
1756 …cks_arr[sb_id].hc_status_block_data.e1x_sb_data.common.host_sb_addr.lo = sb_phy_address.as_u32.low; in lm_common_setup_alloc_resc()
1757 …ks_arr[sb_id].hc_status_block_data.e1x_sb_data.common.host_sb_addr.hi = sb_phy_address.as_u32.high; in lm_common_setup_alloc_resc()
[all …]
H A Dlm_stats.c1485 stats_hdr->stats_counters_addrs.hi = mm_cpu_to_le32(cur_data_offset.as_u32.high); in lm_stats_prep_fw_stats_req()
1486 stats_hdr->stats_counters_addrs.lo = mm_cpu_to_le32(cur_data_offset.as_u32.low); in lm_stats_prep_fw_stats_req()
1503 cur_query_entry->address.hi = mm_cpu_to_le32(cur_data_offset.as_u32.high); in lm_stats_prep_fw_stats_req()
1504 cur_query_entry->address.lo = mm_cpu_to_le32(cur_data_offset.as_u32.low); in lm_stats_prep_fw_stats_req()
1516 cur_query_entry->address.hi = mm_cpu_to_le32(cur_data_offset.as_u32.high); in lm_stats_prep_fw_stats_req()
1517 cur_query_entry->address.lo = mm_cpu_to_le32(cur_data_offset.as_u32.low); in lm_stats_prep_fw_stats_req()
1529 cur_query_entry->address.hi = mm_cpu_to_le32(cur_data_offset.as_u32.high); in lm_stats_prep_fw_stats_req()
1530 cur_query_entry->address.lo = mm_cpu_to_le32(cur_data_offset.as_u32.low); in lm_stats_prep_fw_stats_req()
1544 cur_query_entry->address.hi = mm_cpu_to_le32(cur_data_offset.as_u32.high); in lm_stats_prep_fw_stats_req()
1545 cur_query_entry->address.lo = mm_cpu_to_le32(cur_data_offset.as_u32.low); in lm_stats_prep_fw_stats_req()
[all …]
H A Dlm_pf.c800 client_init_data_virt->rx.bd_page_base.lo= mm_cpu_to_le32(q_addr.as_u32.low); in lm_pf_init_vf_client_init_data()
801 client_init_data_virt->rx.bd_page_base.hi= mm_cpu_to_le32(q_addr.as_u32.high); in lm_pf_init_vf_client_init_data()
804 client_init_data_virt->rx.cqe_page_base.lo = mm_cpu_to_le32(q_addr.as_u32.low); in lm_pf_init_vf_client_init_data()
805 client_init_data_virt->rx.cqe_page_base.hi = mm_cpu_to_le32(q_addr.as_u32.high); in lm_pf_init_vf_client_init_data()
826 client_init_data_virt->tx.tx_bd_page_base.hi = mm_cpu_to_le32(q_addr.as_u32.high); in lm_pf_init_vf_client_init_data()
827 client_init_data_virt->tx.tx_bd_page_base.lo = mm_cpu_to_le32(q_addr.as_u32.low); in lm_pf_init_vf_client_init_data()
H A Dlm_recv.c187 cur_bd->addr_lo = mm_cpu_to_le32(packet->u1.rx.mem_phys[0].as_u32.low); in lm_post_buffers()
188 cur_bd->addr_hi = mm_cpu_to_le32(packet->u1.rx.mem_phys[0].as_u32.high); in lm_post_buffers()
192 cur_sge->addr_lo = mm_cpu_to_le32(packet->u1.rx.mem_phys[1].as_u32.low); in lm_post_buffers()
193 cur_sge->addr_hi = mm_cpu_to_le32(packet->u1.rx.mem_phys[1].as_u32.high); in lm_post_buffers()
H A Dlm_sp.c277 rx->bd_page_base.lo= mm_cpu_to_le32(lm_bd_chain_phys_addr(rx_chain_bd, 0).as_u32.low); in lm_eth_init_client_init_rx_data()
278 rx->bd_page_base.hi= mm_cpu_to_le32(lm_bd_chain_phys_addr(rx_chain_bd, 0).as_u32.high); in lm_eth_init_client_init_rx_data()
280 …e.lo = mm_cpu_to_le32(lm_bd_chain_phys_addr(&pdev->rx_info.rcq_chain[cid].bd_chain, 0).as_u32.low); in lm_eth_init_client_init_rx_data()
281 ….hi = mm_cpu_to_le32(lm_bd_chain_phys_addr(&pdev->rx_info.rcq_chain[cid].bd_chain, 0).as_u32.high); in lm_eth_init_client_init_rx_data()
302 … rx->sge_page_base.hi = mm_cpu_to_le32(lm_bd_chain_phys_addr(rx_chain_sge, 0).as_u32.high); in lm_eth_init_client_init_rx_data()
303 rx->sge_page_base.lo = mm_cpu_to_le32(lm_bd_chain_phys_addr(rx_chain_sge, 0).as_u32.low); in lm_eth_init_client_init_rx_data()
423 …base.hi = mm_cpu_to_le32(lm_bd_chain_phys_addr(&pdev->tx_info.chain[cid].bd_chain, 0).as_u32.high); in lm_eth_init_client_init_tx_data()
424 …_base.lo = mm_cpu_to_le32(lm_bd_chain_phys_addr(&pdev->tx_info.chain[cid].bd_chain, 0).as_u32.low); in lm_eth_init_client_init_tx_data()
949 …n->ramrod_data_virt->sge_page_base_lo = mm_cpu_to_le32(tpa_chain_bd->bd_chain_phy.as_u32.low); in lm_tpa_send_ramrod()
951 …->ramrod_data_virt->sge_page_base_hi = mm_cpu_to_le32(tpa_chain_bd->bd_chain_phy.as_u32.high); in lm_tpa_send_ramrod()
[all …]
H A Dlm_hw_init_reset.c3308 …) ? SRC_REG_FIRSTFREE1 : SRC_REG_FIRSTFREE0),pdev->vars.searcher_t2_phys_addr_table[0].as_u32.low); in init_src_func()
3309 … SRC_REG_FIRSTFREE1 : SRC_REG_FIRSTFREE0)+4,pdev->vars.searcher_t2_phys_addr_table[0].as_u32.high); in init_src_func()
3312 REG_WR_IND(pdev, (PORT_ID(pdev) ? SRC_REG_LASTFREE1 : SRC_REG_LASTFREE0),src_addr.as_u32.low); in init_src_func()
3313 … REG_WR_IND(pdev, (PORT_ID(pdev) ? SRC_REG_LASTFREE1 : SRC_REG_LASTFREE0)+4,src_addr.as_u32.high); in init_src_func()
4030 eq_data.base_addr.hi = lm_bd_chain_phys_addr(&pdev->eq_info.eq_chain.bd_chain, 0).as_u32.high; in lm_init_intmem_eq()
4031 eq_data.base_addr.lo = lm_bd_chain_phys_addr(&pdev->eq_info.eq_chain.bd_chain, 0).as_u32.low; in lm_init_intmem_eq()
4047 …_FAST_MEMORY + (XSTORM_SPQ_PAGE_BASE_OFFSET(func)),pdev->sq_info.sq_chain.bd_chain_phy.as_u32.low); in lm_init_intmem_function()
4048 …_MEMORY + (XSTORM_SPQ_PAGE_BASE_OFFSET(func)) + 4,pdev->sq_info.sq_chain.bd_chain_phy.as_u32.high); in lm_init_intmem_function()
4061 …_OFFSET(func),lm_bd_chain_phys_addr(&pdev->eq_info.eq_chain.bd_chain, 0).as_u32.low, BAR_USTRORM_I… in lm_init_intmem_function()
4062 …FFSET(func)+4,lm_bd_chain_phys_addr(&pdev->eq_info.eq_chain.bd_chain, 0).as_u32.high, BAR_USTRORM_… in lm_init_intmem_function()
H A Dlm_hw_attn.c1323 …st_addr_lo), pdev->vars.stats.stats_collect.drv_info_to_mfw.drv_info_to_mfw_phys_addr.as_u32.low ); in lm_stats_drv_info_to_mfw_event()
1324 …t_addr_hi), pdev->vars.stats.stats_collect.drv_info_to_mfw.drv_info_to_mfw_phys_addr.as_u32.high ); in lm_stats_drv_info_to_mfw_event()
H A Dlm_devinfo.c405 bar_addr->as_u32.low = val & 0xfffffff0;; in lm_get_bar_offset_direct()
407 bar_addr->as_u32.low); in lm_get_bar_offset_direct()
413 bar_addr->as_u32.high = val; in lm_get_bar_offset_direct()
415 bar_addr->as_u32.high); in lm_get_bar_offset_direct()
/titanic_50/usr/src/uts/common/io/bnxe/577xx/include/
H A Dlm_defs.h560 } as_u32; member
576 low = (result)->as_u32.low; \
577 (result)->as_u32.low += (addend32); \
578 if((result)->as_u32.low < low) \
580 (result)->as_u32.high++; \
590 low = (result)->as_u32.low; \
591 (result)->as_u32.low -= (addend32); \
592 if((result)->as_u32.low > low) \
594 (result)->as_u32.high--; \
/titanic_50/usr/src/uts/common/io/bnxe/577xx/drivers/common/lm/vf/basic_vf/
H A Dlm_vf.c89 …DbgMessage2(pdev, FATAL, "A: 0x%x, S: 0x%x\n", bar_addr->as_u32.low, pdev->hw_info.bar_size[bar_nu… in lm_vf_get_bar_offset()
235 …ocks_arr[sb_id].hc_status_block_data.e2_sb_data.common.host_sb_addr.lo = sb_phy_address.as_u32.low; in lm_vf_setup_alloc_resc()
236 …cks_arr[sb_id].hc_status_block_data.e2_sb_data.common.host_sb_addr.hi = sb_phy_address.as_u32.high; in lm_vf_setup_alloc_resc()
358 …+ (XSTORM_VF_SPQ_PAGE_BASE_OFFSET(ABS_VFID(pdev))),pdev->sq_info.sq_chain.bd_chain_phy.as_u32.low); in lm_vf_chip_init()
359 …TORM_VF_SPQ_PAGE_BASE_OFFSET(ABS_VFID(pdev)) + 4),pdev->sq_info.sq_chain.bd_chain_phy.as_u32.high); in lm_vf_chip_init()
/titanic_50/usr/src/uts/common/io/bnxe/577xx/drivers/common/lm/l4/
H A Dlm_l4sp.c486 grq_bd->addr_hi = curr_gen_buf->buf_phys.as_u32.high; in lm_tcp_rx_fill_grq()
487 grq_bd->addr_lo = curr_gen_buf->buf_phys.as_u32.low; in lm_tcp_rx_fill_grq()
664 …NS_PTR_LO_OFFSET(LM_TOE_FW_RSS_ID(pdev,drv_toe_rss_id), port), phys_addr.as_u32.low, BAR_CSTRORM_I… in _lm_tcp_init_cstorm_intmem()
667 …NS_PTR_HI_OFFSET(LM_TOE_FW_RSS_ID(pdev,drv_toe_rss_id), port), phys_addr.as_u32.high, BAR_CSTRORM_… in _lm_tcp_init_cstorm_intmem()
686 …E_ADDR_LO_OFFSET(LM_TOE_FW_RSS_ID(pdev,drv_toe_rss_id), port), phys_addr.as_u32.low, BAR_CSTRORM_I… in _lm_tcp_init_cstorm_intmem()
689 …E_ADDR_HI_OFFSET(LM_TOE_FW_RSS_ID(pdev,drv_toe_rss_id), port), phys_addr.as_u32.high, BAR_CSTRORM_… in _lm_tcp_init_cstorm_intmem()
790 …NS_PTR_LO_OFFSET(LM_TOE_FW_RSS_ID(pdev,drv_toe_rss_id), port), phys_addr.as_u32.low, BAR_USTRORM_I… in _lm_tcp_init_ustorm_intmem()
793 …NS_PTR_HI_OFFSET(LM_TOE_FW_RSS_ID(pdev,drv_toe_rss_id), port), phys_addr.as_u32.high, BAR_USTRORM_… in _lm_tcp_init_ustorm_intmem()
805 …NS_PTR_LO_OFFSET(LM_TOE_FW_RSS_ID(pdev,drv_toe_rss_id), port), phys_addr.as_u32.low, BAR_USTRORM_I… in _lm_tcp_init_ustorm_intmem()
808 …NS_PTR_HI_OFFSET(LM_TOE_FW_RSS_ID(pdev,drv_toe_rss_id), port), phys_addr.as_u32.high, BAR_USTRORM_… in _lm_tcp_init_ustorm_intmem()
[all …]
H A Dlm_l4tx.c142 tx_bd->addr_hi = frag->addr.as_u32.high; in lm_tcp_tx_post_buf()
143 tx_bd->addr_lo = frag->addr.as_u32.low; in lm_tcp_tx_post_buf()
H A Dlm_l4rx.c318 rx_bd->addr_hi = frag->addr.as_u32.high; in _lm_tcp_rx_set_bd()
319 rx_bd->addr_lo = frag->addr.as_u32.low; in _lm_tcp_rx_set_bd()
/titanic_50/usr/src/uts/common/io/bnxe/
H A Dbnxe_intr.c90 physAddr.as_u32.low = in BnxeFindDmaHandles()
92 physAddr.as_u32.high = in BnxeFindDmaHandles()
97 physAddr.as_u32.low = in BnxeFindDmaHandles()
99 physAddr.as_u32.high = in BnxeFindDmaHandles()
/titanic_50/usr/src/uts/common/io/bnxe/577xx/drivers/common/lm/vf/channel_vf/
H A Dlm_vf.c896 message_phys_addr->as_u32.low); in lm_vf_pf_send_message_to_hw_channel()
902 message_phys_addr->as_u32.high); in lm_vf_pf_send_message_to_hw_channel()
2597 …us_blocks_arr[sb_id].hc_status_block_data.vf_sb_phy_address.as_u32.low = sb_phy_address.as_u32.low; in lm_vf_setup_alloc_resc()
2598 …s_blocks_arr[sb_id].hc_status_block_data.vf_sb_phy_address.as_u32.high = sb_phy_address.as_u32.hig… in lm_vf_setup_alloc_resc()
2601 …ocks_arr[sb_id].hc_status_block_data.e2_sb_data.common.host_sb_addr.lo = sb_phy_address.as_u32.low; in lm_vf_setup_alloc_resc()
2602 …cks_arr[sb_id].hc_status_block_data.e2_sb_data.common.host_sb_addr.hi = sb_phy_address.as_u32.high; in lm_vf_setup_alloc_resc()
3584 tpa_chain->tpa_ramrod_data_virt->sge_page_base_lo = mm_cpu_to_le32(q_addr.as_u32.low); in lm_pf_tpa_send_vf_ramrod()
3586 tpa_chain->tpa_ramrod_data_virt->sge_page_base_hi = mm_cpu_to_le32(q_addr.as_u32.high); in lm_pf_tpa_send_vf_ramrod()
/titanic_50/usr/src/uts/common/io/bnxe/577xx/drivers/common/ecore/
H A Decore_sp_verbs.c5526 data_mapping.as_u32.low = o->cl_id; in ecore_q_send_halt()