| /OK3568_Linux_fs/kernel/drivers/net/ethernet/intel/ice/ |
| H A D | ice_dcb_nl.c | 65 struct ice_dcbx_cfg *new_cfg; in ice_dcbnl_setets() local 73 new_cfg = &pf->hw.port_info->qos_cfg.desired_dcbx_cfg; in ice_dcbnl_setets() 77 new_cfg->etscfg.willing = ets->willing; in ice_dcbnl_setets() 78 new_cfg->etscfg.cbs = ets->cbs; in ice_dcbnl_setets() 80 new_cfg->etscfg.tcbwtable[i] = ets->tc_tx_bw[i]; in ice_dcbnl_setets() 82 new_cfg->etscfg.tsatable[i] = ets->tc_tsa[i]; in ice_dcbnl_setets() 83 new_cfg->etscfg.prio_table[i] = ets->prio_tc[i]; in ice_dcbnl_setets() 86 new_cfg->etsrec.tcbwtable[i] = ets->tc_reco_bw[i]; in ice_dcbnl_setets() 88 new_cfg->etsrec.tsatable[i] = ets->tc_reco_tsa[i]; in ice_dcbnl_setets() 89 new_cfg->etsrec.prio_table[i] = ets->reco_prio_tc[i]; in ice_dcbnl_setets() [all …]
|
| H A D | ice_dcb_lib.c | 272 int ice_pf_dcb_cfg(struct ice_pf *pf, struct ice_dcbx_cfg *new_cfg, bool locked) in ice_pf_dcb_cfg() argument 287 if (ice_dcb_get_num_tc(new_cfg) > 1) { in ice_pf_dcb_cfg() 295 if (!memcmp(new_cfg, curr_cfg, sizeof(*new_cfg))) { in ice_pf_dcb_cfg() 300 if (ice_dcb_bwchk(pf, new_cfg)) in ice_pf_dcb_cfg() 323 memcpy(curr_cfg, new_cfg, sizeof(*curr_cfg)); in ice_pf_dcb_cfg() 325 memcpy(&new_cfg->etsrec, &curr_cfg->etscfg, sizeof(curr_cfg->etsrec)); in ice_pf_dcb_cfg() 387 struct ice_dcbx_cfg *new_cfg) in ice_dcb_need_recfg() argument 393 if (memcmp(&new_cfg->etscfg, &old_cfg->etscfg, in ice_dcb_need_recfg() 394 sizeof(new_cfg->etscfg))) { in ice_dcb_need_recfg() 396 if (memcmp(&new_cfg->etscfg.prio_table, in ice_dcb_need_recfg() [all …]
|
| H A D | ice_dcb_nl.h | 12 struct ice_dcbx_cfg *new_cfg); 16 #define ice_dcbnl_flush_apps(pf, old_cfg, new_cfg) do {} while (0) argument
|
| H A D | ice_dcb_lib.h | 24 ice_pf_dcb_cfg(struct ice_pf *pf, struct ice_dcbx_cfg *new_cfg, bool locked); 91 struct ice_dcbx_cfg __always_unused *new_cfg, in ice_pf_dcb_cfg() argument
|
| /OK3568_Linux_fs/kernel/drivers/net/ethernet/intel/i40e/ |
| H A D | i40e_dcb_nl.c | 261 struct i40e_dcbx_config *new_cfg) in i40e_dcbnl_flush_apps() argument 273 if (!i40e_dcbnl_find_app(new_cfg, &app)) in i40e_dcbnl_flush_apps()
|
| H A D | i40e.h | 1145 struct i40e_dcbx_config *new_cfg); 1150 struct i40e_dcbx_config *new_cfg);
|
| H A D | i40e_main.c | 8801 struct i40e_dcbx_config *new_cfg) in i40e_dcb_need_reconfig() argument 8806 if (memcmp(&new_cfg->etscfg, in i40e_dcb_need_reconfig() 8808 sizeof(new_cfg->etscfg))) { in i40e_dcb_need_reconfig() 8810 if (memcmp(&new_cfg->etscfg.prioritytable, in i40e_dcb_need_reconfig() 8812 sizeof(new_cfg->etscfg.prioritytable))) { in i40e_dcb_need_reconfig() 8817 if (memcmp(&new_cfg->etscfg.tcbwtable, in i40e_dcb_need_reconfig() 8819 sizeof(new_cfg->etscfg.tcbwtable))) in i40e_dcb_need_reconfig() 8822 if (memcmp(&new_cfg->etscfg.tsatable, in i40e_dcb_need_reconfig() 8824 sizeof(new_cfg->etscfg.tsatable))) in i40e_dcb_need_reconfig() 8829 if (memcmp(&new_cfg->pfc, in i40e_dcb_need_reconfig() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/gpu/drm/bridge/ |
| H A D | nwl-dsi.c | 851 union phy_configure_opts new_cfg; in nwl_dsi_bridge_mode_set() local 855 ret = nwl_dsi_get_dphy_params(dsi, adjusted_mode, &new_cfg); in nwl_dsi_bridge_mode_set() 863 if (new_cfg.mipi_dphy.hs_clk_rate == dsi->phy_cfg.mipi_dphy.hs_clk_rate) in nwl_dsi_bridge_mode_set() 869 memcpy(&dsi->phy_cfg, &new_cfg, sizeof(new_cfg)); in nwl_dsi_bridge_mode_set()
|
| /OK3568_Linux_fs/kernel/drivers/net/ethernet/natsemi/ |
| H A D | ns83820.c | 602 u32 cfg, new_cfg; in phy_intr() local 653 new_cfg = dev->CFG_cache & ~(CFG_SB | CFG_MODE_1000 | CFG_SPDSTS); in phy_intr() 656 new_cfg |= CFG_MODE_1000; in phy_intr() 658 new_cfg &= ~CFG_MODE_1000; in phy_intr() 664 new_cfg |= CFG_SB; in phy_intr() 679 ((new_cfg ^ dev->CFG_cache) != 0)) { in phy_intr() 680 writel(new_cfg, dev->base + CFG); in phy_intr() 681 dev->CFG_cache = new_cfg; in phy_intr()
|
| /OK3568_Linux_fs/external/camera_engine_rkaiq/rkaiq/hwi/isp20/ |
| H A D | CamHwIsp20.cpp | 2458 rk_aiq_lens_vcmcfg old_cfg, new_cfg; in setLensVcmCfg() local 2473 new_cfg = old_cfg; in setLensVcmCfg() 2475 new_cfg.start_ma = vcmcfg->start_current; in setLensVcmCfg() 2478 new_cfg.rated_ma = vcmcfg->rated_current; in setLensVcmCfg() 2481 new_cfg.step_mode = vcmcfg->step_mode; in setLensVcmCfg() 2486 new_cfg.start_ma = mod_info.af.af_otp[0].vcm_start; in setLensVcmCfg() 2487 new_cfg.rated_ma = mod_info.af.af_otp[0].vcm_end; in setLensVcmCfg() 2490 int range = new_cfg.rated_ma - new_cfg.start_ma; in setLensVcmCfg() 2491 int start_ma = new_cfg.start_ma; in setLensVcmCfg() 2492 int rated_ma = new_cfg.rated_ma; in setLensVcmCfg() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/net/ethernet/broadcom/bnxt/ |
| H A D | bnxt_ethtool.c | 1956 u32 new_cfg, fec = fecparam->fec; in bnxt_set_fecparam() local 1966 new_cfg = PORT_PHY_CFG_REQ_FLAGS_FEC_AUTONEG_DISABLE | in bnxt_set_fecparam() 1979 new_cfg = PORT_PHY_CFG_REQ_FLAGS_FEC_AUTONEG_ENABLE; in bnxt_set_fecparam() 1981 new_cfg = bnxt_ethtool_forced_fec_to_fw(link_info, fec); in bnxt_set_fecparam() 1986 req.flags = cpu_to_le32(new_cfg | PORT_PHY_CFG_REQ_FLAGS_RESET_PHY); in bnxt_set_fecparam()
|