Home
last modified time | relevance | path

Searched refs:ice_hw_to_dev (Results 1 – 20 of 20) sorted by relevance

/linux-6.15/drivers/net/ethernet/intel/ice/
H A Dice_flex_pipe.c1021 devm_kfree(ice_hw_to_dev(hw), del); in ice_vsig_free()
2043 devm_kfree(ice_hw_to_dev(hw), del); in ice_free_prof_map()
2069 devm_kfree(ice_hw_to_dev(hw), p); in ice_free_flow_profs()
2136 devm_kfree(ice_hw_to_dev(hw), r); in ice_free_hw_tbls()
3286 devm_kfree(ice_hw_to_dev(hw), d); in ice_rem_vsig()
3592 devm_kfree(ice_hw_to_dev(hw), p); in ice_move_vsi()
3697 devm_kfree(ice_hw_to_dev(hw), p); in ice_prof_tcam_ena_dis()
3833 devm_kfree(ice_hw_to_dev(hw), p); in ice_add_prof_id_vsig()
3856 devm_kfree(ice_hw_to_dev(hw), p); in ice_add_prof_id_vsig()
3879 devm_kfree(ice_hw_to_dev(hw), t); in ice_add_prof_id_vsig()
[all …]
H A Dice_controlq.c134 dmam_free_coherent(ice_hw_to_dev(hw), ring->desc_buf.size, in ice_free_cq_ring()
166 bi->va = dmam_alloc_coherent(ice_hw_to_dev(hw), in ice_alloc_rq_bufs()
207 devm_kfree(ice_hw_to_dev(hw), cq->rq.dma_head); in ice_alloc_rq_bufs()
235 bi->va = dmam_alloc_coherent(ice_hw_to_dev(hw), in ice_alloc_sq_bufs()
255 devm_kfree(ice_hw_to_dev(hw), cq->sq.dma_head); in ice_alloc_sq_bufs()
321 dmam_free_coherent(ice_hw_to_dev(hw), \
331 devm_kfree(ice_hw_to_dev(hw), (qi)->ring.dma_head); \
505 dev_warn(ice_hw_to_dev(hw), in ice_aq_ver_check()
510 dev_info(ice_hw_to_dev(hw), in ice_aq_ver_check()
515 dev_info(ice_hw_to_dev(hw), in ice_aq_ver_check()
[all …]
H A Dice_vlan_mode.c363 set_params = devm_kzalloc(ice_hw_to_dev(hw), sizeof(*set_params), in ice_set_svm()
377 devm_kfree(ice_hw_to_dev(hw), set_params); in ice_set_svm()
410 …dev_info(ice_hw_to_dev(hw), "QinQ functionality cannot be enabled on this device. Update your DDP … in ice_print_dvm_not_supported()
412 …dev_info(ice_hw_to_dev(hw), "QinQ functionality cannot be enabled on this device. Update your DDP … in ice_print_dvm_not_supported()
414 …dev_info(ice_hw_to_dev(hw), "QinQ functionality cannot be enabled on this device. Update your NVM … in ice_print_dvm_not_supported()
H A Dice_osdep.h40 struct device *ice_hw_to_dev(struct ice_hw *hw);
44 dev_dbg(ice_hw_to_dev(hw), fmt, ##args)
53 dev_info(ice_hw_to_dev(hw), fmt, ##args); \
H A Dice_fwlog.c110 dev_warn(ice_hw_to_dev(hw), "Unable to allocate memory for FW log ring data buffers\n"); in ice_fwlog_realloc_rings()
153 dev_warn(ice_hw_to_dev(hw), "Unable to allocate memory for FW log rings\n"); in ice_fwlog_init()
162 dev_warn(ice_hw_to_dev(hw), "Unable to allocate memory for FW log ring data buffers\n"); in ice_fwlog_init()
170 …dev_warn(ice_hw_to_dev(hw), "FW logging is not supported in this NVM image. Please update the NVM … in ice_fwlog_init()
199 dev_warn(ice_hw_to_dev(hw), "Unable to turn off FW logging, status: %d\n", in ice_fwlog_deinit()
208 dev_warn(ice_hw_to_dev(hw), "Unable to unregister FW logging, status: %d\n", in ice_fwlog_deinit()
H A Dice_sched.c34 devm_kfree(ice_hw_to_dev(hw), root); in ice_sched_add_root_node()
192 devm_kfree(ice_hw_to_dev(hw), node); in ice_sched_add_node()
354 devm_kfree(ice_hw_to_dev(hw), node); in ice_free_sched_node()
542 devm_kfree(ice_hw_to_dev(hw), buf); in ice_sched_suspend_resume_elems()
750 devm_kfree(ice_hw_to_dev(hw), rl_info); in ice_sched_del_rl_profile()
807 devm_kfree(ice_hw_to_dev(hw), agg_info); in ice_sched_clear_agg()
925 devm_kfree(ice_hw_to_dev(hw), buf); in ice_sched_add_elems()
986 devm_kfree(ice_hw_to_dev(hw), buf); in ice_sched_add_elems()
1369 devm_kfree(ice_hw_to_dev(hw), buf); in ice_sched_query_res_alloc()
1991 devm_kfree(ice_hw_to_dev(pi->hw), in ice_sched_rm_agg_vsi_info()
[all …]
H A Dice_parser.c134 struct device *dev = ice_hw_to_dev(hw); in ice_imem_bst_bm_dump()
146 struct device *dev = ice_hw_to_dev(hw); in ice_imem_bst_kb_dump()
156 struct device *dev = ice_hw_to_dev(hw); in ice_imem_np_kb_dump()
167 struct device *dev = ice_hw_to_dev(hw); in ice_imem_pg_kb_dump()
184 struct device *dev = ice_hw_to_dev(hw); in ice_imem_alu_dump()
213 struct device *dev = ice_hw_to_dev(hw); in ice_imem_dump()
452 struct device *dev = ice_hw_to_dev(hw); in ice_metainit_dump()
631 struct device *dev = ice_hw_to_dev(hw); in ice_pg_cam_key_dump()
648 struct device *dev = ice_hw_to_dev(hw); in ice_pg_nm_cam_key_dump()
664 struct device *dev = ice_hw_to_dev(hw); in ice_pg_cam_action_dump()
[all …]
H A Dice_switch.c1731 devm_kfree(ice_hw_to_dev(hw), vsi); in ice_clear_vsi_ctx()
2833 devm_kfree(ice_hw_to_dev(hw), lg_act); in ice_add_marker_act()
2932 devm_kfree(ice_hw_to_dev(hw), s_rule); in ice_update_vsi_list_rule()
2980 s_rule = devm_kzalloc(ice_hw_to_dev(hw), in ice_create_pkt_fwd_rule()
3022 devm_kfree(ice_hw_to_dev(hw), s_rule); in ice_create_pkt_fwd_rule()
3040 s_rule = devm_kzalloc(ice_hw_to_dev(hw), in ice_update_pkt_fwd_rule()
3055 devm_kfree(ice_hw_to_dev(hw), s_rule); in ice_update_pkt_fwd_rule()
3354 devm_kfree(ice_hw_to_dev(hw), s_rule); in ice_remove_vsi_list_rule()
3524 devm_kfree(ice_hw_to_dev(hw), s_rule); in ice_remove_rule_internal()
3899 devm_kfree(ice_hw_to_dev(hw), entry); in ice_rem_sw_rule_info()
[all …]
H A Dice_ptp_hw.c368 dev_warn(ice_hw_to_dev(hw), "Invalid clock source %u\n", in ice_cfg_cgu_pll_e82x()
375 dev_warn(ice_hw_to_dev(hw), in ice_cfg_cgu_pll_e82x()
466 dev_warn(ice_hw_to_dev(hw), "CGU PLL failed to lock\n"); in ice_cfg_cgu_pll_e82x()
522 dev_warn(ice_hw_to_dev(hw), in ice_cfg_cgu_pll_e825c()
800 dev_warn(ice_hw_to_dev(hw), in ice_ptp_tmr_cmd_to_src_reg()
858 dev_warn(ice_hw_to_dev(hw), in ice_ptp_tmr_cmd_to_port_reg()
2522 dev_info(ice_hw_to_dev(hw), in ice_sync_phy_timer_eth56g()
4437 dev_warn(ice_hw_to_dev(hw), in ice_ptp_clear_phy_offset_ready_e82x()
4444 dev_warn(ice_hw_to_dev(hw), in ice_ptp_clear_phy_offset_ready_e82x()
4500 dev_warn(ice_hw_to_dev(hw), in ice_read_phy_and_phc_time_e82x()
[all …]
H A Dice_ddp.c86 devm_kfree(ice_hw_to_dev(hw), hw->pkg_copy); in ice_free_seg()
695 bld = devm_kzalloc(ice_hw_to_dev(hw), sizeof(*bld), GFP_KERNEL); in ice_pkg_buf_alloc()
860 fvl = devm_kzalloc(ice_hw_to_dev(hw), in ice_get_sw_fv_list()
872 dev_warn(ice_hw_to_dev(hw), in ice_get_sw_fv_list()
882 devm_kfree(ice_hw_to_dev(hw), fvl); in ice_get_sw_fv_list()
937 devm_kfree(ice_hw_to_dev(hw), bld); in ice_pkg_buf_free()
1290 dev_dbg(ice_hw_to_dev(hw), in ice_ddp_send_hunk()
2303 buf_copy = devm_kmemdup(ice_hw_to_dev(hw), buf, len, GFP_KERNEL); in ice_copy_and_init_pkg()
2308 devm_kfree(ice_hw_to_dev(hw), buf_copy); in ice_copy_and_init_pkg()
H A Dice_flow.c1351 devm_kfree(ice_hw_to_dev(hw), entry); in ice_flow_rem_entry_sync()
1392 params->prof = devm_kzalloc(ice_hw_to_dev(hw), sizeof(*params->prof), in ice_flow_add_prof_sync()
1439 devm_kfree(ice_hw_to_dev(hw), params->prof); in ice_flow_add_prof_sync()
1481 devm_kfree(ice_hw_to_dev(hw), prof); in ice_flow_rem_prof_sync()
1739 e = devm_kzalloc(ice_hw_to_dev(hw), sizeof(*e), GFP_KERNEL); in ice_flow_add_entry()
1772 devm_kfree(ice_hw_to_dev(hw), e); in ice_flow_add_entry()
2050 devm_kfree(ice_hw_to_dev(hw), r); in ice_rem_vsi_rss_list()
2151 devm_kfree(ice_hw_to_dev(hw), r); in ice_rem_rss_list()
2178 rss_cfg = devm_kzalloc(ice_hw_to_dev(hw), sizeof(*rss_cfg), in ice_add_rss_list()
H A Dice_ethtool_fdir.c221 dev_err(ice_hw_to_dev(hw), "Missing input index for flow_type %d\n", in ice_get_ethtool_fdir_entry()
332 dev_err(ice_hw_to_dev(hw), "ice_flow_rem_vsi_prof() failed status=%d\n", in ice_fdir_rem_adq_chnl()
412 devm_kfree(ice_hw_to_dev(hw), prof->fdir_seg[tun]); in ice_fdir_rem_flow()
466 dev_err(ice_hw_to_dev(hw), "Could not replay Flow Director, flow type %d\n", in ice_fdir_replay_flows()
583 hw->fdir_prof = devm_kcalloc(ice_hw_to_dev(hw), in ice_fdir_alloc_flow_prof()
592 hw->fdir_prof[flow] = devm_kzalloc(ice_hw_to_dev(hw), in ice_fdir_alloc_flow_prof()
1742 devm_kfree(ice_hw_to_dev(hw), old_fltr); in ice_fdir_update_list_entry()
H A Dice_common.c853 hw->switch_info = devm_kzalloc(ice_hw_to_dev(hw), in ice_init_fltr_mgmt_struct()
868 devm_kfree(ice_hw_to_dev(hw), hw->switch_info); in ice_init_fltr_mgmt_struct()
889 devm_kfree(ice_hw_to_dev(hw), v_pos_map); in ice_cleanup_fltr_mgmt_struct()
904 devm_kfree(ice_hw_to_dev(hw), lst_itr->lkups); in ice_cleanup_fltr_mgmt_struct()
905 devm_kfree(ice_hw_to_dev(hw), lst_itr); in ice_cleanup_fltr_mgmt_struct()
915 devm_kfree(ice_hw_to_dev(hw), lst_itr); in ice_cleanup_fltr_mgmt_struct()
920 devm_kfree(ice_hw_to_dev(hw), sw->recp_list); in ice_cleanup_fltr_mgmt_struct()
921 devm_kfree(ice_hw_to_dev(hw), sw); in ice_cleanup_fltr_mgmt_struct()
1029 hw->port_info = devm_kzalloc(ice_hw_to_dev(hw), in ice_init_hw()
1144 devm_kfree(ice_hw_to_dev(hw), hw->port_info); in ice_init_hw()
[all …]
H A Dice_dcb.c645 lldpmib = devm_kzalloc(ice_hw_to_dev(hw), ICE_LLDPDU_SIZE, GFP_KERNEL); in ice_aq_get_dcb_cfg()
656 devm_kfree(ice_hw_to_dev(hw), lldpmib); in ice_aq_get_dcb_cfg()
1508 lldpmib = devm_kzalloc(ice_hw_to_dev(hw), ICE_LLDPDU_SIZE, GFP_KERNEL); in ice_set_dcb_cfg()
1520 devm_kfree(ice_hw_to_dev(hw), lldpmib); in ice_set_dcb_cfg()
H A Dice_vsi_vlan_lib.c260 dev_info(ice_hw_to_dev(hw), "update VSI for port VLAN failed, err %d aq_err %s\n", in __ice_vsi_set_inner_port_vlan()
308 dev_err(ice_hw_to_dev(hw), "update VSI for port VLAN failed, err %d aq_err %s\n", in ice_vsi_clear_inner_port_vlan()
H A Dice_nvm.c477 …dev_warn(ice_hw_to_dev(hw), "PFA starts at offset %u. PFA length of %u caused 16-bit arithmetic ov… in ice_get_pfa_module_tlv()
513 …dev_warn(ice_hw_to_dev(hw), "TLV of type %u and length 0x%04x caused 16-bit arithmetic overflow. T… in ice_get_pfa_module_tlv()
H A Dice_lag.c414 dev_dbg(ice_hw_to_dev(hw), "%s queue %d NO Q CONTEXT\n", in ice_lag_qbuf_recfg()
419 dev_dbg(ice_hw_to_dev(hw), "%s queue %d INVAL TEID\n", in ice_lag_qbuf_recfg()
424 dev_dbg(ice_hw_to_dev(hw), "%s queue %d INVAL Q HANDLE\n", in ice_lag_qbuf_recfg()
454 dev = ice_hw_to_dev(hw); in ice_lag_get_sched_parent()
H A Dice_ptp.c1758 dev_err(ice_hw_to_dev(hw), "CLK period ticks must be >= %d && <= 2^32", in ice_ptp_write_perout()
H A Dice_main.c63 struct device *ice_hw_to_dev(struct ice_hw *hw) in ice_hw_to_dev() function
1208 dev_dbg(ice_hw_to_dev(pi->hw), "Failed to set link event mask for port %d\n", in ice_init_link_events()
1214 dev_dbg(ice_hw_to_dev(pi->hw), "Failed to enable link events for port %d\n", in ice_init_link_events()
/linux-6.15/drivers/net/ethernet/intel/ice/devlink/
H A Ddevlink.c983 node = devm_kzalloc(ice_hw_to_dev(pi->hw), sizeof(*node), GFP_KERNEL); in ice_devlink_rate_node_new()