/drivers/crypto/ccp/ |
D | ccp-dev.c | 123 if (ccp->cmd_q[i].active) in ccp_enqueue_cmd() 135 wake_up_process(ccp->cmd_q[i].kthread); in ccp_enqueue_cmd() 157 if (ccp->cmd_q[i].active) in ccp_do_cmd_backlog() 167 wake_up_process(ccp->cmd_q[i].kthread); in ccp_do_cmd_backlog() 170 static struct ccp_cmd *ccp_dequeue_cmd(struct ccp_cmd_queue *cmd_q) in ccp_dequeue_cmd() argument 172 struct ccp_device *ccp = cmd_q->ccp; in ccp_dequeue_cmd() 179 cmd_q->active = 0; in ccp_dequeue_cmd() 182 cmd_q->suspended = 1; in ccp_dequeue_cmd() 191 cmd_q->active = 1; in ccp_dequeue_cmd() 226 struct ccp_cmd_queue *cmd_q = (struct ccp_cmd_queue *)data; in ccp_cmd_queue_thread() local [all …]
|
D | ccp-ops.c | 111 struct ccp_cmd_queue *cmd_q; member 193 struct ccp_cmd_queue *cmd_q = op->cmd_q; in ccp_do_cmd() local 194 struct ccp_device *ccp = cmd_q->ccp; in ccp_do_cmd() 204 cmd_q->free_slots--; in ccp_do_cmd() 206 cr0 = (cmd_q->id << REQ0_CMD_Q_SHIFT) in ccp_do_cmd() 214 if (op->ioc || !cmd_q->free_slots) in ccp_do_cmd() 234 ret = wait_event_interruptible(cmd_q->int_queue, in ccp_do_cmd() 235 cmd_q->int_rcvd); in ccp_do_cmd() 236 if (ret || cmd_q->cmd_error) { in ccp_do_cmd() 238 cmd = (cmd_q->id << DEL_Q_ID_SHIFT) in ccp_do_cmd() [all …]
|
D | ccp-platform.c | 182 wake_up_process(ccp->cmd_q[i].kthread); in ccp_platform_suspend() 207 ccp->cmd_q[i].suspended = 0; in ccp_platform_resume() 208 wake_up_process(ccp->cmd_q[i].kthread); in ccp_platform_resume()
|
D | ccp-dev.h | 223 struct ccp_cmd_queue cmd_q[MAX_HW_QUEUES]; member 274 int ccp_run_cmd(struct ccp_cmd_queue *cmd_q, struct ccp_cmd *cmd);
|
D | ccp-pci.c | 279 wake_up_process(ccp->cmd_q[i].kthread); in ccp_pci_suspend() 304 ccp->cmd_q[i].suspended = 0; in ccp_pci_resume() 305 wake_up_process(ccp->cmd_q[i].kthread); in ccp_pci_resume()
|
/drivers/platform/olpc/ |
D | olpc-ec.c | 38 struct list_head cmd_q; member 74 if (!list_empty(&ec->cmd_q)) { in olpc_ec_worker() 75 desc = list_first_entry(&ec->cmd_q, struct ec_cmd_desc, node); in olpc_ec_worker() 109 list_add_tail(&desc->node, &ec->cmd_q); in queue_ec_descriptor() 272 INIT_LIST_HEAD(&ec->cmd_q); in olpc_ec_probe()
|
/drivers/scsi/ |
D | sg.c | 165 char cmd_q; /* 1 -> allow command queuing, 0 -> don't */ member 749 sfp->cmd_q = 1; /* when sg_io_hdr seen, set command queuing on */ in sg_new_write() 1071 sfp->cmd_q = val ? 1 : 0; in sg_ioctl() 1074 return put_user((int) sfp->cmd_q, ip); in sg_ioctl() 1226 else if (!sfp->cmd_q) { in sg_poll() 2137 if (!sfp->cmd_q) in sg_add_request() 2196 sfp->cmd_q = SG_DEF_COMMAND_Q; in sg_add_sfp() 2662 (int) fp->cmd_q, (int) fp->force_packid, in sg_proc_debug_helper()
|
/drivers/net/ethernet/brocade/bna/ |
D | bfa_ioc.c | 2132 INIT_LIST_HEAD(&mod->cmd_q); in bfa_ioc_mbox_attach() 2152 if (list_empty(&mod->cmd_q)) in bfa_ioc_mbox_poll() 2165 cmd = list_first_entry(&mod->cmd_q, struct bfa_mbox_cmd, qe); in bfa_ioc_mbox_poll() 2187 while (!list_empty(&mod->cmd_q)) { in bfa_ioc_mbox_flush() 2188 cmd = list_first_entry(&mod->cmd_q, struct bfa_mbox_cmd, qe); in bfa_ioc_mbox_flush() 2668 if (!list_empty(&mod->cmd_q)) { in bfa_nw_ioc_mbox_queue() 2669 list_add_tail(&cmd->qe, &mod->cmd_q); in bfa_nw_ioc_mbox_queue() 2678 list_add_tail(&cmd->qe, &mod->cmd_q); in bfa_nw_ioc_mbox_queue()
|
D | bfa_ioc.h | 117 struct list_head cmd_q; /*!< pending mbox queue */ member
|
/drivers/net/wireless/iwlwifi/mvm/ |
D | utils.c | 1022 bool tdls, bool cmd_q) in iwl_mvm_get_wd_timeout() argument 1027 cmd_q ? IWL_DEF_WD_TIMEOUT : mvm->cfg->base_params->wd_timeout; in iwl_mvm_get_wd_timeout() 1039 if (cmd_q) in iwl_mvm_get_wd_timeout()
|
D | mvm.h | 1489 bool tdls, bool cmd_q);
|
/drivers/staging/unisys/include/ |
D | iochannel.h | 559 struct signal_queue_header cmd_q; member
|
/drivers/scsi/bfa/ |
D | bfa_ioc.c | 89 (!list_empty(&((__ioc)->mbox_mod.cmd_q)) || \ 1995 INIT_LIST_HEAD(&mod->cmd_q); in bfa_ioc_mbox_attach() 2015 if (list_empty(&mod->cmd_q)) in bfa_ioc_mbox_poll() 2028 bfa_q_deq(&mod->cmd_q, &cmd); in bfa_ioc_mbox_poll() 2041 while (!list_empty(&mod->cmd_q)) in bfa_ioc_mbox_flush() 2042 bfa_q_deq(&mod->cmd_q, &cmd); in bfa_ioc_mbox_flush() 2582 if (!list_empty(&mod->cmd_q)) { in bfa_ioc_mbox_queue() 2583 list_add_tail(&cmd->qe, &mod->cmd_q); in bfa_ioc_mbox_queue() 2592 list_add_tail(&cmd->qe, &mod->cmd_q); in bfa_ioc_mbox_queue()
|
D | bfa_ioc.h | 241 struct list_head cmd_q; /* pending mbox queue */ member
|
/drivers/net/ethernet/qlogic/qlcnic/ |
D | qlcnic_83xx_hw.c | 3861 struct list_head *head = &mbx->cmd_q; in qlcnic_83xx_flush_mbx_queue() 3983 list_add_tail(&cmd->list, &mbx->cmd_q); in qlcnic_83xx_enqueue_mbx_cmd() 4068 struct list_head *head = &mbx->cmd_q; in qlcnic_83xx_mailbox_worker() 4141 INIT_LIST_HEAD(&mbx->cmd_q); in qlcnic_83xx_init_mailbox_work()
|
D | qlcnic.h | 1099 struct list_head cmd_q; member
|