Home
last modified time | relevance | path

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

/linux-6.6.21/drivers/net/ethernet/freescale/dpaa2/
Ddpaa2-eth-devlink.c146 struct dpni_error_cfg err_cfg = {0}; in dpaa2_eth_dl_trap_group_action_set() local
153 err_cfg.errors = DPAA2_FAS_RX_ERR_MASK; in dpaa2_eth_dl_trap_group_action_set()
154 err_cfg.set_frame_annotation = 1; in dpaa2_eth_dl_trap_group_action_set()
158 err_cfg.error_action = DPNI_ERROR_ACTION_DISCARD; in dpaa2_eth_dl_trap_group_action_set()
161 err_cfg.error_action = DPNI_ERROR_ACTION_SEND_TO_ERROR_QUEUE; in dpaa2_eth_dl_trap_group_action_set()
167 err = dpni_set_errors_behavior(priv->mc_io, 0, priv->mc_token, &err_cfg); in dpaa2_eth_dl_trap_group_action_set()
Ddpaa2-eth.c4364 struct dpni_error_cfg err_cfg; in dpaa2_eth_bind_dpni() local
4393 err_cfg.errors = DPAA2_FAS_RX_ERR_MASK; in dpaa2_eth_bind_dpni()
4394 err_cfg.set_frame_annotation = 1; in dpaa2_eth_bind_dpni()
4395 err_cfg.error_action = DPNI_ERROR_ACTION_DISCARD; in dpaa2_eth_bind_dpni()
4397 &err_cfg); in dpaa2_eth_bind_dpni()
/linux-6.6.21/drivers/net/ethernet/intel/ice/
Dice_dcb_lib.c537 struct ice_dcbx_cfg *err_cfg; in ice_dcb_rebuild() local
578 err_cfg = kzalloc(sizeof(*err_cfg), GFP_KERNEL); in ice_dcb_rebuild()
579 if (!err_cfg) { in ice_dcb_rebuild()
584 err_cfg->etscfg.willing = true; in ice_dcb_rebuild()
585 err_cfg->etscfg.tcbwtable[0] = ICE_TC_MAX_BW; in ice_dcb_rebuild()
586 err_cfg->etscfg.tsatable[0] = ICE_IEEE_TSA_ETS; in ice_dcb_rebuild()
587 memcpy(&err_cfg->etsrec, &err_cfg->etscfg, sizeof(err_cfg->etsrec)); in ice_dcb_rebuild()
594 ice_pf_dcb_cfg(pf, err_cfg, false); in ice_dcb_rebuild()
595 kfree(err_cfg); in ice_dcb_rebuild()
/linux-6.6.21/drivers/net/wireless/marvell/libertas/
Dmain.c918 goto err_cfg; in lbs_add_card()
981 err_cfg: in lbs_add_card()
/linux-6.6.21/drivers/media/dvb-frontends/
Ddrxk_hard.c1068 u16 err_cfg = 0; in mpegts_configure_pins() local
1137 err_cfg = sio_pdr_mdx_cfg; in mpegts_configure_pins()
1139 status = write16(state, SIO_PDR_MERR_CFG__A, err_cfg); in mpegts_configure_pins()
1142 status = write16(state, SIO_PDR_MVAL_CFG__A, err_cfg); in mpegts_configure_pins()