Lines Matching refs:mrq
241 unsigned int mrq, unsigned long flags, in __tegra_bpmp_channel_write() argument
244 channel->ob->code = mrq; in __tegra_bpmp_channel_write()
254 tegra_bpmp_write_threaded(struct tegra_bpmp *bpmp, unsigned int mrq, in tegra_bpmp_write_threaded() argument
285 err = __tegra_bpmp_channel_write(channel, mrq, MSG_ACK | MSG_RING, in tegra_bpmp_write_threaded()
305 unsigned int mrq, unsigned long flags, in tegra_bpmp_channel_write() argument
314 return __tegra_bpmp_channel_write(channel, mrq, flags, data, size); in tegra_bpmp_channel_write()
333 err = tegra_bpmp_channel_write(channel, msg->mrq, MSG_ACK, in tegra_bpmp_transfer_atomic()
368 channel = tegra_bpmp_write_threaded(bpmp, msg->mrq, msg->tx.data, in tegra_bpmp_transfer()
389 unsigned int mrq) in tegra_bpmp_find_mrq() argument
394 if (entry->mrq == mrq) in tegra_bpmp_find_mrq()
438 unsigned int mrq, in tegra_bpmp_handle_mrq() argument
446 entry = tegra_bpmp_find_mrq(bpmp, mrq); in tegra_bpmp_handle_mrq()
453 entry->handler(mrq, channel, entry->data); in tegra_bpmp_handle_mrq()
458 int tegra_bpmp_request_mrq(struct tegra_bpmp *bpmp, unsigned int mrq, in tegra_bpmp_request_mrq() argument
473 entry->mrq = mrq; in tegra_bpmp_request_mrq()
484 void tegra_bpmp_free_mrq(struct tegra_bpmp *bpmp, unsigned int mrq, void *data) in tegra_bpmp_free_mrq() argument
491 entry = tegra_bpmp_find_mrq(bpmp, mrq); in tegra_bpmp_free_mrq()
503 bool tegra_bpmp_mrq_is_supported(struct tegra_bpmp *bpmp, unsigned int mrq) in tegra_bpmp_mrq_is_supported() argument
505 struct mrq_query_abi_request req = { .mrq = cpu_to_le32(mrq) }; in tegra_bpmp_mrq_is_supported()
508 .mrq = MRQ_QUERY_ABI, in tegra_bpmp_mrq_is_supported()
528 static void tegra_bpmp_mrq_handle_ping(unsigned int mrq, in tegra_bpmp_mrq_handle_ping() argument
558 msg.mrq = MRQ_PING; in tegra_bpmp_ping()
602 msg.mrq = MRQ_QUERY_TAG; in tegra_bpmp_get_firmware_tag_old()
624 .mrq = MRQ_QUERY_FW_TAG, in tegra_bpmp_get_firmware_tag()