/drivers/net/ethernet/intel/ice/ |
D | ice_controlq.c | 95 cq->sq.desc_buf.va = dmam_alloc_coherent(ice_hw_to_dev(hw), size, in ice_alloc_ctrlq_sq_ring() 102 cq->sq.cmd_buf = devm_kcalloc(ice_hw_to_dev(hw), cq->num_sq_entries, in ice_alloc_ctrlq_sq_ring() 105 dmam_free_coherent(ice_hw_to_dev(hw), cq->sq.desc_buf.size, in ice_alloc_ctrlq_sq_ring() 126 cq->rq.desc_buf.va = dmam_alloc_coherent(ice_hw_to_dev(hw), size, in ice_alloc_ctrlq_rq_ring() 145 dmam_free_coherent(ice_hw_to_dev(hw), ring->desc_buf.size, in ice_free_cq_ring() 165 cq->rq.dma_head = devm_kcalloc(ice_hw_to_dev(hw), cq->num_rq_entries, in ice_alloc_rq_bufs() 177 bi->va = dmam_alloc_coherent(ice_hw_to_dev(hw), in ice_alloc_rq_bufs() 211 dmam_free_coherent(ice_hw_to_dev(hw), cq->rq.r.rq_bi[i].size, in ice_alloc_rq_bufs() 218 devm_kfree(ice_hw_to_dev(hw), cq->rq.dma_head); in ice_alloc_rq_bufs() 235 cq->sq.dma_head = devm_kcalloc(ice_hw_to_dev(hw), cq->num_sq_entries, in ice_alloc_sq_bufs() [all …]
|
D | ice_flex_pipe.c | 1418 devm_kfree(ice_hw_to_dev(hw), hw->pkg_copy); in ice_free_seg() 1755 buf_copy = devm_kmemdup(ice_hw_to_dev(hw), buf, len, GFP_KERNEL); in ice_copy_and_init_pkg() 1760 devm_kfree(ice_hw_to_dev(hw), buf_copy); in ice_copy_and_init_pkg() 1798 bld = devm_kzalloc(ice_hw_to_dev(hw), sizeof(*bld), GFP_KERNEL); in ice_pkg_buf_alloc() 1956 fvl = devm_kzalloc(ice_hw_to_dev(hw), in ice_get_sw_fv_list() 1968 dev_warn(ice_hw_to_dev(hw), "Required profiles not found in currently loaded DDP package"); in ice_get_sw_fv_list() 1977 devm_kfree(ice_hw_to_dev(hw), fvl); in ice_get_sw_fv_list() 2032 devm_kfree(ice_hw_to_dev(hw), bld); in ice_pkg_buf_free() 2927 devm_kfree(ice_hw_to_dev(hw), del); in ice_vsig_free() 3940 devm_kfree(ice_hw_to_dev(hw), del); in ice_free_prof_map() [all …]
|
D | ice_vlan_mode.c | 363 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()
|
D | ice_sched.c | 26 root = devm_kzalloc(ice_hw_to_dev(hw), sizeof(*root), GFP_KERNEL); in ice_sched_add_root_node() 31 root->children = devm_kcalloc(ice_hw_to_dev(hw), hw->max_children[0], in ice_sched_add_root_node() 34 devm_kfree(ice_hw_to_dev(hw), root); in ice_sched_add_root_node() 179 node = devm_kzalloc(ice_hw_to_dev(hw), sizeof(*node), GFP_KERNEL); in ice_sched_add_node() 184 node->children = devm_kcalloc(ice_hw_to_dev(hw), in ice_sched_add_node() 188 devm_kfree(ice_hw_to_dev(hw), node); in ice_sched_add_node() 241 buf = devm_kzalloc(ice_hw_to_dev(hw), buf_size, GFP_KERNEL); in ice_sched_remove_elems() 256 devm_kfree(ice_hw_to_dev(hw), buf); in ice_sched_remove_elems() 357 devm_kfree(ice_hw_to_dev(hw), node->children); in ice_free_sched_node() 358 devm_kfree(ice_hw_to_dev(hw), node); in ice_free_sched_node() [all …]
|
D | ice_osdep.h | 36 struct device *ice_hw_to_dev(struct ice_hw *hw); 40 dev_dbg(ice_hw_to_dev(hw), fmt, ##args) 50 dev_info(ice_hw_to_dev(hw), fmt, ##args); \
|
D | ice_switch.c | 1400 recps = devm_kcalloc(ice_hw_to_dev(hw), ICE_MAX_NUM_RECIPES, in ice_init_def_sw_recp() 1647 devm_kfree(ice_hw_to_dev(hw), vsi->lan_q_ctx[i]); in ice_clear_vsi_q_ctx() 1651 devm_kfree(ice_hw_to_dev(hw), vsi->rdma_q_ctx[i]); in ice_clear_vsi_q_ctx() 1671 devm_kfree(ice_hw_to_dev(hw), vsi); in ice_clear_vsi_ctx() 1714 tmp_vsi_ctx = devm_kzalloc(ice_hw_to_dev(hw), in ice_add_vsi() 1835 sw_buf = devm_kzalloc(ice_hw_to_dev(hw), buf_len, GFP_KERNEL); in ice_aq_alloc_free_vsi_list() 1869 devm_kfree(ice_hw_to_dev(hw), sw_buf); in ice_aq_alloc_free_vsi_list() 2225 rg_entry = devm_kzalloc(ice_hw_to_dev(hw), sizeof(*rg_entry), in ice_get_recp_frm_fw() 2304 recps[rid].root_buf = devm_kmemdup(ice_hw_to_dev(hw), tmp, in ice_get_recp_frm_fw() 2643 lg_act = devm_kzalloc(ice_hw_to_dev(hw), rules_size, GFP_KERNEL); in ice_add_marker_act() [all …]
|
D | ice_common.c | 723 hw->switch_info = devm_kzalloc(ice_hw_to_dev(hw), in ice_init_fltr_mgmt_struct() 735 devm_kfree(ice_hw_to_dev(hw), hw->switch_info); in ice_init_fltr_mgmt_struct() 756 devm_kfree(ice_hw_to_dev(hw), v_pos_map); in ice_cleanup_fltr_mgmt_struct() 766 devm_kfree(ice_hw_to_dev(hw), rg_entry); in ice_cleanup_fltr_mgmt_struct() 778 devm_kfree(ice_hw_to_dev(hw), lst_itr->lkups); in ice_cleanup_fltr_mgmt_struct() 779 devm_kfree(ice_hw_to_dev(hw), lst_itr); in ice_cleanup_fltr_mgmt_struct() 789 devm_kfree(ice_hw_to_dev(hw), lst_itr); in ice_cleanup_fltr_mgmt_struct() 793 devm_kfree(ice_hw_to_dev(hw), recps[i].root_buf); in ice_cleanup_fltr_mgmt_struct() 796 devm_kfree(ice_hw_to_dev(hw), sw->recp_list); in ice_cleanup_fltr_mgmt_struct() 797 devm_kfree(ice_hw_to_dev(hw), sw); in ice_cleanup_fltr_mgmt_struct() [all …]
|
D | ice_flow.c | 1318 devm_kfree(ice_hw_to_dev(hw), entry->entry); in ice_dealloc_flow_entry() 1320 devm_kfree(ice_hw_to_dev(hw), entry); in ice_dealloc_flow_entry() 1372 params->prof = devm_kzalloc(ice_hw_to_dev(hw), sizeof(*params->prof), in ice_flow_add_prof_sync() 1417 devm_kfree(ice_hw_to_dev(hw), params->prof); in ice_flow_add_prof_sync() 1458 devm_kfree(ice_hw_to_dev(hw), prof); in ice_flow_rem_prof_sync() 1632 e = devm_kzalloc(ice_hw_to_dev(hw), sizeof(*e), GFP_KERNEL); in ice_flow_add_entry() 1666 devm_kfree(ice_hw_to_dev(hw), e->entry); in ice_flow_add_entry() 1667 devm_kfree(ice_hw_to_dev(hw), e); in ice_flow_add_entry() 1934 devm_kfree(ice_hw_to_dev(hw), r); in ice_rem_vsi_rss_list() 2001 devm_kfree(ice_hw_to_dev(hw), r); in ice_rem_rss_list() [all …]
|
D | ice_ptp.c | 132 dev_info(ice_hw_to_dev(hw), "SMA1 + U.FL1 disabled"); in ice_ptp_set_sma_config_e810t() 136 dev_info(ice_hw_to_dev(hw), "SMA1 RX"); in ice_ptp_set_sma_config_e810t() 141 dev_info(ice_hw_to_dev(hw), "SMA1 RX + U.FL1 TX"); in ice_ptp_set_sma_config_e810t() 144 dev_info(ice_hw_to_dev(hw), "SMA1 RX + U.FL1 TX"); in ice_ptp_set_sma_config_e810t() 147 dev_info(ice_hw_to_dev(hw), "SMA1 TX"); in ice_ptp_set_sma_config_e810t() 154 dev_info(ice_hw_to_dev(hw), "SMA2 + U.FL2 disabled"); in ice_ptp_set_sma_config_e810t() 158 dev_info(ice_hw_to_dev(hw), "SMA2 RX"); in ice_ptp_set_sma_config_e810t() 163 dev_info(ice_hw_to_dev(hw), "UFL2 RX"); in ice_ptp_set_sma_config_e810t() 167 dev_info(ice_hw_to_dev(hw), "SMA2 TX"); in ice_ptp_set_sma_config_e810t() 172 dev_info(ice_hw_to_dev(hw), "SMA2 TX + U.FL2 RX"); in ice_ptp_set_sma_config_e810t()
|
D | ice_vf_mbx.c | 496 snap->mbx_vf.vf_cntr = devm_kcalloc(ice_hw_to_dev(hw), vf_count, in ice_mbx_init_snapshot() 527 devm_kfree(ice_hw_to_dev(hw), snap->mbx_vf.vf_cntr); in ice_mbx_deinit_snapshot()
|
D | ice_ethtool_fdir.c | 213 dev_err(ice_hw_to_dev(hw), "Missing input index for flow_type %d\n", in ice_get_ethtool_fdir_entry() 326 dev_err(ice_hw_to_dev(hw), "ice_flow_rem_vsi_prof() failed status=%d\n", in ice_fdir_rem_adq_chnl() 407 devm_kfree(ice_hw_to_dev(hw), prof->fdir_seg[tun]); in ice_fdir_rem_flow() 463 dev_err(ice_hw_to_dev(hw), "Could not replay Flow Director, flow type %d\n", in ice_fdir_replay_flows() 572 hw->fdir_prof = devm_kcalloc(ice_hw_to_dev(hw), in ice_fdir_alloc_flow_prof() 581 hw->fdir_prof[flow] = devm_kzalloc(ice_hw_to_dev(hw), in ice_fdir_alloc_flow_prof() 1609 devm_kfree(ice_hw_to_dev(hw), old_fltr); in ice_fdir_update_list_entry()
|
D | ice_ptp_hw.c | 788 dev_warn(ice_hw_to_dev(hw), "Invalid TIME_REF frequency %u\n", in ice_cfg_cgu_pll_e822() 794 dev_warn(ice_hw_to_dev(hw), "Invalid clock source %u\n", in ice_cfg_cgu_pll_e822() 801 dev_warn(ice_hw_to_dev(hw), in ice_cfg_cgu_pll_e822() 892 dev_warn(ice_hw_to_dev(hw), "CGU PLL failed to lock\n"); in ice_cfg_cgu_pll_e822() 2232 dev_warn(ice_hw_to_dev(hw), in ice_read_phy_and_phc_time_e822() 2298 dev_info(ice_hw_to_dev(hw), in ice_sync_phy_timer_e822() 2562 dev_info(ice_hw_to_dev(hw), "Exiting bypass mode on PHY port %u\n", in ice_phy_exit_bypass_e822()
|
D | ice_dcb.c | 657 lldpmib = devm_kzalloc(ice_hw_to_dev(hw), ICE_LLDPDU_SIZE, GFP_KERNEL); in ice_aq_get_dcb_cfg() 668 devm_kfree(ice_hw_to_dev(hw), lldpmib); in ice_aq_get_dcb_cfg() 1484 lldpmib = devm_kzalloc(ice_hw_to_dev(hw), ICE_LLDPDU_SIZE, GFP_KERNEL); in ice_set_dcb_cfg() 1496 devm_kfree(ice_hw_to_dev(hw), lldpmib); in ice_set_dcb_cfg()
|
D | ice_vsi_vlan_lib.c | 240 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()
|
D | ice_main.c | 60 struct device *ice_hw_to_dev(struct ice_hw *hw) in ice_hw_to_dev() function 1212 dev_dbg(ice_hw_to_dev(pi->hw), "Failed to set link event mask for port %d\n", in ice_init_link_events() 1218 dev_dbg(ice_hw_to_dev(pi->hw), "Failed to enable link events for port %d\n", in ice_init_link_events()
|