Lines Matching refs:workqueue
199 if (ztv->workqueue && (zrread(ZORAN_VDC) & ZORAN_VDC_VIDEN)) in reap_states()
207 …k(CARD_DEBUG "completed %s at %p\n",CARD,ztv->workqueue->kindof==FBUFFER_GRAB?"grab":"read",ztv->w… in reap_states()
210 ztv->workqueue->status = FBUFFER_DONE; in reap_states()
211 ztv->workqueue->fieldnr = ztv->fieldnr; in reap_states()
215 switch (ztv->workqueue->kindof) { in reap_states()
223 printk(CARD_INFO "somebody killed the workqueue (kindof=%d)!\n",CARD,ztv->workqueue->kindof); in reap_states()
228 newitem = ztv->workqueue->next; in reap_states()
229 ztv->workqueue->next = 0; /* mark completed */ in reap_states()
230 ztv->workqueue = newitem; in reap_states()
238 if (ztv->workqueue) in reap_states()
243 …tk(CARD_DEBUG "starting %s at %p\n",CARD,ztv->workqueue->kindof==FBUFFER_GRAB?"grab":"read",ztv->w… in reap_states()
247 zoran_set_geo(ztv,ztv->workqueue); in reap_states()
250 switch (ztv->workqueue->kindof) { in reap_states()
261 printk(CARD_INFO "what is this doing on the queue? (kindof=%d)\n",CARD,ztv->workqueue->kindof); in reap_states()
263 newitem = ztv->workqueue->next; in reap_states()
264 ztv->workqueue->next = 0; in reap_states()
265 ztv->workqueue = newitem; in reap_states()
313 lastitem = ztv->workqueue; in reap_states()
322 ztv->workqueue = item; in reap_states()
328 if (ztv->workqueue) in reap_states()
895 struct vidinfo* oldframe = ztv->workqueue; in zoran_read()
896 if (!oldframe) ztv->workqueue = unused; in zoran_read()
1388 struct vidinfo* oldframe = ztv->workqueue; in zoran_ioctl()
1389 if (!oldframe) ztv->workqueue = frame; in zoran_ioctl()
1643 struct vidinfo* oldframe = ztv->workqueue; in vbi_read()
1644 if (!oldframe) ztv->workqueue = unused; in vbi_read()
1969 ztv->workqueue = 0; in init_zoran()