Lines Matching refs:dcmd
784 struct glink_defer_cmd *dcmd; in qcom_glink_rx_defer() local
793 dcmd = kzalloc(struct_size(dcmd, data, extra), GFP_ATOMIC); in qcom_glink_rx_defer()
794 if (!dcmd) in qcom_glink_rx_defer()
797 INIT_LIST_HEAD(&dcmd->node); in qcom_glink_rx_defer()
799 qcom_glink_rx_peak(glink, &dcmd->msg, 0, sizeof(dcmd->msg) + extra); in qcom_glink_rx_defer()
802 list_add_tail(&dcmd->node, &glink->rx_queue); in qcom_glink_rx_defer()
806 qcom_glink_rx_advance(glink, sizeof(dcmd->msg) + extra); in qcom_glink_rx_defer()
1602 struct glink_defer_cmd *dcmd; in qcom_glink_work() local
1615 dcmd = list_first_entry(&glink->rx_queue, in qcom_glink_work()
1617 list_del(&dcmd->node); in qcom_glink_work()
1620 msg = &dcmd->msg; in qcom_glink_work()
1649 kfree(dcmd); in qcom_glink_work()
1655 struct glink_defer_cmd *dcmd; in qcom_glink_cancel_rx_work() local
1661 list_for_each_entry_safe(dcmd, tmp, &glink->rx_queue, node) in qcom_glink_cancel_rx_work()
1662 kfree(dcmd); in qcom_glink_cancel_rx_work()