Lines Matching refs:hpktp
710 struct ata_promise_sx4 *hpktp;
716 hpktp = ctlr->chipset_data;
724 mtx_lock(&hpktp->mtx);
730 hpktp->busy = 0;
731 mtx_unlock(&hpktp->mtx);
1249 struct ata_promise_sx4 *hpktp = ctlr->chipset_data;
1251 mtx_lock(&hpktp->mtx);
1252 if (hpktp->busy) {
1256 TAILQ_INSERT_TAIL(&hpktp->queue, hp, chain);
1259 hpktp->busy = 1;
1262 mtx_unlock(&hpktp->mtx);
1268 struct ata_promise_sx4 *hpktp = ctlr->chipset_data;
1271 mtx_lock(&hpktp->mtx);
1272 if ((hp = TAILQ_FIRST(&hpktp->queue))) {
1273 TAILQ_REMOVE(&hpktp->queue, hp, chain);
1278 hpktp->busy = 0;
1279 mtx_unlock(&hpktp->mtx);