Home
last modified time | relevance | path

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

/linux/drivers/net/ethernet/freescale/dpaa2/
H A 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()
H A Ddpaa2-eth.c4368 struct dpni_error_cfg err_cfg; in dpaa2_eth_bind_dpni() local
4397 err_cfg.errors = DPAA2_FAS_RX_ERR_MASK; in dpaa2_eth_bind_dpni()
4398 err_cfg.set_frame_annotation = 1; in dpaa2_eth_bind_dpni()
4399 err_cfg.error_action = DPNI_ERROR_ACTION_DISCARD; in dpaa2_eth_bind_dpni()
4401 &err_cfg); in dpaa2_eth_bind_dpni()
/linux/drivers/net/ethernet/intel/ice/
H A 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/drivers/regulator/
H A Dbd96801-regulator.c188 int err_cfg; member
196 .err_cfg = -1, \
758 if (!iinfo->err_cfg && !iinfo->wrn_cfg) in bd96801_rdev_intb_irqs()
764 if (iinfo->err_cfg) in bd96801_rdev_intb_irqs()
/linux/drivers/net/wireless/marvell/libertas/
H A Dmain.c918 goto err_cfg; in lbs_add_card()
981 err_cfg: in lbs_add_card()
/linux/drivers/media/dvb-frontends/
H A 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()