Home
last modified time | relevance | path

Searched refs:req1 (Results 1 – 8 of 8) sorted by relevance

/drivers/base/power/
Dqos-test.c12 struct freq_qos_request req1, req2; in freq_qos_test_min() local
16 memset(&req1, 0, sizeof(req1)); in freq_qos_test_min()
19 ret = freq_qos_add_request(&qos, &req1, FREQ_QOS_MIN, 1000); in freq_qos_test_min()
30 ret = freq_qos_remove_request(&req1); in freq_qos_test_min()
40 struct freq_qos_request req1, req2; in freq_qos_test_maxdef() local
44 memset(&req1, 0, sizeof(req1)); in freq_qos_test_maxdef()
49 ret = freq_qos_add_request(&qos, &req1, FREQ_QOS_MAX, in freq_qos_test_maxdef()
57 ret = freq_qos_update_request(&req1, 1000); in freq_qos_test_maxdef()
67 ret = freq_qos_remove_request(&req1); in freq_qos_test_maxdef()
/drivers/platform/chrome/
Dcros_ec.c97 struct ec_params_host_sleep_event_v1 req1; in cros_ec_sleep_event() member
105 buf.u.req1.sleep_event = sleep_event; in cros_ec_sleep_event()
106 buf.u.req1.suspend_params.sleep_timeout_ms = in cros_ec_sleep_event()
109 buf.msg.outsize = sizeof(buf.u.req1); in cros_ec_sleep_event()
/drivers/fpga/
Ddfl-afu-error.c167 u64 req0, req1; in first_malformed_req_show() local
173 req1 = readq(base + PORT_MALFORMED_REQ1); in first_malformed_req_show()
177 (unsigned long long)req1, (unsigned long long)req0); in first_malformed_req_show()
/drivers/virt/vboxguest/
Dvboxguest_core.c178 struct vmmdev_guest_info *req1 = NULL; in vbg_report_guest_info() local
182 req1 = vbg_req_alloc(sizeof(*req1), VMMDEVREQ_REPORT_GUEST_INFO, in vbg_report_guest_info()
186 if (!req1 || !req2) in vbg_report_guest_info()
189 req1->interface_version = VMMDEV_VERSION; in vbg_report_guest_info()
190 req1->os_type = VMMDEV_OSTYPE_LINUX26; in vbg_report_guest_info()
192 req1->os_type |= VMMDEV_OSTYPE_X64; in vbg_report_guest_info()
214 rc = vbg_req_perform(gdev, req1); in vbg_report_guest_info()
216 rc = vbg_req_perform(gdev, req1); in vbg_report_guest_info()
227 vbg_req_free(req1, sizeof(*req1)); in vbg_report_guest_info()
/drivers/net/ethernet/broadcom/
Dcnic.c1464 struct iscsi_kwqe_init1 *req1 = (struct iscsi_kwqe_init1 *) kwqe; in cnic_bnx2x_iscsi_init1() local
1468 cp->num_iscsi_tasks = req1->num_tasks_per_conn; in cnic_bnx2x_iscsi_init1()
1469 cp->num_ccells = req1->num_ccells_per_conn; in cnic_bnx2x_iscsi_init1()
1477 cp->num_cqs = req1->num_cqs; in cnic_bnx2x_iscsi_init1()
1484 req1->rq_num_wqes); in cnic_bnx2x_iscsi_init1()
1491 req1->num_tasks_per_conn); in cnic_bnx2x_iscsi_init1()
1496 req1->rq_buffer_size); in cnic_bnx2x_iscsi_init1()
1503 req1->num_tasks_per_conn); in cnic_bnx2x_iscsi_init1()
1505 req1->rq_num_wqes); in cnic_bnx2x_iscsi_init1()
1507 req1->cq_num_wqes); in cnic_bnx2x_iscsi_init1()
[all …]
/drivers/net/ethernet/hisilicon/hns3/hns3pf/
Dhclge_debugfs.c1013 struct hclge_fd_tcam_config_1_cmd *req1; in hclge_dbg_fd_tcam_read() local
1026 req1 = (struct hclge_fd_tcam_config_1_cmd *)desc[0].data; in hclge_dbg_fd_tcam_read()
1030 req1->stage = stage; in hclge_dbg_fd_tcam_read()
1031 req1->xy_sel = sel_x ? 1 : 0; in hclge_dbg_fd_tcam_read()
1032 req1->index = cpu_to_le32(loc); in hclge_dbg_fd_tcam_read()
1042 req = (u32 *)req1->tcam_data; in hclge_dbg_fd_tcam_read()
Dhclge_main.c5041 struct hclge_fd_tcam_config_1_cmd *req1; in hclge_fd_tcam_config() local
5053 req1 = (struct hclge_fd_tcam_config_1_cmd *)desc[0].data; in hclge_fd_tcam_config()
5057 req1->stage = stage; in hclge_fd_tcam_config()
5058 req1->xy_sel = sel_x ? 1 : 0; in hclge_fd_tcam_config()
5059 hnae3_set_bit(req1->port_info, HCLGE_FD_EPORT_SW_EN_B, 0); in hclge_fd_tcam_config()
5060 req1->index = cpu_to_le32(loc); in hclge_fd_tcam_config()
5061 req1->entry_vld = sel_x ? is_add : 0; in hclge_fd_tcam_config()
5064 memcpy(req1->tcam_data, &key[0], sizeof(req1->tcam_data)); in hclge_fd_tcam_config()
5065 memcpy(req2->tcam_data, &key[sizeof(req1->tcam_data)], in hclge_fd_tcam_config()
5067 memcpy(req3->tcam_data, &key[sizeof(req1->tcam_data) + in hclge_fd_tcam_config()
[all …]
/drivers/dma/
Dbcm-sba-raid.c327 struct sba_request *req, *req1; in sba_cleanup_nonpending_requests() local
332 list_for_each_entry_safe(req, req1, &sba->reqs_alloc_list, node) in sba_cleanup_nonpending_requests()
336 list_for_each_entry_safe(req, req1, &sba->reqs_active_list, node) in sba_cleanup_nonpending_requests()
350 struct sba_request *req, *req1; in sba_cleanup_pending_requests() local
355 list_for_each_entry_safe(req, req1, &sba->reqs_pending_list, node) in sba_cleanup_pending_requests()