• Home
  • Raw
  • Download

Lines Matching refs:act

201 			if (curr->act.semaphore)  in hp_sdc_take()
202 up(curr->act.semaphore); in hp_sdc_take()
205 if (curr->act.irqhook) in hp_sdc_take()
206 curr->act.irqhook(irq, dev_id, status, data); in hp_sdc_take()
328 if (curr->act.semaphore) in hp_sdc_tasklet()
329 up(curr->act.semaphore); in hp_sdc_tasklet()
335 if (curr->act.irqhook) in hp_sdc_tasklet()
336 curr->act.irqhook(0, NULL, 0, 0); in hp_sdc_tasklet()
351 uint8_t act; in hp_sdc_put() local
424 act = curr->seq[idx]; in hp_sdc_put()
428 if (act & HP_SDC_ACT_DEALLOC) in hp_sdc_put()
438 while (act & HP_SDC_ACT_PRECMD) { in hp_sdc_put()
441 act &= ~HP_SDC_ACT_PRECMD; in hp_sdc_put()
447 if ((act & HP_SDC_ACT_DURING) == HP_SDC_ACT_PRECMD) in hp_sdc_put()
450 if (act & HP_SDC_ACT_DATAOUT) in hp_sdc_put()
454 if (act & HP_SDC_ACT_DATAOUT) { in hp_sdc_put()
464 (act & HP_SDC_ACT_DURING) == HP_SDC_ACT_DATAOUT) in hp_sdc_put()
469 act &= ~HP_SDC_ACT_DATAOUT; in hp_sdc_put()
471 while (act & HP_SDC_ACT_DATAREG) { in hp_sdc_put()
482 act &= ~HP_SDC_ACT_DATAREG; in hp_sdc_put()
506 if ((act & HP_SDC_ACT_DURING) == HP_SDC_ACT_DATAREG) in hp_sdc_put()
510 act &= ~HP_SDC_ACT_DATAREG; in hp_sdc_put()
524 if ((act & HP_SDC_ACT_DURING) == in hp_sdc_put()
541 if (act & HP_SDC_ACT_POSTCMD) { in hp_sdc_put()
547 if (act & HP_SDC_ACT_DATAIN) { in hp_sdc_put()
565 if (act & HP_SDC_ACT_SEMAPHORE) in hp_sdc_put()
566 up(curr->act.semaphore); in hp_sdc_put()
567 else if (act & HP_SDC_ACT_CALLBACK) in hp_sdc_put()
568 curr->act.irqhook(0,NULL,0,0); in hp_sdc_put()
571 if (act & HP_SDC_ACT_DEALLOC) in hp_sdc_put()
903 t_sync.act.semaphore = &s_sync; in hp_sdc_init()
1039 tq_init.act.semaphore = &tq_init_sem; in hp_sdc_register()