Searched refs:cmds (Results 1 - 195 of 195) sorted by relevance

/linux-4.1.27/tools/perf/util/
H A Dhelp.c8 void add_cmdname(struct cmdnames *cmds, const char *name, size_t len) add_cmdname() argument
16 ALLOC_GROW(cmds->names, cmds->cnt + 1, cmds->alloc); add_cmdname()
17 cmds->names[cmds->cnt++] = ent; add_cmdname()
20 static void clean_cmdnames(struct cmdnames *cmds) clean_cmdnames() argument
24 for (i = 0; i < cmds->cnt; ++i) clean_cmdnames()
25 zfree(&cmds->names[i]); clean_cmdnames()
26 zfree(&cmds->names); clean_cmdnames()
27 cmds->cnt = 0; clean_cmdnames()
28 cmds->alloc = 0; clean_cmdnames()
38 static void uniq(struct cmdnames *cmds) uniq() argument
42 if (!cmds->cnt) uniq()
45 for (i = j = 1; i < cmds->cnt; i++) uniq()
46 if (strcmp(cmds->names[i]->name, cmds->names[i-1]->name)) uniq()
47 cmds->names[j++] = cmds->names[i]; uniq()
49 cmds->cnt = j; uniq()
52 void exclude_cmds(struct cmdnames *cmds, struct cmdnames *excludes) exclude_cmds() argument
58 while (ci < cmds->cnt && ei < excludes->cnt) { exclude_cmds()
59 cmp = strcmp(cmds->names[ci]->name, excludes->names[ei]->name); exclude_cmds()
61 cmds->names[cj++] = cmds->names[ci++]; exclude_cmds()
68 while (ci < cmds->cnt) exclude_cmds()
69 cmds->names[cj++] = cmds->names[ci++]; exclude_cmds()
71 cmds->cnt = cj; exclude_cmds()
74 static void pretty_print_string_list(struct cmdnames *cmds, int longest) pretty_print_string_list() argument
87 rows = (cmds->cnt + cols - 1) / cols; pretty_print_string_list()
96 if (n >= cmds->cnt) pretty_print_string_list()
98 if (j == cols-1 || n + rows >= cmds->cnt) pretty_print_string_list()
100 printf("%-*s", size, cmds->names[n]->name); pretty_print_string_list()
117 static void list_commands_in_dir(struct cmdnames *cmds, list_commands_in_dir() argument
151 add_cmdname(cmds, de->d_name + prefix_len, entlen); list_commands_in_dir()
258 static void add_cmd_list(struct cmdnames *cmds, struct cmdnames *old) add_cmd_list() argument
262 ALLOC_GROW(cmds->names, cmds->cnt + old->cnt, cmds->alloc); add_cmd_list()
265 cmds->names[cmds->cnt++] = old->names[i]; add_cmd_list()
H A Dhelp.h22 void add_cmdname(struct cmdnames *cmds, const char *name, size_t len);
24 void exclude_cmds(struct cmdnames *cmds, struct cmdnames *excludes);
H A Dparse-options.c453 if (!strcmp(arg, "list-cmds")) parse_options_step()
/linux-4.1.27/drivers/media/pci/saa7164/
H A Dsaa7164-cmd.c32 if (dev->cmds[i].inuse == 0) { saa7164_cmd_alloc_seqno()
33 dev->cmds[i].inuse = 1; saa7164_cmd_alloc_seqno()
34 dev->cmds[i].signalled = 0; saa7164_cmd_alloc_seqno()
35 dev->cmds[i].timeout = 0; saa7164_cmd_alloc_seqno()
36 ret = dev->cmds[i].seqno; saa7164_cmd_alloc_seqno()
48 if ((dev->cmds[seqno].inuse == 1) && saa7164_cmd_free_seqno()
49 (dev->cmds[seqno].seqno == seqno)) { saa7164_cmd_free_seqno()
50 dev->cmds[seqno].inuse = 0; saa7164_cmd_free_seqno()
51 dev->cmds[seqno].signalled = 0; saa7164_cmd_free_seqno()
52 dev->cmds[seqno].timeout = 0; saa7164_cmd_free_seqno()
60 if ((dev->cmds[seqno].inuse == 1) && saa7164_cmd_timeout_seqno()
61 (dev->cmds[seqno].seqno == seqno)) { saa7164_cmd_timeout_seqno()
62 dev->cmds[seqno].timeout = 1; saa7164_cmd_timeout_seqno()
72 if ((dev->cmds[seqno].inuse == 1) && saa7164_cmd_timeout_get()
73 (dev->cmds[seqno].seqno == seqno)) { saa7164_cmd_timeout_get()
74 ret = dev->cmds[seqno].timeout; saa7164_cmd_timeout_get()
100 q = &dev->cmds[tRsp.seqno].wait; saa7164_irq_dequeue()
107 dev->cmds[tRsp.seqno].signalled = 1; saa7164_irq_dequeue()
154 q = &dev->cmds[tRsp.seqno].wait; saa7164_cmd_dequeue()
181 dev->cmds[tRsp.seqno].signalled = 1; saa7164_cmd_dequeue()
195 u32 cmds; saa7164_cmd_set() local
204 mutex_lock(&dev->cmds[msg->id].lock); saa7164_cmd_set()
208 cmds = size / bus->m_wMaxReqSize; saa7164_cmd_set()
210 cmds -= 1; saa7164_cmd_set()
215 for (idx = 0; idx < cmds; idx++) { saa7164_cmd_set()
255 mutex_unlock(&dev->cmds[msg->id].lock); saa7164_cmd_set()
275 if ((dev->cmds[seqno].inuse == 1) && saa7164_cmd_wait()
276 (dev->cmds[seqno].seqno == seqno)) { saa7164_cmd_wait()
277 q = &dev->cmds[seqno].wait; saa7164_cmd_wait()
283 if (dev->cmds[seqno].signalled == 0) { saa7164_cmd_wait()
287 __func__, seqno, dev->cmds[seqno].signalled); saa7164_cmd_wait()
296 wait_event_timeout(*q, dev->cmds[seqno].signalled, saa7164_cmd_wait()
306 dev->cmds[seqno].signalled); saa7164_cmd_wait()
323 if (dev->cmds[i].inuse == 1) { saa7164_cmd_signal()
326 dev->cmds[i].seqno, saa7164_cmd_signal()
327 dev->cmds[i].signalled, saa7164_cmd_signal()
328 dev->cmds[i].timeout); saa7164_cmd_signal()
333 if ((dev->cmds[i].inuse == 1) && ((i == 0) || saa7164_cmd_signal()
334 (dev->cmds[i].signalled) || (dev->cmds[i].timeout))) { saa7164_cmd_signal()
337 dev->cmds[i].signalled = 1; saa7164_cmd_signal()
338 wake_up(&dev->cmds[i].wait); saa7164_cmd_signal()
H A Dsaa7164-core.c1246 dev->cmds[i].seqno = i; saa7164_initdev()
1247 dev->cmds[i].inuse = 0; saa7164_initdev()
1248 mutex_init(&dev->cmds[i].lock); saa7164_initdev()
1249 init_waitqueue_head(&dev->cmds[i].wait); saa7164_initdev()
H A Dsaa7164.h463 struct cmd cmds[SAA_CMD_MAX_MSG_UNITS]; member in struct:saa7164_dev
/linux-4.1.27/tools/usb/usbip/src/
H A Dusbip.c53 static const struct command cmds[] = { variable in typeref:struct:command
112 for (i = 0; cmds[i].name != NULL; i++) usbip_help()
113 if (!strcmp(cmds[i].name, argv[0]) && cmds[i].usage) { usbip_help()
114 cmds[i].usage(); usbip_help()
122 for (cmd = cmds; cmd->name != NULL; cmd++) usbip_help()
187 for (i = 0; cmds[i].name != NULL; i++) main()
188 if (!strcmp(cmds[i].name, cmd)) { main()
192 rc = run_command(&cmds[i], argc, argv); main()
/linux-4.1.27/kernel/debug/kdb/
H A DMakefile20 print "static __initdata char kdb_cmd" cmds++ "[] = \"" $$0 "\\n\";"} \
21 END {print "extern char *kdb_cmds[]; char __initdata *kdb_cmds[] = {"; for (i = 0; i < cmds; ++i) {print " kdb_cmd" i ","}; print(" NULL\n};");}' \
/linux-4.1.27/drivers/gpu/drm/vmwgfx/
H A Dvmwgfx_overlay.c113 } *cmds; vmw_overlay_send_put() local
125 fifo_size = sizeof(*cmds) + sizeof(*flush) + sizeof(*items) * num_items; vmw_overlay_send_put()
127 cmds = vmw_fifo_reserve(dev_priv, fifo_size); vmw_overlay_send_put()
129 if (!cmds) vmw_overlay_send_put()
132 items = (typeof(items))&cmds[1]; vmw_overlay_send_put()
136 fill_escape(&cmds->escape, sizeof(*items) * (num_items + 1)); vmw_overlay_send_put()
138 cmds->header.cmdType = SVGA_ESCAPE_VMWARE_VIDEO_SET_REGS; vmw_overlay_send_put()
139 cmds->header.streamId = arg->stream_id; vmw_overlay_send_put()
193 } *cmds; vmw_overlay_send_stop() local
197 cmds = vmw_fifo_reserve(dev_priv, sizeof(*cmds)); vmw_overlay_send_stop()
198 if (cmds) vmw_overlay_send_stop()
209 fill_escape(&cmds->escape, sizeof(cmds->body)); vmw_overlay_send_stop()
210 cmds->body.header.cmdType = SVGA_ESCAPE_VMWARE_VIDEO_SET_REGS; vmw_overlay_send_stop()
211 cmds->body.header.streamId = stream_id; vmw_overlay_send_stop()
212 cmds->body.items[0].registerId = SVGA_VIDEO_ENABLED; vmw_overlay_send_stop()
213 cmds->body.items[0].value = false; vmw_overlay_send_stop()
214 fill_flush(&cmds->flush, stream_id); vmw_overlay_send_stop()
216 vmw_fifo_commit(dev_priv, sizeof(*cmds)); vmw_overlay_send_stop()
/linux-4.1.27/tools/perf/
H A Dperf-completion.sh128 cmds_=$($cmd $1 --list-cmds)
156 cmds=$($cmd --list-opts)
158 cmds=$($cmd --list-cmds)
160 __perfcomp "$cmds" "$cur"
170 subcmds=$($cmd $prev_skip_opts --list-cmds)
H A Dperf.c140 OPT_ARGUMENT("list-cmds", "list-cmds"),
237 } else if (!strcmp(cmd, "--list-cmds")) { handle_options()
H A Dbuiltin-help.c10 #include "common-cmds.h"
/linux-4.1.27/fs/quota/
H A Dcompat.c46 unsigned int cmds; sys32_quotactl() local
55 cmds = cmd >> SUBCMDSHIFT; sys32_quotactl()
57 switch (cmds) { sys32_quotactl()
H A Dquota.c763 uint cmds, type; SYSCALL_DEFINE4() local
768 cmds = cmd >> SUBCMDSHIFT; SYSCALL_DEFINE4()
777 if (cmds == Q_SYNC) SYSCALL_DEFINE4()
787 if (cmds == Q_QUOTAON) { SYSCALL_DEFINE4()
795 sb = quotactl_block(special, cmds); SYSCALL_DEFINE4()
801 ret = do_quotactl(sb, type, cmds, id, addr, pathp); SYSCALL_DEFINE4()
/linux-4.1.27/drivers/crypto/ccp/
H A Dccp-crypto-main.c46 struct list_head cmds; member in struct:ccp_crypto_queue
98 /* Held cmds will be after the current cmd in the queue so start ccp_crypto_cmd_complete()
102 list_for_each_entry_continue(tmp, &req_queue.cmds, entry) { ccp_crypto_cmd_complete()
110 * Because cmds can be executed from any point in the cmd list ccp_crypto_cmd_complete()
113 if (req_queue.backlog != &req_queue.cmds) { ccp_crypto_cmd_complete()
127 /* Remove the cmd entry from the list of cmds */ ccp_crypto_cmd_complete()
223 list_for_each_entry(tmp, &req_queue.cmds, entry) { ccp_crypto_enqueue_cmd()
242 if (req_queue.backlog == &req_queue.cmds) ccp_crypto_enqueue_cmd()
248 list_add_tail(&crypto_cmd->entry, &req_queue.cmds); ccp_crypto_enqueue_cmd()
374 INIT_LIST_HEAD(&req_queue.cmds); ccp_crypto_init()
375 req_queue.backlog = &req_queue.cmds; ccp_crypto_init()
H A Dccp-dev.h209 * Master lists that all cmds are queued on. Because there can be
221 * CCP that are available for processing cmds
233 * A counter used to generate job-ids for cmds submitted to the CCP
239 * operations. To prevent multiple cmds from using the same KSB range
/linux-4.1.27/tools/perf/Documentation/
H A DMakefile235 _cmds_txt = cmds-ancillaryinterrogators.txt \
236 cmds-ancillarymanipulators.txt \
237 cmds-mainporcelain.txt \
238 cmds-plumbinginterrogators.txt \
239 cmds-plumbingmanipulators.txt \
240 cmds-synchingrepositories.txt \
241 cmds-synchelpers.txt \
242 cmds-purehelpers.txt \
243 cmds-foreignscminterface.txt
/linux-4.1.27/drivers/net/wireless/iwlwifi/
H A Diwl-notif-wait.h84 * @cmds: command IDs
108 u8 cmds[MAX_NOTIF_CMDS]; member in struct:iwl_notification_wait
124 const u8 *cmds, int n_cmds,
H A Diwl-notif-wait.c101 if (w->cmds[i] == pkt->hdr.cmd) { iwl_notification_wait_notify()
139 const u8 *cmds, int n_cmds, iwl_init_notification_wait()
150 memcpy(wait_entry->cmds, cmds, n_cmds); iwl_init_notification_wait()
137 iwl_init_notification_wait(struct iwl_notif_wait_data *notif_wait, struct iwl_notification_wait *wait_entry, const u8 *cmds, int n_cmds, bool (*fn)(struct iwl_notif_wait_data *notif_wait, struct iwl_rx_packet *pkt, void *data), void *fn_data) iwl_init_notification_wait() argument
H A Diwl-fw-file.h552 * cmds: the list of commands to trigger the collection on
558 } __packed cmds[16]; member in struct:iwl_fw_dbg_trigger_cmd
/linux-4.1.27/sound/ppc/
H A Dpmac.c74 rec->cmds = (void __iomem *)DBDMA_ALIGN(rec->space); snd_pmac_dbdma_alloc()
75 rec->addr = rec->dma_base + (unsigned long)((char *)rec->cmds - (char *)rec->space); snd_pmac_dbdma_alloc()
243 chip->extra_dma.cmds->command = cpu_to_le16(DBDMA_STOP); snd_pmac_pcm_prepare()
253 for (i = 0, cp = rec->cmd.cmds; i < rec->nperiods; i++, cp++) { snd_pmac_pcm_prepare()
291 for (i = 0, cp = rec->cmd.cmds; i < rec->nperiods; i++, cp++) snd_pmac_pcm_trigger()
306 for (i = 0, cp = rec->cmd.cmds; i < rec->nperiods; i++, cp++) snd_pmac_pcm_trigger()
330 volatile struct dbdma_cmd __iomem *cp = &rec->cmd.cmds[rec->cur_period]; snd_pmac_pcm_pointer()
427 memcpy((void *)emergency_dbdma.cmds, (void *)cp, snd_pmac_pcm_dead_xfer()
432 cp = emergency_dbdma.cmds; snd_pmac_pcm_dead_xfer()
474 cp = emergency_dbdma.cmds; snd_pmac_pcm_update()
476 cp = &rec->cmd.cmds[rec->cur_period]; snd_pmac_pcm_update()
763 chip->extra_dma.cmds->req_count = cpu_to_le16(bytes); snd_pmac_beep_dma_start()
764 chip->extra_dma.cmds->xfer_status = cpu_to_le16(0); snd_pmac_beep_dma_start()
765 chip->extra_dma.cmds->cmd_dep = cpu_to_le32(chip->extra_dma.addr); snd_pmac_beep_dma_start()
766 chip->extra_dma.cmds->phy_addr = cpu_to_le32(addr); snd_pmac_beep_dma_start()
767 chip->extra_dma.cmds->command = cpu_to_le16(OUTPUT_MORE + BR_ALWAYS); snd_pmac_beep_dma_start()
779 chip->extra_dma.cmds->command = cpu_to_le16(DBDMA_STOP); snd_pmac_beep_dma_stop()
H A Dpmac.h55 struct dbdma_cmd __iomem *cmds; member in struct:pmac_dbdma
/linux-4.1.27/include/net/sctp/
H A Dcommand.h205 sctp_cmd_t cmds[SCTP_MAX_NUM_COMMANDS]; member in struct:__anon12782
216 /* cmds[] is filled backwards to simplify the overflow BUG() check */ sctp_init_cmd_seq()
217 seq->last_used_slot = seq->cmds + SCTP_MAX_NUM_COMMANDS; sctp_init_cmd_seq()
233 BUG_ON(cmd < seq->cmds); sctp_add_cmd_sf()
/linux-4.1.27/drivers/block/
H A Dnull_blk.c27 struct nullb_cmd *cmds; member in struct:nullb_queue
183 cmd = &nq->cmds[tag]; __alloc_cmd()
429 nq->cmds = kzalloc(nq->queue_depth * sizeof(*cmd), GFP_KERNEL); setup_commands()
430 if (!nq->cmds) setup_commands()
436 kfree(nq->cmds); setup_commands()
441 cmd = &nq->cmds[i]; setup_commands()
453 kfree(nq->cmds); cleanup_queue()
H A Dcciss.h432 int nr_cmds; /* Max cmds this kind of ctlr can handle. */
H A Dhd.c575 * data/cmds with a drive, because some drives seem to have very poor
H A Dcciss_scsi.c649 /* future cmds to this device will get selection */ adjust_cciss_scsi_table()
/linux-4.1.27/drivers/media/usb/dvb-usb/
H A Dfriio.c202 /* TODO: move these init cmds to the FE's init routine? */
297 /* ============ start DEMOD init cmds ================== */ friio_initialize()
332 /* =========== end DEMOD init cmds ===================== */ friio_initialize()
342 /* following 2 cmds unnecessary? */ friio_initialize()
355 /* some streaming ctl cmds (maybe) */ friio_initialize()
H A Dfriio-fe.c179 /* I don't know what these cmds are for, */ jdvbt90502_pll_set_freq()
/linux-4.1.27/drivers/scsi/be2iscsi/
H A Dbe.h127 spinlock_t mbox_lock; /* For serializing mbox cmds to BE card */
135 spinlock_t mcc_lock; /* For serializing mcc cmds to BE card */
H A Dbe_cmds.h44 u8 embedded_payload[236]; /* used by embedded cmds */
45 struct be_sge sgl[19]; /* used by non-embedded cmds */
H A Dbe_iscsi.c73 "BS_%d : Cannot handle %d cmds." beiscsi_session_create()
74 "Max cmds per session supported is %d. Using %d." beiscsi_session_create()
H A Dbe_main.c326 abrt_task = conn->session->cmds[i]; beiscsi_eh_device_reset()
/linux-4.1.27/drivers/rtc/
H A Drtc-digicolor.c45 static int dc_rtc_cmds(struct dc_rtc *rtc, const u8 *cmds, int len) dc_rtc_cmds() argument
51 writeb_relaxed((cmds[i] & DC_RTC_CMD_MASK) | DC_RTC_GO_BUSY, dc_rtc_cmds()
/linux-4.1.27/include/linux/platform_data/
H A Dvideo-pxafb.h160 extern int pxafb_smart_queue(struct fb_info *info, uint16_t *cmds, int);
164 uint16_t *cmds, int n) pxafb_smart_queue()
163 pxafb_smart_queue(struct fb_info *info, uint16_t *cmds, int n) pxafb_smart_queue() argument
/linux-4.1.27/sound/aoa/soundbus/i2sbus/
H A Di2sbus.h34 struct dbdma_cmd *cmds; member in struct:dbdma_command_mem
H A Dcore.c55 r->cmds = (void*)DBDMA_ALIGN(r->space); alloc_dbdma_descriptor_ring()
57 (dma_addr_t)((char*)r->cmds - (char*)r->space); alloc_dbdma_descriptor_ring()
H A Dpcm.c378 command = pi->dbdma_ring.cmds; i2sbus_pcm_prepare()
651 while (pi->dbdma_ring.cmds[i].xfer_status) { handle_interrupt()
652 if (le16_to_cpu(pi->dbdma_ring.cmds[i].xfer_status) & BT) handle_interrupt()
659 pi->dbdma_ring.cmds[i].xfer_status = 0; handle_interrupt()
/linux-4.1.27/drivers/scsi/megaraid/
H A Dmegaraid_mbox.h94 #define MBOX_MAX_SCSI_CMDS 128 // number of cmds reserved for kernel
95 #define MBOX_MAX_USER_CMDS 32 // number of cmds for applications
100 #define MBOX_TIMEOUT 30 // timeout value for internal cmds
H A Dmegaraid_sas_base.c941 * megasas_issue_blocked_cmd - Synchronous wrapper around regular FW cmds
1310 * Prepare the Logical IO frame: 2nd bit is zero for all read cmds megasas_build_ldio()
1449 * megasas_dump_pending_frames - Dumps the frame address of all pending cmds
1464 printk(KERN_ERR "\nmegasas[%d]: Dumping Frame Phys Address of all pending cmds in FW\n",instance->host->host_no); megasas_dump_pending_frames()
1465 printk(KERN_ERR "megasas[%d]: Total OS Pending cmds : %d\n",instance->host->host_no,atomic_read(&instance->fw_outstanding)); megasas_dump_pending_frames()
1471 printk(KERN_ERR "megasas[%d]: Pending OS cmds in FW : \n",instance->host->host_no); megasas_dump_pending_frames()
1511 printk(KERN_ERR "\nmegasas[%d]: Pending Internal cmds in FW : \n",instance->host->host_no); megasas_dump_pending_frames()
1785 * Tasklet to complete cmds
1797 /* If we have already declared adapter dead, donot complete cmds */ megasas_complete_cmd_dpc()
2268 * megasas_wait_for_outstanding - Wait for all outstanding cmds
2331 printk(KERN_NOTICE "megasas:%p synch cmds" megasas_wait_for_outstanding()
2341 "cmds lst\n", megasas_wait_for_outstanding()
2384 /* wait for 1 secs to let FW finish the pending cmds */ megasas_wait_for_outstanding()
2396 /* wait for 5 secs to let FW finish the pending cmds */ megasas_wait_for_outstanding()
2409 printk(KERN_NOTICE "megaraid_sas: pending cmds after reset\n"); megasas_wait_for_outstanding()
2411 * Send signal to FW to stop processing any pending cmds. megasas_wait_for_outstanding()
2431 printk(KERN_NOTICE "megaraid_sas: no pending cmds after reset\n"); megasas_wait_for_outstanding()
3039 * megasas_issue_pending_cmds_again - issue all pending cmds
3685 * megasas_free_cmds - Free all the cmds in the free cmd pool
4348 * Reduce the max supported cmds by 1. This is to ensure that the megasas_init_adapter_mfi()
4350 * does not exceed max cmds that the FW can support megasas_init_adapter_mfi()
H A Dmegaraid_sas_fusion.c280 * megasas_free_cmds_fusion - Free all the cmds in the free cmd pool
412 * cmds are formed in the io_request and sg_frame members of the
1017 * Reduce the max supported cmds by 1. This is to ensure that the megasas_init_adapter_fusion()
1019 * does not exceed max cmds that the FW can support megasas_init_adapter_fusion()
1658 * Prepares the io_request frame for non-io cmds
2133 * Tasklet to complete cmds
2145 /* If we have already declared adapter dead, donot complete cmds */ megasas_complete_cmd_dpc_fusion()
2243 * For cmds where the flag is set, store the flag and check build_mpt_mfi_pass_thru()
2244 * on completion. For cmds with this flag, don't call build_mpt_mfi_pass_thru()
H A Dmega_common.h126 * @uscb_list : SCB pointers for user cmds, common mgmt module
H A Dmegaraid_sas.h116 * During FW init, clear pending cmds & reset state using inbound_msg_0
118 * ABORT : Abort all pending cmds
H A Dmegaraid_mbox.c768 * Issue SYNC cmd to flush the pending cmds in the adapter megaraid_init_mbox()
3296 * Clears the pending cmds in FW and reinits its RAID structs.
3670 * there are no outstanding cmds at the fw and then issue it directly megaraid_mbox_mm_command()
3722 * Set the quiescent flag to stop issuing cmds to FW. wait_till_fw_empty()
3729 * Wait till there are no more cmds outstanding at FW. Try for at most wait_till_fw_empty()
H A Dmegaraid_mm.c175 "megaraid cmm: controller cannot accept cmds due to " mraid_mm_ioctl()
H A Dmegaraid_sas_fp.c1317 /* get the pending cmds for the data and mirror arms */ megasas_get_best_arm_pd()
/linux-4.1.27/net/sctp/
H A Dsm_sideeffect.c72 static void sctp_cmd_hb_timer_update(sctp_cmd_seq_t *cmds,
633 static void sctp_cmd_hb_timers_start(sctp_cmd_seq_t *cmds, sctp_cmd_hb_timers_start() argument
649 static void sctp_cmd_hb_timers_stop(sctp_cmd_seq_t *cmds, sctp_cmd_hb_timers_stop() argument
664 static void sctp_cmd_t3_rtx_timers_stop(sctp_cmd_seq_t *cmds, sctp_cmd_t3_rtx_timers_stop() argument
678 static void sctp_cmd_hb_timer_update(sctp_cmd_seq_t *cmds, sctp_cmd_hb_timer_update() argument
687 static void sctp_cmd_transport_on(sctp_cmd_seq_t *cmds, sctp_cmd_transport_on() argument
759 static int sctp_cmd_process_sack(sctp_cmd_seq_t *cmds, sctp_cmd_process_sack() argument
781 static void sctp_cmd_setup_t2(sctp_cmd_seq_t *cmds, sctp_cmd_setup_t2() argument
799 static void sctp_cmd_new_state(sctp_cmd_seq_t *cmds, sctp_cmd_new_state() argument
853 static void sctp_cmd_delete_tcb(sctp_cmd_seq_t *cmds, sctp_cmd_delete_tcb() argument
876 static void sctp_cmd_setup_t4(sctp_cmd_seq_t *cmds, sctp_cmd_setup_t4() argument
888 static void sctp_cmd_process_operr(sctp_cmd_seq_t *cmds, sctp_cmd_process_operr() argument
923 sctp_add_cmd_sf(cmds, SCTP_CMD_TIMER_STOP, sctp_cmd_process_operr()
1248 * while (cmds) sctp_cmd_interpreter()
/linux-4.1.27/sound/pci/lola/
H A Dlola.c101 if (chip->rirb.cmds < LOLA_CORB_ENTRIES - 1) { corb_send_verb()
108 chip->rirb.cmds++; corb_send_verb()
142 else if (chip->rirb.cmds) { lola_update_rirb()
146 chip->rirb.cmds--; lola_update_rirb()
164 if (!chip->rirb.cmds) { rirb_get_response()
420 chip->rirb.rp = chip->rirb.cmds = 0; setup_corb_rirb()
H A Dlola.h226 int cmds; /* number of pending requests */ member in struct:lola_rb
/linux-4.1.27/include/uapi/linux/
H A Ddm-ioctl.h221 /* Top level cmds */
226 /* device level cmds */
234 /* Table level cmds */
H A Dsem.h18 /* ipcs ctl cmds */
H A Dhdreg.h414 unsigned short ecc_bytes; /* for r/w long cmds; 0 = not_specified */
/linux-4.1.27/drivers/staging/unisys/virtpci/
H A Dvirtpci.h70 struct uisqueue_info queueinfo; /* holds ptr to channel where cmds &
/linux-4.1.27/drivers/gpu/drm/i915/
H A Dintel_renderstate_gen7.c176 0x05000000, /* cmds end */
H A Dintel_renderstate_gen6.c161 0x05000000, /* cmds end */
H A Dintel_renderstate_gen8.c910 0x05000000, /* cmds end */
H A Dintel_renderstate_gen9.c922 0x05000000, /* cmds end */
/linux-4.1.27/include/uapi/drm/
H A Dmsm_drm.h175 * (context-restore), and IB buffers needed for per tile/bin draw cmds.
183 uint64_t __user cmds; /* in, ptr to array of submit_cmd's */ member in struct:drm_msm_gem_submit
/linux-4.1.27/tools/net/
H A Dbpf_dbg.c18 * 1) `./bpf_dbg` to enter the shell (shell cmds denoted with '>'):
1242 static const struct shell_cmd cmds[] = { variable in typeref:struct:shell_cmd
1262 for (i = 0; i < array_size(cmds); i++) { execf()
1263 if (len != strlen(cmds[i].name)) execf()
1265 if (strncmp(cmds[i].name, cmd, len) == 0) { execf()
1266 ret = cmds[i].func(cont); execf()
1284 for (; list_index < array_size(cmds); ) { shell_comp_gen()
1285 const char *name = cmds[list_index].name; shell_comp_gen()
/linux-4.1.27/drivers/dma/
H A Dimg-mdc-dma.c601 int i, cmds; mdc_tx_status() local
622 cmds = (done - processed) % mdc_tx_status()
630 cmds--; mdc_tx_status()
632 cmds += mdesc->list_cmds_done; mdc_tx_status()
636 for (i = 0; i < cmds; i++) { mdc_tx_status()
/linux-4.1.27/arch/mips/include/asm/octeon/
H A Dcvmx-cmd-queue.h322 * @cmds: Array of commands to write
330 uint64_t *cmds) cvmx_cmd_queue_write()
363 *ptr++ = *cmds++; cvmx_cmd_queue_write()
390 *ptr++ = *cmds++; cvmx_cmd_queue_write()
401 *ptr++ = *cmds++; cvmx_cmd_queue_write()
326 cvmx_cmd_queue_write(cvmx_cmd_queue_id_t queue_id, int use_locking, int cmd_count, uint64_t *cmds) cvmx_cmd_queue_write() argument
/linux-4.1.27/drivers/scsi/lpfc/
H A Dlpfc_sli.h195 #define LPFC_STOP_IOCB_EVENT 0x020 /* Stop processing IOCB cmds event */
264 uint64_t mbox_stat_err; /* Mbox cmds completed status error */
296 #define LPFC_BLOCK_MGMT_IO 0x800 /* Don't allow mgmt mbx or iocb cmds */
H A Dlpfc_disc.h109 struct timer_list nlp_delayfunc; /* Used for delayed ELS cmds */
H A Dlpfc.h44 #define LPFC_CMD_PER_LUN 3 /* max outstanding cmds per lun */
791 void __iomem *MBslimaddr; /* virtual address for mbox cmds */
H A Dlpfc_hw.h3729 #define IOCB_FCP 1 /* IOCB is used for FCP ELS cmds-ulpRsvByte */
3730 #define IOCB_IP 2 /* IOCB is used for IP ELS cmds */
H A Dlpfc_els.c1897 /* Do not call DSM for lpfc_els_abort'ed ELS cmds */ lpfc_cmpl_els_plogi()
2076 /* Do not call DSM for lpfc_els_abort'ed ELS cmds */ lpfc_cmpl_els_prli()
2371 /* Do not call DSM for lpfc_els_abort'ed ELS cmds */ lpfc_cmpl_els_adisc()
2534 /* Do not call DSM for lpfc_els_abort'ed ELS cmds */ lpfc_cmpl_els_logo()
2646 * by issuing a PLOGI later. Even though we issue ELS cmds by the lpfc_issue_els_logo()
2650 * RPI right now, before any ELS cmds are sent. lpfc_issue_els_logo()
3853 /* Do not drop node for lpfc_els_abort'ed ELS cmds */ lpfc_cmpl_els_rsp()
H A Dlpfc_attr.c4515 # lpfc_fcp_io_sched: Determine scheduling algrithmn for issuing FCP cmds
4590 # Specifies the maximum number of ELS cmds we can have outstanding (for
H A Dlpfc_hbadisc.c4694 /* Don't need to clean up REG_LOGIN64 cmds for Default RPI cleanup */ lpfc_cleanup_node()
H A Dlpfc_sli.c9463 /* Return any active mbox cmds */ lpfc_sli_hba_down()
/linux-4.1.27/drivers/scsi/fnic/
H A Dvnic_devcmd.h60 * Used to create cmds..
71 * Used to decode cmds..
H A Dfnic_scsi.c2024 * ignore this lun reset cmd or cmds that do not belong to fnic_clean_pending_aborts()
2413 * clean_pending_aborts cleans all cmds on this lun except fnic_device_reset()
2414 * the lun reset cmd. If all cmds get cleaned, the lun reset fnic_device_reset()
2682 * ignore this lun reset cmd or cmds that do not belong to fnic_is_abts_pending()
/linux-4.1.27/sound/pci/hda/
H A Dhda_controller.c1038 memset(chip->rirb.cmds, 0, sizeof(chip->rirb.cmds)); azx_init_cmd_io()
1103 chip->rirb.cmds[addr]++; azx_corb_send_cmd()
1146 else if (chip->rirb.cmds[addr]) { azx_update_rirb()
1149 chip->rirb.cmds[addr]--; azx_update_rirb()
1176 if (!chip->rirb.cmds[addr]) { azx_rirb_get_response()
H A Dhda_controller.h248 int cmds[AZX_MAX_CODECS]; /* number of pending requests */ member in struct:azx_rb
/linux-4.1.27/include/net/
H A Dllc_pdu.h75 #define LLC_1_PDU_CMD_UI 0x00 /* Type 1 cmds/rsps */
79 #define LLC_2_PDU_CMD_SABME 0x6C /* Type 2 cmds/rsps */
H A Dnetrom.h57 #define NR_DEFAULT_RESET 0 /* Sent / accept reset cmds? */
/linux-4.1.27/include/scsi/
H A Dlibiscsi.h351 int cmds_max; /* size of cmds array */
352 struct iscsi_task **cmds; /* Original Cmds arr */ member in struct:iscsi_session
H A Dscsi_device.h169 unsigned no_read_disc_info:1; /* Avoid READ_DISC_INFO cmds */
170 unsigned no_read_capacity_16:1; /* Avoid READ_CAPACITY_16 cmds */
H A Dscsi_host.h639 * Used to assign serial numbers to the cmds.
/linux-4.1.27/drivers/atm/
H A Dambassador.c300 static unsigned int cmds = 8; variable
1510 static int create_queues(amb_dev *dev, unsigned int cmds, unsigned int txs, create_queues() argument
1520 total += cmds * sizeof(command); create_queues()
1549 cq->maximum = cmds - 1; create_queues()
1554 cq->ptrs.limit = cmd + cmds; create_queues()
2115 } else if (create_queues (dev, cmds, txs, rxs, rxs_bs)) { amb_init()
2326 if (cmds < MIN_QUEUE_SIZE) amb_check_args()
2327 PRINTK (KERN_NOTICE, "cmds has been raised to %u", amb_check_args()
2328 cmds = MIN_QUEUE_SIZE); amb_check_args()
2362 module_param(cmds, uint, 0);
2369 MODULE_PARM_DESC(cmds, "number of command queue entries");
H A Diphase.h144 /* cmds */
/linux-4.1.27/drivers/media/pci/cx25821/
H A Dcx25821-core.c596 pr_warn("cmds + 0x%2x: %-15s: 0x%08x\n", cx25821_sram_channel_dump()
602 pr_warn("cmds + 0x%2x: risc%d: ", j + i * 4, i); cx25821_sram_channel_dump()
661 pr_info("%s: cmds + 0x%2x: %-15s: 0x%08x\n", cx25821_sram_channel_dump_audio()
668 pr_warn("cmds + 0x%2x: risc%d: ", j + i * 4, i); cx25821_sram_channel_dump_audio()
H A Dcx25821-video-upstream.c566 * program counter(IPC) member of the cmds. cx25821_start_video_dma_upstream()
/linux-4.1.27/drivers/scsi/csiostor/
H A Dcsio_mb.h144 * cmds
H A Dcsio_hw.c2446 /* cleanup all outstanding cmds */ csio_hws_ready()
/linux-4.1.27/drivers/scsi/
H A Dgdth_ioctl.h100 u32 link_p; /* linked cmds (not supp.) */
H A Dlibiscsi.c1139 return session->cmds[i]; iscsi_itt_to_task()
1331 "received invalid itt index %u (max cmds " iscsi_verify_itt()
1859 task = conn->session->cmds[i]; fail_scsi_tasks()
2003 running_task = conn->session->cmds[i]; iscsi_eh_cmd_timed_out()
2009 * Only check if cmds started before this one have made iscsi_eh_cmd_timed_out()
2023 * If the device is bad the cmds ahead of us on iscsi_eh_cmd_timed_out()
2794 (void***)&session->cmds, iscsi_session_setup()
2798 /* pre-format cmds pool with ITT */ iscsi_session_setup()
2800 struct iscsi_task *task = session->cmds[cmd_i]; iscsi_session_setup()
3056 task = conn->session->cmds[i]; fail_mgmt_tasks()
H A Dlibiscsi_tcp.c1127 struct iscsi_task *task = session->cmds[cmd_i]; iscsi_tcp_r2tpool_alloc()
1157 struct iscsi_task *task = session->cmds[i]; iscsi_tcp_r2tpool_alloc()
1172 struct iscsi_task *task = session->cmds[i]; iscsi_tcp_r2tpool_free()
H A Dmegaraid.h590 void __user *__uaddr; /* xferaddr for non-mbox cmds */
861 cmds */
H A Dgdth.h145 #define GDTH_MAXC_P_L 16 /* max. cmds per lun */
146 #define GDTH_MAX_RAW 2 /* max. cmds per raw device */
H A Dscsi_error.c299 * scsi_block_when_processing_errors - Prevent cmds from being queued.
328 * @work_q: Queue of scsi cmds to process.
354 "%s: cmds failed: %d, cancel: %d\n",
1698 * FIXME: Handle lost cmds. list_for_each_entry_safe()
H A Du14-34f.c376 * cmds/lun) and Q > 2, whenever there is already an active command to the
728 sdev_printk(KERN_INFO, dev, "cmds/lun %d%s%s.\n", u14_34f_slave_configure()
H A Deata.c435 * cmds/lun) and Q > 2, whenever there is already an active command to the
972 "cmds/lun %d%s%s.\n", eata2x_slave_configure()
H A D3w-xxxx.c180 1.02.00.037 - Fix tw_ioctl() to handle all non-data ATA passthru cmds
401 /* This function will return valid sense buffer information for failed cmds */ tw_decode_sense()
H A Ddc395x.c1539 dprintkdbg(DBG_KG, "start_scsi: Refuse cmds (reset wait)\n"); start_scsi()
3191 "reselect: w/o disconnected cmds <%02i-%i>\n", reselect()
3521 /* abort all cmds in our queues */ doing_srb_done()
H A Dpmcraid.c771 * pmcraid_internal_done - completion routine for internally generated cmds
3466 /* set hrrq number where the IOA should respond to. Note that all cmds pmcraid_queuecommand_lck()
3780 /* set hrrq number where the IOA should respond to. Note that all cmds pmcraid_ioctl_passthrough()
H A Dips.c4295 ips_deallocatescbs(ips_ha_t * ha, int cmds) ips_deallocatescbs() argument
4299 IPS_SGLIST_SIZE(ha) * IPS_MAX_SG * cmds, ips_deallocatescbs()
4302 pci_free_consistent(ha->pcidev, sizeof (ips_scb_t) * cmds, ips_deallocatescbs()
H A Dmvumi.c369 * mvumi_free_cmds - Free all the cmds in the free cmd pool
H A Dhpsa.c1467 * future cmds to this device will get selection adjust_hpsa_scsi_table()
6621 flush_workqueue(h->resubmit_wq); /* ensure all cmds are fully built */ fail_all_outstanding_cmds()
H A DFlashPoint.c2733 /*End Tag cmds supported! */ FPT_sres()
/linux-4.1.27/drivers/staging/i2o/
H A Ddebug.c35 printk("Cmd = %0#2x, ", cmd); // Other cmds i2o_report_status()
/linux-4.1.27/drivers/staging/rtl8712/
H A Drtl871x_pwrctrl.c204 _SUCCESS: r8712_cmd_thread can issue cmds to firmware afterwards.
/linux-4.1.27/drivers/gpu/drm/msm/
H A Dmsm_rd.c86 * end up w/ cmds logged in different order than they
H A Dmsm_gem_submit.c361 to_user_ptr(args->cmds + (i * sizeof(submit_cmd))); msm_ioctl_gem_submit()
/linux-4.1.27/drivers/usb/storage/
H A Dcypress_atacb.c151 srb->cmnd[2] |= (1<<7); /* set IdentifyPacketDevice for these cmds */ cypress_atacb_passthrough()
/linux-4.1.27/drivers/platform/olpc/
H A Dolpc-ec.c93 /* Run the worker thread again in case there are more cmds pending */ olpc_ec_worker()
/linux-4.1.27/drivers/net/ethernet/cisco/enic/
H A Dvnic_devcmd.h62 * Used to create cmds..
73 * Used to decode cmds..
/linux-4.1.27/drivers/net/ethernet/emulex/benet/
H A Dbe.h477 struct mutex mbox_lock; /* For serializing mbox cmds to BE card */
484 spinlock_t mcc_lock; /* For serializing mcc cmds to BE card */
H A Dbe_cmds.c151 /* Place holder for all the async MCC cmds wherein the caller is not in a busy
837 /* Tell fw we're about to start firing cmds by writing a
867 /* Tell fw we're done with firing cmds by writing a
H A Dbe_cmds.h42 u8 embedded_payload[236]; /* used by embedded cmds */
43 struct be_sge sgl[19]; /* used by non-embedded cmds */
H A Dbe_main.c4081 /* Tell FW we're ready to fire cmds */ be_func_init()
5370 /* tell fw we're done with firing cmds */ be_remove()
/linux-4.1.27/drivers/input/keyboard/
H A Dlm8323.c441 int len, const u16 *cmds) lm8323_write_pwm()
446 lm8323_write_pwm_one(pwm, i, cmds[i]); lm8323_write_pwm()
440 lm8323_write_pwm(struct lm8323_pwm *pwm, int kill, int len, const u16 *cmds) lm8323_write_pwm() argument
/linux-4.1.27/drivers/media/usb/gspca/
H A Dstv0680.c275 /* This is a high priority command; it stops all lower order cmds */ sd_stopN()
H A Dsq930x.c750 struct ucbus_write_cmd cmds[2] = { lz24bp_ppl() local
755 ucbus_write(&sd->gspca_dev, cmds, ARRAY_SIZE(cmds), 2); lz24bp_ppl()
/linux-4.1.27/drivers/net/wireless/iwlwifi/mvm/
H A Dops.c704 for (i = 0; i < ARRAY_SIZE(cmds_trig->cmds); i++) { iwl_mvm_rx_check_trigger()
706 if (!cmds_trig->cmds[i].cmd_id) iwl_mvm_rx_check_trigger()
709 if (cmds_trig->cmds[i].cmd_id != pkt->hdr.cmd) iwl_mvm_rx_check_trigger()
/linux-4.1.27/arch/tile/include/hv/
H A Ddrv_xgbe_intf.h476 /** The largest possible command that can go in lepp_queue_t::cmds[]. */
524 * the cmds[] storage for this entry, but the transfer is not actually
548 char cmds[LEPP_CMD_QUEUE_BYTES] member in struct:__anon2852::__anon2853::__anon2861
/linux-4.1.27/drivers/target/
H A Dtarget_core_user.c122 /* Can't use se_cmd->data_length when cleaning up expired cmds, because if
246 * original cmd - cmds are internally contiguous. is_ring_space_avail()
585 del_timer(&udev->timeout); /* no more pending cmds */ tcmu_handle_completions()
H A Dtarget_core_transport.c1910 * and ordered cmds need to have their tasks added to the execution queue.
2026 * Check if we need to move delayed/dormant tasks from cmds on the target_complete_ok_work()
/linux-4.1.27/drivers/net/ethernet/tile/
H A Dtilepro.c1800 memcpy(&eq->cmds[cmd_tail], cmd, cmd_size); tile_net_tx_tso()
1876 lepp_cmd_t cmds[1 + MAX_SKB_FRAGS]; tile_net_tx() local
1940 cmds[i] = cmd; tile_net_tx()
1983 *(lepp_cmd_t *)&eq->cmds[cmd_tail] = cmds[i]; tile_net_tx()
/linux-4.1.27/drivers/scsi/bnx2fc/
H A Dbnx2fc_io.c292 cmgr->cmds = (struct bnx2fc_cmd **)(cmgr + 1); bnx2fc_cmd_mgr_alloc()
460 BNX2FC_TGT_DBG(tgt, "No free els_tm cmds available " bnx2fc_elstm_alloc()
474 cmd_mgr->cmds[xid] = io_req; bnx2fc_elstm_alloc()
529 cmd_mgr->cmds[xid] = io_req; bnx2fc_cmd_alloc()
567 cmd_mgr->cmds[io_req->xid] = NULL; bnx2fc_cmd_release()
H A Dbnx2fc.h283 struct bnx2fc_cmd **cmds; member in struct:bnx2fc_cmd_mgr
H A Dbnx2fc_hwi.c717 io_req = (struct bnx2fc_cmd *)hba->cmd_mgr->cmds[xid]; bnx2fc_process_unsol_compl()
844 io_req = (struct bnx2fc_cmd *)hba->cmd_mgr->cmds[xid]; bnx2fc_process_unsol_compl()
902 io_req = (struct bnx2fc_cmd *)hba->cmd_mgr->cmds[xid]; bnx2fc_process_cq_compl()
/linux-4.1.27/drivers/video/fbdev/
H A Dpxafb.c1201 int pxafb_smart_queue(struct fb_info *info, uint16_t *cmds, int n_cmds) pxafb_smart_queue() argument
1206 for (i = 0; i < n_cmds; i++, cmds++) { pxafb_smart_queue()
1208 if ((*cmds & 0xff00) == SMART_CMD_DELAY) { pxafb_smart_queue()
1210 mdelay(*cmds & 0xff); pxafb_smart_queue()
1218 fbi->smart_cmds[fbi->n_smart_cmds++] = *cmds; pxafb_smart_queue()
/linux-4.1.27/fs/
H A Dbinfmt_elf.c372 static unsigned long total_mapping_size(struct elf_phdr *cmds, int nr) total_mapping_size() argument
377 if (cmds[i].p_type == PT_LOAD) { total_mapping_size()
386 return cmds[last_idx].p_vaddr + cmds[last_idx].p_memsz - total_mapping_size()
387 ELF_PAGESTART(cmds[first_idx].p_vaddr); total_mapping_size()
/linux-4.1.27/drivers/scsi/bfa/
H A Dbfa_fcpim.h235 struct list_head delay_comp_q; /* queue of failed inflight cmds */
/linux-4.1.27/drivers/infiniband/hw/ipath/
H A Dipath_registers.h355 * require 2 HT cmds on opteron, we access those with 32 bit
/linux-4.1.27/drivers/gpu/drm/qxl/
H A Dqxl_release.c28 * into 256 byte chunks for now - gives 16 cmds per page.
/linux-4.1.27/drivers/usb/serial/
H A Dio_ionsp.h194 // Define macros to simplify building of IOSP cmds
/linux-4.1.27/drivers/w1/masters/
H A Dds2482.c197 /* all cmds leave in STATUS, except CONFIG */ ds2482_send_cmd_data()
/linux-4.1.27/arch/powerpc/xmon/
H A Dxmon.c111 static int cmds(struct pt_regs *);
526 cmd = cmds(regs); xmon_core()
570 cmd = cmds(regs); xmon_core()
840 cmds(struct pt_regs *excp) cmds() function
/linux-4.1.27/include/linux/mmc/
H A Dcard.h131 unsigned char cmds; member in struct:sd_scr
/linux-4.1.27/drivers/scsi/qla2xxx/
H A Dqla_target.c1323 /* drop cmds for the given lun
1324 * XXX only looks for cmds on the port through which lun reset was recieved
1325 * XXX does not go through the list of other port (which may have cmds
1750 (ha->tgt.cmds[h-1] != NULL)); qlt_make_handle()
1785 ha->tgt.cmds[h-1] = prm->cmd; qlt_24xx_build_ctio_pkt()
2367 ha->tgt.cmds[h-1] = prm->cmd; qlt_build_ctio_crc2_pkt()
3237 if (ha->tgt.cmds[handle] != NULL) { qlt_get_cmd()
3238 struct qla_tgt_cmd *cmd = ha->tgt.cmds[handle]; qlt_get_cmd()
3239 ha->tgt.cmds[handle] = NULL; qlt_get_cmd()
3352 /* ha->tgt.cmds entry is cleared by qlt_get_cmd. */ qlt_host_reset_handler()
5833 /* free left over qfull cmds */ qlt_remove_target()
H A Dqla_def.h2892 struct qla_tgt_cmd *cmds[DEFAULT_OUTSTANDING_COMMANDS]; member in struct:qlt_hw_data
H A Dqla_mr.c91 * seconds. This is to serialize actual issuing of mailbox cmds during qlafx00_mailbox_command()
H A Dqla_mbx.c90 * seconds. This is to serialize actual issuing of mailbox cmds during qla2x00_mailbox_command()
H A Dqla_nx.c3702 /* Wait for pending cmds (physical and virtual) to complete */ qla82xx_chip_reset_cleanup()
H A Dqla_os.c1118 "wait for pending cmds failed for cmd=%p.\n", cmd); __qla2xxx_eh_generic_reset()
H A Dqla_init.c4644 /* Wait for pending cmds to complete */ qla2x00_quiesce_io()
/linux-4.1.27/drivers/net/can/usb/peak_usb/
H A Dpcan_usb_fd.c293 /* build the cmds list to enter operational mode */ pcan_usb_fd_set_bus()
439 /* build the entire cmds list in the provided buffer, to go back into pcan_usb_fd_restart_async()
/linux-4.1.27/security/
H A Dsecurity.c212 int security_quotactl(int cmds, int type, int id, struct super_block *sb) security_quotactl() argument
214 return security_ops->quotactl(cmds, type, id, sb); security_quotactl()
H A Dcapability.c43 static int cap_quotactl(int cmds, int type, int id, struct super_block *sb) cap_quotactl() argument
/linux-4.1.27/drivers/net/wireless/orinoco/
H A Dhermes.c133 /* For doing cmds that wipe the magic constant in SWSUPPORT0 */ hermes_doicmd_wait()
/linux-4.1.27/drivers/scsi/ibmvscsi/
H A Dibmvscsi.c756 * map_data_for_srp_cmd: - Calls functions to map data for srp cmds
761 * Called by scsi_cmd_to_srp_cmd() when converting scsi cmds to srp cmds
986 * Used as a callback by when sending scsi cmds.
H A Dibmvfc.c1522 * Used as a callback when sending scsi cmds.
/linux-4.1.27/drivers/net/ethernet/broadcom/bnx2x/
H A Dbnx2x_sriov.c282 enum bnx2x_queue_cmd cmds[] = {BNX2X_Q_CMD_HALT, bnx2x_vf_queue_destroy() local
302 for (i = 0; i < ARRAY_SIZE(cmds); i++) { bnx2x_vf_queue_destroy()
303 q_params.cmd = cmds[i]; bnx2x_vf_queue_destroy()
306 BNX2X_ERR("Failed to run Queue command %d\n", cmds[i]); bnx2x_vf_queue_destroy()
/linux-4.1.27/drivers/infiniband/ulp/iser/
H A Discsi_iser.h465 * @max_cmds: maximum cmds allowed for this connection
/linux-4.1.27/drivers/w1/
H A Dw1_netlink.c47 struct w1_netlink_cmd *cmd; /* advances as cmds are appened */
/linux-4.1.27/tools/perf/config/
H A DMakefile199 # $(obj-perf) for generated common-cmds.h
/linux-4.1.27/sound/sparc/
H A Ddbri.c106 static char *cmds[] = { variable
660 /* Space for 2 WAIT cmds (replaced later by 1 JUMP cmd) */ dbri_cmdlock()
1841 cmds[command], val); dbri_process_one_interrupt()
/linux-4.1.27/drivers/media/pci/cx23885/
H A Dcx23885-core.c64 * cmds size = 80
535 printk(KERN_WARNING "%s: cmds: %-15s: 0x%08x\n", cx23885_sram_channel_dump()
H A Dcx23885-417.c848 dprintk(3, "%s() cmds = 0x%08x\n", __func__, command); cx23885_api_cmd()
/linux-4.1.27/drivers/scsi/bnx2i/
H A Dbnx2i_iscsi.c474 struct iscsi_task *task = session->cmds[i]; bnx2i_destroy_cmd_pool()
499 struct iscsi_task *task = session->cmds[i]; bnx2i_setup_cmd_pool()
H A Dbnx2i_hwi.c2018 /* Run the kthread engine only for data cmds bnx2i_process_new_cqes()
2019 All other cmds will be completed in this bh! */ bnx2i_process_new_cqes()
/linux-4.1.27/drivers/iommu/
H A Drockchip-iommu.c53 #define RK_MMU_CMD_ENABLE_STALL 2 /* Stall paging to allow other cmds */
/linux-4.1.27/drivers/mmc/core/
H A Dsd.c218 scr->cmds = UNSTUFF_BITS(resp, 32, 2); mmc_decode_scr()
/linux-4.1.27/drivers/mmc/host/
H A Dsunxi-mmc.c423 /* For some cmds timeout is normal with sd/mmc cards */ sunxi_mmc_dump_errinfo()
/linux-4.1.27/drivers/net/ethernet/hp/
H A Dhp100.h301 #define HP100_RD_TX_DATA_MASK 0x06 /* choose PCI memread cmds for TX */
/linux-4.1.27/drivers/net/ethernet/i825xx/
H A Dsun3_82586.c552 * alloc nop/xmit-cmds init586()
/linux-4.1.27/drivers/media/pci/cx88/
H A Dcx88-core.c434 printk("%s: cmds: %-12s: 0x%08x\n", cx88_sram_channel_dump()
/linux-4.1.27/drivers/media/rc/
H A Dredrat3.c407 /* Util fn to send rr3 cmds */ redrat3_send_cmd()
/linux-4.1.27/drivers/scsi/mpt2sas/
H A Dmpt2sas_base.h111 #define INTERNAL_CMDS_COUNT 10 /* reserved cmds */
H A Dmpt2sas_transport.c222 * Callback handler when sending internal generated transport cmds.
H A Dmpt2sas_scsih.c3713 dtmprintk(ioc, printk(MPT2SAS_INFO_FMT "completing %d cmds\n", _scsih_flush_running_cmds()
/linux-4.1.27/drivers/scsi/mpt3sas/
H A Dmpt3sas_base.h108 #define INTERNAL_CMDS_COUNT 10 /* reserved cmds */
H A Dmpt3sas_transport.c226 * Callback handler when sending internal generated transport cmds.
H A Dmpt3sas_scsih.c3407 dtmprintk(ioc, pr_info(MPT3SAS_FMT "completing %d cmds\n", _scsih_flush_running_cmds()
/linux-4.1.27/drivers/net/wireless/mwifiex/
H A Dusb.c151 /* The buffer will be reused for further cmds/events */ mwifiex_usb_recv()
/linux-4.1.27/drivers/gpu/drm/sti/
H A Dsti_hqvdp.c732 DRM_ERROR("Cannot get cmds, skip btm field\n"); sti_hqvdp_vtg_cb()
/linux-4.1.27/arch/arc/mm/
H A Dtlb.c632 * hardware doesn't understand cmds such as WriteNI, or IVUTLB arc_mmu_init()
/linux-4.1.27/drivers/net/ethernet/intel/
H A De100.c715 /* Three cmds: write/erase enable, write data, write/erase disable */ e100_eeprom_write()
721 /* Bit-bang cmds to write word to eeprom */ e100_eeprom_write()
/linux-4.1.27/drivers/message/fusion/
H A Dmptscsih.c1055 "completing cmds: fw_channel %d, fw_id %d, sc=%p, mf = %p, " mptscsih_flush_running_cmds()
1117 MYIOC_s_FMT "completing cmds: fw_channel %d, " mptscsih_search_running_cmds()
H A Dmptbase.c4341 * then multiply the maximum number of simultaneous cmds initChainBuffers()
/linux-4.1.27/drivers/infiniband/hw/ocrdma/
H A Docrdma_hw.c627 /* mqe_ctx lock synchronizes with any other pending cmds. */ ocrdma_destroy_mq()
1033 /* This is for embedded cmds. */ ocrdma_mbx_cmd()
/linux-4.1.27/drivers/ide/
H A Dide-cd.c1309 /* standard prep_rq_fn that builds 10 byte cmds */ ide_cdrom_prep_fs()
/linux-4.1.27/drivers/media/usb/cx231xx/
H A Dcx231xx-417.c816 dprintk(3, "%s() cmds = 0x%08x\n", __func__, command); cx231xx_api_cmd()
/linux-4.1.27/drivers/gpu/drm/msm/dsi/
H A Ddsi_host.c1155 /* for video mode, do not send cmds more than dsi_cmds2buf_tx()
/linux-4.1.27/drivers/ata/
H A Dsata_fsl.c399 DPRINTK("mapping internal cmds to tag#0\n"); sata_fsl_tag()
H A Dlibata-core.c2134 u8 *cmds = dev->ncq_send_recv_cmds; ata_dev_config_ncq() local
2137 memcpy(cmds, ap->sector_buf, ATA_LOG_NCQ_SEND_RECV_SIZE); ata_dev_config_ncq()
2141 cmds[ATA_LOG_NCQ_SEND_RECV_DSM_OFFSET] &= ata_dev_config_ncq()
H A Dlibata-eh.c148 #define CMDS(cmds...) (const u8 []){ cmds, 0 }
H A Dsata_mv.c1858 * mv_check_atapi_dma - Filter ATAPI cmds which are unsuitable for DMA.
/linux-4.1.27/drivers/media/dvb-frontends/
H A Dcx24116.c143 enum cmds { enum
H A Dcx24117.c137 enum cmds { enum
/linux-4.1.27/include/linux/
H A Dsecurity.h1483 int (*quotactl) (int cmds, int type, int id, struct super_block *sb);
1789 int security_quotactl(int cmds, int type, int id, struct super_block *sb);
2026 static inline int security_quotactl(int cmds, int type, int id, security_quotactl() argument
H A Dlibata.h215 ATA_FLAG_PIO_DMA = (1 << 7), /* PIO cmds via DMA */
/linux-4.1.27/drivers/staging/dgap/
H A Ddgap.c2399 * ncmds - Wait until ncmds or fewer cmds are left
2485 * ncmds - Wait until ncmds or fewer cmds are left
2568 * ncmds - Wait until ncmds or fewer cmds are left
/linux-4.1.27/security/selinux/
H A Dhooks.c2069 static int selinux_quotactl(int cmds, int type, int id, struct super_block *sb) selinux_quotactl() argument
2077 switch (cmds) { selinux_quotactl()
2091 rc = 0; /* let the kernel handle invalid cmds */ selinux_quotactl()
/linux-4.1.27/drivers/isdn/hardware/mISDN/
H A Dhfcsusb.c115 /* control completion routine handling background control cmds */
/linux-4.1.27/drivers/mmc/card/
H A Dblock.c2179 card->scr.cmds & SD_SCR_CMD23_SUPPORT)) mmc_blk_alloc_req()
/linux-4.1.27/drivers/net/wireless/ath/ath6kl/
H A Dwmi.h538 /* Pktlog cmds */
/linux-4.1.27/drivers/net/wireless/iwlwifi/dvm/
H A Dmain.c273 * LQ & RXON updated cmds must be sent before BT Config cmd iwl_bg_bt_full_concurrency()
/linux-4.1.27/sound/pci/riptide/
H A Driptide.c854 "Riptide: Too many failed cmds, reinitializing\n"); sendcmd()
/linux-4.1.27/drivers/platform/x86/
H A Dthinkpad_acpi.c897 static char *next_cmd(char **cmds) next_cmd() argument
899 char *start = *cmds; next_cmd()
909 *cmds = end + 1; next_cmd()
/linux-4.1.27/drivers/scsi/qla4xxx/
H A Dql4_os.c4597 "Wait up to %u seconds for cmds to complete\n", qla4xxx_cmd_wait()
9158 * qla4xxx_eh_wait_for_commands - wait for active cmds to finish.
/linux-4.1.27/drivers/net/ethernet/myricom/myri10ge/
H A Dmyri10ge.c1053 * It must be called prior to calling any RSS related cmds, myri10ge_reset()
/linux-4.1.27/drivers/scsi/ufs/
H A Dufshcd.c1301 /* acquire the tag to make sure device cmds don't use it */ ufshcd_queuecommand()
/linux-4.1.27/drivers/infiniband/hw/qib/
H A Dqib_iba7322.c2510 /* clear the linkinit cmds */ qib_7322_bringup_serdes()

Completed in 9242 milliseconds