Home
last modified time | relevance | path

Searched refs:err_cfg (Results 1 – 5 of 5) sorted by relevance

/Linux-v5.10/drivers/net/ethernet/freescale/dpaa2/
Ddpaa2-eth-devlink.c155 struct dpni_error_cfg err_cfg = {0}; in dpaa2_eth_dl_trap_group_action_set() local
162 err_cfg.errors = DPAA2_FAS_RX_ERR_MASK; in dpaa2_eth_dl_trap_group_action_set()
163 err_cfg.set_frame_annotation = 1; in dpaa2_eth_dl_trap_group_action_set()
167 err_cfg.error_action = DPNI_ERROR_ACTION_DISCARD; in dpaa2_eth_dl_trap_group_action_set()
170 err_cfg.error_action = DPNI_ERROR_ACTION_SEND_TO_ERROR_QUEUE; in dpaa2_eth_dl_trap_group_action_set()
176 err = dpni_set_errors_behavior(priv->mc_io, 0, priv->mc_token, &err_cfg); in dpaa2_eth_dl_trap_group_action_set()
Ddpaa2-eth.c3783 struct dpni_error_cfg err_cfg; in dpaa2_eth_bind_dpni() local
3812 err_cfg.errors = DPAA2_FAS_RX_ERR_MASK; in dpaa2_eth_bind_dpni()
3813 err_cfg.set_frame_annotation = 1; in dpaa2_eth_bind_dpni()
3814 err_cfg.error_action = DPNI_ERROR_ACTION_DISCARD; in dpaa2_eth_bind_dpni()
3816 &err_cfg); in dpaa2_eth_bind_dpni()
/Linux-v5.10/drivers/net/ethernet/intel/ice/
Dice_dcb_lib.c438 struct ice_dcbx_cfg *err_cfg; in ice_dcb_rebuild() local
479 err_cfg = kzalloc(sizeof(*err_cfg), GFP_KERNEL); in ice_dcb_rebuild()
480 if (!err_cfg) { in ice_dcb_rebuild()
485 err_cfg->etscfg.willing = true; in ice_dcb_rebuild()
486 err_cfg->etscfg.tcbwtable[0] = ICE_TC_MAX_BW; in ice_dcb_rebuild()
487 err_cfg->etscfg.tsatable[0] = ICE_IEEE_TSA_ETS; in ice_dcb_rebuild()
488 memcpy(&err_cfg->etsrec, &err_cfg->etscfg, sizeof(err_cfg->etsrec)); in ice_dcb_rebuild()
495 ice_pf_dcb_cfg(pf, err_cfg, false); in ice_dcb_rebuild()
496 kfree(err_cfg); in ice_dcb_rebuild()
/Linux-v5.10/drivers/net/wireless/marvell/libertas/
Dmain.c918 goto err_cfg; in lbs_add_card()
981 err_cfg: in lbs_add_card()
/Linux-v5.10/drivers/media/dvb-frontends/
Ddrxk_hard.c1087 u16 err_cfg = 0; in mpegts_configure_pins() local
1156 err_cfg = sio_pdr_mdx_cfg; in mpegts_configure_pins()
1158 status = write16(state, SIO_PDR_MERR_CFG__A, err_cfg); in mpegts_configure_pins()
1161 status = write16(state, SIO_PDR_MVAL_CFG__A, err_cfg); in mpegts_configure_pins()