/linux-master/drivers/vdpa/pds/ |
H A D | Makefile | 7 cmds.o \
|
/linux-master/tools/lib/subcmd/ |
H A D | help.c | 16 void add_cmdname(struct cmdnames *cmds, const char *name, size_t len) argument 26 ALLOC_GROW(cmds->names, cmds->cnt + 1, cmds->alloc); 27 cmds->names[cmds->cnt++] = ent; 30 void clean_cmdnames(struct cmdnames *cmds) argument 34 for (i = 0; i < cmds->cnt; ++i) 35 zfree(&cmds->names[i]); 36 zfree(&cmds 48 uniq(struct cmdnames *cmds) argument 72 exclude_cmds(struct cmdnames *cmds, struct cmdnames *excludes) argument 128 pretty_print_string_list(struct cmdnames *cmds, int longest) argument 179 list_commands_in_dir(struct cmdnames *cmds, const char *path, const char *prefix) argument [all...] |
H A D | help.h | 26 void add_cmdname(struct cmdnames *cmds, const char *name, size_t len); 27 void clean_cmdnames(struct cmdnames *cmds); 29 void uniq(struct cmdnames *cmds); 31 void exclude_cmds(struct cmdnames *cmds, struct cmdnames *excludes);
|
/linux-master/drivers/vfio/pci/pds/ |
H A D | Makefile | 7 cmds.o \
|
/linux-master/drivers/media/pci/saa7164/ |
H A D | saa7164-cmd.c | 18 if (dev->cmds[i].inuse == 0) { 19 dev->cmds[i].inuse = 1; 20 dev->cmds[i].signalled = 0; 21 dev->cmds[i].timeout = 0; 22 ret = dev->cmds[i].seqno; 34 if ((dev->cmds[seqno].inuse == 1) && 35 (dev->cmds[seqno].seqno == seqno)) { 36 dev->cmds[seqno].inuse = 0; 37 dev->cmds[seqno].signalled = 0; 38 dev->cmds[seqn 178 u32 cmds; local [all...] |
/linux-master/tools/perf/util/ |
H A D | help-unknown-cmd.c | 32 static int add_cmd_list(struct cmdnames *cmds, struct cmdnames *old) argument 34 unsigned int i, nr = cmds->cnt + old->cnt; 37 if (nr > cmds->alloc) { 39 if (alloc_nr(cmds->alloc) < nr) 40 cmds->alloc = nr; 42 cmds->alloc = alloc_nr(cmds->alloc); 43 tmp = realloc(cmds->names, cmds->alloc * sizeof(*cmds [all...] |
/linux-master/tools/usb/usbip/src/ |
H A D | usbip.c | 41 static const struct command cmds[] = { variable in typeref:struct:command 100 for (i = 0; cmds[i].name != NULL; i++) 101 if (!strcmp(cmds[i].name, argv[0]) && cmds[i].usage) { 102 cmds[i].usage(); 110 for (cmd = cmds; cmd->name != NULL; cmd++) 177 for (i = 0; cmds[i].name != NULL; i++) 178 if (!strcmp(cmds[i].name, cmd)) { 182 rc = run_command(&cmds[i], argc, argv);
|
/linux-master/drivers/infiniband/core/ |
H A D | roce_gid_mgmt.c | 69 struct netdev_event_work_cmd cmds[ROCE_NETDEV_CALLBACK_SZ]; member in struct:netdev_event_work 626 for (i = 0; i < ARRAY_SIZE(work->cmds) && work->cmds[i].cb; i++) { 627 ib_enum_all_roce_netdevs(work->cmds[i].filter, 628 work->cmds[i].filter_ndev, 629 work->cmds[i].cb, 630 work->cmds[i].ndev); 631 dev_put(work->cmds[i].ndev); 632 dev_put(work->cmds[i].filter_ndev); 638 static int netdevice_queue_work(struct netdev_event_work_cmd *cmds, argument 675 ndev_event_unlink(struct netdev_notifier_changeupper_info *changeupper_info, struct netdev_event_work_cmd *cmds) argument 695 ndev_event_link(struct net_device *event_ndev, struct netdev_notifier_changeupper_info *changeupper_info, struct netdev_event_work_cmd *cmds) argument 723 netdevice_event_changeupper(struct net_device *event_ndev, struct netdev_notifier_changeupper_info *changeupper_info, struct netdev_event_work_cmd *cmds) argument 756 struct netdev_event_work_cmd cmds[ROCE_NETDEV_CALLBACK_SZ] = { {NULL} }; local [all...] |
/linux-master/drivers/net/wireless/intel/iwlwifi/fw/ |
H A D | notif-wait.c | 47 if (w->cmds[i] == rec_id || 48 (!iwl_cmd_groupid(w->cmds[i]) && 49 DEF_ID(w->cmds[i]) == rec_id)) { 85 const u16 *cmds, int n_cmds, 96 memcpy(wait_entry->cmds, cmds, n_cmds * sizeof(u16)); 83 iwl_init_notification_wait(struct iwl_notif_wait_data *notif_wait, struct iwl_notification_wait *wait_entry, const u16 *cmds, int n_cmds, bool (*fn)(struct iwl_notif_wait_data *notif_wait, struct iwl_rx_packet *pkt, void *data), void *fn_data) argument
|
H A D | notif-wait.h | 29 * @cmds: command IDs 53 u16 cmds[MAX_NOTIF_CMDS]; member in struct:iwl_notification_wait 83 const u16 *cmds, int n_cmds,
|
/linux-master/drivers/gpu/drm/i915/gt/ |
H A D | gen7_renderclear.c | 383 struct batch_chunk cmds, state; local 387 batch_init(&cmds, vma, start, 0, bv->state_start); 397 gen7_emit_pipeline_flush(&cmds); 398 gen7_emit_pipeline_invalidate(&cmds); 399 batch_add(&cmds, MI_LOAD_REGISTER_IMM(2)); 400 batch_add(&cmds, i915_mmio_reg_offset(CACHE_MODE_0_GEN7)); 401 batch_add(&cmds, 0xffff0000 | 405 batch_add(&cmds, i915_mmio_reg_offset(CACHE_MODE_1)); 406 batch_add(&cmds, 0xffff0000 | PIXEL_SUBSPAN_COLLECT_OPT_DISABLE); 407 gen7_emit_pipeline_invalidate(&cmds); [all...] |
/linux-master/tools/testing/selftests/tc-testing/plugin-lib/ |
H A D | nsPlugin.py | 163 cmds = [] 167 cmds.append(self._replace_keywords('netns add {}'.format(ns))) 168 cmds.append(self._replace_keywords('link add $DEV1 type veth peer name $DEV0')) 169 cmds.append(self._replace_keywords('link set $DEV1 netns {}'.format(ns))) 170 cmds.append(self._replace_keywords('link add $DUMMY type dummy'.format(ns))) 171 cmds.append(self._replace_keywords('link set $DUMMY netns {}'.format(ns))) 172 cmds.append(self._replace_keywords('netns exec {} $IP link set $DEV1 up'.format(ns))) 173 cmds.append(self._replace_keywords('netns exec {} $IP link set $DUMMY up'.format(ns))) 174 cmds.append(self._replace_keywords('link set $DEV0 up'.format(ns))) 177 cmds [all...] |
/linux-master/drivers/gpu/drm/vmwgfx/ |
H A D | vmwgfx_overlay.c | 105 } *cmds; local 117 fifo_size = sizeof(*cmds) + sizeof(*flush) + sizeof(*items) * num_items; 119 cmds = VMW_CMD_RESERVE(dev_priv, fifo_size); 121 if (!cmds) 124 items = (typeof(items))&cmds[1]; 128 fill_escape(&cmds->escape, sizeof(*items) * (num_items + 1)); 130 cmds->header.cmdType = SVGA_ESCAPE_VMWARE_VIDEO_SET_REGS; 131 cmds->header.streamId = arg->stream_id; 185 } *cmds; local 189 cmds [all...] |
/linux-master/include/soc/qcom/ |
H A D | tcs.h | 53 * @num_cmds: the number of @cmds in this request 54 * @cmds: an array of tcs_cmds 60 struct tcs_cmd *cmds; member in struct:tcs_request
|
/linux-master/include/uapi/linux/mmc/ |
H A D | ioctl.h | 57 * @cmds: Array of commands with length equal to 'num_of_cmds' 61 struct mmc_ioc_cmd cmds[]; member in struct:mmc_ioc_multi_cmd
|
/linux-master/tools/bpf/bpftool/ |
H A D | main.c | 187 int cmd_select(const struct cmd *cmds, int argc, char **argv, argument 196 if (argc < 1 && cmds[0].func) 197 return cmds[0].func(argc, argv); 199 for (i = 0; cmds[i].cmd; i++) { 200 if (is_prefix(*argv, cmds[i].cmd)) { 201 if (!cmds[i].func) { 203 cmds[i].cmd); 206 return cmds[i].func(argc - 1, argv + 1);
|
H A D | iter.c | 114 static const struct cmd cmds[] = { variable in typeref:struct:cmd 122 return cmd_select(cmds, argc, argv, do_help);
|
/linux-master/drivers/gpu/drm/xe/ |
H A D | xe_guc_ct_types.h | 43 /** @cmds: dma buffer map for CTB commands */ 44 struct iosys_map cmds; member in struct:guc_ctb 55 /** @cmds: snapshot of the CTB commands */ 56 u32 *cmds; member in struct:guc_ctb_snapshot
|
/linux-master/include/linux/mailbox/ |
H A D | brcm-message.h | 51 struct brcm_sba_command *cmds; member in struct:brcm_message::__anon746::__anon749
|
/linux-master/drivers/crypto/ccp/ |
H A D | ccp-crypto-main.c | 54 struct list_head cmds; member in struct:ccp_crypto_queue 99 /* Held cmds will be after the current cmd in the queue so start 103 list_for_each_entry_continue(tmp, &req_queue.cmds, entry) { 111 * Because cmds can be executed from any point in the cmd list 114 if (req_queue.backlog != &req_queue.cmds) { 128 /* Remove the cmd entry from the list of cmds */ 225 list_for_each_entry(tmp, &req_queue.cmds, entry) { 241 if (req_queue.backlog == &req_queue.cmds) 247 list_add_tail(&crypto_cmd->entry, &req_queue.cmds); 406 INIT_LIST_HEAD(&req_queue.cmds); [all...] |
/linux-master/drivers/soc/qcom/ |
H A D | trace-rpmh.h | 31 __entry->addr = r->cmds[0].addr; 32 __entry->data = r->cmds[0].data;
|
/linux-master/tools/perf/ |
H A D | perf-completion.sh | 129 cmds_=$($cmd $1 --list-cmds) 157 cmds=$($cmd --list-opts) 159 cmds=$($cmd --list-cmds) 161 __perfcomp "$cmds" "$cur" 213 subcmds=$($cmd $prev_skip_opts --list-cmds)
|
/linux-master/drivers/gpu/host1x/ |
H A D | job.c | 66 job->cmds = num_cmdbufs ? mem : NULL; 116 struct host1x_job_gather *gather = &job->cmds[job->num_cmds].gather; 129 struct host1x_job_cmd *cmd = &job->cmds[job->num_cmds]; 220 if (job->cmds[i].is_wait) 223 g = &job->cmds[i].gather; 541 if (job->cmds[i].is_wait) 544 g = &job->cmds[i].gather; 570 if (job->cmds[i].is_wait) 572 g = &job->cmds[i].gather; 619 if (job->cmds[ [all...] |
/linux-master/drivers/gpu/drm/i915/gt/uc/ |
H A D | intel_guc_ct.c | 175 u32 *cmds, u32 size_in_bytes, u32 resv_space) 180 ctb->cmds = cmds; 265 u32 *cmds; local 284 /* store pointers to desc and cmds for send ctb */ 286 cmds = blob + 2 * CTB_DESC_SIZE; 289 CT_DEBUG(ct, "%s desc %#tx cmds %#tx size %u/%u\n", "send", 290 ptrdiff(desc, blob), ptrdiff(cmds, blob), cmds_size, 293 guc_ct_buffer_init(&ct->ctbs.send, desc, cmds, cmds_size, resv_space); 295 /* store pointers to desc and cmds fo 173 guc_ct_buffer_init(struct intel_guc_ct_buffer *ctb, struct guc_ct_buffer_desc *desc, u32 *cmds, u32 size_in_bytes, u32 resv_space) argument 333 u32 base, desc, cmds, size; local 442 u32 *cmds = ctb->cmds; local 893 u32 *cmds = ctb->cmds; local [all...] |
/linux-master/drivers/interconnect/qcom/ |
H A D | bcm-voter.c | 265 * qcom_icc_bcm_voter_commit - generates and commits tcs cmds based on bcms 281 struct tcs_cmd cmds[MAX_BCMS]; local 309 tcs_list_gen(voter, QCOM_ICC_BUCKET_AMC, cmds, commit_idx); 316 cmds, commit_idx); 345 tcs_list_gen(voter, QCOM_ICC_BUCKET_WAKE, cmds, commit_idx); 347 ret = rpmh_write_batch(voter->dev, RPMH_WAKE_ONLY_STATE, cmds, commit_idx); 353 tcs_list_gen(voter, QCOM_ICC_BUCKET_SLEEP, cmds, commit_idx); 355 ret = rpmh_write_batch(voter->dev, RPMH_SLEEP_STATE, cmds, commit_idx);
|