Lines Matching refs:pwrite
566 struct rio_pwrite *pwrite = kzalloc(sizeof(*pwrite), GFP_KERNEL); in rio_add_mport_pw_handler() local
568 if (!pwrite) in rio_add_mport_pw_handler()
571 pwrite->pwcback = pwcback; in rio_add_mport_pw_handler()
572 pwrite->context = context; in rio_add_mport_pw_handler()
574 list_add_tail(&pwrite->node, &mport->pwrites); in rio_add_mport_pw_handler()
594 struct rio_pwrite *pwrite; in rio_del_mport_pw_handler() local
597 list_for_each_entry(pwrite, &mport->pwrites, node) { in rio_del_mport_pw_handler()
598 if (pwrite->pwcback == pwcback && pwrite->context == context) { in rio_del_mport_pw_handler()
599 list_del(&pwrite->node); in rio_del_mport_pw_handler()
600 kfree(pwrite); in rio_del_mport_pw_handler()
1175 struct rio_pwrite *pwrite; in rio_inb_pwrite_handler() local
1211 list_for_each_entry(pwrite, &mport->pwrites, node) in rio_inb_pwrite_handler()
1212 pwrite->pwcback(mport, pwrite->context, pw_msg, 0); in rio_inb_pwrite_handler()