Home
last modified time | relevance | path

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

/Linux-v6.1/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.c4160 struct dpni_error_cfg err_cfg; in dpaa2_eth_bind_dpni() local
4189 err_cfg.errors = DPAA2_FAS_RX_ERR_MASK; in dpaa2_eth_bind_dpni()
4190 err_cfg.set_frame_annotation = 1; in dpaa2_eth_bind_dpni()
4191 err_cfg.error_action = DPNI_ERROR_ACTION_DISCARD; in dpaa2_eth_bind_dpni()
4193 &err_cfg); in dpaa2_eth_bind_dpni()
/Linux-v6.1/drivers/net/ethernet/intel/ice/
Dice_dcb_lib.c530 struct ice_dcbx_cfg *err_cfg; in ice_dcb_rebuild() local
571 err_cfg = kzalloc(sizeof(*err_cfg), GFP_KERNEL); in ice_dcb_rebuild()
572 if (!err_cfg) { in ice_dcb_rebuild()
577 err_cfg->etscfg.willing = true; in ice_dcb_rebuild()
578 err_cfg->etscfg.tcbwtable[0] = ICE_TC_MAX_BW; in ice_dcb_rebuild()
579 err_cfg->etscfg.tsatable[0] = ICE_IEEE_TSA_ETS; in ice_dcb_rebuild()
580 memcpy(&err_cfg->etsrec, &err_cfg->etscfg, sizeof(err_cfg->etsrec)); in ice_dcb_rebuild()
587 ice_pf_dcb_cfg(pf, err_cfg, false); in ice_dcb_rebuild()
588 kfree(err_cfg); in ice_dcb_rebuild()
/Linux-v6.1/drivers/net/wireless/marvell/libertas/
Dmain.c917 goto err_cfg; in lbs_add_card()
980 err_cfg: in lbs_add_card()
/Linux-v6.1/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()