cmd_q 115 drivers/crypto/ccp/ccp-debugfs.c struct ccp_cmd_queue *cmd_q = &ccp->cmd_q[i]; cmd_q 117 drivers/crypto/ccp/ccp-debugfs.c total_ops += cmd_q->total_ops; cmd_q 118 drivers/crypto/ccp/ccp-debugfs.c total_aes_ops += cmd_q->total_aes_ops; cmd_q 119 drivers/crypto/ccp/ccp-debugfs.c total_xts_aes_ops += cmd_q->total_xts_aes_ops; cmd_q 120 drivers/crypto/ccp/ccp-debugfs.c total_3des_ops += cmd_q->total_3des_ops; cmd_q 121 drivers/crypto/ccp/ccp-debugfs.c total_sha_ops += cmd_q->total_sha_ops; cmd_q 122 drivers/crypto/ccp/ccp-debugfs.c total_rsa_ops += cmd_q->total_rsa_ops; cmd_q 123 drivers/crypto/ccp/ccp-debugfs.c total_pt_ops += cmd_q->total_pt_ops; cmd_q 124 drivers/crypto/ccp/ccp-debugfs.c total_ecc_ops += cmd_q->total_ecc_ops; cmd_q 158 drivers/crypto/ccp/ccp-debugfs.c static void ccp5_debugfs_reset_queue_stats(struct ccp_cmd_queue *cmd_q) cmd_q 160 drivers/crypto/ccp/ccp-debugfs.c cmd_q->total_ops = 0L; cmd_q 161 drivers/crypto/ccp/ccp-debugfs.c cmd_q->total_aes_ops = 0L; cmd_q 162 drivers/crypto/ccp/ccp-debugfs.c cmd_q->total_xts_aes_ops = 0L; cmd_q 163 drivers/crypto/ccp/ccp-debugfs.c cmd_q->total_3des_ops = 0L; cmd_q 164 drivers/crypto/ccp/ccp-debugfs.c cmd_q->total_sha_ops = 0L; cmd_q 165 drivers/crypto/ccp/ccp-debugfs.c cmd_q->total_rsa_ops = 0L; cmd_q 166 drivers/crypto/ccp/ccp-debugfs.c cmd_q->total_pt_ops = 0L; cmd_q 167 drivers/crypto/ccp/ccp-debugfs.c cmd_q->total_ecc_ops = 0L; cmd_q 182 drivers/crypto/ccp/ccp-debugfs.c ccp5_debugfs_reset_queue_stats(&ccp->cmd_q[i]); cmd_q 194 drivers/crypto/ccp/ccp-debugfs.c struct ccp_cmd_queue *cmd_q = filp->private_data; cmd_q 200 drivers/crypto/ccp/ccp-debugfs.c if (!cmd_q) cmd_q 208 drivers/crypto/ccp/ccp-debugfs.c cmd_q->total_ops); cmd_q 210 drivers/crypto/ccp/ccp-debugfs.c cmd_q->total_aes_ops); cmd_q 212 drivers/crypto/ccp/ccp-debugfs.c cmd_q->total_xts_aes_ops); cmd_q 214 drivers/crypto/ccp/ccp-debugfs.c cmd_q->total_3des_ops); cmd_q 216 drivers/crypto/ccp/ccp-debugfs.c cmd_q->total_sha_ops); cmd_q 218 drivers/crypto/ccp/ccp-debugfs.c cmd_q->total_rsa_ops); cmd_q 220 drivers/crypto/ccp/ccp-debugfs.c cmd_q->total_pt_ops); cmd_q 222 drivers/crypto/ccp/ccp-debugfs.c cmd_q->total_ecc_ops); cmd_q 224 drivers/crypto/ccp/ccp-debugfs.c regval = ioread32(cmd_q->reg_int_enable); cmd_q 249 drivers/crypto/ccp/ccp-debugfs.c struct ccp_cmd_queue *cmd_q = filp->private_data; cmd_q 251 drivers/crypto/ccp/ccp-debugfs.c ccp5_debugfs_reset_queue_stats(cmd_q); cmd_q 284 drivers/crypto/ccp/ccp-debugfs.c struct ccp_cmd_queue *cmd_q; cmd_q 306 drivers/crypto/ccp/ccp-debugfs.c cmd_q = &ccp->cmd_q[i]; cmd_q 308 drivers/crypto/ccp/ccp-debugfs.c snprintf(name, MAX_NAME_LEN - 1, "q%d", cmd_q->id); cmd_q 313 drivers/crypto/ccp/ccp-debugfs.c debugfs_create_file("stats", 0600, debugfs_q_instance, cmd_q, cmd_q 19 drivers/crypto/ccp/ccp-dev-v3.c static u32 ccp_alloc_ksb(struct ccp_cmd_queue *cmd_q, unsigned int count) cmd_q 22 drivers/crypto/ccp/ccp-dev-v3.c struct ccp_device *ccp = cmd_q->ccp; cmd_q 50 drivers/crypto/ccp/ccp-dev-v3.c static void ccp_free_ksb(struct ccp_cmd_queue *cmd_q, unsigned int start, cmd_q 53 drivers/crypto/ccp/ccp-dev-v3.c struct ccp_device *ccp = cmd_q->ccp; cmd_q 69 drivers/crypto/ccp/ccp-dev-v3.c static unsigned int ccp_get_free_slots(struct ccp_cmd_queue *cmd_q) cmd_q 71 drivers/crypto/ccp/ccp-dev-v3.c return CMD_Q_DEPTH(ioread32(cmd_q->reg_status)); cmd_q 76 drivers/crypto/ccp/ccp-dev-v3.c struct ccp_cmd_queue *cmd_q = op->cmd_q; cmd_q 77 drivers/crypto/ccp/ccp-dev-v3.c struct ccp_device *ccp = cmd_q->ccp; cmd_q 87 drivers/crypto/ccp/ccp-dev-v3.c cmd_q->free_slots--; cmd_q 89 drivers/crypto/ccp/ccp-dev-v3.c cr0 = (cmd_q->id << REQ0_CMD_Q_SHIFT) cmd_q 97 drivers/crypto/ccp/ccp-dev-v3.c if (op->ioc || !cmd_q->free_slots) cmd_q 117 drivers/crypto/ccp/ccp-dev-v3.c ret = wait_event_interruptible(cmd_q->int_queue, cmd_q 118 drivers/crypto/ccp/ccp-dev-v3.c cmd_q->int_rcvd); cmd_q 119 drivers/crypto/ccp/ccp-dev-v3.c if (ret || cmd_q->cmd_error) { cmd_q 121 drivers/crypto/ccp/ccp-dev-v3.c cmd = (cmd_q->id << DEL_Q_ID_SHIFT) cmd_q 123 drivers/crypto/ccp/ccp-dev-v3.c if (cmd_q->cmd_error) cmd_q 124 drivers/crypto/ccp/ccp-dev-v3.c ccp_log_error(cmd_q->ccp, cmd_q 125 drivers/crypto/ccp/ccp-dev-v3.c cmd_q->cmd_error); cmd_q 134 drivers/crypto/ccp/ccp-dev-v3.c | (cmd_q->id << DEL_Q_ID_SHIFT) cmd_q 140 drivers/crypto/ccp/ccp-dev-v3.c cmd_q->free_slots = CMD_Q_DEPTH(cmd_q->q_status); cmd_q 142 drivers/crypto/ccp/ccp-dev-v3.c cmd_q->int_rcvd = 0; cmd_q 327 drivers/crypto/ccp/ccp-dev-v3.c struct ccp_cmd_queue *cmd_q; cmd_q 334 drivers/crypto/ccp/ccp-dev-v3.c cmd_q = &ccp->cmd_q[i]; cmd_q 336 drivers/crypto/ccp/ccp-dev-v3.c q_int = status & (cmd_q->int_ok | cmd_q->int_err); cmd_q 338 drivers/crypto/ccp/ccp-dev-v3.c cmd_q->int_status = status; cmd_q 339 drivers/crypto/ccp/ccp-dev-v3.c cmd_q->q_status = ioread32(cmd_q->reg_status); cmd_q 340 drivers/crypto/ccp/ccp-dev-v3.c cmd_q->q_int_status = ioread32(cmd_q->reg_int_status); cmd_q 343 drivers/crypto/ccp/ccp-dev-v3.c if ((q_int & cmd_q->int_err) && !cmd_q->cmd_error) cmd_q 344 drivers/crypto/ccp/ccp-dev-v3.c cmd_q->cmd_error = CMD_Q_ERROR(cmd_q->q_status); cmd_q 346 drivers/crypto/ccp/ccp-dev-v3.c cmd_q->int_rcvd = 1; cmd_q 350 drivers/crypto/ccp/ccp-dev-v3.c wake_up_interruptible(&cmd_q->int_queue); cmd_q 372 drivers/crypto/ccp/ccp-dev-v3.c struct ccp_cmd_queue *cmd_q; cmd_q 397 drivers/crypto/ccp/ccp-dev-v3.c cmd_q = &ccp->cmd_q[ccp->cmd_q_count]; cmd_q 400 drivers/crypto/ccp/ccp-dev-v3.c cmd_q->ccp = ccp; cmd_q 401 drivers/crypto/ccp/ccp-dev-v3.c cmd_q->id = i; cmd_q 402 drivers/crypto/ccp/ccp-dev-v3.c cmd_q->dma_pool = dma_pool; cmd_q 405 drivers/crypto/ccp/ccp-dev-v3.c cmd_q->sb_key = KSB_START + ccp->sb_start++; cmd_q 406 drivers/crypto/ccp/ccp-dev-v3.c cmd_q->sb_ctx = KSB_START + ccp->sb_start++; cmd_q 412 drivers/crypto/ccp/ccp-dev-v3.c cmd_q->reg_status = ccp->io_regs + CMD_Q_STATUS_BASE + cmd_q 414 drivers/crypto/ccp/ccp-dev-v3.c cmd_q->reg_int_status = ccp->io_regs + CMD_Q_INT_STATUS_BASE + cmd_q 416 drivers/crypto/ccp/ccp-dev-v3.c cmd_q->int_ok = 1 << (i * 2); cmd_q 417 drivers/crypto/ccp/ccp-dev-v3.c cmd_q->int_err = 1 << ((i * 2) + 1); cmd_q 419 drivers/crypto/ccp/ccp-dev-v3.c cmd_q->free_slots = ccp_get_free_slots(cmd_q); cmd_q 421 drivers/crypto/ccp/ccp-dev-v3.c init_waitqueue_head(&cmd_q->int_queue); cmd_q 424 drivers/crypto/ccp/ccp-dev-v3.c ccp->qim |= cmd_q->int_ok | cmd_q->int_err; cmd_q 444 drivers/crypto/ccp/ccp-dev-v3.c cmd_q = &ccp->cmd_q[i]; cmd_q 446 drivers/crypto/ccp/ccp-dev-v3.c ioread32(cmd_q->reg_int_status); cmd_q 447 drivers/crypto/ccp/ccp-dev-v3.c ioread32(cmd_q->reg_status); cmd_q 468 drivers/crypto/ccp/ccp-dev-v3.c cmd_q = &ccp->cmd_q[i]; cmd_q 470 drivers/crypto/ccp/ccp-dev-v3.c kthread = kthread_create(ccp_cmd_queue_thread, cmd_q, cmd_q 471 drivers/crypto/ccp/ccp-dev-v3.c "%s-q%u", ccp->name, cmd_q->id); cmd_q 479 drivers/crypto/ccp/ccp-dev-v3.c cmd_q->kthread = kthread; cmd_q 506 drivers/crypto/ccp/ccp-dev-v3.c if (ccp->cmd_q[i].kthread) cmd_q 507 drivers/crypto/ccp/ccp-dev-v3.c kthread_stop(ccp->cmd_q[i].kthread); cmd_q 513 drivers/crypto/ccp/ccp-dev-v3.c dma_pool_destroy(ccp->cmd_q[i].dma_pool); cmd_q 520 drivers/crypto/ccp/ccp-dev-v3.c struct ccp_cmd_queue *cmd_q; cmd_q 536 drivers/crypto/ccp/ccp-dev-v3.c cmd_q = &ccp->cmd_q[i]; cmd_q 538 drivers/crypto/ccp/ccp-dev-v3.c ioread32(cmd_q->reg_int_status); cmd_q 539 drivers/crypto/ccp/ccp-dev-v3.c ioread32(cmd_q->reg_status); cmd_q 545 drivers/crypto/ccp/ccp-dev-v3.c if (ccp->cmd_q[i].kthread) cmd_q 546 drivers/crypto/ccp/ccp-dev-v3.c kthread_stop(ccp->cmd_q[i].kthread); cmd_q 551 drivers/crypto/ccp/ccp-dev-v3.c dma_pool_destroy(ccp->cmd_q[i].dma_pool); cmd_q 25 drivers/crypto/ccp/ccp-dev-v5.c static u32 ccp_lsb_alloc(struct ccp_cmd_queue *cmd_q, unsigned int count) cmd_q 31 drivers/crypto/ccp/ccp-dev-v5.c if (cmd_q->lsb >= 0) { cmd_q 32 drivers/crypto/ccp/ccp-dev-v5.c start = (u32)bitmap_find_next_zero_area(cmd_q->lsbmap, cmd_q 36 drivers/crypto/ccp/ccp-dev-v5.c bitmap_set(cmd_q->lsbmap, start, count); cmd_q 37 drivers/crypto/ccp/ccp-dev-v5.c return start + cmd_q->lsb * LSB_SIZE; cmd_q 42 drivers/crypto/ccp/ccp-dev-v5.c ccp = cmd_q->ccp; cmd_q 70 drivers/crypto/ccp/ccp-dev-v5.c static void ccp_lsb_free(struct ccp_cmd_queue *cmd_q, unsigned int start, cmd_q 76 drivers/crypto/ccp/ccp-dev-v5.c if (cmd_q->lsb == start) { cmd_q 78 drivers/crypto/ccp/ccp-dev-v5.c bitmap_clear(cmd_q->lsbmap, start, count); cmd_q 81 drivers/crypto/ccp/ccp-dev-v5.c struct ccp_device *ccp = cmd_q->ccp; cmd_q 207 drivers/crypto/ccp/ccp-dev-v5.c static unsigned int ccp5_get_free_slots(struct ccp_cmd_queue *cmd_q) cmd_q 212 drivers/crypto/ccp/ccp-dev-v5.c queue_start = low_address(cmd_q->qdma_tail); cmd_q 213 drivers/crypto/ccp/ccp-dev-v5.c head_lo = ioread32(cmd_q->reg_head_lo); cmd_q 216 drivers/crypto/ccp/ccp-dev-v5.c n = head_idx + COMMANDS_PER_QUEUE - cmd_q->qidx - 1; cmd_q 222 drivers/crypto/ccp/ccp-dev-v5.c struct ccp_cmd_queue *cmd_q) cmd_q 230 drivers/crypto/ccp/ccp-dev-v5.c cmd_q->total_ops++; cmd_q 236 drivers/crypto/ccp/ccp-dev-v5.c mutex_lock(&cmd_q->q_mutex); cmd_q 238 drivers/crypto/ccp/ccp-dev-v5.c mP = (u32 *) &cmd_q->qbase[cmd_q->qidx]; cmd_q 243 drivers/crypto/ccp/ccp-dev-v5.c cmd_q->qidx = (cmd_q->qidx + 1) % COMMANDS_PER_QUEUE; cmd_q 249 drivers/crypto/ccp/ccp-dev-v5.c tail = low_address(cmd_q->qdma_tail + cmd_q->qidx * Q_DESC_SIZE); cmd_q 250 drivers/crypto/ccp/ccp-dev-v5.c iowrite32(tail, cmd_q->reg_tail_lo); cmd_q 253 drivers/crypto/ccp/ccp-dev-v5.c iowrite32(cmd_q->qcontrol | CMD5_Q_RUN, cmd_q->reg_control); cmd_q 254 drivers/crypto/ccp/ccp-dev-v5.c mutex_unlock(&cmd_q->q_mutex); cmd_q 258 drivers/crypto/ccp/ccp-dev-v5.c ret = wait_event_interruptible(cmd_q->int_queue, cmd_q 259 drivers/crypto/ccp/ccp-dev-v5.c cmd_q->int_rcvd); cmd_q 260 drivers/crypto/ccp/ccp-dev-v5.c if (ret || cmd_q->cmd_error) { cmd_q 264 drivers/crypto/ccp/ccp-dev-v5.c if (cmd_q->cmd_error) cmd_q 265 drivers/crypto/ccp/ccp-dev-v5.c ccp_log_error(cmd_q->ccp, cmd_q 266 drivers/crypto/ccp/ccp-dev-v5.c cmd_q->cmd_error); cmd_q 267 drivers/crypto/ccp/ccp-dev-v5.c iowrite32(tail, cmd_q->reg_head_lo); cmd_q 271 drivers/crypto/ccp/ccp-dev-v5.c cmd_q->int_rcvd = 0; cmd_q 283 drivers/crypto/ccp/ccp-dev-v5.c op->cmd_q->total_aes_ops++; cmd_q 319 drivers/crypto/ccp/ccp-dev-v5.c return ccp5_do_cmd(&desc, op->cmd_q); cmd_q 328 drivers/crypto/ccp/ccp-dev-v5.c op->cmd_q->total_xts_aes_ops++; cmd_q 362 drivers/crypto/ccp/ccp-dev-v5.c return ccp5_do_cmd(&desc, op->cmd_q); cmd_q 370 drivers/crypto/ccp/ccp-dev-v5.c op->cmd_q->total_sha_ops++; cmd_q 403 drivers/crypto/ccp/ccp-dev-v5.c return ccp5_do_cmd(&desc, op->cmd_q); cmd_q 412 drivers/crypto/ccp/ccp-dev-v5.c op->cmd_q->total_3des_ops++; cmd_q 446 drivers/crypto/ccp/ccp-dev-v5.c return ccp5_do_cmd(&desc, op->cmd_q); cmd_q 454 drivers/crypto/ccp/ccp-dev-v5.c op->cmd_q->total_rsa_ops++; cmd_q 488 drivers/crypto/ccp/ccp-dev-v5.c return ccp5_do_cmd(&desc, op->cmd_q); cmd_q 499 drivers/crypto/ccp/ccp-dev-v5.c op->cmd_q->total_pt_ops++; cmd_q 549 drivers/crypto/ccp/ccp-dev-v5.c return ccp5_do_cmd(&desc, op->cmd_q); cmd_q 557 drivers/crypto/ccp/ccp-dev-v5.c op->cmd_q->total_ecc_ops++; cmd_q 584 drivers/crypto/ccp/ccp-dev-v5.c return ccp5_do_cmd(&desc, op->cmd_q); cmd_q 587 drivers/crypto/ccp/ccp-dev-v5.c static int ccp_find_lsb_regions(struct ccp_cmd_queue *cmd_q, u64 status) cmd_q 589 drivers/crypto/ccp/ccp-dev-v5.c int q_mask = 1 << cmd_q->id; cmd_q 598 drivers/crypto/ccp/ccp-dev-v5.c bitmap_set(cmd_q->lsbmask, j, 1); cmd_q 601 drivers/crypto/ccp/ccp-dev-v5.c queues = bitmap_weight(cmd_q->lsbmask, MAX_LSB_CNT); cmd_q 602 drivers/crypto/ccp/ccp-dev-v5.c dev_dbg(cmd_q->ccp->dev, "Queue %d can access %d LSB regions\n", cmd_q 603 drivers/crypto/ccp/ccp-dev-v5.c cmd_q->id, queues); cmd_q 628 drivers/crypto/ccp/ccp-dev-v5.c struct ccp_cmd_queue *cmd_q = &ccp->cmd_q[i]; cmd_q 630 drivers/crypto/ccp/ccp-dev-v5.c qlsb_wgt = bitmap_weight(cmd_q->lsbmask, MAX_LSB_CNT); cmd_q 633 drivers/crypto/ccp/ccp-dev-v5.c bitmap_copy(qlsb, cmd_q->lsbmask, MAX_LSB_CNT); cmd_q 641 drivers/crypto/ccp/ccp-dev-v5.c cmd_q->lsb = bitno; cmd_q 679 drivers/crypto/ccp/ccp-dev-v5.c lsb_pub, ccp->cmd_q[i].lsbmask, cmd_q 725 drivers/crypto/ccp/ccp-dev-v5.c iowrite32(0x0, ccp->cmd_q[i].reg_int_enable); cmd_q 733 drivers/crypto/ccp/ccp-dev-v5.c iowrite32(SUPPORTED_INTERRUPTS, ccp->cmd_q[i].reg_int_enable); cmd_q 743 drivers/crypto/ccp/ccp-dev-v5.c struct ccp_cmd_queue *cmd_q = &ccp->cmd_q[i]; cmd_q 745 drivers/crypto/ccp/ccp-dev-v5.c status = ioread32(cmd_q->reg_interrupt_status); cmd_q 748 drivers/crypto/ccp/ccp-dev-v5.c cmd_q->int_status = status; cmd_q 749 drivers/crypto/ccp/ccp-dev-v5.c cmd_q->q_status = ioread32(cmd_q->reg_status); cmd_q 750 drivers/crypto/ccp/ccp-dev-v5.c cmd_q->q_int_status = ioread32(cmd_q->reg_int_status); cmd_q 753 drivers/crypto/ccp/ccp-dev-v5.c if ((status & INT_ERROR) && !cmd_q->cmd_error) cmd_q 754 drivers/crypto/ccp/ccp-dev-v5.c cmd_q->cmd_error = CMD_Q_ERROR(cmd_q->q_status); cmd_q 756 drivers/crypto/ccp/ccp-dev-v5.c cmd_q->int_rcvd = 1; cmd_q 759 drivers/crypto/ccp/ccp-dev-v5.c iowrite32(status, cmd_q->reg_interrupt_status); cmd_q 760 drivers/crypto/ccp/ccp-dev-v5.c wake_up_interruptible(&cmd_q->int_queue); cmd_q 782 drivers/crypto/ccp/ccp-dev-v5.c struct ccp_cmd_queue *cmd_q; cmd_q 808 drivers/crypto/ccp/ccp-dev-v5.c cmd_q = &ccp->cmd_q[ccp->cmd_q_count]; cmd_q 811 drivers/crypto/ccp/ccp-dev-v5.c cmd_q->ccp = ccp; cmd_q 812 drivers/crypto/ccp/ccp-dev-v5.c cmd_q->id = i; cmd_q 813 drivers/crypto/ccp/ccp-dev-v5.c cmd_q->dma_pool = dma_pool; cmd_q 814 drivers/crypto/ccp/ccp-dev-v5.c mutex_init(&cmd_q->q_mutex); cmd_q 818 drivers/crypto/ccp/ccp-dev-v5.c cmd_q->qsize = Q_SIZE(Q_DESC_SIZE); cmd_q 819 drivers/crypto/ccp/ccp-dev-v5.c cmd_q->qbase = dmam_alloc_coherent(dev, cmd_q->qsize, cmd_q 820 drivers/crypto/ccp/ccp-dev-v5.c &cmd_q->qbase_dma, cmd_q 822 drivers/crypto/ccp/ccp-dev-v5.c if (!cmd_q->qbase) { cmd_q 828 drivers/crypto/ccp/ccp-dev-v5.c cmd_q->qidx = 0; cmd_q 832 drivers/crypto/ccp/ccp-dev-v5.c cmd_q->reg_control = ccp->io_regs + cmd_q 834 drivers/crypto/ccp/ccp-dev-v5.c cmd_q->reg_tail_lo = cmd_q->reg_control + CMD5_Q_TAIL_LO_BASE; cmd_q 835 drivers/crypto/ccp/ccp-dev-v5.c cmd_q->reg_head_lo = cmd_q->reg_control + CMD5_Q_HEAD_LO_BASE; cmd_q 836 drivers/crypto/ccp/ccp-dev-v5.c cmd_q->reg_int_enable = cmd_q->reg_control + cmd_q 838 drivers/crypto/ccp/ccp-dev-v5.c cmd_q->reg_interrupt_status = cmd_q->reg_control + cmd_q 840 drivers/crypto/ccp/ccp-dev-v5.c cmd_q->reg_status = cmd_q->reg_control + CMD5_Q_STATUS_BASE; cmd_q 841 drivers/crypto/ccp/ccp-dev-v5.c cmd_q->reg_int_status = cmd_q->reg_control + cmd_q 843 drivers/crypto/ccp/ccp-dev-v5.c cmd_q->reg_dma_status = cmd_q->reg_control + cmd_q 845 drivers/crypto/ccp/ccp-dev-v5.c cmd_q->reg_dma_read_status = cmd_q->reg_control + cmd_q 847 drivers/crypto/ccp/ccp-dev-v5.c cmd_q->reg_dma_write_status = cmd_q->reg_control + cmd_q 850 drivers/crypto/ccp/ccp-dev-v5.c init_waitqueue_head(&cmd_q->int_queue); cmd_q 864 drivers/crypto/ccp/ccp-dev-v5.c cmd_q = &ccp->cmd_q[i]; cmd_q 866 drivers/crypto/ccp/ccp-dev-v5.c cmd_q->qcontrol = 0; /* Start with nothing */ cmd_q 867 drivers/crypto/ccp/ccp-dev-v5.c iowrite32(cmd_q->qcontrol, cmd_q->reg_control); cmd_q 869 drivers/crypto/ccp/ccp-dev-v5.c ioread32(cmd_q->reg_int_status); cmd_q 870 drivers/crypto/ccp/ccp-dev-v5.c ioread32(cmd_q->reg_status); cmd_q 873 drivers/crypto/ccp/ccp-dev-v5.c iowrite32(SUPPORTED_INTERRUPTS, cmd_q->reg_interrupt_status); cmd_q 902 drivers/crypto/ccp/ccp-dev-v5.c cmd_q = &ccp->cmd_q[i]; cmd_q 904 drivers/crypto/ccp/ccp-dev-v5.c cmd_q->qcontrol &= ~(CMD5_Q_SIZE << CMD5_Q_SHIFT); cmd_q 905 drivers/crypto/ccp/ccp-dev-v5.c cmd_q->qcontrol |= QUEUE_SIZE_VAL << CMD5_Q_SHIFT; cmd_q 907 drivers/crypto/ccp/ccp-dev-v5.c cmd_q->qdma_tail = cmd_q->qbase_dma; cmd_q 908 drivers/crypto/ccp/ccp-dev-v5.c dma_addr_lo = low_address(cmd_q->qdma_tail); cmd_q 909 drivers/crypto/ccp/ccp-dev-v5.c iowrite32((u32)dma_addr_lo, cmd_q->reg_tail_lo); cmd_q 910 drivers/crypto/ccp/ccp-dev-v5.c iowrite32((u32)dma_addr_lo, cmd_q->reg_head_lo); cmd_q 912 drivers/crypto/ccp/ccp-dev-v5.c dma_addr_hi = high_address(cmd_q->qdma_tail); cmd_q 913 drivers/crypto/ccp/ccp-dev-v5.c cmd_q->qcontrol |= (dma_addr_hi << 16); cmd_q 914 drivers/crypto/ccp/ccp-dev-v5.c iowrite32(cmd_q->qcontrol, cmd_q->reg_control); cmd_q 917 drivers/crypto/ccp/ccp-dev-v5.c ccp_find_lsb_regions(cmd_q, status); cmd_q 918 drivers/crypto/ccp/ccp-dev-v5.c cmd_q->lsb = -1; /* Unassigned value */ cmd_q 930 drivers/crypto/ccp/ccp-dev-v5.c ccp->cmd_q[i].sb_key = ccp_lsb_alloc(&ccp->cmd_q[i], 2); cmd_q 931 drivers/crypto/ccp/ccp-dev-v5.c ccp->cmd_q[i].sb_ctx = ccp_lsb_alloc(&ccp->cmd_q[i], 2); cmd_q 939 drivers/crypto/ccp/ccp-dev-v5.c cmd_q = &ccp->cmd_q[i]; cmd_q 941 drivers/crypto/ccp/ccp-dev-v5.c kthread = kthread_create(ccp_cmd_queue_thread, cmd_q, cmd_q 942 drivers/crypto/ccp/ccp-dev-v5.c "%s-q%u", ccp->name, cmd_q->id); cmd_q 950 drivers/crypto/ccp/ccp-dev-v5.c cmd_q->kthread = kthread; cmd_q 982 drivers/crypto/ccp/ccp-dev-v5.c if (ccp->cmd_q[i].kthread) cmd_q 983 drivers/crypto/ccp/ccp-dev-v5.c kthread_stop(ccp->cmd_q[i].kthread); cmd_q 990 drivers/crypto/ccp/ccp-dev-v5.c dma_pool_destroy(ccp->cmd_q[i].dma_pool); cmd_q 997 drivers/crypto/ccp/ccp-dev-v5.c struct ccp_cmd_queue *cmd_q; cmd_q 1021 drivers/crypto/ccp/ccp-dev-v5.c cmd_q = &ccp->cmd_q[i]; cmd_q 1024 drivers/crypto/ccp/ccp-dev-v5.c iowrite32(cmd_q->qcontrol & ~CMD5_Q_RUN, cmd_q->reg_control); cmd_q 1027 drivers/crypto/ccp/ccp-dev-v5.c iowrite32(SUPPORTED_INTERRUPTS, cmd_q->reg_interrupt_status); cmd_q 1028 drivers/crypto/ccp/ccp-dev-v5.c ioread32(cmd_q->reg_int_status); cmd_q 1029 drivers/crypto/ccp/ccp-dev-v5.c ioread32(cmd_q->reg_status); cmd_q 1034 drivers/crypto/ccp/ccp-dev-v5.c if (ccp->cmd_q[i].kthread) cmd_q 1035 drivers/crypto/ccp/ccp-dev-v5.c kthread_stop(ccp->cmd_q[i].kthread); cmd_q 327 drivers/crypto/ccp/ccp-dev.c if (ccp->cmd_q[i].active) cmd_q 339 drivers/crypto/ccp/ccp-dev.c wake_up_process(ccp->cmd_q[i].kthread); cmd_q 361 drivers/crypto/ccp/ccp-dev.c if (ccp->cmd_q[i].active) cmd_q 371 drivers/crypto/ccp/ccp-dev.c wake_up_process(ccp->cmd_q[i].kthread); cmd_q 374 drivers/crypto/ccp/ccp-dev.c static struct ccp_cmd *ccp_dequeue_cmd(struct ccp_cmd_queue *cmd_q) cmd_q 376 drivers/crypto/ccp/ccp-dev.c struct ccp_device *ccp = cmd_q->ccp; cmd_q 383 drivers/crypto/ccp/ccp-dev.c cmd_q->active = 0; cmd_q 386 drivers/crypto/ccp/ccp-dev.c cmd_q->suspended = 1; cmd_q 395 drivers/crypto/ccp/ccp-dev.c cmd_q->active = 1; cmd_q 436 drivers/crypto/ccp/ccp-dev.c struct ccp_cmd_queue *cmd_q = (struct ccp_cmd_queue *)data; cmd_q 449 drivers/crypto/ccp/ccp-dev.c cmd = ccp_dequeue_cmd(cmd_q); cmd_q 456 drivers/crypto/ccp/ccp-dev.c cmd->ret = ccp_run_cmd(cmd_q, cmd); cmd_q 544 drivers/crypto/ccp/ccp-dev.c if (ccp->cmd_q[i].suspended) cmd_q 568 drivers/crypto/ccp/ccp-dev.c wake_up_process(ccp->cmd_q[i].kthread); cmd_q 596 drivers/crypto/ccp/ccp-dev.c ccp->cmd_q[i].suspended = 0; cmd_q 597 drivers/crypto/ccp/ccp-dev.c wake_up_process(ccp->cmd_q[i].kthread); cmd_q 380 drivers/crypto/ccp/ccp-dev.h struct ccp_cmd_queue cmd_q[MAX_HW_QUEUES]; cmd_q 531 drivers/crypto/ccp/ccp-dev.h struct ccp_cmd_queue *cmd_q; cmd_q 640 drivers/crypto/ccp/ccp-dev.h int ccp_run_cmd(struct ccp_cmd_queue *cmd_q, struct ccp_cmd *cmd); cmd_q 137 drivers/crypto/ccp/ccp-ops.c struct ccp_cmd_queue *cmd_q, cmd_q 146 drivers/crypto/ccp/ccp-ops.c wa->dev = cmd_q->ccp->dev; cmd_q 150 drivers/crypto/ccp/ccp-ops.c wa->dma_pool = cmd_q->dma_pool; cmd_q 246 drivers/crypto/ccp/ccp-ops.c static void ccp_free_data(struct ccp_data *data, struct ccp_cmd_queue *cmd_q) cmd_q 252 drivers/crypto/ccp/ccp-ops.c static int ccp_init_data(struct ccp_data *data, struct ccp_cmd_queue *cmd_q, cmd_q 261 drivers/crypto/ccp/ccp-ops.c ret = ccp_init_sg_workarea(&data->sg_wa, cmd_q->ccp->dev, sg, sg_len, cmd_q 266 drivers/crypto/ccp/ccp-ops.c ret = ccp_init_dm_workarea(&data->dm_wa, cmd_q, dm_len, dir); cmd_q 273 drivers/crypto/ccp/ccp-ops.c ccp_free_data(data, cmd_q); cmd_q 410 drivers/crypto/ccp/ccp-ops.c static int ccp_copy_to_from_sb(struct ccp_cmd_queue *cmd_q, cmd_q 418 drivers/crypto/ccp/ccp-ops.c op.cmd_q = cmd_q; cmd_q 439 drivers/crypto/ccp/ccp-ops.c return cmd_q->ccp->vdata->perform->passthru(&op); cmd_q 442 drivers/crypto/ccp/ccp-ops.c static int ccp_copy_to_sb(struct ccp_cmd_queue *cmd_q, cmd_q 446 drivers/crypto/ccp/ccp-ops.c return ccp_copy_to_from_sb(cmd_q, wa, jobid, sb, byte_swap, false); cmd_q 449 drivers/crypto/ccp/ccp-ops.c static int ccp_copy_from_sb(struct ccp_cmd_queue *cmd_q, cmd_q 453 drivers/crypto/ccp/ccp-ops.c return ccp_copy_to_from_sb(cmd_q, wa, jobid, sb, byte_swap, true); cmd_q 457 drivers/crypto/ccp/ccp-ops.c ccp_run_aes_cmac_cmd(struct ccp_cmd_queue *cmd_q, struct ccp_cmd *cmd) cmd_q 493 drivers/crypto/ccp/ccp-ops.c op.cmd_q = cmd_q; cmd_q 494 drivers/crypto/ccp/ccp-ops.c op.jobid = CCP_NEW_JOBID(cmd_q->ccp); cmd_q 495 drivers/crypto/ccp/ccp-ops.c op.sb_key = cmd_q->sb_key; cmd_q 496 drivers/crypto/ccp/ccp-ops.c op.sb_ctx = cmd_q->sb_ctx; cmd_q 507 drivers/crypto/ccp/ccp-ops.c ret = ccp_init_dm_workarea(&key, cmd_q, cmd_q 517 drivers/crypto/ccp/ccp-ops.c ret = ccp_copy_to_sb(cmd_q, &key, op.jobid, op.sb_key, cmd_q 520 drivers/crypto/ccp/ccp-ops.c cmd->engine_error = cmd_q->cmd_error; cmd_q 528 drivers/crypto/ccp/ccp-ops.c ret = ccp_init_dm_workarea(&ctx, cmd_q, cmd_q 538 drivers/crypto/ccp/ccp-ops.c ret = ccp_copy_to_sb(cmd_q, &ctx, op.jobid, op.sb_ctx, cmd_q 541 drivers/crypto/ccp/ccp-ops.c cmd->engine_error = cmd_q->cmd_error; cmd_q 546 drivers/crypto/ccp/ccp-ops.c ret = ccp_init_data(&src, cmd_q, aes->src, aes->src_len, cmd_q 557 drivers/crypto/ccp/ccp-ops.c ret = ccp_copy_from_sb(cmd_q, &ctx, op.jobid, cmd_q 561 drivers/crypto/ccp/ccp-ops.c cmd->engine_error = cmd_q->cmd_error; cmd_q 569 drivers/crypto/ccp/ccp-ops.c ret = ccp_copy_to_sb(cmd_q, &ctx, op.jobid, op.sb_ctx, cmd_q 572 drivers/crypto/ccp/ccp-ops.c cmd->engine_error = cmd_q->cmd_error; cmd_q 577 drivers/crypto/ccp/ccp-ops.c ret = cmd_q->ccp->vdata->perform->aes(&op); cmd_q 579 drivers/crypto/ccp/ccp-ops.c cmd->engine_error = cmd_q->cmd_error; cmd_q 589 drivers/crypto/ccp/ccp-ops.c ret = ccp_copy_from_sb(cmd_q, &ctx, op.jobid, op.sb_ctx, cmd_q 592 drivers/crypto/ccp/ccp-ops.c cmd->engine_error = cmd_q->cmd_error; cmd_q 601 drivers/crypto/ccp/ccp-ops.c ccp_free_data(&src, cmd_q); cmd_q 613 drivers/crypto/ccp/ccp-ops.c ccp_run_aes_gcm_cmd(struct ccp_cmd_queue *cmd_q, struct ccp_cmd *cmd) cmd_q 678 drivers/crypto/ccp/ccp-ops.c jobid = CCP_NEW_JOBID(cmd_q->ccp); cmd_q 681 drivers/crypto/ccp/ccp-ops.c op.cmd_q = cmd_q; cmd_q 683 drivers/crypto/ccp/ccp-ops.c op.sb_key = cmd_q->sb_key; /* Pre-allocated */ cmd_q 684 drivers/crypto/ccp/ccp-ops.c op.sb_ctx = cmd_q->sb_ctx; /* Pre-allocated */ cmd_q 689 drivers/crypto/ccp/ccp-ops.c ret = ccp_init_dm_workarea(&key, cmd_q, cmd_q 699 drivers/crypto/ccp/ccp-ops.c ret = ccp_copy_to_sb(cmd_q, &key, op.jobid, op.sb_key, cmd_q 702 drivers/crypto/ccp/ccp-ops.c cmd->engine_error = cmd_q->cmd_error; cmd_q 710 drivers/crypto/ccp/ccp-ops.c ret = ccp_init_dm_workarea(&ctx, cmd_q, cmd_q 721 drivers/crypto/ccp/ccp-ops.c ret = ccp_copy_to_sb(cmd_q, &ctx, op.jobid, op.sb_ctx, cmd_q 724 drivers/crypto/ccp/ccp-ops.c cmd->engine_error = cmd_q->cmd_error; cmd_q 731 drivers/crypto/ccp/ccp-ops.c ret = ccp_init_data(&aad, cmd_q, p_aad, aes->aad_len, cmd_q 743 drivers/crypto/ccp/ccp-ops.c ret = cmd_q->ccp->vdata->perform->aes(&op); cmd_q 745 drivers/crypto/ccp/ccp-ops.c cmd->engine_error = cmd_q->cmd_error; cmd_q 761 drivers/crypto/ccp/ccp-ops.c ret = ccp_init_data(&src, cmd_q, p_inp, ilen, cmd_q 771 drivers/crypto/ccp/ccp-ops.c ret = ccp_init_data(&dst, cmd_q, p_outp, ilen, cmd_q 791 drivers/crypto/ccp/ccp-ops.c ret = cmd_q->ccp->vdata->perform->aes(&op); cmd_q 793 drivers/crypto/ccp/ccp-ops.c cmd->engine_error = cmd_q->cmd_error; cmd_q 803 drivers/crypto/ccp/ccp-ops.c ret = ccp_copy_from_sb(cmd_q, &ctx, op.jobid, op.sb_ctx, cmd_q 806 drivers/crypto/ccp/ccp-ops.c cmd->engine_error = cmd_q->cmd_error; cmd_q 814 drivers/crypto/ccp/ccp-ops.c ret = ccp_copy_to_sb(cmd_q, &ctx, op.jobid, op.sb_ctx, cmd_q 817 drivers/crypto/ccp/ccp-ops.c cmd->engine_error = cmd_q->cmd_error; cmd_q 824 drivers/crypto/ccp/ccp-ops.c ret = ccp_init_dm_workarea(&final_wa, cmd_q, AES_BLOCK_SIZE, cmd_q 833 drivers/crypto/ccp/ccp-ops.c op.cmd_q = cmd_q; cmd_q 835 drivers/crypto/ccp/ccp-ops.c op.sb_key = cmd_q->sb_key; /* Pre-allocated */ cmd_q 836 drivers/crypto/ccp/ccp-ops.c op.sb_ctx = cmd_q->sb_ctx; /* Pre-allocated */ cmd_q 849 drivers/crypto/ccp/ccp-ops.c ret = cmd_q->ccp->vdata->perform->aes(&op); cmd_q 858 drivers/crypto/ccp/ccp-ops.c ret = ccp_init_dm_workarea(&tag, cmd_q, authsize, cmd_q 876 drivers/crypto/ccp/ccp-ops.c ccp_free_data(&dst, cmd_q); cmd_q 880 drivers/crypto/ccp/ccp-ops.c ccp_free_data(&src, cmd_q); cmd_q 884 drivers/crypto/ccp/ccp-ops.c ccp_free_data(&aad, cmd_q); cmd_q 896 drivers/crypto/ccp/ccp-ops.c ccp_run_aes_cmd(struct ccp_cmd_queue *cmd_q, struct ccp_cmd *cmd) cmd_q 932 drivers/crypto/ccp/ccp-ops.c op.cmd_q = cmd_q; cmd_q 933 drivers/crypto/ccp/ccp-ops.c op.jobid = CCP_NEW_JOBID(cmd_q->ccp); cmd_q 934 drivers/crypto/ccp/ccp-ops.c op.sb_key = cmd_q->sb_key; cmd_q 935 drivers/crypto/ccp/ccp-ops.c op.sb_ctx = cmd_q->sb_ctx; cmd_q 946 drivers/crypto/ccp/ccp-ops.c ret = ccp_init_dm_workarea(&key, cmd_q, cmd_q 956 drivers/crypto/ccp/ccp-ops.c ret = ccp_copy_to_sb(cmd_q, &key, op.jobid, op.sb_key, cmd_q 959 drivers/crypto/ccp/ccp-ops.c cmd->engine_error = cmd_q->cmd_error; cmd_q 967 drivers/crypto/ccp/ccp-ops.c ret = ccp_init_dm_workarea(&ctx, cmd_q, cmd_q 979 drivers/crypto/ccp/ccp-ops.c ret = ccp_copy_to_sb(cmd_q, &ctx, op.jobid, op.sb_ctx, cmd_q 982 drivers/crypto/ccp/ccp-ops.c cmd->engine_error = cmd_q->cmd_error; cmd_q 1002 drivers/crypto/ccp/ccp-ops.c ret = ccp_init_data(&src, cmd_q, aes->src, aes->src_len, cmd_q 1011 drivers/crypto/ccp/ccp-ops.c ret = ccp_init_data(&dst, cmd_q, aes->dst, aes->src_len, cmd_q 1031 drivers/crypto/ccp/ccp-ops.c ret = cmd_q->ccp->vdata->perform->aes(&op); cmd_q 1033 drivers/crypto/ccp/ccp-ops.c cmd->engine_error = cmd_q->cmd_error; cmd_q 1044 drivers/crypto/ccp/ccp-ops.c ret = ccp_copy_from_sb(cmd_q, &ctx, op.jobid, op.sb_ctx, cmd_q 1047 drivers/crypto/ccp/ccp-ops.c cmd->engine_error = cmd_q->cmd_error; cmd_q 1058 drivers/crypto/ccp/ccp-ops.c ccp_free_data(&dst, cmd_q); cmd_q 1061 drivers/crypto/ccp/ccp-ops.c ccp_free_data(&src, cmd_q); cmd_q 1073 drivers/crypto/ccp/ccp-ops.c ccp_run_xts_aes_cmd(struct ccp_cmd_queue *cmd_q, struct ccp_cmd *cmd) cmd_q 1127 drivers/crypto/ccp/ccp-ops.c op.cmd_q = cmd_q; cmd_q 1128 drivers/crypto/ccp/ccp-ops.c op.jobid = CCP_NEW_JOBID(cmd_q->ccp); cmd_q 1129 drivers/crypto/ccp/ccp-ops.c op.sb_key = cmd_q->sb_key; cmd_q 1130 drivers/crypto/ccp/ccp-ops.c op.sb_ctx = cmd_q->sb_ctx; cmd_q 1140 drivers/crypto/ccp/ccp-ops.c if (cmd_q->ccp->vdata->version == CCP_VERSION(3, 0)) cmd_q 1144 drivers/crypto/ccp/ccp-ops.c ret = ccp_init_dm_workarea(&key, cmd_q, cmd_q 1150 drivers/crypto/ccp/ccp-ops.c if (cmd_q->ccp->vdata->version == CCP_VERSION(3, 0)) { cmd_q 1178 drivers/crypto/ccp/ccp-ops.c ret = ccp_copy_to_sb(cmd_q, &key, op.jobid, op.sb_key, cmd_q 1181 drivers/crypto/ccp/ccp-ops.c cmd->engine_error = cmd_q->cmd_error; cmd_q 1189 drivers/crypto/ccp/ccp-ops.c ret = ccp_init_dm_workarea(&ctx, cmd_q, cmd_q 1198 drivers/crypto/ccp/ccp-ops.c ret = ccp_copy_to_sb(cmd_q, &ctx, op.jobid, op.sb_ctx, cmd_q 1201 drivers/crypto/ccp/ccp-ops.c cmd->engine_error = cmd_q->cmd_error; cmd_q 1212 drivers/crypto/ccp/ccp-ops.c ret = ccp_init_data(&src, cmd_q, xts->src, xts->src_len, cmd_q 1221 drivers/crypto/ccp/ccp-ops.c ret = ccp_init_data(&dst, cmd_q, xts->dst, xts->src_len, cmd_q 1233 drivers/crypto/ccp/ccp-ops.c ret = cmd_q->ccp->vdata->perform->xts_aes(&op); cmd_q 1235 drivers/crypto/ccp/ccp-ops.c cmd->engine_error = cmd_q->cmd_error; cmd_q 1245 drivers/crypto/ccp/ccp-ops.c ret = ccp_copy_from_sb(cmd_q, &ctx, op.jobid, op.sb_ctx, cmd_q 1248 drivers/crypto/ccp/ccp-ops.c cmd->engine_error = cmd_q->cmd_error; cmd_q 1258 drivers/crypto/ccp/ccp-ops.c ccp_free_data(&dst, cmd_q); cmd_q 1261 drivers/crypto/ccp/ccp-ops.c ccp_free_data(&src, cmd_q); cmd_q 1273 drivers/crypto/ccp/ccp-ops.c ccp_run_des3_cmd(struct ccp_cmd_queue *cmd_q, struct ccp_cmd *cmd) cmd_q 1286 drivers/crypto/ccp/ccp-ops.c if (cmd_q->ccp->vdata->version < CCP_VERSION(5, 0)) cmd_q 1289 drivers/crypto/ccp/ccp-ops.c if (!cmd_q->ccp->vdata->perform->des3) cmd_q 1316 drivers/crypto/ccp/ccp-ops.c op.cmd_q = cmd_q; cmd_q 1317 drivers/crypto/ccp/ccp-ops.c op.jobid = CCP_NEW_JOBID(cmd_q->ccp); cmd_q 1318 drivers/crypto/ccp/ccp-ops.c op.sb_key = cmd_q->sb_key; cmd_q 1330 drivers/crypto/ccp/ccp-ops.c ret = ccp_init_dm_workarea(&key, cmd_q, cmd_q 1358 drivers/crypto/ccp/ccp-ops.c ret = ccp_copy_to_sb(cmd_q, &key, op.jobid, op.sb_key, cmd_q 1361 drivers/crypto/ccp/ccp-ops.c cmd->engine_error = cmd_q->cmd_error; cmd_q 1371 drivers/crypto/ccp/ccp-ops.c op.sb_ctx = cmd_q->sb_ctx; cmd_q 1373 drivers/crypto/ccp/ccp-ops.c ret = ccp_init_dm_workarea(&ctx, cmd_q, cmd_q 1386 drivers/crypto/ccp/ccp-ops.c ret = ccp_copy_to_sb(cmd_q, &ctx, op.jobid, op.sb_ctx, cmd_q 1389 drivers/crypto/ccp/ccp-ops.c cmd->engine_error = cmd_q->cmd_error; cmd_q 1402 drivers/crypto/ccp/ccp-ops.c ret = ccp_init_data(&src, cmd_q, des3->src, des3->src_len, cmd_q 1411 drivers/crypto/ccp/ccp-ops.c ret = ccp_init_data(&dst, cmd_q, des3->dst, des3->src_len, cmd_q 1430 drivers/crypto/ccp/ccp-ops.c ret = cmd_q->ccp->vdata->perform->des3(&op); cmd_q 1432 drivers/crypto/ccp/ccp-ops.c cmd->engine_error = cmd_q->cmd_error; cmd_q 1441 drivers/crypto/ccp/ccp-ops.c ret = ccp_copy_from_sb(cmd_q, &ctx, op.jobid, op.sb_ctx, cmd_q 1444 drivers/crypto/ccp/ccp-ops.c cmd->engine_error = cmd_q->cmd_error; cmd_q 1454 drivers/crypto/ccp/ccp-ops.c ccp_free_data(&dst, cmd_q); cmd_q 1457 drivers/crypto/ccp/ccp-ops.c ccp_free_data(&src, cmd_q); cmd_q 1470 drivers/crypto/ccp/ccp-ops.c ccp_run_sha_cmd(struct ccp_cmd_queue *cmd_q, struct ccp_cmd *cmd) cmd_q 1501 drivers/crypto/ccp/ccp-ops.c if (cmd_q->ccp->vdata->version < CCP_VERSION(4, 0) cmd_q 1507 drivers/crypto/ccp/ccp-ops.c if (cmd_q->ccp->vdata->version < CCP_VERSION(4, 0) cmd_q 1523 drivers/crypto/ccp/ccp-ops.c if (cmd_q->ccp->vdata->version == CCP_VERSION(3, 0)) { cmd_q 1576 drivers/crypto/ccp/ccp-ops.c if (cmd_q->ccp->vdata->version != CCP_VERSION(3, 0)) cmd_q 1587 drivers/crypto/ccp/ccp-ops.c if (cmd_q->ccp->vdata->version != CCP_VERSION(3, 0)) cmd_q 1626 drivers/crypto/ccp/ccp-ops.c op.cmd_q = cmd_q; cmd_q 1627 drivers/crypto/ccp/ccp-ops.c op.jobid = CCP_NEW_JOBID(cmd_q->ccp); cmd_q 1628 drivers/crypto/ccp/ccp-ops.c op.sb_ctx = cmd_q->sb_ctx; /* Pre-allocated */ cmd_q 1637 drivers/crypto/ccp/ccp-ops.c ret = ccp_init_dm_workarea(&ctx, cmd_q, sb_count * CCP_SB_BYTES, cmd_q 1667 drivers/crypto/ccp/ccp-ops.c ret = ccp_copy_to_sb(cmd_q, &ctx, op.jobid, op.sb_ctx, cmd_q 1670 drivers/crypto/ccp/ccp-ops.c cmd->engine_error = cmd_q->cmd_error; cmd_q 1676 drivers/crypto/ccp/ccp-ops.c ret = ccp_init_data(&src, cmd_q, sha->src, sha->src_len, cmd_q 1686 drivers/crypto/ccp/ccp-ops.c ret = cmd_q->ccp->vdata->perform->sha(&op); cmd_q 1688 drivers/crypto/ccp/ccp-ops.c cmd->engine_error = cmd_q->cmd_error; cmd_q 1696 drivers/crypto/ccp/ccp-ops.c ret = cmd_q->ccp->vdata->perform->sha(&op); cmd_q 1698 drivers/crypto/ccp/ccp-ops.c cmd->engine_error = cmd_q->cmd_error; cmd_q 1706 drivers/crypto/ccp/ccp-ops.c ret = ccp_copy_from_sb(cmd_q, &ctx, op.jobid, op.sb_ctx, cmd_q 1709 drivers/crypto/ccp/ccp-ops.c cmd->engine_error = cmd_q->cmd_error; cmd_q 1797 drivers/crypto/ccp/ccp-ops.c ret = ccp_run_sha_cmd(cmd_q, &hmac_cmd); cmd_q 1806 drivers/crypto/ccp/ccp-ops.c ccp_free_data(&src, cmd_q); cmd_q 1815 drivers/crypto/ccp/ccp-ops.c ccp_run_rsa_cmd(struct ccp_cmd_queue *cmd_q, struct ccp_cmd *cmd) cmd_q 1824 drivers/crypto/ccp/ccp-ops.c if (rsa->key_size > cmd_q->ccp->vdata->rsamax) cmd_q 1831 drivers/crypto/ccp/ccp-ops.c op.cmd_q = cmd_q; cmd_q 1832 drivers/crypto/ccp/ccp-ops.c op.jobid = CCP_NEW_JOBID(cmd_q->ccp); cmd_q 1846 drivers/crypto/ccp/ccp-ops.c if (cmd_q->ccp->vdata->version < CCP_VERSION(5, 0)) { cmd_q 1851 drivers/crypto/ccp/ccp-ops.c op.sb_key = cmd_q->ccp->vdata->perform->sballoc(cmd_q, cmd_q 1860 drivers/crypto/ccp/ccp-ops.c op.sb_key = cmd_q->sb_key; cmd_q 1866 drivers/crypto/ccp/ccp-ops.c ret = ccp_init_dm_workarea(&exp, cmd_q, o_len, DMA_TO_DEVICE); cmd_q 1874 drivers/crypto/ccp/ccp-ops.c if (cmd_q->ccp->vdata->version < CCP_VERSION(5, 0)) { cmd_q 1879 drivers/crypto/ccp/ccp-ops.c ret = ccp_copy_to_sb(cmd_q, &exp, op.jobid, op.sb_key, cmd_q 1882 drivers/crypto/ccp/ccp-ops.c cmd->engine_error = cmd_q->cmd_error; cmd_q 1895 drivers/crypto/ccp/ccp-ops.c ret = ccp_init_dm_workarea(&src, cmd_q, i_len, DMA_TO_DEVICE); cmd_q 1907 drivers/crypto/ccp/ccp-ops.c ret = ccp_init_dm_workarea(&dst, cmd_q, o_len, DMA_FROM_DEVICE); cmd_q 1922 drivers/crypto/ccp/ccp-ops.c ret = cmd_q->ccp->vdata->perform->rsa(&op); cmd_q 1924 drivers/crypto/ccp/ccp-ops.c cmd->engine_error = cmd_q->cmd_error; cmd_q 1941 drivers/crypto/ccp/ccp-ops.c cmd_q->ccp->vdata->perform->sbfree(cmd_q, op.sb_key, sb_count); cmd_q 1947 drivers/crypto/ccp/ccp-ops.c ccp_run_passthru_cmd(struct ccp_cmd_queue *cmd_q, struct ccp_cmd *cmd) cmd_q 1973 drivers/crypto/ccp/ccp-ops.c op.cmd_q = cmd_q; cmd_q 1974 drivers/crypto/ccp/ccp-ops.c op.jobid = CCP_NEW_JOBID(cmd_q->ccp); cmd_q 1978 drivers/crypto/ccp/ccp-ops.c op.sb_key = cmd_q->sb_key; cmd_q 1980 drivers/crypto/ccp/ccp-ops.c ret = ccp_init_dm_workarea(&mask, cmd_q, cmd_q 1990 drivers/crypto/ccp/ccp-ops.c ret = ccp_copy_to_sb(cmd_q, &mask, op.jobid, op.sb_key, cmd_q 1993 drivers/crypto/ccp/ccp-ops.c cmd->engine_error = cmd_q->cmd_error; cmd_q 2005 drivers/crypto/ccp/ccp-ops.c ret = ccp_init_data(&src, cmd_q, pt->src, pt->src_len, cmd_q 2014 drivers/crypto/ccp/ccp-ops.c ret = ccp_init_data(&dst, cmd_q, pt->dst, pt->src_len, cmd_q 2050 drivers/crypto/ccp/ccp-ops.c ret = cmd_q->ccp->vdata->perform->passthru(&op); cmd_q 2052 drivers/crypto/ccp/ccp-ops.c cmd->engine_error = cmd_q->cmd_error; cmd_q 2066 drivers/crypto/ccp/ccp-ops.c ccp_free_data(&dst, cmd_q); cmd_q 2069 drivers/crypto/ccp/ccp-ops.c ccp_free_data(&src, cmd_q); cmd_q 2079 drivers/crypto/ccp/ccp-ops.c ccp_run_passthru_nomap_cmd(struct ccp_cmd_queue *cmd_q, cmd_q 2103 drivers/crypto/ccp/ccp-ops.c op.cmd_q = cmd_q; cmd_q 2104 drivers/crypto/ccp/ccp-ops.c op.jobid = CCP_NEW_JOBID(cmd_q->ccp); cmd_q 2108 drivers/crypto/ccp/ccp-ops.c op.sb_key = cmd_q->sb_key; cmd_q 2114 drivers/crypto/ccp/ccp-ops.c ret = ccp_copy_to_sb(cmd_q, &mask, op.jobid, op.sb_key, cmd_q 2117 drivers/crypto/ccp/ccp-ops.c cmd->engine_error = cmd_q->cmd_error; cmd_q 2136 drivers/crypto/ccp/ccp-ops.c ret = cmd_q->ccp->vdata->perform->passthru(&op); cmd_q 2138 drivers/crypto/ccp/ccp-ops.c cmd->engine_error = cmd_q->cmd_error; cmd_q 2143 drivers/crypto/ccp/ccp-ops.c static int ccp_run_ecc_mm_cmd(struct ccp_cmd_queue *cmd_q, struct ccp_cmd *cmd) cmd_q 2165 drivers/crypto/ccp/ccp-ops.c op.cmd_q = cmd_q; cmd_q 2166 drivers/crypto/ccp/ccp-ops.c op.jobid = CCP_NEW_JOBID(cmd_q->ccp); cmd_q 2173 drivers/crypto/ccp/ccp-ops.c ret = ccp_init_dm_workarea(&src, cmd_q, CCP_ECC_SRC_BUF_SIZE, cmd_q 2209 drivers/crypto/ccp/ccp-ops.c ret = ccp_init_dm_workarea(&dst, cmd_q, CCP_ECC_DST_BUF_SIZE, cmd_q 2224 drivers/crypto/ccp/ccp-ops.c ret = cmd_q->ccp->vdata->perform->ecc(&op); cmd_q 2226 drivers/crypto/ccp/ccp-ops.c cmd->engine_error = cmd_q->cmd_error; cmd_q 2250 drivers/crypto/ccp/ccp-ops.c static int ccp_run_ecc_pm_cmd(struct ccp_cmd_queue *cmd_q, struct ccp_cmd *cmd) cmd_q 2288 drivers/crypto/ccp/ccp-ops.c op.cmd_q = cmd_q; cmd_q 2289 drivers/crypto/ccp/ccp-ops.c op.jobid = CCP_NEW_JOBID(cmd_q->ccp); cmd_q 2296 drivers/crypto/ccp/ccp-ops.c ret = ccp_init_dm_workarea(&src, cmd_q, CCP_ECC_SRC_BUF_SIZE, cmd_q 2367 drivers/crypto/ccp/ccp-ops.c ret = ccp_init_dm_workarea(&dst, cmd_q, CCP_ECC_DST_BUF_SIZE, cmd_q 2382 drivers/crypto/ccp/ccp-ops.c ret = cmd_q->ccp->vdata->perform->ecc(&op); cmd_q 2384 drivers/crypto/ccp/ccp-ops.c cmd->engine_error = cmd_q->cmd_error; cmd_q 2421 drivers/crypto/ccp/ccp-ops.c ccp_run_ecc_cmd(struct ccp_cmd_queue *cmd_q, struct ccp_cmd *cmd) cmd_q 2435 drivers/crypto/ccp/ccp-ops.c return ccp_run_ecc_mm_cmd(cmd_q, cmd); cmd_q 2440 drivers/crypto/ccp/ccp-ops.c return ccp_run_ecc_pm_cmd(cmd_q, cmd); cmd_q 2447 drivers/crypto/ccp/ccp-ops.c int ccp_run_cmd(struct ccp_cmd_queue *cmd_q, struct ccp_cmd *cmd) cmd_q 2452 drivers/crypto/ccp/ccp-ops.c cmd_q->cmd_error = 0; cmd_q 2453 drivers/crypto/ccp/ccp-ops.c cmd_q->int_rcvd = 0; cmd_q 2454 drivers/crypto/ccp/ccp-ops.c cmd_q->free_slots = cmd_q->ccp->vdata->perform->get_free_slots(cmd_q); cmd_q 2460 drivers/crypto/ccp/ccp-ops.c ret = ccp_run_aes_cmac_cmd(cmd_q, cmd); cmd_q 2463 drivers/crypto/ccp/ccp-ops.c ret = ccp_run_aes_gcm_cmd(cmd_q, cmd); cmd_q 2466 drivers/crypto/ccp/ccp-ops.c ret = ccp_run_aes_cmd(cmd_q, cmd); cmd_q 2471 drivers/crypto/ccp/ccp-ops.c ret = ccp_run_xts_aes_cmd(cmd_q, cmd); cmd_q 2474 drivers/crypto/ccp/ccp-ops.c ret = ccp_run_des3_cmd(cmd_q, cmd); cmd_q 2477 drivers/crypto/ccp/ccp-ops.c ret = ccp_run_sha_cmd(cmd_q, cmd); cmd_q 2480 drivers/crypto/ccp/ccp-ops.c ret = ccp_run_rsa_cmd(cmd_q, cmd); cmd_q 2484 drivers/crypto/ccp/ccp-ops.c ret = ccp_run_passthru_nomap_cmd(cmd_q, cmd); cmd_q 2486 drivers/crypto/ccp/ccp-ops.c ret = ccp_run_passthru_cmd(cmd_q, cmd); cmd_q 2489 drivers/crypto/ccp/ccp-ops.c ret = ccp_run_ecc_cmd(cmd_q, cmd); cmd_q 2121 drivers/net/ethernet/brocade/bna/bfa_ioc.c INIT_LIST_HEAD(&mod->cmd_q); cmd_q 2141 drivers/net/ethernet/brocade/bna/bfa_ioc.c if (list_empty(&mod->cmd_q)) cmd_q 2154 drivers/net/ethernet/brocade/bna/bfa_ioc.c cmd = list_first_entry(&mod->cmd_q, struct bfa_mbox_cmd, qe); cmd_q 2176 drivers/net/ethernet/brocade/bna/bfa_ioc.c while (!list_empty(&mod->cmd_q)) { cmd_q 2177 drivers/net/ethernet/brocade/bna/bfa_ioc.c cmd = list_first_entry(&mod->cmd_q, struct bfa_mbox_cmd, qe); cmd_q 2657 drivers/net/ethernet/brocade/bna/bfa_ioc.c if (!list_empty(&mod->cmd_q)) { cmd_q 2658 drivers/net/ethernet/brocade/bna/bfa_ioc.c list_add_tail(&cmd->qe, &mod->cmd_q); cmd_q 2667 drivers/net/ethernet/brocade/bna/bfa_ioc.c list_add_tail(&cmd->qe, &mod->cmd_q); cmd_q 109 drivers/net/ethernet/brocade/bna/bfa_ioc.h struct list_head cmd_q; /*!< pending mbox queue */ cmd_q 1097 drivers/net/ethernet/qlogic/qlcnic/qlcnic.h struct list_head cmd_q; cmd_q 3895 drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_hw.c struct list_head *head = &mbx->cmd_q; cmd_q 4017 drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_hw.c list_add_tail(&cmd->list, &mbx->cmd_q); cmd_q 4102 drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_hw.c struct list_head *head = &mbx->cmd_q; cmd_q 4175 drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_hw.c INIT_LIST_HEAD(&mbx->cmd_q); cmd_q 2062 drivers/net/wireless/intel/iwlwifi/mvm/mvm.h bool tdls, bool cmd_q); cmd_q 938 drivers/net/wireless/intel/iwlwifi/mvm/utils.c bool tdls, bool cmd_q) cmd_q 942 drivers/net/wireless/intel/iwlwifi/mvm/utils.c unsigned int default_timeout = cmd_q ? cmd_q 965 drivers/net/wireless/intel/iwlwifi/mvm/utils.c if (cmd_q) cmd_q 44 drivers/platform/olpc/olpc-ec.c struct list_head cmd_q; cmd_q 86 drivers/platform/olpc/olpc-ec.c if (!list_empty(&ec->cmd_q)) { cmd_q 87 drivers/platform/olpc/olpc-ec.c desc = list_first_entry(&ec->cmd_q, struct ec_cmd_desc, node); cmd_q 121 drivers/platform/olpc/olpc-ec.c list_add_tail(&desc->node, &ec->cmd_q); cmd_q 421 drivers/platform/olpc/olpc-ec.c INIT_LIST_HEAD(&ec->cmd_q); cmd_q 82 drivers/scsi/bfa/bfa_ioc.c (!list_empty(&((__ioc)->mbox_mod.cmd_q)) || \ cmd_q 1986 drivers/scsi/bfa/bfa_ioc.c INIT_LIST_HEAD(&mod->cmd_q); cmd_q 2006 drivers/scsi/bfa/bfa_ioc.c if (list_empty(&mod->cmd_q)) cmd_q 2019 drivers/scsi/bfa/bfa_ioc.c bfa_q_deq(&mod->cmd_q, &cmd); cmd_q 2032 drivers/scsi/bfa/bfa_ioc.c while (!list_empty(&mod->cmd_q)) cmd_q 2033 drivers/scsi/bfa/bfa_ioc.c bfa_q_deq(&mod->cmd_q, &cmd); cmd_q 2573 drivers/scsi/bfa/bfa_ioc.c if (!list_empty(&mod->cmd_q)) { cmd_q 2574 drivers/scsi/bfa/bfa_ioc.c list_add_tail(&cmd->qe, &mod->cmd_q); cmd_q 2583 drivers/scsi/bfa/bfa_ioc.c list_add_tail(&cmd->qe, &mod->cmd_q); cmd_q 238 drivers/scsi/bfa/bfa_ioc.h struct list_head cmd_q; /* pending mbox queue */ cmd_q 277 drivers/scsi/ibmvscsi_tgt/ibmvscsi_tgt.c bytes = vscsi->cmd_q.size * PAGE_SIZE; cmd_q 278 drivers/scsi/ibmvscsi_tgt/ibmvscsi_tgt.c memset(vscsi->cmd_q.base_addr, 0, bytes); cmd_q 279 drivers/scsi/ibmvscsi_tgt/ibmvscsi_tgt.c vscsi->cmd_q.index = 0; cmd_q 362 drivers/scsi/ibmvscsi_tgt/ibmvscsi_tgt.c crq = ibmvscsis_cmd_q_dequeue(vscsi->cmd_q.mask, &vscsi->cmd_q.index, cmd_q 363 drivers/scsi/ibmvscsi_tgt/ibmvscsi_tgt.c vscsi->cmd_q.base_addr); cmd_q 376 drivers/scsi/ibmvscsi_tgt/ibmvscsi_tgt.c crq = ibmvscsis_cmd_q_dequeue(vscsi->cmd_q.mask, cmd_q 377 drivers/scsi/ibmvscsi_tgt/ibmvscsi_tgt.c &vscsi->cmd_q.index, cmd_q 378 drivers/scsi/ibmvscsi_tgt/ibmvscsi_tgt.c vscsi->cmd_q.base_addr); cmd_q 895 drivers/scsi/ibmvscsi_tgt/ibmvscsi_tgt.c bytes = vscsi->cmd_q.size * PAGE_SIZE; cmd_q 897 drivers/scsi/ibmvscsi_tgt/ibmvscsi_tgt.c vscsi->cmd_q.crq_token, bytes); cmd_q 981 drivers/scsi/ibmvscsi_tgt/ibmvscsi_tgt.c crq = vscsi->cmd_q.base_addr + vscsi->cmd_q.index; cmd_q 1175 drivers/scsi/ibmvscsi_tgt/ibmvscsi_tgt.c vscsi->flags, vscsi->state, vscsi->cmd_q.index); cmd_q 1178 drivers/scsi/ibmvscsi_tgt/ibmvscsi_tgt.c crq = vscsi->cmd_q.base_addr + vscsi->cmd_q.index; cmd_q 1184 drivers/scsi/ibmvscsi_tgt/ibmvscsi_tgt.c vscsi->cmd_q.index = cmd_q 1185 drivers/scsi/ibmvscsi_tgt/ibmvscsi_tgt.c (vscsi->cmd_q.index + 1) & vscsi->cmd_q.mask; cmd_q 1209 drivers/scsi/ibmvscsi_tgt/ibmvscsi_tgt.c if (vscsi->cmd_q.index) cmd_q 1210 drivers/scsi/ibmvscsi_tgt/ibmvscsi_tgt.c vscsi->cmd_q.index -= 1; cmd_q 1216 drivers/scsi/ibmvscsi_tgt/ibmvscsi_tgt.c vscsi->cmd_q.index = vscsi->cmd_q.mask; cmd_q 1223 drivers/scsi/ibmvscsi_tgt/ibmvscsi_tgt.c crq = vscsi->cmd_q.base_addr + vscsi->cmd_q.index; cmd_q 2985 drivers/scsi/ibmvscsi_tgt/ibmvscsi_tgt.c bytes = vscsi->cmd_q.size * PAGE_SIZE; cmd_q 2986 drivers/scsi/ibmvscsi_tgt/ibmvscsi_tgt.c rc = h_reg_crq(vscsi->dds.unit_id, vscsi->cmd_q.crq_token, bytes); cmd_q 3020 drivers/scsi/ibmvscsi_tgt/ibmvscsi_tgt.c vscsi->cmd_q.size = pages; cmd_q 3022 drivers/scsi/ibmvscsi_tgt/ibmvscsi_tgt.c vscsi->cmd_q.base_addr = cmd_q 3024 drivers/scsi/ibmvscsi_tgt/ibmvscsi_tgt.c if (!vscsi->cmd_q.base_addr) cmd_q 3027 drivers/scsi/ibmvscsi_tgt/ibmvscsi_tgt.c vscsi->cmd_q.mask = ((uint)pages * CRQ_PER_PAGE) - 1; cmd_q 3029 drivers/scsi/ibmvscsi_tgt/ibmvscsi_tgt.c vscsi->cmd_q.crq_token = dma_map_single(&vdev->dev, cmd_q 3030 drivers/scsi/ibmvscsi_tgt/ibmvscsi_tgt.c vscsi->cmd_q.base_addr, cmd_q 3032 drivers/scsi/ibmvscsi_tgt/ibmvscsi_tgt.c if (dma_mapping_error(&vdev->dev, vscsi->cmd_q.crq_token)) { cmd_q 3033 drivers/scsi/ibmvscsi_tgt/ibmvscsi_tgt.c free_page((unsigned long)vscsi->cmd_q.base_addr); cmd_q 3051 drivers/scsi/ibmvscsi_tgt/ibmvscsi_tgt.c dma_unmap_single(&vscsi->dma_dev->dev, vscsi->cmd_q.crq_token, cmd_q 3053 drivers/scsi/ibmvscsi_tgt/ibmvscsi_tgt.c free_page((unsigned long)vscsi->cmd_q.base_addr); cmd_q 3054 drivers/scsi/ibmvscsi_tgt/ibmvscsi_tgt.c vscsi->cmd_q.base_addr = NULL; cmd_q 3362 drivers/scsi/ibmvscsi_tgt/ibmvscsi_tgt.c crq = vscsi->cmd_q.base_addr + vscsi->cmd_q.index; cmd_q 3374 drivers/scsi/ibmvscsi_tgt/ibmvscsi_tgt.c vscsi->cmd_q.index = cmd_q 3375 drivers/scsi/ibmvscsi_tgt/ibmvscsi_tgt.c (vscsi->cmd_q.index + 1) & vscsi->cmd_q.mask; cmd_q 3396 drivers/scsi/ibmvscsi_tgt/ibmvscsi_tgt.c if (vscsi->cmd_q.index) cmd_q 3397 drivers/scsi/ibmvscsi_tgt/ibmvscsi_tgt.c vscsi->cmd_q.index -= 1; cmd_q 3403 drivers/scsi/ibmvscsi_tgt/ibmvscsi_tgt.c vscsi->cmd_q.index = vscsi->cmd_q.mask; cmd_q 3410 drivers/scsi/ibmvscsi_tgt/ibmvscsi_tgt.c crq = vscsi->cmd_q.base_addr + vscsi->cmd_q.index; cmd_q 3427 drivers/scsi/ibmvscsi_tgt/ibmvscsi_tgt.c vscsi->flags, vscsi->state, vscsi->cmd_q.index); cmd_q 268 drivers/scsi/ibmvscsi_tgt/ibmvscsi_tgt.h struct cmd_queue cmd_q; cmd_q 148 drivers/scsi/sg.c char cmd_q; /* 1 -> allow command queuing, 0 -> don't */ cmd_q 732 drivers/scsi/sg.c sfp->cmd_q = 1; /* when sg_io_hdr seen, set command queuing on */ cmd_q 1053 drivers/scsi/sg.c sfp->cmd_q = val ? 1 : 0; cmd_q 1056 drivers/scsi/sg.c return put_user((int) sfp->cmd_q, ip); cmd_q 1198 drivers/scsi/sg.c else if (!sfp->cmd_q) { cmd_q 2106 drivers/scsi/sg.c if (!sfp->cmd_q) cmd_q 2165 drivers/scsi/sg.c sfp->cmd_q = SG_DEF_COMMAND_Q; cmd_q 2537 drivers/scsi/sg.c (int) fp->cmd_q, (int) fp->force_packid, cmd_q 551 drivers/staging/unisys/include/iochannel.h struct signal_queue_header cmd_q; cmd_q 371 include/net/bluetooth/hci_core.h struct sk_buff_head cmd_q; cmd_q 224 include/net/nfc/nci_core.h struct sk_buff_head cmd_q; cmd_q 1565 net/bluetooth/hci_core.c skb_queue_purge(&hdev->cmd_q); cmd_q 1740 net/bluetooth/hci_core.c skb_queue_purge(&hdev->cmd_q); cmd_q 1754 net/bluetooth/hci_core.c skb_queue_purge(&hdev->cmd_q); cmd_q 1822 net/bluetooth/hci_core.c skb_queue_purge(&hdev->cmd_q); cmd_q 3257 net/bluetooth/hci_core.c skb_queue_head_init(&hdev->cmd_q); cmd_q 3633 net/bluetooth/hci_core.c skb_queue_tail(&hdev->cmd_q, skb); cmd_q 4355 net/bluetooth/hci_core.c skb = skb_peek(&hdev->cmd_q); cmd_q 4380 net/bluetooth/hci_core.c skb_queue_head(&hdev->cmd_q, skb); cmd_q 4433 net/bluetooth/hci_core.c spin_lock_irqsave(&hdev->cmd_q.lock, flags); cmd_q 4434 net/bluetooth/hci_core.c while ((skb = __skb_dequeue(&hdev->cmd_q))) { cmd_q 4436 net/bluetooth/hci_core.c __skb_queue_head(&hdev->cmd_q, skb); cmd_q 4446 net/bluetooth/hci_core.c spin_unlock_irqrestore(&hdev->cmd_q.lock, flags); cmd_q 4517 net/bluetooth/hci_core.c atomic_read(&hdev->cmd_cnt), skb_queue_len(&hdev->cmd_q)); cmd_q 4521 net/bluetooth/hci_core.c skb = skb_dequeue(&hdev->cmd_q); cmd_q 4539 net/bluetooth/hci_core.c skb_queue_head(&hdev->cmd_q, skb); cmd_q 3485 net/bluetooth/hci_event.c if (atomic_read(&hdev->cmd_cnt) && !skb_queue_empty(&hdev->cmd_q)) cmd_q 3598 net/bluetooth/hci_event.c if (atomic_read(&hdev->cmd_cnt) && !skb_queue_empty(&hdev->cmd_q)) cmd_q 39 net/bluetooth/hci_request.c skb_queue_head_init(&req->cmd_q); cmd_q 46 net/bluetooth/hci_request.c skb_queue_purge(&req->cmd_q); cmd_q 61 net/bluetooth/hci_request.c BT_DBG("length %u", skb_queue_len(&req->cmd_q)); cmd_q 67 net/bluetooth/hci_request.c skb_queue_purge(&req->cmd_q); cmd_q 72 net/bluetooth/hci_request.c if (skb_queue_empty(&req->cmd_q)) cmd_q 75 net/bluetooth/hci_request.c skb = skb_peek_tail(&req->cmd_q); cmd_q 83 net/bluetooth/hci_request.c spin_lock_irqsave(&hdev->cmd_q.lock, flags); cmd_q 84 net/bluetooth/hci_request.c skb_queue_splice_tail(&req->cmd_q, &hdev->cmd_q); cmd_q 85 net/bluetooth/hci_request.c spin_unlock_irqrestore(&hdev->cmd_q.lock, flags); cmd_q 334 net/bluetooth/hci_request.c if (skb_queue_empty(&req->cmd_q)) cmd_q 339 net/bluetooth/hci_request.c skb_queue_tail(&req->cmd_q, skb); cmd_q 30 net/bluetooth/hci_request.h struct sk_buff_head cmd_q; cmd_q 1786 net/bluetooth/hci_sock.c skb_queue_tail(&hdev->cmd_q, skb); cmd_q 6756 net/bluetooth/mgmt.c if (skb_queue_empty(&req.cmd_q) || cmd_q 520 net/nfc/nci/core.c skb_queue_purge(&ndev->cmd_q); cmd_q 554 net/nfc/nci/core.c skb_queue_purge(&ndev->cmd_q); cmd_q 1219 net/nfc/nci/core.c skb_queue_head_init(&ndev->cmd_q); cmd_q 1339 net/nfc/nci/core.c skb_queue_tail(&ndev->cmd_q, skb); cmd_q 1514 net/nfc/nci/core.c skb = skb_dequeue(&ndev->cmd_q); cmd_q 367 net/nfc/nci/rsp.c if (!skb_queue_empty(&ndev->cmd_q))