Home
last modified time | relevance | path

Searched refs:this_lp (Results 1 – 1 of 1) sorted by relevance

/linux-4.19.296/drivers/char/
Dlp.c166 static void lp_claim_parport_or_block(struct lp_struct *this_lp) in lp_claim_parport_or_block() argument
168 if (!test_and_set_bit(LP_PARPORT_CLAIMED, &this_lp->bits)) { in lp_claim_parport_or_block()
169 parport_claim_or_block (this_lp->dev); in lp_claim_parport_or_block()
174 static void lp_release_parport(struct lp_struct *this_lp) in lp_release_parport() argument
176 if (test_and_clear_bit(LP_PARPORT_CLAIMED, &this_lp->bits)) { in lp_release_parport()
177 parport_release (this_lp->dev); in lp_release_parport()
185 struct lp_struct *this_lp = (struct lp_struct *)handle; in lp_preempt() local
186 set_bit(LP_PREEMPT_REQUEST, &this_lp->bits); in lp_preempt()