Lines Matching refs:hpktp
712 struct ata_promise_sx4 *hpktp;
718 hpktp = ctlr->chipset_data;
726 mtx_lock(&hpktp->mtx);
732 hpktp->busy = 0;
733 mtx_unlock(&hpktp->mtx);
1251 struct ata_promise_sx4 *hpktp = ctlr->chipset_data;
1253 mtx_lock(&hpktp->mtx);
1254 if (hpktp->busy) {
1258 TAILQ_INSERT_TAIL(&hpktp->queue, hp, chain);
1261 hpktp->busy = 1;
1264 mtx_unlock(&hpktp->mtx);
1270 struct ata_promise_sx4 *hpktp = ctlr->chipset_data;
1273 mtx_lock(&hpktp->mtx);
1274 if ((hp = TAILQ_FIRST(&hpktp->queue))) {
1275 TAILQ_REMOVE(&hpktp->queue, hp, chain);
1280 hpktp->busy = 0;
1281 mtx_unlock(&hpktp->mtx);