Home
last modified time | relevance | path

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

/drivers/base/power/
Dqos-test.c12 struct freq_qos_request req1, req2; in freq_qos_test_min() local
17 memset(&req2, 0, sizeof(req2)); in freq_qos_test_min()
21 ret = freq_qos_add_request(&qos, &req2, FREQ_QOS_MIN, 2000); in freq_qos_test_min()
26 ret = freq_qos_remove_request(&req2); in freq_qos_test_min()
40 struct freq_qos_request req1, req2; in freq_qos_test_maxdef() local
45 memset(&req2, 0, sizeof(req2)); in freq_qos_test_maxdef()
52 ret = freq_qos_add_request(&qos, &req2, FREQ_QOS_MAX, in freq_qos_test_maxdef()
62 ret = freq_qos_update_request(&req2, 2000); in freq_qos_test_maxdef()
/drivers/virt/vboxguest/
Dvboxguest_core.c179 struct vmmdev_guest_info2 *req2 = NULL; in vbg_report_guest_info() local
184 req2 = vbg_req_alloc(sizeof(*req2), VMMDEVREQ_REPORT_GUEST_INFO2, in vbg_report_guest_info()
186 if (!req1 || !req2) in vbg_report_guest_info()
195 req2->additions_major = VBG_VERSION_MAJOR; in vbg_report_guest_info()
196 req2->additions_minor = VBG_VERSION_MINOR; in vbg_report_guest_info()
197 req2->additions_build = VBG_VERSION_BUILD; in vbg_report_guest_info()
198 req2->additions_revision = VBG_SVN_REV; in vbg_report_guest_info()
199 req2->additions_features = in vbg_report_guest_info()
201 strlcpy(req2->name, VBG_VERSION_STRING, in vbg_report_guest_info()
202 sizeof(req2->name)); in vbg_report_guest_info()
[all …]
/drivers/net/ethernet/broadcom/
Dcnic.c1548 struct iscsi_kwqe_init2 *req2 = (struct iscsi_kwqe_init2 *) kwqe; in cnic_bnx2x_iscsi_init2() local
1562 TSTORM_ISCSI_ERROR_BITMAP_OFFSET(pfid), req2->error_bit_map[0]); in cnic_bnx2x_iscsi_init2()
1565 req2->error_bit_map[1]); in cnic_bnx2x_iscsi_init2()
1568 USTORM_ISCSI_CQ_SQN_SIZE_OFFSET(pfid), req2->max_cq_sqn); in cnic_bnx2x_iscsi_init2()
1570 USTORM_ISCSI_ERROR_BITMAP_OFFSET(pfid), req2->error_bit_map[0]); in cnic_bnx2x_iscsi_init2()
1573 req2->error_bit_map[1]); in cnic_bnx2x_iscsi_init2()
1576 CSTORM_ISCSI_CQ_SQN_SIZE_OFFSET(pfid), req2->max_cq_sqn); in cnic_bnx2x_iscsi_init2()
1692 struct iscsi_kwqe_conn_offload2 *req2 = in cnic_setup_bnx2x_ctx() local
1705 if (!req2->num_additional_wqes) in cnic_setup_bnx2x_ctx()
1708 n_max = req2->num_additional_wqes + 2; in cnic_setup_bnx2x_ctx()
[all …]
/drivers/net/ethernet/hisilicon/hns3/hns3pf/
Dhclge_debugfs.c1014 struct hclge_fd_tcam_config_2_cmd *req2; in hclge_dbg_fd_tcam_read() local
1027 req2 = (struct hclge_fd_tcam_config_2_cmd *)desc[1].data; in hclge_dbg_fd_tcam_read()
1047 req = (u32 *)req2->tcam_data; in hclge_dbg_fd_tcam_read()
Dhclge_main.c5042 struct hclge_fd_tcam_config_2_cmd *req2; in hclge_fd_tcam_config() local
5054 req2 = (struct hclge_fd_tcam_config_2_cmd *)desc[1].data; in hclge_fd_tcam_config()
5065 memcpy(req2->tcam_data, &key[sizeof(req1->tcam_data)], in hclge_fd_tcam_config()
5066 sizeof(req2->tcam_data)); in hclge_fd_tcam_config()
5068 sizeof(req2->tcam_data)], sizeof(req3->tcam_data)); in hclge_fd_tcam_config()
/drivers/net/ethernet/broadcom/bnxt/
Dbnxt.c7960 struct hwrm_queue_pri2cos_qcfg_input req2 = {0}; in bnxt_hwrm_port_qstats_ext() local
8001 bnxt_hwrm_cmd_hdr_init(bp, &req2, HWRM_QUEUE_PRI2COS_QCFG, -1, -1); in bnxt_hwrm_port_qstats_ext()
8002 req2.flags = cpu_to_le32(QUEUE_PRI2COS_QCFG_REQ_FLAGS_IVLAN); in bnxt_hwrm_port_qstats_ext()
8004 rc = _hwrm_send_message(bp, &req2, sizeof(req2), HWRM_CMD_TIMEOUT); in bnxt_hwrm_port_qstats_ext()