Searched refs:hpd_rx_offload_wq (Results 1 – 2 of 2) sorted by relevance
556 struct hpd_rx_irq_offload_work_queue *hpd_rx_offload_wq; member
1532 struct hpd_rx_irq_offload_work_queue *hpd_rx_offload_wq = NULL; in hpd_rx_irq_create_workqueue() local1534 hpd_rx_offload_wq = kcalloc(max_caps, sizeof(*hpd_rx_offload_wq), GFP_KERNEL); in hpd_rx_irq_create_workqueue()1536 if (!hpd_rx_offload_wq) in hpd_rx_irq_create_workqueue()1541 hpd_rx_offload_wq[i].wq = in hpd_rx_irq_create_workqueue()1544 if (hpd_rx_offload_wq[i].wq == NULL) { in hpd_rx_irq_create_workqueue()1549 spin_lock_init(&hpd_rx_offload_wq[i].offload_lock); in hpd_rx_irq_create_workqueue()1552 return hpd_rx_offload_wq; in hpd_rx_irq_create_workqueue()1556 if (hpd_rx_offload_wq[i].wq) in hpd_rx_irq_create_workqueue()1557 destroy_workqueue(hpd_rx_offload_wq[i].wq); in hpd_rx_irq_create_workqueue()1559 kfree(hpd_rx_offload_wq); in hpd_rx_irq_create_workqueue()[all …]