/illumos-gate/usr/src/uts/common/io/bnxe/577xx/drivers/common/lm/fw/ |
H A D | 57712_init_values.c | 58025 ecore_init_e2_firmware(struct _lm_device_t *pdev) argument [all...] |
H A D | 57710_init_values.c | 29183 ecore_init_e1_firmware(struct _lm_device_t *pdev) argument [all...] |
H A D | 57711_init_values.c | 30480 ecore_init_e1h_firmware(struct _lm_device_t *pdev) argument [all...] |
H A D | bnxe_fw_funcs.c | 40 void ecore_map_q_cos(struct _lm_device_t *pdev, u32_t q_num, u32_t new_cos) argument 43 u32_t curr_cos = REG_RD(pdev, QM_REG_QVOQIDX_0 + q_num * 4); 51 if (INIT_MODE_FLAGS(pdev) & MODE_PORT4) { 53 if (PORT_ID(pdev)) { 62 ECORE_PF_Q_NUM(q_num, PORT_ID(pdev), vnic); 66 REG_WR(pdev, ECORE_Q_VOQ_REG_ADDR(pf_q_num), new_cos); 70 reg_bit_map = REG_RD(pdev, reg_addr); 71 REG_WR(pdev, reg_addr, reg_bit_map & (~q_bit_map)); 75 reg_bit_map = REG_RD(pdev, reg_addr); 76 REG_WR(pdev, reg_add 94 ecore_dcb_config_qm(struct _lm_device_t *pdev, enum cos_mode mode, struct priority_cos *traffic_cos) argument [all...] |
/illumos-gate/usr/src/uts/common/io/bnxe/577xx/drivers/common/lm/device/ |
H A D | lm_sp_req_mgr.c | 10 struct _lm_device_t *pdev, 16 if CHK_NULL(pdev) 21 sp_req_mgr = lm_cid_sp_req_mgr(pdev, cid); 40 struct _lm_device_t *pdev, 46 if CHK_NULL(pdev) 51 sp_req_mgr = lm_cid_sp_req_mgr(pdev, cid); 74 struct _lm_device_t *pdev, 82 if (CHK_NULL(pdev) || CHK_NULL(sp_req)) 87 sp_req_mgr = lm_cid_sp_req_mgr(pdev, cid); 93 // DbgMessage(pdev, FATA 9 lm_sp_req_manager_init( struct _lm_device_t *pdev, u32_t cid ) argument 39 lm_sp_req_manager_shutdown( struct _lm_device_t *pdev, u32_t cid ) argument 73 lm_sp_req_manager_post( struct _lm_device_t *pdev, u32_t cid, struct _lm_sp_req_common_t *sp_req ) argument 127 lm_sp_req_manager_complete( struct _lm_device_t *pdev, u32_t cid, u32_t seq_num, lm_sp_req_common_t **sp_req ) argument 212 lm_sp_req_manager_block( struct _lm_device_t *pdev, u32_t cid ) argument 244 lm_sp_req_manager_unblock( struct _lm_device_t *pdev, u32_t cid, lm_sp_req_common_t **sp_req ) argument 305 lm_sp_req_manager_set_sp_data( struct _lm_device_t *pdev, u32_t cid, void *virt_addr, lm_address_t phys_addr ) argument [all...] |
H A D | lm_dcbx_mp.c | 57 #define ETH_CID_COSX_END_OFFSET(_pdev, _val) (_val + MAX_NUM_OF_ACTIVE_ETH_CONS_PER_COS(pdev)) 69 IN lm_device_t *pdev, 74 (chain < ETH_CID_COSX_END_OFFSET(pdev, cos_start_offset))) 88 * @param pdev 94 lm_mp_cos_from_chain(IN struct _lm_device_t *pdev, argument 100 if (ETH_IS_CHAIN_IN_COS0_RANGE(pdev, chain) ) 104 else if (ETH_IS_CHAIN_IN_COS1_RANGE(pdev, chain) ) 108 else if (ETH_IS_CHAIN_IN_COS2_RANGE(pdev, chain) ) 114 DbgMessage(pdev, INFORMi|INFORMl2sp, " lm_mp_cos_from_chain: "); 121 * @param pdev 68 lm_mp_eth_is_chain_in_cosx_range( IN lm_device_t *pdev, IN const u32_t chain, IN const u32_t cos_start_offset) argument 127 lm_mp_get_chain_type(IN struct _lm_device_t *pdev, IN const u32_t chain) argument 154 lm_mp_get_eth_chain_cosx_start_offset(IN struct _lm_device_t *pdev, IN const u8_t cos) argument 188 lm_mp_get_reg_chain_from_chain(IN struct _lm_device_t *pdev, IN u32_t chain) argument 216 lm_mp_get_cos_chain_from_reg_chain( IN struct _lm_device_t *pdev, INOUT u8_t chain, INOUT const u8_t cos) argument 243 lm_mp_max_cos_chain_used( IN struct _lm_device_t *pdev) argument [all...] |
H A D | lm_nvram.c | 52 lm_device_t *pdev) 57 u8_t port_num = PORT_ID(pdev); /* TBD - E1H: nvram lock � DOES NOT scale to 8 functions! (only 4 clients) 61 DbgMessage(pdev, VERBOSEnv, "### acquire_nvram_lock\n"); 64 if (CHIP_REV_IS_EMUL(pdev)) cnt *= 100; 69 REG_WR(pdev, MCP_REG_MCPR_NVM_SW_ARB, (MCPR_NVM_SW_ARB_ARB_REQ_SET1 << port_num )); 72 val=REG_RD(pdev, MCP_REG_MCPR_NVM_SW_ARB); 78 mm_wait(pdev, 5); 105 lm_device_t *pdev) 109 u8_t port_num = PORT_ID(pdev); 111 DbgMessage(pdev, VERBOSEn 51 acquire_nvram_lock( lm_device_t *pdev) argument 104 release_nvram_lock( lm_device_t *pdev) argument 231 enable_nvram_access( lm_device_t *pdev) argument 253 disable_nvram_access( lm_device_t *pdev) argument 276 nvram_read_dword( lm_device_t *pdev, u32_t offset, u32_t *ret_val, u32_t nvram_flags) argument 341 nvram_write_dword( lm_device_t *pdev, u32_t offset, u32_t val, u32_t nvram_flags) argument 403 lm_nvram_read( lm_device_t *pdev, u32_t offset, u32_t *ret_buf, u32_t buf_size) argument 480 lm_nvram_write( lm_device_t *pdev, u32_t offset, u32_t *data_buf, u32_t buf_size) argument [all...] |
H A D | l2_dbg.c | 7 * pdev - this is the LM device 9 static void dbg_zero_all_attn(lm_device_t *pdev) argument 13 DbgMessage(pdev, INFORMi, "dbg_zero_all_attn() inside!\n"); 15 def_sb = lm_get_default_status_block(pdev); 20 pdev->vars.aeu_mask_attn_func = 0x303; 21 pdev->vars.attn_state = 0; 27 * pdev - this is the LM device 30 static void dbg_assert_attn_lines(lm_device_t *pdev, u16_t lines_to_assert) argument 34 DbgMessage1(pdev, INFORMi, "dbg_assert_attn_lines() inside! lines_to_assert:0x%x\n", lines_to_assert); 36 def_sb = lm_get_default_status_block(pdev); 56 dbg_deassert_attn_lines(lm_device_t *pdev, u16_t lines_to_deassert) argument 81 dbg_ack_assert_attn_lines(lm_device_t *pdev, u16_t assert_lines_to_ack) argument 127 dbg_change_sb_index(lm_device_t *pdev, u8_t rss_id) argument 176 dbg_def_sb_dpc(lm_device_t *pdev) argument 275 dbg_sb_dpc(lm_device_t *pdev, u8_t rss_id) argument 347 dbg_isr(lm_device_t *pdev, u32_t intr_status) argument 410 dbg_sb_ints_test_suite(lm_device_t *pdev) argument [all...] |
H A D | bnxe_hw_debug.c | 66 u32_t lm_disable_timer (struct _lm_device_t *pdev, u32_t port) { argument 70 val = REG_RD(pdev, MISC_REG_CHIP_NUM); 77 val = REG_RD(pdev,TM_REG_EN_LINEAR0_TIMER); 79 DbgMessage(pdev, INFORM, "idle_chk. lm_disable_timer(0) timer is not active\n"); 84 REG_WR(pdev,TM_REG_EN_LINEAR0_TIMER, 0); 87 val = REG_RD(pdev,TM_REG_LIN0_SCAN_ON); 89 DbgMessage(pdev, INFORM, "idle_chk. lm_disable_timer(0) timer is active\n"); 97 val = REG_RD(pdev,TM_REG_EN_LINEAR1_TIMER); 99 DbgMessage(pdev, INFORM, "idle_chk. lm_disable_timer(1) timer is not active\n"); 104 REG_WR(pdev,TM_REG_EN_LINEAR1_TIME 124 lm_enable_timer(struct _lm_device_t *pdev, u32_t port) argument 141 lm_get_doorbell_info( struct _lm_device_t *pdev) argument 178 _vq_hoq(struct _lm_device_t* pdev,IN const char *vq_regname) argument 242 lm_get_storms_assert(struct _lm_device_t* pdev) argument 331 lm_idle_chk(struct _lm_device_t *pdev) argument [all...] |
H A D | lm_er.c | 51 * @param pdev 55 lm_status_t lm_er_acquire_leader_lock(lm_device_t * pdev) argument 57 return lm_hw_lock(pdev, HW_LOCK_RESOURCE_RECOVERY_LEADER_0, FALSE); 63 * @param pdev 69 lm_status_t lm_er_release_leader_lock(lm_device_t * pdev) argument 71 return lm_hw_unlock(pdev, HW_LOCK_RESOURCE_RECOVERY_LEADER_0); 81 * @param pdev 83 void lm_er_disable_close_the_gate(lm_device_t *pdev) argument 87 DbgMessage(pdev, INFORMer, "Disabling \"close the gates\"\n"); 89 if (CHIP_IS_E2(pdev) || CHIP_IS_E 99 lm_er_set_234_gates(lm_device_t *pdev, u8_t close_g8) argument 125 lm_er_pxp_prep(lm_device_t *pdev) argument 145 lm_er_process_kill_chip_reset(lm_device_t *pdev, u8_t reset_mcp) argument 213 lm_er_empty_tetris_buffer(lm_device_t * pdev) argument 263 lm_er_poll_igu_vq(lm_device_t * pdev) argument 298 lm_er_process_kill(lm_device_t *pdev, u8_t reset_mcp) argument 392 lm_er_leader_reset(lm_device_t *pdev) argument 437 lm_er_notify_other_path(lm_device_t *pdev) argument 468 lm_er_config_close_the_g8(lm_device_t *pdev) argument 499 lm_er_get_func_bit(struct _lm_device_t *pdev) argument 519 lm_er_get_first_func_of_opp_path(struct _lm_device_t *pdev) argument 560 lm_er_inc_load_cnt(lm_device_t *pdev, u8_t sync_it) argument 609 lm_er_dec_load_cnt(lm_device_t *pdev, u8_t sync_it) argument 655 lm_er_get_load_cnt(lm_device_t *pdev, u8_t sync_it) argument 686 lm_er_clear_load_cnt(lm_device_t *pdev, u8_t sync_it) argument 712 lm_er_set_recover_done(lm_device_t *pdev, u8_t sync_it) argument 743 lm_er_set_recover_in_progress(lm_device_t *pdev, u8_t sync_it) argument 774 lm_er_recovery_in_progress(lm_device_t *pdev, u8_t sync_it) argument [all...] |
H A D | lm_niv.c | 44 static void lm_niv_set_loopback_mode_imp(struct _lm_device_t *pdev, IN const u8_t b_enable ) argument 47 struct function_update_data* data = LM_SLOWPATH(pdev, niv_function_update_data); 48 const lm_address_t data_phys = LM_SLOWPATH_PHYS(pdev, niv_function_update_data); 53 data->afex_default_vlan = mm_cpu_to_le16(NIV_DEFAULT_VLAN(pdev)); 55 data->allowed_priorities = NIV_ALLOWED_PRIORITIES(pdev); 62 lm_status = lm_niv_post_command(pdev,RAMROD_CMD_ID_COMMON_FUNCTION_UPDATE, data_phys.as_u64, initial_state); 68 * @param pdev the device to use 73 static lm_status_t lm_niv_clients_update(IN lm_device_t *pdev) argument 76 u16_t silent_vlan_value = NIV_DEFAULT_VLAN(pdev); 81 if(FUNC_MF_CFG_AFEX_VLAN_TRUNK_TAG_NATIVE_MODE == AFEX_VLAN_MODE(pdev)) 109 lm_niv_set_loopback_mode_enable(struct _lm_device_t *pdev) argument 130 lm_niv_set_loopback_mode_disable(struct _lm_device_t *pdev) argument 141 lm_niv_set_loopback_mode(struct _lm_device_t *pdev, IN const u8_t b_enable) argument 174 lm_niv_vif_enable(lm_device_t *pdev) argument 237 lm_niv_vif_disable(lm_device_t *pdev) argument 268 lm_niv_vif_delete(lm_device_t *pdev) argument 299 lm_niv_chip_stats_to_niv_stats(lm_device_t* pdev, OUT struct afex_stats* p_afex_stats) argument 351 lm_niv_stats_get(lm_device_t *pdev) argument 387 lm_niv_vif_list_set(lm_device_t *pdev) argument 421 lm_niv_vif_list_get(lm_device_t *pdev) argument 448 lm_niv_vif_set(lm_device_t *pdev) argument 516 lm_niv_event(lm_device_t *pdev, const u32_t niv_event) argument [all...] |
H A D | lm_power.c | 48 lm_device_t *pdev, 65 if CHK_NULL(pdev) 80 reg_len = (0 == PORT_ID(pdev)) ? LM_NIG_ACPI_PAT_LEN_IDX(0,0) : LM_NIG_ACPI_PAT_LEN_IDX(1,0) ; 81 reg_crc = (0 == PORT_ID(pdev)) ? LM_NIG_ACPI_PAT_CRC_IDX(0,0) : LM_NIG_ACPI_PAT_CRC_IDX(1,0) ; 84 reg_len = (0 == PORT_ID(pdev)) ? LM_NIG_ACPI_PAT_LEN_IDX(0,1) : LM_NIG_ACPI_PAT_LEN_IDX(1,1) ; 85 reg_crc = (0 == PORT_ID(pdev)) ? LM_NIG_ACPI_PAT_CRC_IDX(0,1) : LM_NIG_ACPI_PAT_CRC_IDX(1,1) ; 88 reg_len = (0 == PORT_ID(pdev)) ? LM_NIG_ACPI_PAT_LEN_IDX(0,2) : LM_NIG_ACPI_PAT_LEN_IDX(1,2) ; 89 reg_crc = (0 == PORT_ID(pdev)) ? LM_NIG_ACPI_PAT_CRC_IDX(0,2) : LM_NIG_ACPI_PAT_CRC_IDX(1,2) ; 92 reg_len = (0 == PORT_ID(pdev)) ? LM_NIG_ACPI_PAT_LEN_IDX(0,3) : LM_NIG_ACPI_PAT_LEN_IDX(1,3) ; 93 reg_crc = (0 == PORT_ID(pdev)) 47 init_nwuf_57710( lm_device_t *pdev, lm_nwuf_list_t *nwuf_list) argument 223 lm_set_d3_nwuf( lm_device_t* pdev, const lm_wake_up_mode_t wake_up_mode ) argument 292 lm_set_d3_mpkt( lm_device_t* pdev, const lm_wake_up_mode_t wake_up_mode ) argument 335 set_d0_power_state( lm_device_t *pdev, u8_t set_pci_pm) argument 394 lm_set_power_state( lm_device_t* pdev, lm_power_state_t power_state, lm_wake_up_mode_t wake_up_mode, u8_t set_pci_pm ) argument 412 lm_set_func_en(struct _lm_device_t *pdev, const u8_t b_enable) argument 422 lm_get_func_en(struct _lm_device_t *pdev, const u8_t pfunc_abs) argument 436 lm_pcie_state_save_for_d3(struct _lm_device_t *pdev) argument 455 lm_pcie_state_restore_for_d0(struct _lm_device_t *pdev) argument 547 lm_add_nwuf( lm_device_t* pdev, u32_t mask_size, u8_t* byte_mask, u8_t* pattern ) argument 680 lm_del_nwuf( lm_device_t* pdev, u32_t mask_size, u8_t* byte_mask, u8_t * pattern ) argument 731 lm_clear_nwuf( lm_device_t *pdev) argument [all...] |
/illumos-gate/usr/src/uts/common/io/bnxe/577xx/drivers/common/lm/l4/ |
H A D | lm_l4fp.c | 16 struct _lm_device_t *pdev, 38 DbgMessage(pdev, VERBOSEl4fp, 54 mm_tcp_complete_bufs(pdev, tcp, con, &completed_bufs, LM_STATUS_SUCCESS); 70 struct _lm_device_t *pdev, 83 DbgMessage(pdev, VERBOSEl4fp, "#lm_tcp_complete_bufs\n"); 190 struct _lm_device_t * pdev, 201 DbgBreakIf( ! (pdev && con) ); 202 DbgMessage(pdev, INFORMl4, 209 if (!lm_reset_is_inprogress(pdev)) 247 if (lm_fl_reset_is_inprogress(pdev)) { 15 lm_tcp_complete_bufs( struct _lm_device_t *pdev, lm_tcp_state_t *tcp, lm_tcp_con_t *con) argument 69 lm_tcp_complete_nbytes( struct _lm_device_t *pdev, lm_tcp_state_t *tcp, lm_tcp_con_t *con, u32_t completed_bytes, u8_t push ) argument 189 lm_tcp_abort_bufs( struct _lm_device_t * pdev, lm_tcp_state_t * tcp, lm_tcp_con_t * con, lm_status_t stat ) argument [all...] |
H A D | lm_l4tx.c | 19 #define TOE_TX_DOORBELL(pdev,cid) do{\ 22 DOORBELL((pdev), (cid), *((u32_t *)&db));\ 26 lm_device_t * pdev, 45 DbgMessage(pdev, INFORMl4tx, 48 TOE_TX_DOORBELL(pdev, cid); 53 lm_device_t *pdev, 66 _lm_tcp_tx_write_db(pdev, tx_con, tcp->cid, tx_con->db_more_bytes, tx_con->db_more_bds, 0); 75 DbgMessage(pdev, INFORMl4tx, 89 struct _lm_device_t *pdev, 102 DbgMessage(pdev, VERBOSEl4t 25 _lm_tcp_tx_write_db( lm_device_t * pdev, lm_tcp_con_t * tx_con, u32_t cid, u32_t nbytes, u16_t nbds, u8_t fin) argument 52 lm_tcp_tx_write_db( lm_device_t *pdev, lm_tcp_state_t *tcp, u8_t post_end) argument 88 lm_tcp_tx_post_buf( struct _lm_device_t *pdev, lm_tcp_state_t *tcp, lm_tcp_buffer_t *tcp_buf, lm_frag_list_t *frag_list) argument 227 lm_tcp_tx_graceful_disconnect_complete(lm_device_t * pdev, lm_tcp_state_t * tcp) argument 242 lm_tcp_tx_cmp_process( struct _lm_device_t *pdev, lm_tcp_state_t *tcp, u32_t completed_bytes ) argument 286 lm_toe_is_tx_completion(lm_device_t *pdev, u8_t drv_toe_rss_id) argument 305 lm_tcp_tx_inc_trm_aborted_bytes( struct _lm_device_t *pdev, lm_tcp_state_t *tcp, u32_t aborted_bytes ) argument 334 lm_tcp_tx_complete_tcp_fp(lm_device_t * pdev, lm_tcp_state_t * tcp, lm_tcp_con_t * con) argument 369 lm_tcp_tx_process_cqe( lm_device_t * pdev, struct toe_tx_cqe * cqe, lm_tcp_state_t * tcp ) argument 452 lm_tcp_tx_process_cqes(lm_device_t *pdev, u8_t drv_toe_rss_id, s_list_t * connections) argument 548 lm_toe_service_tx_intr(lm_device_t *pdev, u8_t drv_toe_rss_id) argument 594 lm_tcp_graceful_disconnect( IN lm_device_t * pdev, IN lm_tcp_state_t * tcp_state ) argument [all...] |
/illumos-gate/usr/src/uts/common/io/bnxe/577xx/drivers/common/include/l4/ |
H A D | mm_l4if.h | 28 struct _lm_device_t *pdev, 33 struct _lm_device_t *pdev, 51 lm_device_t *pdev, 56 lm_device_t *pdev, 68 #define mm_acquire_tcp_lock(pdev,tcp_con) mm_acquire_tcp_q_lock((pdev),(tcp_con),__ql_hdl) 69 #define mm_release_tcp_lock(pdev,tcp_con) mm_release_tcp_q_lock((pdev),(tcp_con),__ql_hdl) 77 lm_device_t *pdev, 82 lm_device_t *pdev, 98 mm_acquire_tcp_lock( struct _lm_device_t *pdev, lm_tcp_con_t *tcp_con) argument 105 mm_release_tcp_lock( struct _lm_device_t *pdev, lm_tcp_con_t *tcp_con) argument [all...] |
/illumos-gate/usr/src/uts/common/io/bnxe/577xx/drivers/common/lm/include/ |
H A D | command.h | 31 static __inline void _lm_sq_post(struct _lm_device_t *pdev,struct sq_pending_command * pending) argument 33 u32_t func = FUNC_ID(pdev); 37 mm_memcpy(pdev->sq_info.sq_chain.prod_bd, &pending->command, sizeof(pending->command)); 39 pdev->sq_info.sq_chain.prod_idx ++; 40 pdev->sq_info.sq_chain.bd_left --; 42 if (pdev->sq_info.sq_chain.prod_bd == pdev->sq_info.sq_chain.last_bd) { 43 pdev->sq_info.sq_chain.prod_bd = pdev->sq_info.sq_chain.sq_chain_virt; 45 pdev 79 lm_sq_post_fill_entry(struct _lm_device_t* pdev, struct sq_pending_command * pending, u32_t cid, u8_t command, u16_t type, u64_t data, u8_t release_mem_flag) argument 177 lm_command_post( struct _lm_device_t* pdev, u32_t cid, u8_t command, u8_t priority, u16_t type, u64_t data ) argument [all...] |
/illumos-gate/usr/src/uts/common/io/bnxe/577xx/drivers/common/lm/l5/ |
H A D | lm_l5sp.c | 9 IN struct _lm_device_t *pdev, 15 DbgMessage(pdev, VERBOSEl5sp, "##lm__post_initiate_offload_request\n"); 27 IN struct _lm_device_t *pdev, 35 DbgMessage(pdev, VERBOSEl5sp, "##lm__post_initiate_offload_request\n"); 57 IN struct _lm_device_t *pdev, 65 DbgBreakIf(!(pdev && iscsi && request)); 66 DbgMessage(pdev, VERBOSEl5sp, "### lm_sc_post_slow_path_request cid=%d, type=%d\n", iscsi->cid, request->type); 72 lm_status = lm_sc_post_init_request(pdev, iscsi, request, &command, &data); 76 lm_status = lm_sc_post_update_request(pdev, iscsi, request, &command, &data); 87 DbgMessage(pdev, VERBOSEl5s 8 lm_sc_post_init_request( IN struct _lm_device_t *pdev, IN lm_iscsi_state_t *iscsi, IN lm_iscsi_slow_path_request_t *sp_req, OUT u8_t *command, OUT u64_t *data) argument 26 lm_sc_post_update_request( IN struct _lm_device_t *pdev, IN lm_iscsi_state_t *iscsi, IN lm_iscsi_slow_path_request_t *sp_req, OUT u8_t *command, OUT u64_t *data) argument 56 lm_sc_post_slow_path_request( IN struct _lm_device_t *pdev, IN lm_iscsi_state_t *iscsi, IN lm_iscsi_slow_path_request_t *request) argument 105 lm_sc_init_iscsi_state( struct _lm_device_t *pdev, lm_state_block_t *state_blk, lm_iscsi_state_t *iscsi) argument 134 lm_sc_del_iscsi_state( struct _lm_device_t *pdev, lm_iscsi_state_t *iscsi) argument 174 lm_fc_del_fcoe_state( struct _lm_device_t *pdev, lm_fcoe_state_t *fcoe) argument 200 lm_fc_init_fcoe_state( struct _lm_device_t *pdev, lm_state_block_t *state_blk, lm_fcoe_state_t *fcoe) argument 221 lm_sc_init_sp_req_type( struct _lm_device_t * pdev, lm_iscsi_state_t * iscsi, lm_iscsi_slow_path_request_t * lm_req, void * req_input_data) argument [all...] |
/illumos-gate/usr/src/uts/common/io/bnxe/577xx/drivers/common/ecore/ |
H A D | ecore_common.h | 46 static __inline void __storm_memset_struct(struct _lm_device_t *pdev, argument 51 REG_WR(pdev, addr + (i * 4), data[i]); 56 TSTORM_APPROXIMATE_MATCH_MULTICAST_FILTERING_OFFSET(FUNC_ID(pdev)) + i*4)
|
H A D | ecore_init.h | 197 static __inline void ecore_set_mcp_parity(struct _lm_device_t *pdev, u8 enable) argument 203 reg_val = REG_RD(pdev, mcp_attn_ctl_regs[i].addr); 210 REG_WR(pdev, mcp_attn_ctl_regs[i].addr, reg_val); 214 static __inline u32 ecore_parity_reg_mask(struct _lm_device_t *pdev, int idx) argument 216 if (CHIP_IS_E1(pdev)) 218 else if (CHIP_IS_E1H(pdev)) 220 else if (CHIP_IS_E2(pdev)) 226 static __inline void ecore_disable_blocks_parity(struct _lm_device_t *pdev) argument 231 u32 dis_mask = ecore_parity_reg_mask(pdev, i); 234 REG_WR(pdev, ecore_blocks_parity_dat 249 ecore_clear_blocks_parity(struct _lm_device_t *pdev) argument 295 ecore_enable_blocks_parity(struct _lm_device_t *pdev) argument [all...] |
/illumos-gate/usr/src/uts/common/io/bnxe/ |
H A D | bnxe_mm_l5.c | 40 IN struct _lm_device_t *pdev, 45 BnxeDbgBreak((um_device_t *)pdev); 52 IN struct _lm_device_t *pdev, 56 return (!BnxeFcoeCompRequestCqe((um_device_t *)pdev, kcqes, num_kcqes)) ? 61 lm_status_t mm_sc_complete_init_request(lm_device_t *pdev, struct iscsi_kcqe *kcqe) argument 63 BnxeDbgBreak((um_device_t *)pdev); 87 lm_status_t mm_sc_complete_update_request(lm_device_t *pdev, struct iscsi_kcqe *kcqe) argument 89 BnxeDbgBreak((um_device_t *)pdev); 96 IN lm_device_t *pdev, 99 return (!BnxeFcoeInitCqe((um_device_t *)pdev, kcq 39 mm_sc_comp_l5_request( IN struct _lm_device_t *pdev, IN struct iscsi_kcqe *kcqes, IN u32_t num_kcqes ) argument 51 mm_fc_comp_request( IN struct _lm_device_t *pdev, IN struct fcoe_kcqe *kcqes, IN u32_t num_kcqes) argument 95 mm_fc_complete_init_request( IN lm_device_t *pdev, IN struct fcoe_kcqe *kcqe) argument 105 mm_fc_complete_destroy_request( IN lm_device_t *pdev, IN struct fcoe_kcqe *kcqe) argument 115 mm_fc_complete_ofld_request( IN lm_device_t *pdev, IN lm_fcoe_state_t *fcoe, IN struct fcoe_kcqe *kcqe) argument 128 mm_fc_complete_enable_request( IN lm_device_t *pdev, IN lm_fcoe_state_t *fcoe, IN struct fcoe_kcqe *kcqe) argument 141 mm_fc_complete_stat_request( IN lm_device_t *pdev, IN struct fcoe_kcqe *kcqe) argument 151 mm_fc_complete_disable_request( IN lm_device_t *pdev, IN lm_fcoe_state_t *fcoe, IN struct fcoe_kcqe *kcqe) argument 164 mm_fc_complete_terminate_request( IN lm_device_t *pdev, IN lm_fcoe_state_t *fcoe, IN struct fcoe_kcqe *kcqe) argument 176 mm_sc_complete_offload_request( IN lm_device_t *pdev, IN lm_iscsi_state_t *iscsi, IN lm_status_t comp_status ) argument [all...] |
/illumos-gate/usr/src/uts/common/io/xge/hal/xgehal/ |
H A D | xgehal-mm.c | 67 mempool->memblocks_arr[i] = xge_os_dma_malloc(mempool->pdev, 86 mempool->memblocks_priv_arr[i] = xge_os_malloc(mempool->pdev, 89 xge_os_dma_free(mempool->pdev, 105 dma_object->addr = xge_os_dma_map(mempool->pdev, 117 xge_os_free(mempool->pdev, mempool->memblocks_priv_arr[i], 120 xge_os_dma_free(mempool->pdev, 169 xge_os_free(mempool->pdev, 173 xge_os_dma_unmap(mempool->pdev, 178 xge_os_dma_free(mempool->pdev, 225 __hal_mempool_create(pci_dev_h pdev, in argument [all...] |
H A D | xge-queue.c | 239 * @pdev: PCI device handle. 256 xge_queue_create(pci_dev_h pdev, pci_irq_h irqh, int pages_initial, argument 261 if ((queue = (xge_queue_t *) xge_os_malloc(pdev, sizeof(xge_queue_t))) == NULL) 266 queue->pdev = pdev; 269 queue->start_ptr = xge_os_malloc(pdev, queue->pages_current * 272 xge_os_free(pdev, queue, sizeof(xge_queue_t)); 302 xge_os_free(queue->pdev, queue->start_ptr, queue->pages_current * 305 xge_os_free(queue->pdev, queue, sizeof(xge_queue_t)); 331 newbuf = xge_os_malloc(queue->pdev, [all...] |
/illumos-gate/usr/src/uts/common/io/xge/hal/include/ |
H A D | xge-queue.h | 110 * @pdev: PCI device handle 134 pci_dev_h pdev; member in struct:xge_queue_t 143 xge_queue_h xge_queue_create(pci_dev_h pdev, pci_irq_h irqh, int pages_initial,
|
H A D | xgehal-mm.h | 71 pci_dev_h pdev; member in struct:xge_hal_mempool_t 151 xge_hal_mempool_t* __hal_mempool_create(pci_dev_h pdev, int memblock_size,
|
/illumos-gate/usr/src/lib/libadm/common/ |
H A D | getdgrp.c | 338 char **pdev; /* Next device in the dev list */ local 364 for (pdev = devlist; notfound && *pdev; pdev++) 366 if ((cmpval = strcmp(mbralias, *pdev)) == 0) notfound = FALSE;
|