Home
last modified time | relevance | path

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

/drivers/net/ethernet/brocade/bna/
Dbfa_msgq.c39 static void bfa_msgq_cmdq_dbell(struct bfa_msgq_cmdq *cmdq);
40 static void bfa_msgq_cmdq_copy_rsp(struct bfa_msgq_cmdq *cmdq);
51 bfa_fsm_state_decl(cmdq, stopped, struct bfa_msgq_cmdq, enum cmdq_event);
52 bfa_fsm_state_decl(cmdq, init_wait, struct bfa_msgq_cmdq, enum cmdq_event);
53 bfa_fsm_state_decl(cmdq, ready, struct bfa_msgq_cmdq, enum cmdq_event);
54 bfa_fsm_state_decl(cmdq, dbell_wait, struct bfa_msgq_cmdq,
58 cmdq_sm_stopped_entry(struct bfa_msgq_cmdq *cmdq) in cmdq_sm_stopped_entry() argument
62 cmdq->producer_index = 0; in cmdq_sm_stopped_entry()
63 cmdq->consumer_index = 0; in cmdq_sm_stopped_entry()
64 cmdq->flags = 0; in cmdq_sm_stopped_entry()
[all …]
Dbfa_msgq.h112 struct bfa_msgq_cmdq cmdq; member
Dbfi.h428 struct bfi_msgq cmdq; member
/drivers/staging/slicoss/
Dslicoss.c1245 struct slic_cmdqueue *cmdq; in slic_cmdq_addcmdpage() local
1292 cmdq = &adapter->cmdq_all; in slic_cmdq_addcmdpage()
1293 cmdq->count += cmdcnt; /* SLIC_CMDQ_CMDSINPAGE; mooktodo */ in slic_cmdq_addcmdpage()
1294 tail->next_all = cmdq->head; in slic_cmdq_addcmdpage()
1295 cmdq->head = prev; in slic_cmdq_addcmdpage()
1296 cmdq = &adapter->cmdq_free; in slic_cmdq_addcmdpage()
1297 spin_lock_irqsave(&cmdq->lock, flags); in slic_cmdq_addcmdpage()
1298 cmdq->count += cmdcnt; /* SLIC_CMDQ_CMDSINPAGE; mooktodo */ in slic_cmdq_addcmdpage()
1299 tail->next = cmdq->head; in slic_cmdq_addcmdpage()
1300 cmdq->head = prev; in slic_cmdq_addcmdpage()
[all …]
/drivers/atm/
Dfore200e.c607 struct host_cmdq* cmdq = &fore200e->host_cmdq; in fore200e_pca_prom_read() local
608 struct host_cmdq_entry* entry = &cmdq->host_entry[ cmdq->head ]; in fore200e_pca_prom_read()
613 FORE200E_NEXT_ENTRY(cmdq->head, QUEUE_SIZE_CMD); in fore200e_pca_prom_read()
1318 struct host_cmdq* cmdq = &fore200e->host_cmdq; in fore200e_activate_vcin() local
1319 struct host_cmdq_entry* entry = &cmdq->host_entry[ cmdq->head ]; in fore200e_activate_vcin()
1326 FORE200E_NEXT_ENTRY(cmdq->head, QUEUE_SIZE_CMD); in fore200e_activate_vcin()
1745 struct host_cmdq* cmdq = &fore200e->host_cmdq; in fore200e_getstats() local
1746 struct host_cmdq_entry* entry = &cmdq->host_entry[ cmdq->head ]; in fore200e_getstats()
1760 FORE200E_NEXT_ENTRY(cmdq->head, QUEUE_SIZE_CMD); in fore200e_getstats()
1814 struct host_cmdq* cmdq = &fore200e->host_cmdq;
[all …]
/drivers/iommu/
Darm-smmu-v3.c595 struct arm_smmu_cmdq cmdq; member
860 struct arm_smmu_queue *q = &smmu->cmdq.q; in arm_smmu_cmdq_skip_err()
905 struct arm_smmu_queue *q = &smmu->cmdq.q; in arm_smmu_cmdq_issue_cmd()
913 spin_lock_irqsave(&smmu->cmdq.lock, flags); in arm_smmu_cmdq_issue_cmd()
921 spin_unlock_irqrestore(&smmu->cmdq.lock, flags); in arm_smmu_cmdq_issue_cmd()
1938 spin_lock_init(&smmu->cmdq.lock); in arm_smmu_init_queues()
1939 ret = arm_smmu_init_one_queue(smmu, &smmu->cmdq.q, ARM_SMMU_CMDQ_PROD, in arm_smmu_init_queues()
2211 irq = smmu->cmdq.q.irq; in arm_smmu_setup_irqs()
2299 writeq_relaxed(smmu->cmdq.q.q_base, smmu->base + ARM_SMMU_CMDQ_BASE); in arm_smmu_device_reset()
2300 writel_relaxed(smmu->cmdq.q.prod, smmu->base + ARM_SMMU_CMDQ_PROD); in arm_smmu_device_reset()
[all …]
/drivers/scsi/aacraid/
Ddpcsup.c215 list_add_tail(&fib->fiblink, &q->cmdq); in aac_command_normal()
323 list_add_tail(&fib->fiblink, &q->cmdq); in aac_intr_normal()
Dcomminit.c205 INIT_LIST_HEAD(&q->cmdq); in aac_queue_init()
Dcommsup.c1761 while(!list_empty(&(dev->queues->queue[HostNormCmdQueue].cmdq))) { in aac_command_thread()
1767 entry = dev->queues->queue[HostNormCmdQueue].cmdq.next; in aac_command_thread()
Daacraid.h648 struct list_head cmdq; /* A queue of FIBs which need to be prcessed by the FS thread. This is */ member
/drivers/net/ethernet/chelsio/cxgb/
Dsge.c1436 struct cmdQ *cmdq = &sge->cmdQ[0]; in update_tx_info() local
1438 cmdq->processed += pr0; in update_tx_info()
1444 clear_bit(CMDQ_STAT_RUNNING, &cmdq->status); in update_tx_info()
1446 if (cmdq->cleaned + cmdq->in_use != cmdq->processed && in update_tx_info()
1447 !test_and_set_bit(CMDQ_STAT_LAST_PKT_DB, &cmdq->status)) { in update_tx_info()
1448 set_bit(CMDQ_STAT_RUNNING, &cmdq->status); in update_tx_info()
/drivers/net/wireless/intel/iwlwifi/pcie/
Dtrans.c2705 struct iwl_txq *cmdq = &trans_pcie->txq[trans_pcie->cmd_queue]; in iwl_trans_pcie_dump_data() local
2719 cmdq->n_window * (sizeof(*txcmd) + TFD_MAX_PAYLOAD_SIZE); in iwl_trans_pcie_dump_data()
2786 spin_lock_bh(&cmdq->lock); in iwl_trans_pcie_dump_data()
2787 ptr = cmdq->write_ptr; in iwl_trans_pcie_dump_data()
2788 for (i = 0; i < cmdq->n_window; i++) { in iwl_trans_pcie_dump_data()
2789 u8 idx = get_cmd_index(cmdq, ptr); in iwl_trans_pcie_dump_data()
2792 cmdlen = iwl_trans_pcie_get_cmdlen(trans, cmdq->tfds + in iwl_trans_pcie_dump_data()
2800 memcpy(txcmd->data, cmdq->entries[idx].cmd, caplen); in iwl_trans_pcie_dump_data()
2806 spin_unlock_bh(&cmdq->lock); in iwl_trans_pcie_dump_data()
/drivers/scsi/bfa/
Dbfi.h600 struct bfi_msgq_s cmdq; member
/drivers/staging/wlan-ng/
Dprism2mgmt.c306 wait_event_interruptible_timeout(hw->cmdq, hw->scanflag, timeout); in prism2mgmt_scan()
Dhfa384x.h1282 wait_queue_head_t cmdq; /* wait queue itself */ member
Dprism2sta.c1109 wake_up_interruptible(&hw->cmdq); in prism2sta_inf_hostscanresults()
Dhfa384x_usb.c534 init_waitqueue_head(&hw->cmdq); in hfa384x_create()