/linux-6.6.21/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 | 1021 devm_kfree(ice_hw_to_dev(hw), del); in ice_vsig_free() 2034 devm_kfree(ice_hw_to_dev(hw), del); in ice_free_prof_map() 2060 devm_kfree(ice_hw_to_dev(hw), p); in ice_free_flow_profs() 2109 devm_kfree(ice_hw_to_dev(hw), hw->blk[i].xlt1.ptypes); in ice_free_hw_tbls() 2110 devm_kfree(ice_hw_to_dev(hw), hw->blk[i].xlt1.ptg_tbl); in ice_free_hw_tbls() 2111 devm_kfree(ice_hw_to_dev(hw), hw->blk[i].xlt1.t); in ice_free_hw_tbls() 2112 devm_kfree(ice_hw_to_dev(hw), hw->blk[i].xlt2.t); in ice_free_hw_tbls() 2113 devm_kfree(ice_hw_to_dev(hw), hw->blk[i].xlt2.vsig_tbl); in ice_free_hw_tbls() 2114 devm_kfree(ice_hw_to_dev(hw), hw->blk[i].xlt2.vsis); in ice_free_hw_tbls() 2115 devm_kfree(ice_hw_to_dev(hw), hw->blk[i].prof.t); in ice_free_hw_tbls() [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_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 | 27 root = devm_kzalloc(ice_hw_to_dev(hw), sizeof(*root), GFP_KERNEL); in ice_sched_add_root_node() 32 root->children = devm_kcalloc(ice_hw_to_dev(hw), hw->max_children[0], in ice_sched_add_root_node() 35 devm_kfree(ice_hw_to_dev(hw), root); in ice_sched_add_root_node() 185 node = devm_kzalloc(ice_hw_to_dev(hw), sizeof(*node), GFP_KERNEL); in ice_sched_add_node() 190 node->children = devm_kcalloc(ice_hw_to_dev(hw), in ice_sched_add_node() 194 devm_kfree(ice_hw_to_dev(hw), node); in ice_sched_add_node() 247 buf = devm_kzalloc(ice_hw_to_dev(hw), buf_size, GFP_KERNEL); in ice_sched_remove_elems() 262 devm_kfree(ice_hw_to_dev(hw), buf); in ice_sched_remove_elems() 361 devm_kfree(ice_hw_to_dev(hw), node->children); in ice_free_sched_node() 364 devm_kfree(ice_hw_to_dev(hw), node); in ice_free_sched_node() [all …]
|
D | ice_switch.c | 1391 recps = devm_kcalloc(ice_hw_to_dev(hw), ICE_MAX_NUM_RECIPES, in ice_init_def_sw_recp() 1636 devm_kfree(ice_hw_to_dev(hw), vsi->lan_q_ctx[i]); in ice_clear_vsi_q_ctx() 1638 devm_kfree(ice_hw_to_dev(hw), vsi->rdma_q_ctx[i]); in ice_clear_vsi_q_ctx() 1657 devm_kfree(ice_hw_to_dev(hw), vsi); in ice_clear_vsi_ctx() 1700 tmp_vsi_ctx = devm_kzalloc(ice_hw_to_dev(hw), in ice_add_vsi() 1821 sw_buf = devm_kzalloc(ice_hw_to_dev(hw), buf_len, GFP_KERNEL); in ice_aq_alloc_free_vsi_list() 1860 devm_kfree(ice_hw_to_dev(hw), sw_buf); in ice_aq_alloc_free_vsi_list() 2216 rg_entry = devm_kzalloc(ice_hw_to_dev(hw), sizeof(*rg_entry), in ice_get_recp_frm_fw() 2299 recps[rid].root_buf = devm_kmemdup(ice_hw_to_dev(hw), tmp, in ice_get_recp_frm_fw() 2647 lg_act = devm_kzalloc(ice_hw_to_dev(hw), rules_size, GFP_KERNEL); in ice_add_marker_act() [all …]
|
D | ice_flow.c | 1321 devm_kfree(ice_hw_to_dev(hw), entry->entry); in ice_flow_rem_entry_sync() 1322 devm_kfree(ice_hw_to_dev(hw), entry); in ice_flow_rem_entry_sync() 1356 params->prof = devm_kzalloc(ice_hw_to_dev(hw), sizeof(*params->prof), in ice_flow_add_prof_sync() 1401 devm_kfree(ice_hw_to_dev(hw), params->prof); in ice_flow_add_prof_sync() 1442 devm_kfree(ice_hw_to_dev(hw), prof); in ice_flow_rem_prof_sync() 1616 e = devm_kzalloc(ice_hw_to_dev(hw), sizeof(*e), GFP_KERNEL); in ice_flow_add_entry() 1649 devm_kfree(ice_hw_to_dev(hw), e->entry); in ice_flow_add_entry() 1650 devm_kfree(ice_hw_to_dev(hw), e); in ice_flow_add_entry() 1917 devm_kfree(ice_hw_to_dev(hw), r); in ice_rem_vsi_rss_list() 1984 devm_kfree(ice_hw_to_dev(hw), r); in ice_rem_rss_list() [all …]
|
D | ice_common.c | 749 hw->switch_info = devm_kzalloc(ice_hw_to_dev(hw), in ice_init_fltr_mgmt_struct() 761 devm_kfree(ice_hw_to_dev(hw), hw->switch_info); in ice_init_fltr_mgmt_struct() 782 devm_kfree(ice_hw_to_dev(hw), v_pos_map); in ice_cleanup_fltr_mgmt_struct() 792 devm_kfree(ice_hw_to_dev(hw), rg_entry); in ice_cleanup_fltr_mgmt_struct() 804 devm_kfree(ice_hw_to_dev(hw), lst_itr->lkups); in ice_cleanup_fltr_mgmt_struct() 805 devm_kfree(ice_hw_to_dev(hw), lst_itr); in ice_cleanup_fltr_mgmt_struct() 815 devm_kfree(ice_hw_to_dev(hw), lst_itr); in ice_cleanup_fltr_mgmt_struct() 818 devm_kfree(ice_hw_to_dev(hw), recps[i].root_buf); in ice_cleanup_fltr_mgmt_struct() 821 devm_kfree(ice_hw_to_dev(hw), sw->recp_list); in ice_cleanup_fltr_mgmt_struct() 822 devm_kfree(ice_hw_to_dev(hw), sw); in ice_cleanup_fltr_mgmt_struct() [all …]
|
D | ice_ddp.c | 85 devm_kfree(ice_hw_to_dev(hw), hw->pkg_copy); in ice_free_seg() 694 bld = devm_kzalloc(ice_hw_to_dev(hw), sizeof(*bld), GFP_KERNEL); in ice_pkg_buf_alloc() 850 fvl = devm_kzalloc(ice_hw_to_dev(hw), in ice_get_sw_fv_list() 862 dev_warn(ice_hw_to_dev(hw), in ice_get_sw_fv_list() 872 devm_kfree(ice_hw_to_dev(hw), fvl); in ice_get_sw_fv_list() 927 devm_kfree(ice_hw_to_dev(hw), bld); in ice_pkg_buf_free() 1886 buf_copy = devm_kmemdup(ice_hw_to_dev(hw), buf, len, GFP_KERNEL); in ice_copy_and_init_pkg() 1891 devm_kfree(ice_hw_to_dev(hw), buf_copy); in ice_copy_and_init_pkg()
|
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_ptp_hw.c | 814 dev_warn(ice_hw_to_dev(hw), "Invalid TIME_REF frequency %u\n", in ice_cfg_cgu_pll_e822() 820 dev_warn(ice_hw_to_dev(hw), "Invalid clock source %u\n", in ice_cfg_cgu_pll_e822() 827 dev_warn(ice_hw_to_dev(hw), in ice_cfg_cgu_pll_e822() 918 dev_warn(ice_hw_to_dev(hw), "CGU PLL failed to lock\n"); in ice_cfg_cgu_pll_e822() 1876 dev_info(ice_hw_to_dev(hw), "Port=%d Tx vernier offset calibration complete\n", in ice_phy_cfg_tx_offset_e822() 2186 dev_info(ice_hw_to_dev(hw), "Port=%d Rx vernier offset calibration complete\n", in ice_phy_cfg_rx_offset_e822() 2239 dev_warn(ice_hw_to_dev(hw), in ice_read_phy_and_phc_time_e822() 2305 dev_info(ice_hw_to_dev(hw), in ice_sync_phy_timer_e822()
|
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_dcb.c | 660 lldpmib = devm_kzalloc(ice_hw_to_dev(hw), ICE_LLDPDU_SIZE, GFP_KERNEL); in ice_aq_get_dcb_cfg() 671 devm_kfree(ice_hw_to_dev(hw), lldpmib); in ice_aq_get_dcb_cfg() 1523 lldpmib = devm_kzalloc(ice_hw_to_dev(hw), ICE_LLDPDU_SIZE, GFP_KERNEL); in ice_set_dcb_cfg() 1535 devm_kfree(ice_hw_to_dev(hw), lldpmib); in ice_set_dcb_cfg()
|
D | ice_vsi_vlan_lib.c | 259 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() 307 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()
|
D | ice_lag.c | 327 dev_dbg(ice_hw_to_dev(hw), "%s queue %d NO Q CONTEXT\n", in ice_lag_qbuf_recfg() 332 dev_dbg(ice_hw_to_dev(hw), "%s queue %d INVAL TEID\n", in ice_lag_qbuf_recfg() 337 dev_dbg(ice_hw_to_dev(hw), "%s queue %d INVAL Q HANDLE\n", in ice_lag_qbuf_recfg() 367 dev = ice_hw_to_dev(hw); in ice_lag_get_sched_parent()
|
D | ice_devlink.c | 1001 node = devm_kzalloc(ice_hw_to_dev(pi->hw), sizeof(*node), GFP_KERNEL); in ice_devlink_rate_node_new()
|
D | ice_main.c | 60 struct device *ice_hw_to_dev(struct ice_hw *hw) in ice_hw_to_dev() function 1213 dev_dbg(ice_hw_to_dev(pi->hw), "Failed to set link event mask for port %d\n", in ice_init_link_events() 1219 dev_dbg(ice_hw_to_dev(pi->hw), "Failed to enable link events for port %d\n", in ice_init_link_events()
|