Home
last modified time | relevance | path

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

/linux-4.1.27/include/scsi/
Dscsi_tcq.h16 u16 hwq = blk_mq_unique_tag_to_hwq(unique_tag); in scsi_mq_find_tag() local
19 if (hwq < shost->tag_set.nr_hw_queues) in scsi_mq_find_tag()
20 req = blk_mq_tag_to_rq(shost->tag_set.tags[hwq], in scsi_mq_find_tag()
/linux-4.1.27/drivers/net/wireless/ti/wlcore/
Dtx.c1213 int hwq = wlcore_tx_get_mac80211_queue(wlvif, queue); in wlcore_stop_queue_locked() local
1214 bool stopped = !!wl->queue_stop_reasons[hwq]; in wlcore_stop_queue_locked()
1217 WARN_ON_ONCE(test_and_set_bit(reason, &wl->queue_stop_reasons[hwq])); in wlcore_stop_queue_locked()
1222 ieee80211_stop_queue(wl->hw, hwq); in wlcore_stop_queue_locked()
1239 int hwq = wlcore_tx_get_mac80211_queue(wlvif, queue); in wlcore_wake_queue() local
1244 WARN_ON_ONCE(!test_and_clear_bit(reason, &wl->queue_stop_reasons[hwq])); in wlcore_wake_queue()
1246 if (wl->queue_stop_reasons[hwq]) in wlcore_wake_queue()
1249 ieee80211_wake_queue(wl->hw, hwq); in wlcore_wake_queue()
1316 int hwq = wlcore_tx_get_mac80211_queue(wlvif, queue); in wlcore_is_queue_stopped_by_reason_locked() local
1319 return test_bit(reason, &wl->queue_stop_reasons[hwq]); in wlcore_is_queue_stopped_by_reason_locked()
[all …]
/linux-4.1.27/block/
Dblk-mq-tag.c634 int hwq = 0; in blk_mq_unique_tag() local
638 hwq = hctx->queue_num; in blk_mq_unique_tag()
641 return (hwq << BLK_MQ_UNIQUE_TAG_BITS) | in blk_mq_unique_tag()
/linux-4.1.27/drivers/net/wireless/iwlegacy/
Dcommon.h2269 il_set_swq_id(struct il_tx_queue *txq, u8 ac, u8 hwq) in il_set_swq_id() argument
2272 BUG_ON(hwq > 31); /* only use 5 bits */ in il_set_swq_id()
2274 txq->swq_id = (hwq << 2) | ac; in il_set_swq_id()
2295 u8 hwq = (queue >> 2) & 0x1f; in il_wake_queue() local
2297 if (test_and_clear_bit(hwq, il->queue_stopped)) in il_wake_queue()
2306 u8 hwq = (queue >> 2) & 0x1f; in il_stop_queue() local
2308 if (!test_and_set_bit(hwq, il->queue_stopped)) in il_stop_queue()
/linux-4.1.27/drivers/scsi/
Dvirtio_scsi.c579 u16 hwq = blk_mq_unique_tag_to_hwq(tag); in virtscsi_pick_vq_mq() local
581 return &vscsi->req_vqs[hwq]; in virtscsi_pick_vq_mq()