Home
last modified time | relevance | path

Searched defs:pdev (Results 26 – 50 of 83) sorted by relevance

1234

/titanic_41/usr/src/uts/common/io/bnxe/577xx/drivers/common/include/
H A Dmm.h118 #define MM_ACQUIRE_SPQ_LOCK(/* struct _lm_device_t* */pdev) MM_ACQUIRE_SPQ_LOCK_IMP(pdev) argument
119 #define MM_RELEASE_SPQ_LOCK(/* struct _lm_device_t* */pdev) MM_RELEASE_SPQ_LOCK_IMP(pdev) argument
120 #define MM_ACQUIRE_SPQ_LOCK_DPC(/* struct _lm_device_t* */pdev) MM_ACQUIRE_SPQ_LOCK_DPC(pdev) argument
121 #define MM_RELEASE_SPQ_LOCK_DPC(/* struct _lm_device_t* */pdev) MM_RELEASE_SPQ_LOCK_DPC(pdev) argument
123 #define MM_ACQUIRE_CID_LOCK(/* struct _lm_device_t* */pdev) MM_ACQUIRE_CID_LOCK_IMP(pdev) argument
124 #define MM_RELEASE_CID_LOCK(/* struct _lm_device_t* */pdev) MM_RELEASE_CID_LOCK_IMP(pdev) argument
126 #define MM_ACQUIRE_REQUEST_LOCK(/* struct _lm_device_t* */pdev) MM_ACQUIRE_REQUEST_LOCK_IMP(pdev) argument
127 #define MM_RELEASE_REQUEST_LOCK(/* struct _lm_device_t* */pdev) MM_RELEASE_REQUEST_LOCK_IMP(pdev) argument
129 #define MM_ACQUIRE_REQUEST_LOCK_DPC(/* struct _lm_device_t* */pdev) MM_ACQUIRE_REQUEST_LOCK_DPC_IMP… argument
130 #define MM_RELEASE_REQUEST_LOCK_DPC(/* struct _lm_device_t* */pdev) MM_RELEASE_REQUEST_LOCK_DPC_IMP… argument
[all …]
H A Dmm_solaris.h147 #define MM_ACQUIRE_PF_LOCK_IMP(pdev) argument
148 #define MM_RELEASE_PF_LOCK_IMP(pdev) argument
150 #define MM_ACQUIRE_VFS_STATS_LOCK_IMP(pdev) argument
151 #define MM_RELEASE_VFS_STATS_LOCK_IMP(pdev) argument
152 #define MM_ACQUIRE_VFS_STATS_LOCK_DPC_IMP(pdev) argument
153 #define MM_RELEASE_VFS_STATS_LOCK_DPC_IMP(pdev) argument
158 #define mm_er_initiate_recovery_imp(pdev) \ argument
164 #define mm_empty_ramrod_received_imp(pdev, empty_data) argument
166 #define mm_dbus_start_if_enabled_imp(pdev) argument
167 #define mm_dbus_stop_if_started_imp(pdev) argument
[all …]
H A Dmm_ndismono.h106 #define MM_ACQUIRE_REQUEST_LOCK_DPC_IMP(pdev) argument
107 #define MM_RELEASE_REQUEST_LOCK_DPC_IMP(pdev) argument
157 #define mm_er_initiate_recovery_imp(pdev) \ argument
166 #define mm_dbus_start_if_enabled_imp(pdev) argument
167 #define mm_dbus_stop_if_started_imp(pdev) argument
195 #define mm_get_bar_offset_imp(pdev, bar_num, bar_addr) \ argument
198 #define mm_get_bar_size_imp(pdev, bar_num, val_p) \ argument
H A Dmm_linux.h135 #define MM_ACQUIRE_IND_REG_LOCK_IMP(pdev) argument
136 #define MM_RELEASE_IND_REG_LOCK_IMP(pdev) argument
166 #define mm_er_initiate_recovery_imp(pdev) \ argument
172 #define mm_empty_ramrod_received_imp(pdev, empty_data) argument
/titanic_41/usr/src/uts/common/io/bnxe/577xx/drivers/common/ecore/
H A Decore_sp_verbs.c30 #define ECORE_MSG(pdev, m, ...) \ argument
74 #define ECORE_TODO_LINK_REPORT(pdev) argument
268 static INLINE void ecore_exe_queue_init(struct _lm_device_t *pdev, in ecore_exe_queue_init()
299 static INLINE void ecore_exe_queue_free_elem(struct _lm_device_t *pdev, in ecore_exe_queue_free_elem()
336 static INLINE int ecore_exe_queue_add(struct _lm_device_t *pdev, in ecore_exe_queue_add()
375 struct _lm_device_t *pdev, in __ecore_exe_queue_reset_pending()
399 static INLINE int ecore_exe_queue_step(struct _lm_device_t *pdev, in ecore_exe_queue_step()
477 struct _lm_device_t *pdev) in ecore_exe_queue_alloc_elem()
521 static INLINE int ecore_state_wait(struct _lm_device_t *pdev, int state, in ecore_state_wait()
574 static int ecore_raw_wait(struct _lm_device_t *pdev, struct ecore_raw_obj *raw) in ecore_raw_wait()
[all …]
H A Decore_init.h197 static __inline void ecore_set_mcp_parity(struct _lm_device_t *pdev, u8 enable) in ecore_set_mcp_parity()
214 static __inline u32 ecore_parity_reg_mask(struct _lm_device_t *pdev, int idx) in ecore_parity_reg_mask()
226 static __inline void ecore_disable_blocks_parity(struct _lm_device_t *pdev) in ecore_disable_blocks_parity()
249 static __inline void ecore_clear_blocks_parity(struct _lm_device_t *pdev) in ecore_clear_blocks_parity()
295 static __inline void ecore_enable_blocks_parity(struct _lm_device_t *pdev) in ecore_enable_blocks_parity()
/titanic_41/usr/src/uts/common/io/bnxe/577xx/drivers/common/lm/l4/
H A Dlm_l4tx.c19 #define TOE_TX_DOORBELL(pdev,cid) do{\ argument
26 lm_device_t * pdev, in _lm_tcp_tx_write_db()
53 lm_device_t *pdev, in lm_tcp_tx_write_db()
89 struct _lm_device_t *pdev, in lm_tcp_tx_post_buf()
227 static __inline void lm_tcp_tx_graceful_disconnect_complete(lm_device_t * pdev, lm_tcp_state_t * tc… in lm_tcp_tx_graceful_disconnect_complete()
243 struct _lm_device_t *pdev, in lm_tcp_tx_cmp_process()
286 u8_t lm_toe_is_tx_completion(lm_device_t *pdev, u8_t drv_toe_rss_id) in lm_toe_is_tx_completion()
306 struct _lm_device_t *pdev, in lm_tcp_tx_inc_trm_aborted_bytes()
334 void lm_tcp_tx_complete_tcp_fp(lm_device_t * pdev, lm_tcp_state_t * tcp, lm_tcp_con_t * con) in lm_tcp_tx_complete_tcp_fp()
370 lm_device_t * pdev, in lm_tcp_tx_process_cqe()
[all …]
H A Dlm_l4rx.c60 struct _lm_device_t * pdev, in _lm_tcp_isle_get_free_list()
79 struct _lm_device_t * pdev, in _lm_tcp_isle_find()
106 struct _lm_device_t * pdev, in _lm_tcp_isle_remove()
187 #define TOE_RX_DOORBELL(pdev,cid) do{\ argument
195 lm_device_t *pdev, in lm_tcp_rx_write_db()
230 lm_device_t * pdev, in lm_tcp_rx_post_sws()
336lm_device_t * pdev, lm_tcp_state_t * tcp, lm_tcp_con_t * con, lm_tcp_buffer_t * tcp_buf, u32_t com… in lm_tcp_complete_tcp_buf()
382 struct _lm_device_t * pdev, in lm_tcp_rx_cmp_process()
427 struct _lm_device_t * pdev, in lm_tcp_rx_skp_process()
479 struct _lm_device_t * pdev, in lm_tcp_rx_delete_isle()
[all …]
H A Dlm_l4fp.c16 struct _lm_device_t *pdev, in lm_tcp_complete_bufs()
70 struct _lm_device_t *pdev, in lm_tcp_complete_nbytes()
190 struct _lm_device_t * pdev, in lm_tcp_abort_bufs()
/titanic_41/usr/src/uts/common/io/bnxe/577xx/drivers/common/lm/device/
H A Dlm_sp_req_mgr.c10 struct _lm_device_t *pdev, in lm_sp_req_manager_init()
40 struct _lm_device_t *pdev, in lm_sp_req_manager_shutdown()
74 struct _lm_device_t *pdev, in lm_sp_req_manager_post()
128 struct _lm_device_t *pdev, in lm_sp_req_manager_complete()
213 struct _lm_device_t *pdev, in lm_sp_req_manager_block()
245 struct _lm_device_t *pdev, in lm_sp_req_manager_unblock()
306 struct _lm_device_t *pdev, in lm_sp_req_manager_set_sp_data()
H A Dlm_dmae.c84 static u8_t lm_dmae_locking_policy_hwlock_id_for_resource(struct _lm_device_t* pdev, IN const u32_t… in lm_dmae_locking_policy_hwlock_id_for_resource()
103 lm_status_t lm_dmae_locking_policy_create( struct _lm_device_t* pdev, in lm_dmae_locking_policy_create()
174 lm_status_t lm_dmae_locking_policy_unlock(struct _lm_device_t* pdev, lm_dmae_locking_policy_t* lock… in lm_dmae_locking_policy_unlock()
244 lm_dmae_opcode( struct _lm_device_t* pdev, in lm_dmae_opcode()
280 lm_dmae_command_set_block( struct _lm_device_t* pdev, in lm_dmae_command_set_block()
316 lm_dmae_initialize_command_by_block(struct _lm_device_t* pdev, in lm_dmae_initialize_command_by_block()
334 lm_status_t lm_dmae_operation_create( struct _lm_device_t* pdev, in lm_dmae_operation_create()
391 lm_dmae_initialize_sgl_loader_command( struct _lm_device_t* pdev, in lm_dmae_initialize_sgl_loader_command()
425 lm_dmae_operation_t* lm_dmae_operation_create_sgl( struct _lm_device_t* pdev, in lm_dmae_operation_create_sgl()
458 lm_status_t lm_dmae_operation_add_sge( struct _lm_device_t* pdev, in lm_dmae_operation_add_sge()
[all …]
H A Dlm_mcp.c56 IN struct _lm_device_t * pdev in lm_mcp_wait_one()
78 IN struct _lm_device_t * pdev, in lm_clp_reset_prep()
103 IN struct _lm_device_t * pdev, in lm_clp_reset_done()
119 IN struct _lm_device_t *pdev in lm_is_mcp_detected()
133 lm_status_t lm_reset_mcp_prep(lm_device_t *pdev, u32_t * magic_val) in lm_reset_mcp_prep()
157 lm_status_t lm_reset_mcp_comp(lm_device_t *pdev, u32_t magic_val) in lm_reset_mcp_comp()
226 IN struct _lm_device_t *pdev in lm_reset_mcp()
267 lm_device_t *pdev) in acquire_split_alr()
313 lm_device_t *pdev) in release_split_alr()
335 lm_status_t lm_send_driver_pulse( lm_device_t* pdev ) in lm_send_driver_pulse()
[all …]
H A Dlm_phy.c211 #define MDIO_SET_REG_BANK(pdev,reg_bank)\ argument
239 lm_mwrite( lm_device_t *pdev, in lm_mwrite()
313 lm_mread( lm_device_t *pdev, in lm_mread()
389 lm_device_t *pdev, in lm_phy45_read()
417 lm_device_t *pdev, in lm_phy45_write()
439 lm_set_phy_addr(lm_device_t *pdev, in lm_set_phy_addr()
554 u32_t lm_get_port_max_speed(IN struct _lm_device_t *pdev) in lm_get_port_max_speed()
594 lm_medium_t lm_loopback_req_medium_convert( IN struct _lm_device_t *pdev, IN const lm_medium_t req_… in lm_loopback_req_medium_convert()
670 static void get_link_params(lm_device_t *pdev) in get_link_params()
774 void sync_link_status(lm_device_t *pdev) in sync_link_status()
[all …]
H A Dlm_nvram.c52 lm_device_t *pdev) in acquire_nvram_lock()
105 lm_device_t *pdev) in release_nvram_lock()
232 lm_device_t *pdev) in enable_nvram_access()
254 lm_device_t *pdev) in disable_nvram_access()
277 lm_device_t *pdev, in nvram_read_dword()
342 lm_device_t *pdev, in nvram_write_dword()
404 lm_device_t *pdev, in lm_nvram_read()
481 lm_device_t *pdev, in lm_nvram_write()
H A Dlm_power.c48 lm_device_t *pdev, in init_nwuf_57710()
223 void lm_set_d3_nwuf( lm_device_t* pdev, in lm_set_d3_nwuf()
292 void lm_set_d3_mpkt( lm_device_t* pdev, in lm_set_d3_mpkt()
336 lm_device_t *pdev, in set_d0_power_state()
395 lm_device_t* pdev, in lm_set_power_state()
412 void lm_set_func_en(struct _lm_device_t *pdev, const u8_t b_enable) in lm_set_func_en()
422 u8_t lm_get_func_en(struct _lm_device_t *pdev, const u8_t pfunc_abs) in lm_get_func_en()
436 void lm_pcie_state_save_for_d3(struct _lm_device_t *pdev) in lm_pcie_state_save_for_d3()
455 void lm_pcie_state_restore_for_d0(struct _lm_device_t *pdev) in lm_pcie_state_restore_for_d0()
547 lm_status_t lm_add_nwuf( lm_device_t* pdev, in lm_add_nwuf()
[all …]
H A Dlm_dcbx_mp.c69 IN lm_device_t *pdev, in lm_mp_eth_is_chain_in_cosx_range()
94 lm_mp_cos_from_chain(IN struct _lm_device_t *pdev, in lm_mp_cos_from_chain()
127 lm_mp_get_chain_type(IN struct _lm_device_t *pdev, in lm_mp_get_chain_type()
154 lm_mp_get_eth_chain_cosx_start_offset(IN struct _lm_device_t *pdev, in lm_mp_get_eth_chain_cosx_start_offset()
188 lm_mp_get_reg_chain_from_chain(IN struct _lm_device_t *pdev, in lm_mp_get_reg_chain_from_chain()
217 IN struct _lm_device_t *pdev, in lm_mp_get_cos_chain_from_reg_chain()
244 IN struct _lm_device_t *pdev) in lm_mp_max_cos_chain_used()
H A Dlm_recv.c9 u8_t lm_is_rx_completion(lm_device_t *pdev, u8_t chain_idx) in lm_is_rx_completion()
33 static void FORCEINLINE lm_rx_set_prods( lm_device_t *pdev, in lm_rx_set_prods()
92 lm_device_t *pdev, in lm_post_buffers()
262 lm_tpa_sge_update_last_max(IN lm_device_t* pdev, in lm_tpa_sge_update_last_max()
295 lm_tpa_incr_sge_cons( IN lm_device_t* pdev, in lm_tpa_incr_sge_cons()
348 lm_tpa_stop( IN lm_device_t* pdev, in lm_tpa_stop()
480 lm_tpa_start( IN lm_device_t* pdev, in lm_tpa_start()
501 lm_tpa_start_flags_handle( IN lm_device_t* pdev, in lm_tpa_start_flags_handle()
569 lm_regular_flags_handle( IN lm_device_t* pdev, in lm_regular_flags_handle()
680 lm_recv_set_pkt_len( IN lm_device_t* pdev, in lm_recv_set_pkt_len()
[all …]
H A Dlm_send.c47 u8_t lm_is_tx_completion(lm_device_t *pdev, u8_t chain_idx) in lm_is_tx_completion()
102 IN lm_device_t *pdev, in lm_pre_process_lso_packet()
135 IN lm_device_t *pdev, in lm_process_lso_packet()
267 IN lm_device_t *pdev, in lm_get_coalesce_buffer()
314 IN lm_device_t *pdev, in lm_put_coalesce_buffer()
343 IN lm_device_t *pdev, in lm_copy_packet_to_coalesce_buffer()
405 IN lm_device_t *pdev, in lm_is_packet_coalescing_required()
473 lm_device_t *pdev, in lm_get_pri_from_send_packet_param()
491 lm_device_t *pdev, in fill_bds_for_encapsulated_packet()
576 lm_device_t *pdev, in lm_send_packet()
[all …]
H A Dbnxe_hw_debug.c66 u32_t lm_disable_timer (struct _lm_device_t *pdev, u32_t port) { in lm_disable_timer()
124 void lm_enable_timer (struct _lm_device_t *pdev, u32_t port) { in lm_enable_timer()
142 struct _lm_device_t *pdev) in lm_get_doorbell_info()
178 static const char *_vq_hoq(struct _lm_device_t* pdev,IN const char *vq_regname) in _vq_hoq()
242 lm_status_t lm_get_storms_assert(struct _lm_device_t* pdev) in lm_get_storms_assert()
331 u32_t lm_idle_chk(struct _lm_device_t *pdev) { in lm_idle_chk()
H A Dbd_chain.h192 struct _lm_device_t *pdev, in lm_bd_chain_add_page()
264 struct _lm_device_t *pdev, in lm_bd_chain_setup()
369 struct _lm_device_t *pdev, in lm_bd_chain_pbl_setup()
421 __inline static void lm_bd_chain_reset(struct _lm_device_t * pdev, lm_bd_chain_t * bd_chain) in lm_bd_chain_reset()
/titanic_41/usr/src/uts/common/io/xge/drv/
H A Dxge_osdep.h228 static inline void *__xge_os_malloc(pci_dev_h pdev, unsigned long size, in __xge_os_malloc()
237 static inline void xge_os_free(pci_dev_h pdev, const void *vaddr, in xge_os_free()
244 #define xge_os_malloc(pdev, size) \ argument
247 static inline void *__xge_os_dma_malloc(pci_dev_h pdev, unsigned long size, in __xge_os_dma_malloc()
283 #define xge_os_dma_malloc(pdev, size, dma_flags, p_dmah, p_dma_acch) \ argument
287 static inline void xge_os_dma_free(pci_dev_h pdev, const void *vaddr, int size, in xge_os_dma_free()
298 #define xge_os_pci_read8(pdev, cfgh, where, val) \ argument
301 #define xge_os_pci_write8(pdev, cfgh, where, val) \ argument
304 #define xge_os_pci_read16(pdev, cfgh, where, val) \ argument
307 #define xge_os_pci_write16(pdev, cfgh, where, val) \ argument
[all …]
/titanic_41/usr/src/uts/common/io/bnxe/577xx/drivers/common/lm/include/
H A Dcommand.h31 static __inline void _lm_sq_post(struct _lm_device_t *pdev,struct sq_pending_command * pending) in _lm_sq_post()
79 static __inline void lm_sq_post_fill_entry(struct _lm_device_t* pdev, in lm_sq_post_fill_entry()
177 static __inline lm_status_t lm_command_post( struct _lm_device_t* pdev, in lm_command_post()
H A Dlm5710.h121 #define IS_CHANNEL_VFDEV(pdev) (((pdev)->params.device_type == DEVICE_TYPE_VF) && ((pdev)->params.… argument
123 #define IS_BASIC_VIRT_MODE_MASTER_PFDEV(pdev) (((pdev)->params.device_type == DEVICE_TYPE_PF) … argument
124 #define IS_CHANNEL_VIRT_MODE_MASTER_PFDEV(pdev) (((pdev)->params.device_type == DEVICE_TYPE_PF) … argument
125 #define IS_ASSIGNED_TO_VM_PFDEV(pdev) (((pdev)->params.device_type == DEVICE_TYPE_PF) … argument
126 #define DBG_DMP_IS_ONLINE(pdev) IS_ASSIGNED_TO_VM_PFDEV(pdev) argument
128 #define IS_HW_CHANNEL_VIRT_MODE(pdev) (((pdev)->params.virtualization_type == VT_CHANNEL_VF) && … argument
129 #define IS_SW_CHANNEL_VIRT_MODE(pdev) (((pdev)->params.virtualization_type == VT_CHANNEL_VF) && … argument
131 #define IS_PFDEV(pdev) (((pdev)->pf_dev == NULL) && ((pdev)->params.device_type == DEVICE_… argument
132 #define IS_VFDEV(pdev) (((pdev)->pf_dev != NULL) || ((pdev)->params.device_type == DEVICE_… argument
133 #define PFDEV(pdev) (pdev) argument
[all …]
/titanic_41/usr/src/uts/common/io/bnxe/577xx/drivers/common/include/l4/
H A Dmm_l4if.h68 #define mm_acquire_tcp_lock(pdev,tcp_con) mm_acquire_tcp_q_lock((pdev),(tcp_con),__ql_hdl) argument
69 #define mm_release_tcp_lock(pdev,tcp_con) mm_release_tcp_q_lock((pdev),(tcp_con),__ql_hdl) argument
99 struct _lm_device_t *pdev, in mm_acquire_tcp_lock()
106 struct _lm_device_t *pdev, in mm_release_tcp_lock()
/titanic_41/usr/src/uts/common/io/bnxe/
H A Dbnxe_mm.c1491 #define MM_PORT_NUM(pdev) \ in mm_event_log_generic_arg_fwd() argument
1547 void mm_bar_read_byte(struct _lm_device_t *pdev, in mm_bar_read_byte()
1559 void mm_bar_read_word(struct _lm_device_t *pdev, in mm_bar_read_word()
1571 void mm_bar_read_dword(struct _lm_device_t *pdev, in mm_bar_read_dword()
1583 void mm_bar_read_ddword(struct _lm_device_t *pdev, in mm_bar_read_ddword()
1595 void mm_bar_write_byte(struct _lm_device_t *pdev, in mm_bar_write_byte()
1607 void mm_bar_write_word(struct _lm_device_t *pdev, in mm_bar_write_word()
1619 void mm_bar_write_dword(struct _lm_device_t *pdev, in mm_bar_write_dword()
1631 void mm_bar_write_ddword(struct _lm_device_t *pdev, in mm_bar_write_ddword()
1643 void mm_bar_copy_buffer(struct _lm_device_t * pdev, in mm_bar_copy_buffer()
[all …]

1234