Home
last modified time | relevance | path

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

/drivers/macintosh/
Dsmu.c86 struct list_head cmd_list; member
115 if (list_empty(&smu->cmd_list)) in smu_start_cmd()
119 cmd = list_entry(smu->cmd_list.next, struct smu_cmd, link); in smu_start_cmd()
275 list_add_tail(&cmd->link, &smu->cmd_list); in smu_queue_cmd()
500 INIT_LIST_HEAD(&smu->cmd_list); in smu_init()
744 list_add_tail(&cmd->scmd.link, &smu->cmd_list); in smu_i2c_complete_command()
890 list_add_tail(&cmd->scmd.link, &smu->cmd_list); in smu_queue_i2c()
/drivers/scsi/megaraid/
Dmegaraid_sas_fusion.c236 return fusion->cmd_list[blk_tag]; in megasas_get_cmd_fusion()
398 if (fusion->cmd_list) { in megasas_free_cmds_fusion()
400 cmd = fusion->cmd_list[i]; in megasas_free_cmds_fusion()
409 kfree(fusion->cmd_list); in megasas_free_cmds_fusion()
525 cmd = fusion->cmd_list[i]; in megasas_create_sg_sense_fusion()
542 cmd = fusion->cmd_list[i]; in megasas_create_sg_sense_fusion()
567 fusion->cmd_list = in megasas_alloc_cmdlist_fusion()
570 if (!fusion->cmd_list) { in megasas_alloc_cmdlist_fusion()
577 fusion->cmd_list[i] = kzalloc(sizeof(struct megasas_cmd_fusion), in megasas_alloc_cmdlist_fusion()
579 if (!fusion->cmd_list[i]) { in megasas_alloc_cmdlist_fusion()
[all …]
Dmegaraid_sas_base.c346 cmd_fusion = fusion->cmd_list[blk_tags]; in megasas_return_cmd()
1678 cmd = instance->cmd_list[i]; in megasas_dump_pending_frames()
1717 cmd = instance->cmd_list[i]; in megasas_dump_pending_frames()
2178 cmd_fusion = fusion->cmd_list[i]; in megasas_complete_outstanding_ioctls()
2180 cmd_mfi = instance->cmd_list[cmd_fusion->sync_cmd_idx]; in megasas_complete_outstanding_ioctls()
2192 cmd_mfi = instance->cmd_list[i]; in megasas_complete_outstanding_ioctls()
2288 cmd = instance->cmd_list[context]; in megasas_complete_cmd_dpc()
3863 cmd = instance->cmd_list[i]; in megasas_internal_reset_defer_cmds()
4246 cmd = instance->cmd_list[i]; in megasas_teardown_frame_pool()
4331 cmd = instance->cmd_list[i]; in megasas_create_frame_pool()
[all …]
Dmegaraid_sas_fusion.h1292 struct megasas_cmd_fusion **cmd_list; member
Dmegaraid_sas.h2353 struct megasas_cmd **cmd_list; member
/drivers/usb/host/
Dxhci-ring.c342 return list_first_entry_or_null(&xhci->cmd_list, struct xhci_command, in xhci_next_queued_cmd()
343 cmd_list); in xhci_next_queued_cmd()
357 list_for_each_entry(i_cmd, &xhci->cmd_list, cmd_list) { in xhci_handle_stopped_cmd_ring()
1638 list_del(&cmd->cmd_list); in xhci_complete_del_and_free_cmd()
1652 list_for_each_entry_safe(cur_cmd, tmp_cmd, &xhci->cmd_list, cmd_list) in xhci_cleanup_command_queue()
1743 cmd = list_first_entry(&xhci->cmd_list, struct xhci_command, cmd_list); in handle_cmd_completion()
1833 if (!list_is_singular(&xhci->cmd_list)) { in handle_cmd_completion()
1834 xhci->current_cmd = list_first_entry(&cmd->cmd_list, in handle_cmd_completion()
1835 struct xhci_command, cmd_list); in handle_cmd_completion()
4414 if (list_empty(&xhci->cmd_list)) { in queue_command()
[all …]
Dxhci.h818 struct list_head cmd_list; member
1808 struct list_head cmd_list; member
Dxhci-mem.c1845 INIT_LIST_HEAD(&command->cmd_list); in xhci_alloc_command()
2519 INIT_LIST_HEAD(&xhci->cmd_list); in xhci_mem_init()
/drivers/scsi/
Dscsi_error.c1347 static int scsi_eh_test_devices(struct list_head *cmd_list, in scsi_eh_test_devices() argument
1355 while (!list_empty(cmd_list)) { in scsi_eh_test_devices()
1356 scmd = list_entry(cmd_list->next, struct scsi_cmnd, eh_entry); in scsi_eh_test_devices()
1362 list_splice_init(cmd_list, work_q); in scsi_eh_test_devices()
1376 list_for_each_entry_safe(scmd, next, cmd_list, eh_entry) in scsi_eh_test_devices()
Dpmcraid.c4427 cmd = pinstance->cmd_list[cmd_index]; in pmcraid_tasklet_function()
4550 kmem_cache_free(pinstance->cmd_cachep, pinstance->cmd_list[i]); in pmcraid_release_cmd_blocks()
4551 pinstance->cmd_list[i] = NULL; in pmcraid_release_cmd_blocks()
4581 pinstance->cmd_list[i]->ioa_cb, in pmcraid_release_control_blocks()
4582 pinstance->cmd_list[i]->ioa_cb_bus_addr); in pmcraid_release_control_blocks()
4583 pinstance->cmd_list[i]->ioa_cb = NULL; in pmcraid_release_control_blocks()
4584 pinstance->cmd_list[i]->ioa_cb_bus_addr = 0; in pmcraid_release_control_blocks()
4615 pinstance->cmd_list[i] = in pmcraid_allocate_cmd_blocks()
4617 if (!pinstance->cmd_list[i]) { in pmcraid_allocate_cmd_blocks()
4652 pinstance->cmd_list[i]->ioa_cb = in pmcraid_allocate_control_blocks()
[all …]
Dpmcraid.h748 struct pmcraid_cmd *cmd_list[PMCRAID_MAX_CMD]; member
/drivers/scsi/qla2xxx/
Dqla_target.c267 INIT_LIST_HEAD(&u->cmd_list); in qlt_queue_unknown_atio()
270 list_add_tail(&u->cmd_list, &vha->unknown_atio_list); in qlt_queue_unknown_atio()
292 list_for_each_entry_safe(u, t, &vha->unknown_atio_list, cmd_list) { in qlt_try_to_dequeue_unknown_atios()
326 list_del(&u->cmd_list); in qlt_try_to_dequeue_unknown_atios()
1976 list_for_each_entry(op, &vha->qla_sess_op_cmd_list, cmd_list) { in abort_cmds_for_lun()
1987 list_for_each_entry(op, &vha->unknown_atio_list, cmd_list) { in abort_cmds_for_lun()
1998 list_for_each_entry(cmd, &vha->qla_cmd_list, cmd_list) { in abort_cmds_for_lun()
3728 list_for_each_entry_safe(cmd, tcmd, &free_list, cmd_list) { in qlt_init_term_exchange()
3729 list_del(&cmd->cmd_list); in qlt_init_term_exchange()
4171 list_del(&cmd->cmd_list); in qlt_do_work()
[all …]
Dqla_target.h823 struct list_head cmd_list; member
898 struct list_head cmd_list; member
/drivers/scsi/arm/
Dfas216.c362 static struct { int command; void *from; } cmd_list[8]; variable
367 cmd_list[cmd_ptr].command = command; in fas216_cmd()
368 cmd_list[cmd_ptr].from = __builtin_return_address(0); in fas216_cmd()
396 printk("%02x:%p ", cmd_list[i].command, cmd_list[i].from); in print_debug_list()
/drivers/net/ethernet/qlogic/qed/
Dqed_mcp.c112 list_add(&p_cmd_elem->list, &p_hwfn->mcp_info->cmd_list); in qed_mcp_cmd_add_elem()
131 list_for_each_entry(p_cmd_elem, &p_hwfn->mcp_info->cmd_list, list) { in qed_mcp_cmd_get_elem()
150 &p_hwfn->mcp_info->cmd_list, list) { in qed_mcp_free()
252 INIT_LIST_HEAD(&p_info->cmd_list); in qed_mcp_cmd_init()
345 if (!list_empty(&p_hwfn->mcp_info->cmd_list)) { in qed_mcp_has_pending_cmd()
346 p_cmd_elem = list_first_entry(&p_hwfn->mcp_info->cmd_list, in qed_mcp_has_pending_cmd()
Dqed_mcp.h722 struct list_head cmd_list; member
/drivers/target/
Dtarget_core_user.c1229 struct list_head *cmd_list) in tcmu_tmr_notify() argument
1242 list_for_each_entry(se_cmd, cmd_list, state_list) { in tcmu_tmr_notify()
1279 list_for_each_entry(se_cmd, cmd_list, state_list) { in tcmu_tmr_notify()