/drivers/net/ethernet/intel/ice/ |
D | ice_lib.c | 42 static int ice_vsi_ctrl_all_rx_rings(struct ice_vsi *vsi, bool ena) in ice_vsi_ctrl_all_rx_rings() argument 47 for (i = 0; i < vsi->num_rxq; i++) in ice_vsi_ctrl_all_rx_rings() 48 ice_vsi_ctrl_one_rx_ring(vsi, ena, i, false); in ice_vsi_ctrl_all_rx_rings() 50 ice_flush(&vsi->back->hw); in ice_vsi_ctrl_all_rx_rings() 52 for (i = 0; i < vsi->num_rxq; i++) { in ice_vsi_ctrl_all_rx_rings() 53 ret = ice_vsi_wait_one_rx_ring(vsi, ena, i); in ice_vsi_ctrl_all_rx_rings() 68 static int ice_vsi_alloc_arrays(struct ice_vsi *vsi) in ice_vsi_alloc_arrays() argument 70 struct ice_pf *pf = vsi->back; in ice_vsi_alloc_arrays() 76 vsi->tx_rings = devm_kcalloc(dev, vsi->alloc_txq, in ice_vsi_alloc_arrays() 77 sizeof(*vsi->tx_rings), GFP_KERNEL); in ice_vsi_alloc_arrays() [all …]
|
D | ice_xsk.c | 20 static void ice_qp_reset_stats(struct ice_vsi *vsi, u16 q_idx) in ice_qp_reset_stats() argument 22 memset(&vsi->rx_rings[q_idx]->rx_stats, 0, in ice_qp_reset_stats() 23 sizeof(vsi->rx_rings[q_idx]->rx_stats)); in ice_qp_reset_stats() 24 memset(&vsi->tx_rings[q_idx]->stats, 0, in ice_qp_reset_stats() 25 sizeof(vsi->tx_rings[q_idx]->stats)); in ice_qp_reset_stats() 26 if (ice_is_xdp_ena_vsi(vsi)) in ice_qp_reset_stats() 27 memset(&vsi->xdp_rings[q_idx]->stats, 0, in ice_qp_reset_stats() 28 sizeof(vsi->xdp_rings[q_idx]->stats)); in ice_qp_reset_stats() 36 static void ice_qp_clean_rings(struct ice_vsi *vsi, u16 q_idx) in ice_qp_clean_rings() argument 38 ice_clean_tx_ring(vsi->tx_rings[q_idx]); in ice_qp_clean_rings() [all …]
|
D | ice_fltr.c | 55 ice_fltr_add_mac_list(struct ice_vsi *vsi, struct list_head *list) in ice_fltr_add_mac_list() argument 57 return ice_add_mac(&vsi->back->hw, list); in ice_fltr_add_mac_list() 66 ice_fltr_remove_mac_list(struct ice_vsi *vsi, struct list_head *list) in ice_fltr_remove_mac_list() argument 68 return ice_remove_mac(&vsi->back->hw, list); in ice_fltr_remove_mac_list() 77 ice_fltr_add_vlan_list(struct ice_vsi *vsi, struct list_head *list) in ice_fltr_add_vlan_list() argument 79 return ice_add_vlan(&vsi->back->hw, list); in ice_fltr_add_vlan_list() 88 ice_fltr_remove_vlan_list(struct ice_vsi *vsi, struct list_head *list) in ice_fltr_remove_vlan_list() argument 90 return ice_remove_vlan(&vsi->back->hw, list); in ice_fltr_remove_vlan_list() 99 ice_fltr_add_eth_list(struct ice_vsi *vsi, struct list_head *list) in ice_fltr_add_eth_list() argument 101 return ice_add_eth_mac(&vsi->back->hw, list); in ice_fltr_add_eth_list() [all …]
|
D | ice_arfs.c | 10 static bool ice_is_arfs_active(struct ice_vsi *vsi) in ice_is_arfs_active() argument 12 return !!vsi->arfs_fltr_list; in ice_is_arfs_active() 28 struct ice_vsi *vsi; in ice_is_arfs_using_perfect_flow() local 30 vsi = ice_get_main_vsi(pf); in ice_is_arfs_using_perfect_flow() 31 if (!vsi) in ice_is_arfs_using_perfect_flow() 34 arfs_fltr_cntrs = vsi->arfs_fltr_cntrs; in ice_is_arfs_using_perfect_flow() 59 ice_arfs_update_active_fltr_cntrs(struct ice_vsi *vsi, in ice_arfs_update_active_fltr_cntrs() argument 62 struct ice_arfs_active_fltr_cntrs *fltr_cntrs = vsi->arfs_fltr_cntrs; in ice_arfs_update_active_fltr_cntrs() 90 …dev_err(ice_pf_to_dev(vsi->back), "aRFS: Failed to update filter counters, invalid filter type %d\… in ice_arfs_update_active_fltr_cntrs() 105 ice_arfs_del_flow_rules(struct ice_vsi *vsi, struct hlist_head *del_list_head) in ice_arfs_del_flow_rules() argument [all …]
|
D | ice_main.c | 42 static int ice_vsi_open(struct ice_vsi *vsi); 71 struct ice_vsi *vsi = NULL; in ice_check_for_hang_subtask() local 78 if (pf->vsi[v] && pf->vsi[v]->type == ICE_VSI_PF) { in ice_check_for_hang_subtask() 79 vsi = pf->vsi[v]; in ice_check_for_hang_subtask() 83 if (!vsi || test_bit(__ICE_DOWN, vsi->state)) in ice_check_for_hang_subtask() 86 if (!(vsi->netdev && netif_carrier_ok(vsi->netdev))) in ice_check_for_hang_subtask() 89 hw = &vsi->back->hw; in ice_check_for_hang_subtask() 91 for (i = 0; i < vsi->num_txq; i++) { in ice_check_for_hang_subtask() 92 struct ice_ring *tx_ring = vsi->tx_rings[i]; in ice_check_for_hang_subtask() 130 struct ice_vsi *vsi; in ice_init_mac_fltr() local [all …]
|
D | ice_lib.h | 13 void ice_update_eth_stats(struct ice_vsi *vsi); 15 int ice_vsi_cfg_rxqs(struct ice_vsi *vsi); 17 int ice_vsi_cfg_lan_txqs(struct ice_vsi *vsi); 19 void ice_vsi_cfg_msix(struct ice_vsi *vsi); 22 ice_vsi_add_vlan(struct ice_vsi *vsi, u16 vid, enum ice_sw_fwd_act_type action); 24 int ice_vsi_kill_vlan(struct ice_vsi *vsi, u16 vid); 26 int ice_vsi_manage_vlan_insertion(struct ice_vsi *vsi); 28 int ice_vsi_manage_vlan_stripping(struct ice_vsi *vsi, bool ena); 30 int ice_vsi_start_all_rx_rings(struct ice_vsi *vsi); 32 int ice_vsi_stop_all_rx_rings(struct ice_vsi *vsi); [all …]
|
D | ice_base.c | 101 static int ice_vsi_alloc_q_vector(struct ice_vsi *vsi, u16 v_idx) in ice_vsi_alloc_q_vector() argument 103 struct ice_pf *pf = vsi->back; in ice_vsi_alloc_q_vector() 112 q_vector->vsi = vsi; in ice_vsi_alloc_q_vector() 116 if (vsi->type == ICE_VSI_VF) in ice_vsi_alloc_q_vector() 126 if (vsi->netdev) in ice_vsi_alloc_q_vector() 127 netif_napi_add(vsi->netdev, &q_vector->napi, ice_napi_poll, in ice_vsi_alloc_q_vector() 132 vsi->q_vectors[v_idx] = q_vector; in ice_vsi_alloc_q_vector() 142 static void ice_free_q_vector(struct ice_vsi *vsi, int v_idx) in ice_free_q_vector() argument 145 struct ice_pf *pf = vsi->back; in ice_free_q_vector() 150 if (!vsi->q_vectors[v_idx]) { in ice_free_q_vector() [all …]
|
D | ice_ethtool.c | 34 return ((np->vsi->alloc_txq + np->vsi->alloc_rxq) * in ice_q_stats_len() 177 struct ice_vsi *vsi = np->vsi; in ice_get_drvinfo() local 178 struct ice_pf *pf = vsi->back; in ice_get_drvinfo() 209 struct ice_pf *pf = np->vsi->back; in ice_get_regs() 223 struct ice_pf *pf = np->vsi->back; in ice_get_msglevel() 237 struct ice_pf *pf = np->vsi->back; in ice_set_msglevel() 252 struct ice_pf *pf = np->vsi->back; in ice_get_eeprom_len() 262 struct ice_vsi *vsi = np->vsi; in ice_get_eeprom() local 263 struct ice_pf *pf = vsi->back; in ice_get_eeprom() 341 status = ice_get_link_status(np->vsi->port_info, &link_up); in ice_link_test() [all …]
|
D | ice_virtchnl_pf.c | 200 ice_vsi_release(vf->pf->vsi[vf->lan_vsi_idx]); in ice_vf_vsi_release() 247 struct ice_vsi *vsi; in ice_dis_vf_mappings() local 253 vsi = pf->vsi[vf->lan_vsi_idx]; in ice_dis_vf_mappings() 271 if (vsi->tx_mapping_mode == ICE_VSI_MAP_CONTIG) in ice_dis_vf_mappings() 276 if (vsi->rx_mapping_mode == ICE_VSI_MAP_CONTIG) in ice_dis_vf_mappings() 329 struct ice_vsi *vsi; in ice_dis_vf_qs() local 331 vsi = pf->vsi[vf->lan_vsi_idx]; in ice_dis_vf_qs() 333 ice_vsi_stop_lan_tx_rings(vsi, ICE_NO_RESET, vf->vf_id); in ice_dis_vf_qs() 334 ice_vsi_stop_all_rx_rings(vsi); in ice_dis_vf_qs() 487 static int ice_vsi_manage_pvid(struct ice_vsi *vsi, u16 pvid_info, bool enable) in ice_vsi_manage_pvid() argument [all …]
|
D | ice.h | 110 #define ice_for_each_txq(vsi, i) \ argument 111 for ((i) = 0; (i) < (vsi)->num_txq; (i)++) 113 #define ice_for_each_rxq(vsi, i) \ argument 114 for ((i) = 0; (i) < (vsi)->num_rxq; (i)++) 117 #define ice_for_each_alloc_txq(vsi, i) \ argument 118 for ((i) = 0; (i) < (vsi)->alloc_txq; (i)++) 120 #define ice_for_each_alloc_rxq(vsi, i) \ argument 121 for ((i) = 0; (i) < (vsi)->alloc_rxq; (i)++) 123 #define ice_for_each_q_vector(vsi, i) \ argument 124 for ((i) = 0; (i) < (vsi)->num_q_vectors; (i)++) [all …]
|
D | ice_fltr.h | 9 ice_fltr_add_mac_to_list(struct ice_vsi *vsi, struct list_head *list, 12 ice_fltr_add_mac(struct ice_vsi *vsi, const u8 *mac, 15 ice_fltr_add_mac_and_broadcast(struct ice_vsi *vsi, const u8 *mac, 18 ice_fltr_add_mac_list(struct ice_vsi *vsi, struct list_head *list); 20 ice_fltr_remove_mac(struct ice_vsi *vsi, const u8 *mac, 23 ice_fltr_remove_mac_list(struct ice_vsi *vsi, struct list_head *list); 26 ice_fltr_add_vlan(struct ice_vsi *vsi, u16 vid, 29 ice_fltr_remove_vlan(struct ice_vsi *vsi, u16 vid, 33 ice_fltr_add_eth(struct ice_vsi *vsi, u16 ethertype, u16 flag, 36 ice_fltr_remove_eth(struct ice_vsi *vsi, u16 ethertype, u16 flag, [all …]
|
D | ice_base.h | 12 ice_vsi_ctrl_one_rx_ring(struct ice_vsi *vsi, bool ena, u16 rxq_idx, bool wait); 13 int ice_vsi_wait_one_rx_ring(struct ice_vsi *vsi, bool ena, u16 rxq_idx); 14 int ice_vsi_alloc_q_vectors(struct ice_vsi *vsi); 15 void ice_vsi_map_rings_to_vectors(struct ice_vsi *vsi); 16 void ice_vsi_free_q_vectors(struct ice_vsi *vsi); 18 ice_vsi_cfg_txq(struct ice_vsi *vsi, struct ice_ring *ring, 22 ice_cfg_txq_interrupt(struct ice_vsi *vsi, u16 txq, u16 msix_idx, u16 itr_idx); 24 ice_cfg_rxq_interrupt(struct ice_vsi *vsi, u16 rxq, u16 msix_idx, u16 itr_idx); 27 ice_vsi_stop_tx_ring(struct ice_vsi *vsi, enum ice_disq_rst_src rst_src, 31 ice_fill_txq_meta(struct ice_vsi *vsi, struct ice_ring *ring,
|
D | ice_dcb_lib.c | 12 void ice_vsi_cfg_netdev_tc(struct ice_vsi *vsi, u8 ena_tc) in ice_vsi_cfg_netdev_tc() argument 14 struct net_device *netdev = vsi->netdev; in ice_vsi_cfg_netdev_tc() 15 struct ice_pf *pf = vsi->back; in ice_vsi_cfg_netdev_tc() 28 if (netdev_set_num_tc(netdev, vsi->tc_cfg.numtc)) in ice_vsi_cfg_netdev_tc() 34 if (vsi->tc_cfg.ena_tc & BIT(i)) in ice_vsi_cfg_netdev_tc() 36 vsi->tc_cfg.tc_info[i].netdev_tc, in ice_vsi_cfg_netdev_tc() 37 vsi->tc_cfg.tc_info[i].qcount_tx, in ice_vsi_cfg_netdev_tc() 38 vsi->tc_cfg.tc_info[i].qoffset); in ice_vsi_cfg_netdev_tc() 44 netdev_tc = vsi->tc_cfg.tc_info[ets_tc].netdev_tc; in ice_vsi_cfg_netdev_tc() 76 struct ice_vsi *vsi; in ice_is_pfc_causing_hung_q() local [all …]
|
D | ice_arfs.h | 44 void ice_clear_arfs(struct ice_vsi *vsi); 45 void ice_free_cpu_rx_rmap(struct ice_vsi *vsi); 46 void ice_init_arfs(struct ice_vsi *vsi); 48 int ice_set_cpu_rx_rmap(struct ice_vsi *vsi); 56 #define ice_init_arfs(vsi) do {} while (0) argument 57 #define ice_clear_arfs(vsi) do {} while (0) argument 59 #define ice_free_cpu_rx_rmap(vsi) do {} while (0) argument 62 static inline int ice_set_cpu_rx_rmap(struct ice_vsi __always_unused *vsi) in ice_set_cpu_rx_rmap() argument
|
/drivers/media/platform/mtk-vcodec/vdec/ |
D | vdec_vp9_if.c | 201 struct vdec_vp9_vsi *vsi; member 209 struct vdec_vp9_vsi *vsi = inst->vsi; in vp9_is_sf_ref_fb() local 211 for (i = 0; i < ARRAY_SIZE(vsi->sf_ref_fb); i++) { in vp9_is_sf_ref_fb() 212 if (fb == &vsi->sf_ref_fb[i].fb) in vp9_is_sf_ref_fb() 265 struct vdec_vp9_vsi *vsi = inst->vsi; in vp9_ref_cnt_fb() local 268 if (ref_idx >= 0 && vsi->frm_bufs[ref_idx].ref_cnt > 0) { in vp9_ref_cnt_fb() 269 vsi->frm_bufs[ref_idx].ref_cnt--; in vp9_ref_cnt_fb() 271 if (vsi->frm_bufs[ref_idx].ref_cnt == 0) { in vp9_ref_cnt_fb() 273 vsi->frm_bufs[ref_idx].buf.fb)) { in vp9_ref_cnt_fb() 277 vsi->frm_bufs[ref_idx].buf.fb->base_y.va); in vp9_ref_cnt_fb() [all …]
|
D | vdec_h264_if.c | 132 struct vdec_h264_vsi *vsi; member 151 inst->vsi->pred_buf_dma = inst->pred_buf.dma_addr; in allocate_predication_buf() 161 inst->vsi->pred_buf_dma = 0; in free_predication_buf() 184 inst->vsi->mv_buf_dma[i] = mem->dma_addr; in alloc_mv_buf() 196 inst->vsi->mv_buf_dma[i] = 0; in free_mv_buf() 207 list = disp_list ? &inst->vsi->list_disp : &inst->vsi->list_free; in check_list_validity() 229 list = &inst->vsi->list_free; in put_fb_to_free() 248 *pic = inst->vsi->pic; in get_pic_info() 257 cr->left = inst->vsi->crop.left; in get_crop_info() 258 cr->top = inst->vsi->crop.top; in get_crop_info() [all …]
|
/drivers/net/ethernet/intel/i40e/ |
D | i40e_main.c | 30 static void i40e_vsi_reinit_locked(struct i40e_vsi *vsi); 32 static int i40e_add_vsi(struct i40e_vsi *vsi); 33 static int i40e_add_veb(struct i40e_veb *veb, struct i40e_vsi *vsi); 221 if (pile == pf->qp_pile && pf->vsi[id]->type == I40E_VSI_FDIR) { in i40e_get_lump() 299 if (pf->vsi[i] && (pf->vsi[i]->id == id)) in i40e_find_vsi_from_id() 300 return pf->vsi[i]; in i40e_find_vsi_from_id() 331 struct i40e_vsi *vsi = np->vsi; in i40e_tx_timeout() local 332 struct i40e_pf *pf = vsi->back; in i40e_tx_timeout() 340 for (i = 0; i < vsi->num_queue_pairs; i++) { in i40e_tx_timeout() 341 if (vsi->tx_rings[i] && vsi->tx_rings[i]->desc) { in i40e_tx_timeout() [all …]
|
D | i40e_debugfs.c | 32 if (pf->vsi[i] && (pf->vsi[i]->seid == seid)) in i40e_dbg_find_vsi() 33 return pf->vsi[i]; in i40e_dbg_find_vsi() 89 pf->vsi[pf->lan_vsi]->netdev->name, in i40e_dbg_command_read() 119 struct i40e_vsi *vsi; in i40e_dbg_dump_vsi_seid() local 122 vsi = i40e_dbg_find_vsi(pf, seid); in i40e_dbg_dump_vsi_seid() 123 if (!vsi) { in i40e_dbg_dump_vsi_seid() 129 if (vsi->netdev) { in i40e_dbg_dump_vsi_seid() 130 struct net_device *nd = vsi->netdev; in i40e_dbg_dump_vsi_seid() 143 vsi->flags, vsi->netdev_registered, vsi->current_netdev_flags); in i40e_dbg_dump_vsi_seid() 147 i, vsi->state[i]); in i40e_dbg_dump_vsi_seid() [all …]
|
D | i40e_virtchnl_pf.c | 208 struct i40e_vsi *vsi = i40e_find_vsi_from_id(pf, vsi_id); in i40e_vc_isvalid_vsi_id() local 210 return (vsi && (vsi->vf_id == vf->vf_id)); in i40e_vc_isvalid_vsi_id() 225 struct i40e_vsi *vsi = i40e_find_vsi_from_id(pf, vsi_id); in i40e_vc_isvalid_queue_id() local 227 return (vsi && (qid < vsi->alloc_queue_pairs)); in i40e_vc_isvalid_queue_id() 258 struct i40e_vsi *vsi = i40e_find_vsi_from_id(pf, vsi_id); in i40e_vc_get_pf_queue_id() local 261 if (!vsi) in i40e_vc_get_pf_queue_id() 264 if (le16_to_cpu(vsi->info.mapping_flags) & in i40e_vc_get_pf_queue_id() 267 le16_to_cpu(vsi->info.queue_mapping[vsi_queue_id]); in i40e_vc_get_pf_queue_id() 269 pf_queue_id = le16_to_cpu(vsi->info.queue_mapping[0]) + in i40e_vc_get_pf_queue_id() 582 struct i40e_vsi *vsi; in i40e_config_vsi_tx_queue() local [all …]
|
D | i40e_xsk.c | 62 int i40e_realloc_rx_bi_zc(struct i40e_vsi *vsi, bool zc) in i40e_realloc_rx_bi_zc() argument 67 for_each_set_bit(q, vsi->af_xdp_zc_qps, vsi->alloc_queue_pairs) { in i40e_realloc_rx_bi_zc() 68 rx_ring = vsi->rx_rings[q]; in i40e_realloc_rx_bi_zc() 84 static int i40e_xsk_pool_enable(struct i40e_vsi *vsi, in i40e_xsk_pool_enable() argument 88 struct net_device *netdev = vsi->netdev; in i40e_xsk_pool_enable() 92 if (vsi->type != I40E_VSI_MAIN) in i40e_xsk_pool_enable() 95 if (qid >= vsi->num_queue_pairs) in i40e_xsk_pool_enable() 102 err = xsk_pool_dma_map(pool, &vsi->back->pdev->dev, I40E_RX_DMA_ATTR); in i40e_xsk_pool_enable() 106 set_bit(qid, vsi->af_xdp_zc_qps); in i40e_xsk_pool_enable() 108 if_running = netif_running(vsi->netdev) && i40e_enabled_xdp_vsi(vsi); in i40e_xsk_pool_enable() [all …]
|
D | i40e.h | 597 struct i40e_vsi **vsi; member 855 struct i40e_vsi *vsi; member 860 struct i40e_vsi *vsi; member 938 struct i40e_vsi *vsi = np->vsi; in i40e_netdev_to_pf() local 940 return vsi->back; in i40e_netdev_to_pf() 943 static inline void i40e_vsi_setup_irqhandler(struct i40e_vsi *vsi, in i40e_vsi_setup_irqhandler() argument 946 vsi->irq_handler = irq_handler; in i40e_vsi_setup_irqhandler() 1011 int i40e_up(struct i40e_vsi *vsi); 1012 void i40e_down(struct i40e_vsi *vsi); 1016 int i40e_config_rss(struct i40e_vsi *vsi, u8 *seed, u8 *lut, u16 lut_size); [all …]
|
D | i40e_ethtool.c | 1061 struct i40e_pf *pf = np->vsi->back; in i40e_get_link_ksettings() 1153 struct i40e_pf *pf = np->vsi->back; in i40e_set_link_ksettings() 1154 struct i40e_vsi *vsi = np->vsi; in i40e_set_link_ksettings() local 1169 if (vsi != pf->vsi[pf->lan_vsi]) in i40e_set_link_ksettings() 1351 i40e_print_link_message(vsi, false); in i40e_set_link_ksettings() 1388 struct i40e_pf *pf = np->vsi->back; in i40e_set_fec_cfg() 1450 struct i40e_pf *pf = np->vsi->back; in i40e_get_fec_param() 1492 struct i40e_pf *pf = np->vsi->back; in i40e_set_fec_param() 1536 struct i40e_pf *pf = np->vsi->back; in i40e_nway_reset() 1563 struct i40e_pf *pf = np->vsi->back; in i40e_get_pauseparam() [all …]
|
D | i40e_client.c | 47 int i40e_client_get_params(struct i40e_vsi *vsi, struct i40e_params *params) in i40e_client_get_params() argument 49 struct i40e_dcbx_config *dcb_cfg = &vsi->back->hw.local_dcbx_config; in i40e_client_get_params() 57 if (!(vsi->tc_config.enabled_tc & BIT(tc))) in i40e_client_get_params() 60 qs_handle = le16_to_cpu(vsi->info.qs_handle[tc]); in i40e_client_get_params() 64 dev_err(&vsi->back->pdev->dev, "Invalid queue set handle for TC = %d, vsi id = %d\n", in i40e_client_get_params() 65 tc, vsi->id); in i40e_client_get_params() 70 params->mtu = vsi->netdev->mtu; in i40e_client_get_params() 84 i40e_notify_client_of_vf_msg(struct i40e_vsi *vsi, u32 vf_id, u8 *msg, u16 len) in i40e_notify_client_of_vf_msg() argument 86 struct i40e_pf *pf = vsi->back; in i40e_notify_client_of_vf_msg() 110 void i40e_notify_client_of_l2_param_changes(struct i40e_vsi *vsi) in i40e_notify_client_of_l2_param_changes() argument [all …]
|
/drivers/net/ethernet/intel/iavf/ |
D | iavf_client.c | 36 void iavf_client_get_params(struct iavf_vsi *vsi, struct iavf_params *params) in iavf_client_get_params() argument 41 params->mtu = vsi->netdev->mtu; in iavf_client_get_params() 42 params->link_up = vsi->back->link_up; in iavf_client_get_params() 46 params->qos.prio_qos[i].qs_handle = vsi->qs_handle; in iavf_client_get_params() 58 void iavf_notify_client_message(struct iavf_vsi *vsi, u8 *msg, u16 len) in iavf_notify_client_message() argument 62 if (!vsi) in iavf_notify_client_message() 65 cinst = vsi->back->cinst; in iavf_notify_client_message() 68 dev_dbg(&vsi->back->pdev->dev, in iavf_notify_client_message() 82 void iavf_notify_client_l2_params(struct iavf_vsi *vsi) in iavf_notify_client_l2_params() argument 87 if (!vsi) in iavf_notify_client_l2_params() [all …]
|
/drivers/media/platform/mtk-vcodec/venc/ |
D | venc_vp8_if.c | 131 struct venc_vp8_vsi *vsi; member 160 struct venc_vp8_vpu_buf *wb = inst->vsi->work_bufs; in vp8_enc_alloc_work_buf() 263 ac_tag[6] = inst->vsi->config.pic_w; in vp8_enc_compose_one_frame() 264 ac_tag[7] = inst->vsi->config.pic_w >> 8; in vp8_enc_compose_one_frame() 265 ac_tag[8] = inst->vsi->config.pic_h; in vp8_enc_compose_one_frame() 266 ac_tag[9] = inst->vsi->config.pic_h >> 8; in vp8_enc_compose_one_frame() 346 inst->vsi = (struct venc_vp8_vsi *)inst->vpu_inst.vsi; in vp8_enc_init() 406 inst->vsi->config.input_fourcc = enc_prm->input_yuv_fmt; in vp8_enc_set_param() 407 inst->vsi->config.bitrate = enc_prm->bitrate; in vp8_enc_set_param() 408 inst->vsi->config.pic_w = enc_prm->width; in vp8_enc_set_param() [all …]
|