| /linux/drivers/net/ethernet/intel/ice/ |
| H A D | ice_tspll.c | 105 dev_warn(ice_hw_to_dev(hw), "Invalid TSPLL frequency %u\n", in ice_tspll_check_params() 111 dev_warn(ice_hw_to_dev(hw), "Invalid clock source %u\n", in ice_tspll_check_params() 119 dev_warn(ice_hw_to_dev(hw), "Unsupported frequency for this clock source\n"); in ice_tspll_check_params() 156 dev_dbg(ice_hw_to_dev(hw), in ice_tspll_log_cfg() 282 dev_warn(ice_hw_to_dev(hw), "CGU PLL failed to lock\n"); in ice_tspll_cfg_e82x() 469 dev_warn(ice_hw_to_dev(hw), "CGU PLL failed to lock\n"); in ice_tspll_cfg_e825c() 615 …dev_warn(ice_hw_to_dev(hw), "Failed to lock TSPLL to predefined frequency. Retrying with fallback … in ice_tspll_init() 622 dev_warn(ice_hw_to_dev(hw), "Failed to lock TSPLL to fallback frequency.\n"); in ice_tspll_init()
|
| H A D | ice_flex_pipe.c | 1017 devm_kfree(ice_hw_to_dev(hw), del); in ice_vsig_free() 2039 devm_kfree(ice_hw_to_dev(hw), del); in ice_free_prof_map() 2065 devm_kfree(ice_hw_to_dev(hw), p); in ice_free_flow_profs() 2114 devm_kfree(ice_hw_to_dev(hw), hw->blk[i].xlt1.ptypes); in ice_free_hw_tbls() 2115 devm_kfree(ice_hw_to_dev(hw), hw->blk[i].xlt1.ptg_tbl); in ice_free_hw_tbls() 2116 devm_kfree(ice_hw_to_dev(hw), hw->blk[i].xlt1.t); in ice_free_hw_tbls() 2117 devm_kfree(ice_hw_to_dev(hw), hw->blk[i].xlt2.t); in ice_free_hw_tbls() 2118 devm_kfree(ice_hw_to_dev(hw), hw->blk[i].xlt2.vsig_tbl); in ice_free_hw_tbls() 2119 devm_kfree(ice_hw_to_dev(hw), hw->blk[i].xlt2.vsis); in ice_free_hw_tbls() 2120 devm_kfree(ice_hw_to_dev(hw), hw->blk[i].prof.t); in ice_free_hw_tbls() [all …]
|
| H A 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() 115 cq->rq.desc_buf.va = dmam_alloc_coherent(ice_hw_to_dev(hw), size, in ice_alloc_ctrlq_rq_ring() 134 dmam_free_coherent(ice_hw_to_dev(hw), ring->desc_buf.size, in ice_free_cq_ring() 154 cq->rq.dma_head = devm_kcalloc(ice_hw_to_dev(hw), cq->num_rq_entries, in ice_alloc_rq_bufs() 166 bi->va = dmam_alloc_coherent(ice_hw_to_dev(hw), in ice_alloc_rq_bufs() 200 dmam_free_coherent(ice_hw_to_dev(hw), cq->rq.r.rq_bi[i].size, in ice_alloc_rq_bufs() 207 devm_kfree(ice_hw_to_dev(hw), cq->rq.dma_head); in ice_alloc_rq_bufs() 224 cq->sq.dma_head = devm_kcalloc(ice_hw_to_dev(hw), cq->num_sq_entries, in ice_alloc_sq_bufs() 235 bi->va = dmam_alloc_coherent(ice_hw_to_dev(hw), in ice_alloc_sq_bufs() 248 dmam_free_coherent(ice_hw_to_dev(hw), cq->sq.r.sq_bi[i].size, in ice_alloc_sq_bufs() [all …]
|
| H A 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()
|
| H A D | ice_osdep.h | 40 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 D | ice_parser.c | 134 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 D | ice_sched.c | 27 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() 205 node = devm_kzalloc(ice_hw_to_dev(hw), sizeof(*node), GFP_KERNEL); in ice_sched_add_node() 209 node->children = devm_kcalloc(ice_hw_to_dev(hw), in ice_sched_add_node() 213 devm_kfree(ice_hw_to_dev(hw), node); in ice_sched_add_node() 372 devm_kfree(ice_hw_to_dev(hw), node->children); in ice_free_sched_node() 375 devm_kfree(ice_hw_to_dev(hw), node); in ice_free_sched_node() 545 buf = devm_kzalloc(ice_hw_to_dev(hw), buf_size, GFP_KERNEL); in ice_sched_suspend_resume_elems() 563 devm_kfree(ice_hw_to_dev(hw), buf); in ice_sched_suspend_resume_elems() [all …]
|
| H A D | ice_switch.c | 1466 recps = devm_kcalloc(ice_hw_to_dev(hw), ICE_MAX_NUM_RECIPES, in ice_init_def_sw_recp() 1710 devm_kfree(ice_hw_to_dev(hw), vsi->lan_q_ctx[i]); in ice_clear_vsi_q_ctx() 1712 devm_kfree(ice_hw_to_dev(hw), vsi->rdma_q_ctx[i]); in ice_clear_vsi_q_ctx() 1731 devm_kfree(ice_hw_to_dev(hw), vsi); in ice_clear_vsi_ctx() 1774 tmp_vsi_ctx = devm_kzalloc(ice_hw_to_dev(hw), in ice_add_vsi() 2774 lg_act = devm_kzalloc(ice_hw_to_dev(hw), rules_size, GFP_KERNEL); in ice_add_marker_act() 2834 devm_kfree(ice_hw_to_dev(hw), lg_act); in ice_add_marker_act() 2856 v_map = devm_kzalloc(ice_hw_to_dev(hw), sizeof(*v_map), GFP_KERNEL); in ice_create_vsi_list_map() 2913 s_rule = devm_kzalloc(ice_hw_to_dev(hw), s_rule_size, GFP_KERNEL); in ice_update_vsi_list_rule() 2933 devm_kfree(ice_hw_to_dev(hw), s_rule); in ice_update_vsi_list_rule() [all …]
|
| H A D | ice_ddp.c | 86 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() 1291 dev_dbg(ice_hw_to_dev(hw), in ice_ddp_send_hunk() 2304 buf_copy = devm_kmemdup(ice_hw_to_dev(hw), buf, len, GFP_KERNEL); in ice_copy_and_init_pkg() 2311 devm_kfree(ice_hw_to_dev(hw), buf_copy); in ice_copy_and_init_pkg()
|
| H A D | ice_dcb.c | 645 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 D | ice_ptp_hw.c | 258 dev_warn(ice_hw_to_dev(hw), in ice_ptp_tmr_cmd_to_src_reg() 316 dev_warn(ice_hw_to_dev(hw), in ice_ptp_tmr_cmd_to_port_reg() 1932 …dev_warn(ice_hw_to_dev(hw), "PHY port %u Tx and Rx timers do not match, tx_time 0x%016llX, rx_time… in ice_read_phy_and_phc_time_eth56g() 2001 dev_info(ice_hw_to_dev(hw), in ice_sync_phy_timer_eth56g() 3545 dev_info(ice_hw_to_dev(hw), "Port=%d Tx vernier offset calibration complete\n", in ice_phy_cfg_tx_offset_e82x() 3855 dev_info(ice_hw_to_dev(hw), "Port=%d Rx vernier offset calibration complete\n", in ice_phy_cfg_rx_offset_e82x() 3879 dev_warn(ice_hw_to_dev(hw), in ice_ptp_clear_phy_offset_ready_e82x() 3886 dev_warn(ice_hw_to_dev(hw), in ice_ptp_clear_phy_offset_ready_e82x() 3942 dev_warn(ice_hw_to_dev(hw), in ice_read_phy_and_phc_time_e82x() 4009 dev_info(ice_hw_to_dev(hw), in ice_sync_phy_timer_e82x() [all …]
|
| H A D | ice_common.c | 863 hw->switch_info = devm_kzalloc(ice_hw_to_dev(hw), in ice_init_fltr_mgmt_struct() 878 devm_kfree(ice_hw_to_dev(hw), hw->switch_info); in ice_init_fltr_mgmt_struct() 899 devm_kfree(ice_hw_to_dev(hw), v_pos_map); in ice_cleanup_fltr_mgmt_struct() 914 devm_kfree(ice_hw_to_dev(hw), lst_itr->lkups); in ice_cleanup_fltr_mgmt_struct() 915 devm_kfree(ice_hw_to_dev(hw), lst_itr); in ice_cleanup_fltr_mgmt_struct() 925 devm_kfree(ice_hw_to_dev(hw), lst_itr); in ice_cleanup_fltr_mgmt_struct() 930 devm_kfree(ice_hw_to_dev(hw), sw->recp_list); in ice_cleanup_fltr_mgmt_struct() 931 devm_kfree(ice_hw_to_dev(hw), sw); in ice_cleanup_fltr_mgmt_struct() 1070 hw->port_info = devm_kzalloc(ice_hw_to_dev(hw), in ice_init_hw() 1116 dev_warn(ice_hw_to_dev(hw), "Get PHY capabilities failed status = %d, continuing anyway\n", in ice_init_hw() [all …]
|
| H A D | ice_vsi_vlan_lib.c | 260 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 D | ice_nvm.c | 477 …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 D | ice_main.c | 67 struct device *ice_hw_to_dev(struct ice_hw *hw) in ice_hw_to_dev() function 1215 dev_dbg(ice_hw_to_dev(pi->hw), "Failed to set link event mask for port %d\n", in ice_init_link_events() 1221 dev_dbg(ice_hw_to_dev(pi->hw), "Failed to enable link events for port %d\n", in ice_init_link_events()
|
| /linux/drivers/net/ethernet/intel/ice/devlink/ |
| H A D | devlink.c | 987 node = devm_kzalloc(ice_hw_to_dev(pi->hw), sizeof(*node), GFP_KERNEL); in ice_devlink_rate_node_new()
|