Home
last modified time | relevance | path

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

/titanic_41/usr/src/uts/common/io/bnxe/577xx/drivers/common/lm/l5/
H A Dlm_l5.c164 IN lm_eq_chain_t *eq_chain, in lm_l5_alloc_eq() argument
172 if ((CHK_NULL(pdev) || CHK_NULL(eq_chain) || !page_cnt) || in lm_l5_alloc_eq()
178 …DbgMessage(pdev, INFORMi | INFORMl5sp, "#lm_alloc_eq, eq_chain=%p, page_cnt=%d\n", eq_chain, page_… in lm_l5_alloc_eq()
185 eq_chain->bd_chain.bd_chain_virt = mm_alloc_phys_mem(pdev, in lm_l5_alloc_eq()
187 &eq_chain->bd_chain.bd_chain_phy, in lm_l5_alloc_eq()
191 if (ERR_IF(!eq_chain->bd_chain.bd_chain_virt)) in lm_l5_alloc_eq()
197 eq_addr_save->bd_chain_virt = eq_chain->bd_chain.bd_chain_virt ; in lm_l5_alloc_eq()
198 eq_addr_save->bd_chain_phy.as_u64 = eq_chain->bd_chain.bd_chain_phy.as_u64; in lm_l5_alloc_eq()
206 eq_chain->bd_chain.bd_chain_virt = eq_addr_save->bd_chain_virt; in lm_l5_alloc_eq()
207 eq_chain->bd_chain.bd_chain_phy.as_u64 = eq_addr_save->bd_chain_phy.as_u64; in lm_l5_alloc_eq()
[all …]
/titanic_41/usr/src/uts/common/io/bnxe/577xx/drivers/common/lm/l5/include/
H A Dlm_l5st.h111 lm_eq_chain_t eq_chain[MAX_EQ_CHAIN]; member
112 #define LM_SC_EQ(_pdev, _idx) (_pdev)->iscsi_info.run_time.eq_chain[_idx]
276 lm_eq_chain_t eq_chain[MAX_EQ_CHAIN]; member
277 #define LM_FC_EQ(_pdev, _idx) (_pdev)->fcoe_info.run_time.eq_chain[_idx]
/titanic_41/usr/src/uts/common/io/bnxe/577xx/drivers/common/lm/device/
H A Dlm_resc.c1218 lm_eq_chain_t *eq_chain = NULL; in lm_alloc_eq() local
1232 eq_chain = &pdev->eq_info.eq_chain; in lm_alloc_eq()
1236 eq_chain->bd_chain.bd_chain_virt = in lm_alloc_eq()
1237 mm_alloc_phys_mem( pdev, mem_size, &eq_chain->bd_chain.bd_chain_phy, 0, LM_CLI_IDX_MAX); in lm_alloc_eq()
1239 if(ERR_IF(!eq_chain->bd_chain.bd_chain_virt)) in lm_alloc_eq()
1245 mm_mem_zero(eq_chain->bd_chain.bd_chain_virt, mem_size); in lm_alloc_eq()
1246 eq_chain->bd_chain.page_cnt = page_cnt; in lm_alloc_eq()
1480 lm_eq_chain_t * eq_chain = NULL; in lm_setup_eq() local
1492 eq_chain = &pdev->eq_info.eq_chain; in lm_setup_eq()
1493 bd_chain = &eq_chain->bd_chain; in lm_setup_eq()
[all …]
H A Dlm_sp.c162 lm_eq_chain_t * eq_chain = NULL; in lm_is_eq_completion() local
171 eq_chain = &pdev->eq_info.eq_chain; in lm_is_eq_completion()
172 …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()
3337 lm_eq_chain_t * eq_chain = &pdev->eq_info.eq_chain; in lm_service_eq_intr() local
3342 cq_new_idx = mm_le16_to_cpu(*(eq_chain->hw_con_idx_ptr)); in lm_service_eq_intr()
3343 if((cq_new_idx & lm_bd_chain_usable_bds_per_page(&eq_chain->bd_chain)) in lm_service_eq_intr()
3344 == lm_bd_chain_usable_bds_per_page(&eq_chain->bd_chain)) in lm_service_eq_intr()
3346 cq_new_idx+=lm_bd_chain_bds_skip_eop(&eq_chain->bd_chain); in lm_service_eq_intr()
3348 cq_old_idx = lm_bd_chain_cons_idx(&eq_chain->bd_chain); in lm_service_eq_intr()
3363 elem = (union event_ring_elem *)lm_bd_chain_consume_bd(&eq_chain->bd_chain); in lm_service_eq_intr()
[all …]
H A Dlm_hw_init_reset.c4030 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()
4032 eq_data.producer = lm_bd_chain_prod_idx(&pdev->eq_info.eq_chain.bd_chain); in lm_init_intmem_eq()
4060 DbgBreakIf(lm_bd_chain_phys_addr(&pdev->eq_info.eq_chain.bd_chain, 0).as_u64 == 0); in lm_init_intmem_function()
4061 …EM_WORKAROUND_ADDRESS_OFFSET(func),lm_bd_chain_phys_addr(&pdev->eq_info.eq_chain.bd_chain, 0).as_u… in lm_init_intmem_function()
4062 …_WORKAROUND_ADDRESS_OFFSET(func)+4,lm_bd_chain_phys_addr(&pdev->eq_info.eq_chain.bd_chain, 0).as_u… in lm_init_intmem_function()
/titanic_41/usr/src/uts/common/io/bnxe/577xx/drivers/common/lm/include/
H A Dlm5710.h2720 lm_eq_chain_t eq_chain; member