Lines Matching refs:pdev

54 typedef void lm_generic_workitem_function(struct _lm_device_t *pdev);
61 lm_status_t mm_i2c_update(struct _lm_device_t *pdev);
118 #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 …e MM_ACQUIRE_REQUEST_LOCK_DPC(/* struct _lm_device_t* */pdev) MM_ACQUIRE_REQUEST_LOCK_DPC_IMP(pdev) argument
130 …e MM_RELEASE_REQUEST_LOCK_DPC(/* struct _lm_device_t* */pdev) MM_RELEASE_REQUEST_LOCK_DPC_IMP(pdev) argument
132 #define MM_ACQUIRE_PHY_LOCK(/* struct _lm_device_t* */pdev) MM_ACQUIRE_PHY_LOCK_IMP(pdev) argument
133 #define MM_RELEASE_PHY_LOCK(/* struct _lm_device_t* */pdev) MM_RELEASE_PHY_LOCK_IMP(pdev) argument
134 #define MM_ACQUIRE_PHY_LOCK_DPC(/* struct _lm_device_t* */pdev) MM_ACQUIRE_PHY_LOCK_DPC_IMP(pdev) argument
135 #define MM_RELEASE_PHY_LOCK_DPC(/* struct _lm_device_t* */pdev) MM_RELEASE_PHY_LOCK_DPC_IMP(pdev) argument
137 #define MM_ACQUIRE_MCP_LOCK(/* struct _lm_device_t* */pdev) MM_ACQUIRE_MCP_LOCK_IMP(pdev) argument
138 #define MM_RELEASE_MCP_LOCK(/* struct _lm_device_t* */pdev) MM_RELEASE_MCP_LOCK_IMP(pdev) argument
140 …CQUIRE_ISLES_CONTROL_LOCK(/* struct _lm_device_t* */pdev) MM_ACQUIRE_ISLES_CONTROL_LOCK_IMP(pd… argument
141 …ELEASE_ISLES_CONTROL_LOCK(/* struct _lm_device_t* */pdev) MM_RELEASE_ISLES_CONTROL_LOCK_IMP(pd… argument
142 …RE_ISLES_CONTROL_LOCK_DPC(/* struct _lm_device_t* */pdev) MM_ACQUIRE_ISLES_CONTROL_LOCK_DPC_IMP(pd… argument
143 …SE_ISLES_CONTROL_LOCK_DPC(/* struct _lm_device_t* */pdev) MM_RELEASE_ISLES_CONTROL_LOCK_DPC_IMP(pd… argument
145 …e MM_ACQUIRE_RAMROD_COMP_LOCK(/* struct _lm_device_t* */pdev) MM_ACQUIRE_RAMROD_COMP_LOCK_IMP(pdev) argument
146 …e MM_RELEASE_RAMROD_COMP_LOCK(/* struct _lm_device_t* */pdev) MM_RELEASE_RAMROD_COMP_LOCK_IMP(pdev) argument
148 #define MM_ACQUIRE_IND_REG_LOCK(/* struct _lm_device_t* */pdev) MM_ACQUIRE_IND_REG_LOCK_IMP(pdev) argument
149 #define MM_RELEASE_IND_REG_LOCK(/* struct _lm_device_t* */pdev) MM_RELEASE_IND_REG_LOCK_IMP(pdev) argument
154 …ine MM_ACQUIRE_SP_REQ_MGR_LOCK(/* struct _lm_device_t* */pdev) MM_ACQUIRE_SP_REQ_MGR_LOCK_IMP(pdev) argument
155 …ine MM_RELEASE_SP_REQ_MGR_LOCK(/* struct _lm_device_t* */pdev) MM_RELEASE_SP_REQ_MGR_LOCK_IMP(pdev) argument
157 …efine MM_ACQUIRE_SB_LOCK(/* struct _lm_device_t* */pdev, /* u8_t */sb_idx) MM_ACQUIRE_SB_LOCK_IMP( argument
158 …efine MM_RELEASE_SB_LOCK(/* struct _lm_device_t* */pdev, /* u8_t */sb_idx) MM_RELEASE_SB_LOCK_IMP( argument
179 #define MM_ACQUIRE_ETH_CON_LOCK(/* struct _lm_device_t* */pdev) MM_ACQUIRE_ETH_CON_LOCK_IMP(pdev) argument
180 #define MM_RELEASE_ETH_CON_LOCK(/* struct _lm_device_t* */pdev) MM_RELEASE_ETH_CON_LOCK_IMP(pdev) argument
184 #define MM_ACQUIRE_PF_LOCK(/* struct _lm_device_t* */pdev) MM_ACQUIRE_PF_LOCK_IMP(pdev) argument
185 #define MM_RELEASE_PF_LOCK(/* struct _lm_device_t* */pdev) MM_RELEASE_PF_LOCK_IMP(pdev) argument
187 …e MM_ACQUIRE_VFS_STATS_LOCK(/* struct _lm_device_t* */pdev) MM_ACQUIRE_VFS_STATS_LOCK_IMP(pdev) argument
188 …e MM_RELEASE_VFS_STATS_LOCK(/* struct _lm_device_t* */pdev) MM_RELEASE_VFS_STATS_LOCK_IMP(pdev) argument
189 …_ACQUIRE_VFS_STATS_LOCK_DPC(/* struct _lm_device_t* */pdev) MM_ACQUIRE_VFS_STATS_LOCK_DPC_IMP(pdev) argument
190 …_RELEASE_VFS_STATS_LOCK_DPC(/* struct _lm_device_t* */pdev) MM_RELEASE_VFS_STATS_LOCK_DPC_IMP(pdev) argument
195 #define mm_er_initiate_recovery(/* struct _lm_device_t* */pdev) \ argument
196 mm_er_initiate_recovery_imp(pdev)
201 #define MM_EMPTY_RAMROD_RECEIVED(/* struct _lm_device_t* */pdev, /* lm_cli_idx_t */lm_cli_idx) \ argument
202 mm_empty_ramrod_received_imp(pdev, lm_cli_idx)
204 #define mm_dbus_start_if_enable(/* struct _lm_device_t* */pdev) \ argument
205 mm_dbus_start_if_enabled_imp(pdev)
206 #define mm_dbus_stop_if_started(/* struct _lm_device_t* */pdev) \ argument
207 mm_dbus_stop_if_started_imp(pdev)
211 void mm_wait(struct _lm_device_t *pdev,
215 lm_status_t mm_read_pci(struct _lm_device_t *pdev,
220 lm_status_t mm_write_pci(struct _lm_device_t *pdev,
229 void * mm_map_io_base(struct _lm_device_t *pdev,
235 lm_status_t mm_get_user_config(struct _lm_device_t *pdev);
238 u32_t mm_desc_size(struct _lm_device_t *pdev,
262 mm_map_io_space(struct _lm_device_t *pdev,
267 void mm_unmap_io_space(struct _lm_device_t *pdev,
272 void * mm_alloc_mem_imp(struct _lm_device_t *pdev,
281 void * mm_alloc_phys_mem_imp(struct _lm_device_t* pdev,
292 void * mm_rt_alloc_mem_imp(struct _lm_device_t* pdev,
301 void * mm_alloc_phys_mem_align_imp(struct _lm_device_t* pdev,
314 void * mm_rt_alloc_phys_mem_imp(struct _lm_device_t* pdev,
330 void mm_rt_free_mem(struct _lm_device_t *pdev,
335 void mm_rt_free_phys_mem(struct _lm_device_t *pdev,
351 u64_t mm_get_current_time(struct _lm_device_t *pdev);
359 void mm_indicate_tx(struct _lm_device_t *pdev,
378 void mm_indicate_rx(struct _lm_device_t *pdev,
384 void mm_indicate_link(struct _lm_device_t *pdev,
390 void mm_indicate_hw_failure(struct _lm_device_t *pdev);
393 typedef void(*lm_task_cb_t)(struct _lm_device_t *pdev, void *param);
394 lm_status_t mm_schedule_task(struct _lm_device_t *pdev,
401 void mm_set_done(struct _lm_device_t *pdev,
408 void mm_return_sq_pending_command(struct _lm_device_t * pdev,
411 struct sq_pending_command * mm_get_sq_pending_command(struct _lm_device_t * pdev);
414 u32_t mm_copy_packet_buf(struct _lm_device_t *pdev,
420 lm_status_t mm_event_log_generic_arg_fwd(struct _lm_device_t* pdev,
424 lm_status_t mm_event_log_generic(struct _lm_device_t* pdev,
432 static __inline void * mm_rt_zalloc_mem(struct _lm_device_t * pdev, u32_t size) in mm_rt_zalloc_mem() argument
436 ptr = mm_rt_alloc_mem(pdev, size, 0); in mm_rt_zalloc_mem()
447 u32_t mm_build_ver_string(struct _lm_device_t * pdev);
460 void mm_vf_pf_arm_trigger(struct _lm_device_t *pdev,
463 lm_status_t mm_vf_pf_write_block_to_sw_channel(struct _lm_device_t *pdev,
468 lm_status_t mm_vf_pf_read_block_from_sw_channel(struct _lm_device_t *pdev,
473 lm_status_t mm_vf_pf_sw_ch_process_standard_request(struct _lm_device_t *pdev,
478 lm_status_t mm_vf_pf_sw_ch_retrieve_standard_response(struct _lm_device_t *pdev,
483 lm_status_t mm_vf_pf_hw_ch_process_standard_request(struct _lm_device_t *pdev,
487 lm_status_t mm_vf_pf_upload_standard_request(struct _lm_device_t *pdev,
491 lm_status_t mm_vf_en(struct _lm_device_t* pdev,
494 void mm_vf_dis(struct _lm_device_t* pdev);
496 u16_t mm_get_extended_caps(struct _lm_device_t *pdev,
499 lm_status_t mm_get_sriov_info(struct _lm_device_t *pdev,
502 lm_status_t mm_pf_get_queues_number(struct _lm_device_t *pdev,
507 lm_status_t mm_pf_get_filters_number(struct _lm_device_t *pdev,
513 lm_status_t mm_pf_get_macs(struct _lm_device_t *pdev,
518 void mm_report_malicious_vf(struct _lm_device_t *pdev, struct _lm_vf_info_t *vf_info);
548 #define mm_get_bar_offset(/* struct _lm_device_t* */pdev, /* u8_t */bar_num, /* lm_address_t* */bar… argument
549 mm_get_bar_offset_imp(pdev, bar_num, bar_addr)
551 #define mm_get_bar_size(/* struct _lm_device_t* */pdev, /* u8_t */bar_num, /* u32_t* */val_p) \ argument
552 mm_get_bar_size_imp(pdev, bar_num, val_p)