Lines Matching defs:mrq
240 unsigned int mrq, unsigned long flags,
243 tegra_bpmp_mb_write_field(&channel->ob, code, mrq);
253 tegra_bpmp_write_threaded(struct tegra_bpmp *bpmp, unsigned int mrq,
284 err = __tegra_bpmp_channel_write(channel, mrq, MSG_ACK | MSG_RING,
304 unsigned int mrq, unsigned long flags,
313 return __tegra_bpmp_channel_write(channel, mrq, flags, data, size);
342 err = tegra_bpmp_channel_write(channel, msg->mrq, MSG_ACK,
385 channel = tegra_bpmp_write_threaded(bpmp, msg->mrq, msg->tx.data,
406 unsigned int mrq)
411 if (entry->mrq == mrq)
455 unsigned int mrq,
463 entry = tegra_bpmp_find_mrq(bpmp, mrq);
470 entry->handler(mrq, channel, entry->data);
475 int tegra_bpmp_request_mrq(struct tegra_bpmp *bpmp, unsigned int mrq,
490 entry->mrq = mrq;
501 void tegra_bpmp_free_mrq(struct tegra_bpmp *bpmp, unsigned int mrq, void *data)
508 entry = tegra_bpmp_find_mrq(bpmp, mrq);
520 bool tegra_bpmp_mrq_is_supported(struct tegra_bpmp *bpmp, unsigned int mrq)
522 struct mrq_query_abi_request req = { .mrq = mrq };
525 .mrq = MRQ_QUERY_ABI,
545 static void tegra_bpmp_mrq_handle_ping(unsigned int mrq,
575 msg.mrq = MRQ_PING;
619 msg.mrq = MRQ_QUERY_TAG;
641 .mrq = MRQ_QUERY_FW_TAG,
687 unsigned int mrq = tegra_bpmp_mb_read_field(&channel->ib, code);
689 tegra_bpmp_handle_mrq(bpmp, mrq, channel);