Lines Matching refs:req
36 struct mrq_thermal_host_to_bpmp_request req;
41 memset(&req, 0, sizeof(req));
42 req.type = CMD_THERMAL_GET_TEMP;
43 req.get_temp.zone = zone->idx;
47 msg.tx.data = &req;
48 msg.tx.size = sizeof(req);
64 struct mrq_thermal_host_to_bpmp_request req;
67 memset(&req, 0, sizeof(req));
68 req.type = CMD_THERMAL_SET_TRIP;
69 req.set_trip.zone = zone->idx;
70 req.set_trip.enabled = true;
71 req.set_trip.low = low;
72 req.set_trip.high = high;
76 msg.tx.data = &req;
77 msg.tx.size = sizeof(req);
95 struct mrq_thermal_bpmp_to_host_request *req;
99 req = (struct mrq_thermal_bpmp_to_host_request *)ch->ib->data;
101 if (req->type != CMD_THERMAL_HOST_TRIP_REACHED) {
103 __func__, req->type);
109 if (tegra->zones[i]->idx != req->host_trip_reached.zone)
118 req->host_trip_reached.zone);
125 struct mrq_thermal_host_to_bpmp_request req;
130 memset(&req, 0, sizeof(req));
131 req.type = CMD_THERMAL_GET_NUM_ZONES;
135 msg.tx.data = &req;
136 msg.tx.size = sizeof(req);