Searched refs:ice_hw_to_dev (Results 1 – 8 of 8) sorted by relevance
| /Linux-v5.4/drivers/net/ethernet/intel/ice/ |
| 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() 180 node = devm_kzalloc(ice_hw_to_dev(hw), sizeof(*node), GFP_KERNEL); in ice_sched_add_node() 185 node->children = devm_kcalloc(ice_hw_to_dev(hw), in ice_sched_add_node() 189 devm_kfree(ice_hw_to_dev(hw), node); in ice_sched_add_node() 242 buf = devm_kzalloc(ice_hw_to_dev(hw), buf_size, GFP_KERNEL); in ice_sched_remove_elems() 257 devm_kfree(ice_hw_to_dev(hw), buf); in ice_sched_remove_elems() 358 devm_kfree(ice_hw_to_dev(hw), node->children); in ice_free_sched_node() 359 devm_kfree(ice_hw_to_dev(hw), node); in ice_free_sched_node() [all …]
|
| D | ice_controlq.c | 80 cq->sq.desc_buf.va = dmam_alloc_coherent(ice_hw_to_dev(hw), size, in ice_alloc_ctrlq_sq_ring() 87 cq->sq.cmd_buf = devm_kcalloc(ice_hw_to_dev(hw), cq->num_sq_entries, in ice_alloc_ctrlq_sq_ring() 90 dmam_free_coherent(ice_hw_to_dev(hw), cq->sq.desc_buf.size, in ice_alloc_ctrlq_sq_ring() 111 cq->rq.desc_buf.va = dmam_alloc_coherent(ice_hw_to_dev(hw), size, in ice_alloc_ctrlq_rq_ring() 130 dmam_free_coherent(ice_hw_to_dev(hw), ring->desc_buf.size, in ice_free_cq_ring() 150 cq->rq.dma_head = devm_kcalloc(ice_hw_to_dev(hw), cq->num_rq_entries, in ice_alloc_rq_bufs() 162 bi->va = dmam_alloc_coherent(ice_hw_to_dev(hw), in ice_alloc_rq_bufs() 196 dmam_free_coherent(ice_hw_to_dev(hw), cq->rq.r.rq_bi[i].size, in ice_alloc_rq_bufs() 202 devm_kfree(ice_hw_to_dev(hw), cq->rq.dma_head); in ice_alloc_rq_bufs() 218 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 | 590 devm_kfree(ice_hw_to_dev(hw), hw->pkg_copy); in ice_free_seg() 755 buf_copy = devm_kmemdup(ice_hw_to_dev(hw), buf, len, GFP_KERNEL); in ice_copy_and_init_pkg() 760 devm_kfree(ice_hw_to_dev(hw), buf_copy); in ice_copy_and_init_pkg() 1387 devm_kfree(ice_hw_to_dev(hw), hw->blk[i].xlt1.ptypes); in ice_free_hw_tbls() 1388 devm_kfree(ice_hw_to_dev(hw), hw->blk[i].xlt1.ptg_tbl); in ice_free_hw_tbls() 1389 devm_kfree(ice_hw_to_dev(hw), hw->blk[i].xlt1.t); in ice_free_hw_tbls() 1390 devm_kfree(ice_hw_to_dev(hw), hw->blk[i].xlt2.t); in ice_free_hw_tbls() 1391 devm_kfree(ice_hw_to_dev(hw), hw->blk[i].xlt2.vsig_tbl); in ice_free_hw_tbls() 1392 devm_kfree(ice_hw_to_dev(hw), hw->blk[i].xlt2.vsis); in ice_free_hw_tbls() 1393 devm_kfree(ice_hw_to_dev(hw), hw->blk[i].prof.t); in ice_free_hw_tbls() [all …]
|
| D | ice_osdep.h | 27 #define ice_hw_to_dev(ptr) \ macro 32 dev_dbg(ice_hw_to_dev(hw), fmt, ##args) 42 dev_info(ice_hw_to_dev(hw), fmt, ##args); \
|
| D | ice_switch.c | 100 recps = devm_kcalloc(ice_hw_to_dev(hw), ICE_MAX_NUM_RECIPES, in ice_init_def_sw_recp() 346 devm_kfree(ice_hw_to_dev(hw), vsi->lan_q_ctx[i]); in ice_clear_vsi_q_ctx() 366 devm_kfree(ice_hw_to_dev(hw), vsi); in ice_clear_vsi_ctx() 409 tmp_vsi_ctx = devm_kzalloc(ice_hw_to_dev(hw), in ice_add_vsi() 490 sw_buf = devm_kzalloc(ice_hw_to_dev(hw), buf_len, GFP_KERNEL); in ice_aq_alloc_free_vsi_list() 523 devm_kfree(ice_hw_to_dev(hw), sw_buf); in ice_aq_alloc_free_vsi_list() 596 rbuf = devm_kzalloc(ice_hw_to_dev(hw), ICE_SW_CFG_MAX_BUF_LEN, in ice_get_initial_sw_cfg() 646 devm_kfree(ice_hw_to_dev(hw), (void *)rbuf); in ice_get_initial_sw_cfg() 878 lg_act = devm_kzalloc(ice_hw_to_dev(hw), rules_size, GFP_KERNEL); in ice_add_marker_act() 942 devm_kfree(ice_hw_to_dev(hw), lg_act); in ice_add_marker_act() [all …]
|
| D | ice_common.c | 440 hw->switch_info = devm_kzalloc(ice_hw_to_dev(hw), in ice_init_fltr_mgmt_struct() 467 devm_kfree(ice_hw_to_dev(hw), v_pos_map); in ice_cleanup_fltr_mgmt_struct() 478 devm_kfree(ice_hw_to_dev(hw), lst_itr); in ice_cleanup_fltr_mgmt_struct() 482 devm_kfree(ice_hw_to_dev(hw), sw->recp_list); in ice_cleanup_fltr_mgmt_struct() 483 devm_kfree(ice_hw_to_dev(hw), sw); in ice_cleanup_fltr_mgmt_struct() 503 config = devm_kzalloc(ice_hw_to_dev(hw), size, GFP_KERNEL); in ice_get_fw_log_cfg() 529 devm_kfree(ice_hw_to_dev(hw), config); in ice_get_fw_log_cfg() 617 data = devm_kzalloc(ice_hw_to_dev(hw), in ice_cfg_fw_log() 683 devm_kfree(ice_hw_to_dev(hw), data); in ice_cfg_fw_log() 803 hw->port_info = devm_kzalloc(ice_hw_to_dev(hw), in ice_init_hw() [all …]
|
| D | ice_dcb.c | 692 lldpmib = devm_kzalloc(ice_hw_to_dev(hw), ICE_LLDPDU_SIZE, GFP_KERNEL); in ice_aq_get_dcb_cfg() 703 devm_kfree(ice_hw_to_dev(hw), lldpmib); in ice_aq_get_dcb_cfg() 1308 lldpmib = devm_kzalloc(ice_hw_to_dev(hw), ICE_LLDPDU_SIZE, GFP_KERNEL); in ice_set_dcb_cfg() 1320 devm_kfree(ice_hw_to_dev(hw), lldpmib); in ice_set_dcb_cfg()
|
| D | ice_main.c | 913 dev_dbg(ice_hw_to_dev(pi->hw), in ice_init_link_events() 920 dev_dbg(ice_hw_to_dev(pi->hw), in ice_init_link_events()
|