Lines Matching refs:pw
1448 struct pm8001_work *pw = container_of(work, struct pm8001_work, work); in pm8001_work_fn() local
1458 if (pw->handler != IO_FATAL_ERROR) { in pm8001_work_fn()
1459 pm8001_dev = pw->data; /* Most stash device structure */ in pm8001_work_fn()
1461 || ((pw->handler != IO_XFER_ERROR_BREAK) in pm8001_work_fn()
1463 kfree(pw); in pm8001_work_fn()
1468 switch (pw->handler) { in pm8001_work_fn()
1473 struct pm8001_hba_info *pm8001_ha = pw->pm8001_ha; in pm8001_work_fn()
1514 t, pw->handler, ts->resp, ts->stat); in pm8001_work_fn()
1529 struct pm8001_hba_info *pm8001_ha = pw->pm8001_ha; in pm8001_work_fn()
1628 struct pm8001_hba_info *pm8001_ha = pw->pm8001_ha; in pm8001_work_fn()
1680 kfree(pw); in pm8001_work_fn()
1686 struct pm8001_work *pw; in pm8001_handle_event() local
1689 pw = kmalloc(sizeof(struct pm8001_work), GFP_ATOMIC); in pm8001_handle_event()
1690 if (pw) { in pm8001_handle_event()
1691 pw->pm8001_ha = pm8001_ha; in pm8001_handle_event()
1692 pw->data = data; in pm8001_handle_event()
1693 pw->handler = handler; in pm8001_handle_event()
1694 INIT_WORK(&pw->work, pm8001_work_fn); in pm8001_handle_event()
1695 queue_work(pm8001_wq, &pw->work); in pm8001_handle_event()