Searched refs:cp_inst (Results 1 – 1 of 1) sorted by relevance
59 struct coproc_instance *cp_inst; in coproc_open() local61 cp_inst = kzalloc(sizeof(*cp_inst), GFP_KERNEL); in coproc_open()62 if (!cp_inst) in coproc_open()65 cp_inst->coproc = container_of(inode->i_cdev, struct coproc_dev, in coproc_open()67 fp->private_data = cp_inst; in coproc_open()77 struct coproc_instance *cp_inst; in coproc_ioc_tx_win_open() local81 cp_inst = fp->private_data; in coproc_ioc_tx_win_open()86 if (cp_inst->txwin) in coproc_ioc_tx_win_open()102 vas_init_tx_win_attr(&txattr, cp_inst->coproc->cop_type); in coproc_ioc_tx_win_open()113 txwin = vas_tx_win_open(vasid, cp_inst->coproc->cop_type, &txattr); in coproc_ioc_tx_win_open()[all …]