Lines Matching refs:p_dcbx_info

339 	flags = p_hwfn->p_dcbx_info->operational.flags;
342 p_app = &p_hwfn->p_dcbx_info->operational.features.app;
345 p_ets = &p_hwfn->p_dcbx_info->operational.features.ets;
364 memcpy(&p_hwfn->p_dcbx_info->results, &data,
609 p_feat = &p_hwfn->p_dcbx_info->local_admin.features;
621 p_feat = &p_hwfn->p_dcbx_info->remote.features;
639 flags = p_hwfn->p_dcbx_info->operational.flags;
654 p_feat = &p_hwfn->p_dcbx_info->operational.features;
655 p_results = &p_hwfn->p_dcbx_info->results;
690 p_local = &p_hwfn->p_dcbx_info->lldp_local[LLDP_NEAREST_BRIDGE];
704 p_remote = &p_hwfn->p_dcbx_info->lldp_remote[LLDP_NEAREST_BRIDGE];
748 data.lldp_local = p_hwfn->p_dcbx_info->lldp_local;
766 data.lldp_remote = p_hwfn->p_dcbx_info->lldp_remote;
784 data.mib = &p_hwfn->p_dcbx_info->operational;
801 data.mib = &p_hwfn->p_dcbx_info->remote;
816 data.local_admin = &p_hwfn->p_dcbx_info->local_admin;
857 op->dcbx_aen(cookie, &hwfn->p_dcbx_info->get, mib_type);
894 qed_dcbx_get_params(p_hwfn, &p_hwfn->p_dcbx_info->get, type);
903 p_data = &p_hwfn->p_dcbx_info->results;
918 p_hwfn->p_dcbx_info = kzalloc(sizeof(*p_hwfn->p_dcbx_info), GFP_KERNEL);
919 if (!p_hwfn->p_dcbx_info)
927 kfree(p_hwfn->p_dcbx_info);
928 p_hwfn->p_dcbx_info = NULL;
976 struct qed_dcbx_get *dcbx_info = &p_hwfn->p_dcbx_info->get;
1175 &p_hwfn->p_dcbx_info->operational.features,
1210 memcpy(&p_hwfn->p_dcbx_info->set, params,
1216 memset(&p_hwfn->p_dcbx_info->set, 0, sizeof(p_hwfn->p_dcbx_info->set));
1241 if (p_hwfn->p_dcbx_info->set.config.valid) {
1242 memcpy(params, &p_hwfn->p_dcbx_info->set,
1257 p_hwfn->p_dcbx_info->set.override_flags = 0;
1258 p_hwfn->p_dcbx_info->set.ver_num = DCBX_CONFIG_VERSION_DISABLED;
1260 p_hwfn->p_dcbx_info->set.ver_num |= DCBX_CONFIG_VERSION_CEE;
1262 p_hwfn->p_dcbx_info->set.ver_num |= DCBX_CONFIG_VERSION_IEEE;
1264 p_hwfn->p_dcbx_info->set.ver_num |= DCBX_CONFIG_VERSION_STATIC;
1266 p_hwfn->p_dcbx_info->set.enabled = dcbx_info->operational.enabled;
1268 sizeof(p_hwfn->p_dcbx_info->set.config.params));
1269 memcpy(&p_hwfn->p_dcbx_info->set.config.params,
1271 sizeof(p_hwfn->p_dcbx_info->set.config.params));
1272 p_hwfn->p_dcbx_info->set.config.valid = true;
1274 memcpy(params, &p_hwfn->p_dcbx_info->set, sizeof(struct qed_dcbx_set));