Lines Matching refs:lp
304 struct sym_lcb *lp; in sym_queue_command() local
316 lp = sym_lp(tp, sdev->lun); in sym_queue_command()
317 order = (lp && lp->s.reqtags) ? M_SIMPLE_TAG : 0; in sym_queue_command()
717 struct sym_lcb *lp = sym_lp(tp, lun); in sym_tune_dev_queuing() local
720 if (!lp) in sym_tune_dev_queuing()
723 oldtags = lp->s.reqtags; in sym_tune_dev_queuing()
725 if (reqtags > lp->s.scdev_depth) in sym_tune_dev_queuing()
726 reqtags = lp->s.scdev_depth; in sym_tune_dev_queuing()
728 lp->s.reqtags = reqtags; in sym_tune_dev_queuing()
733 lp->s.reqtags ? "enabled" : "disabled", reqtags); in sym_tune_dev_queuing()
741 struct sym_lcb *lp; in sym53c8xx_slave_alloc() local
776 lp = sym_alloc_lcb(np, sdev->id, sdev->lun); in sym53c8xx_slave_alloc()
777 if (!lp) { in sym53c8xx_slave_alloc()
801 struct sym_lcb *lp = sym_lp(tp, sdev->lun); in sym53c8xx_slave_configure() local
807 lp->curr_flags = lp->user_flags; in sym53c8xx_slave_configure()
824 lp->s.scdev_depth = depth_to_use; in sym53c8xx_slave_configure()
837 struct sym_lcb *lp = sym_lp(tp, sdev->lun); in sym53c8xx_slave_destroy() local
841 if (!lp) in sym53c8xx_slave_destroy()
846 if (lp->busy_itlq || lp->busy_itl) { in sym53c8xx_slave_destroy()
976 struct sym_lcb *lp = sym_lp(tp, l); in sym_exec_user_command() local
977 if (lp) lp->to_clear = 1; in sym_exec_user_command()