Lines Matching refs:dcmd
786 struct glink_defer_cmd *dcmd; in qcom_glink_rx_defer() local
795 dcmd = kzalloc(sizeof(*dcmd) + extra, GFP_ATOMIC); in qcom_glink_rx_defer()
796 if (!dcmd) in qcom_glink_rx_defer()
799 INIT_LIST_HEAD(&dcmd->node); in qcom_glink_rx_defer()
801 qcom_glink_rx_peak(glink, &dcmd->msg, 0, sizeof(dcmd->msg) + extra); in qcom_glink_rx_defer()
804 list_add_tail(&dcmd->node, &glink->rx_queue); in qcom_glink_rx_defer()
808 qcom_glink_rx_advance(glink, sizeof(dcmd->msg) + extra); in qcom_glink_rx_defer()
1604 struct glink_defer_cmd *dcmd; in qcom_glink_work() local
1617 dcmd = list_first_entry(&glink->rx_queue, in qcom_glink_work()
1619 list_del(&dcmd->node); in qcom_glink_work()
1622 msg = &dcmd->msg; in qcom_glink_work()
1651 kfree(dcmd); in qcom_glink_work()
1657 struct glink_defer_cmd *dcmd; in qcom_glink_cancel_rx_work() local
1663 list_for_each_entry_safe(dcmd, tmp, &glink->rx_queue, node) in qcom_glink_cancel_rx_work()
1664 kfree(dcmd); in qcom_glink_cancel_rx_work()