Lines Matching refs:mwq
1879 struct mvs_wq *mwq = container_of(dw, struct mvs_wq, work_q); in mvs_work_queue() local
1880 struct mvs_info *mvi = mwq->mvi; in mvs_work_queue()
1882 u32 phy_no = (unsigned long) mwq->data; in mvs_work_queue()
1888 if (mwq->handler & PHY_PLUG_EVENT) { in mvs_work_queue()
1909 } else if (mwq->handler & EXP_BRCT_CHG) { in mvs_work_queue()
1915 list_del(&mwq->entry); in mvs_work_queue()
1917 kfree(mwq); in mvs_work_queue()
1922 struct mvs_wq *mwq; in mvs_handle_event() local
1925 mwq = kmalloc(sizeof(struct mvs_wq), GFP_ATOMIC); in mvs_handle_event()
1926 if (mwq) { in mvs_handle_event()
1927 mwq->mvi = mvi; in mvs_handle_event()
1928 mwq->data = data; in mvs_handle_event()
1929 mwq->handler = handler; in mvs_handle_event()
1930 MV_INIT_DELAYED_WORK(&mwq->work_q, mvs_work_queue, mwq); in mvs_handle_event()
1931 list_add_tail(&mwq->entry, &mvi->wq_list); in mvs_handle_event()
1932 schedule_delayed_work(&mwq->work_q, HZ * 2); in mvs_handle_event()