Lines Matching refs:desc

137 	const struct ti_msgmgr_desc *desc;  member
197 const struct ti_msgmgr_desc *desc) in ti_msgmgr_queue_rx_data() argument
210 message.len = desc->max_message_size; in ti_msgmgr_queue_rx_data()
228 num_words = (desc->max_message_size / sizeof(u32)); in ti_msgmgr_queue_rx_data()
248 const struct ti_msgmgr_desc *desc = inst->desc; in ti_msgmgr_queue_rx_poll_timeout() local
253 (msg_count & desc->status_cnt_mask), in ti_msgmgr_queue_rx_poll_timeout()
258 ti_msgmgr_queue_rx_data(chan, qinst, desc); in ti_msgmgr_queue_rx_poll_timeout()
278 const struct ti_msgmgr_desc *desc; in ti_msgmgr_queue_rx_interrupt() local
293 desc = inst->desc; in ti_msgmgr_queue_rx_interrupt()
294 if (ti_msgmgr_queue_is_error(desc, qinst)) { in ti_msgmgr_queue_rx_interrupt()
300 msg_count = ti_msgmgr_queue_get_num_messages(desc, qinst); in ti_msgmgr_queue_rx_interrupt()
307 ti_msgmgr_queue_rx_data(chan, qinst, desc); in ti_msgmgr_queue_rx_interrupt()
323 const struct ti_msgmgr_desc *desc = inst->desc; in ti_msgmgr_queue_peek_data() local
329 if (ti_msgmgr_queue_is_error(desc, qinst)) { in ti_msgmgr_queue_peek_data()
334 msg_count = ti_msgmgr_queue_get_num_messages(desc, qinst); in ti_msgmgr_queue_peek_data()
350 const struct ti_msgmgr_desc *desc = inst->desc; in ti_msgmgr_last_tx_done() local
356 if (ti_msgmgr_queue_is_error(desc, qinst)) { in ti_msgmgr_last_tx_done()
361 msg_count = ti_msgmgr_queue_get_num_messages(desc, qinst); in ti_msgmgr_last_tx_done()
363 if (desc->is_sproxy) { in ti_msgmgr_last_tx_done()
394 const struct ti_msgmgr_desc *desc; in ti_msgmgr_send_data() local
406 desc = inst->desc; in ti_msgmgr_send_data()
408 if (ti_msgmgr_queue_is_error(desc, qinst)) { in ti_msgmgr_send_data()
413 if (desc->max_message_size < message->len) { in ti_msgmgr_send_data()
415 qinst->name, message->len, desc->max_message_size); in ti_msgmgr_send_data()
514 const struct ti_msgmgr_desc *d = inst->desc; in ti_msgmgr_queue_startup()
586 d = inst->desc; in ti_msgmgr_of_xlate()
815 const struct ti_msgmgr_desc *desc; in ti_msgmgr_probe() local
836 desc = of_id->data; in ti_msgmgr_probe()
843 inst->desc = desc; in ti_msgmgr_probe()
846 devm_platform_ioremap_resource_byname(pdev, desc->data_region_name); in ti_msgmgr_probe()
851 devm_platform_ioremap_resource_byname(pdev, desc->status_region_name); in ti_msgmgr_probe()
855 if (desc->is_sproxy) { in ti_msgmgr_probe()
857 devm_platform_ioremap_resource_byname(pdev, desc->ctrl_region_name); in ti_msgmgr_probe()
865 queue_count = desc->num_valid_queues; in ti_msgmgr_probe()
866 if (!queue_count || queue_count > desc->queue_count) { in ti_msgmgr_probe()
868 queue_count, desc->queue_count); in ti_msgmgr_probe()
883 if (desc->is_sproxy) { in ti_msgmgr_probe()
891 desc, &sproxy_desc, qinst, in ti_msgmgr_probe()
898 for (i = 0, queue_desc = desc->valid_queues; in ti_msgmgr_probe()
901 desc, queue_desc, qinst, in ti_msgmgr_probe()
914 mbox->txdone_poll = desc->tx_polled; in ti_msgmgr_probe()
915 if (desc->tx_polled) in ti_msgmgr_probe()
916 mbox->txpoll_period = desc->tx_poll_timeout_ms; in ti_msgmgr_probe()