Home
last modified time | relevance | path

Searched refs:cc_param (Results 1 – 4 of 4) sorted by relevance

/linux-6.12.1/drivers/extcon/
Dextcon-rtk-type-c.c29 struct cc_param { struct
48 struct cc_param cc1_param; argument
49 struct cc_param cc2_param;
729 struct cc_param *cc_param; in type_c_parameter_show() local
756 cc_param = &type_c_cfg->cc1_param; in type_c_parameter_show()
758 seq_printf(s, " rp_4p7k_code 0x%x\n", cc_param->rp_4p7k_code); in type_c_parameter_show()
759 seq_printf(s, " rp_36k_code 0x%x\n", cc_param->rp_36k_code); in type_c_parameter_show()
760 seq_printf(s, " rp_12k_code 0x%x\n", cc_param->rp_12k_code); in type_c_parameter_show()
761 seq_printf(s, " rd_code 0x%x\n", cc_param->rd_code); in type_c_parameter_show()
762 seq_printf(s, " vref_2p6v 0x%x\n", cc_param->vref_2p6v); in type_c_parameter_show()
[all …]
/linux-6.12.1/drivers/infiniband/hw/bnxt_re/
Dqplib_sp.c925 struct bnxt_qplib_cc_param *cc_param) in bnxt_qplib_modify_cc() argument
941 req->modify_mask = cpu_to_le32(cc_param->mask); in bnxt_qplib_modify_cc()
942 req->enable_cc = cc_param->enable; in bnxt_qplib_modify_cc()
943 req->g = cc_param->g; in bnxt_qplib_modify_cc()
944 req->num_phases_per_state = cc_param->nph_per_state; in bnxt_qplib_modify_cc()
945 req->time_per_phase = cc_param->time_pph; in bnxt_qplib_modify_cc()
946 req->pkts_per_phase = cc_param->pkts_pph; in bnxt_qplib_modify_cc()
947 req->init_cr = cpu_to_le16(cc_param->init_cr); in bnxt_qplib_modify_cc()
948 req->init_tr = cpu_to_le16(cc_param->init_tr); in bnxt_qplib_modify_cc()
949 req->tos_dscp_tos_ecn = (cc_param->tos_dscp << CMDQ_MODIFY_ROCE_CC_TOS_DSCP_SFT) | in bnxt_qplib_modify_cc()
[all …]
Dqplib_sp.h355 struct bnxt_qplib_cc_param *cc_param);
Dmain.c1887 struct bnxt_qplib_cc_param cc_param = {}; in bnxt_re_setup_cc() local
1898 cc_param.enable = 1; in bnxt_re_setup_cc()
1899 cc_param.cc_mode = CMDQ_MODIFY_ROCE_CC_CC_MODE_PROBABILISTIC_CC_MODE; in bnxt_re_setup_cc()
1902 cc_param.mask = (CMDQ_MODIFY_ROCE_CC_MODIFY_MASK_CC_MODE | in bnxt_re_setup_cc()
1906 if (bnxt_qplib_modify_cc(&rdev->qplib_res, &cc_param)) in bnxt_re_setup_cc()