Home
last modified time | relevance | path

Searched refs:cmd (Results 1 – 25 of 276) sorted by relevance

12345678910>>...12

/include/linux/
Dfcntl.h29 #define IS_GETLK32(cmd) ((cmd) == F_GETLK) argument
30 #define IS_SETLK32(cmd) ((cmd) == F_SETLK) argument
31 #define IS_SETLKW32(cmd) ((cmd) == F_SETLKW) argument
32 #define IS_GETLK64(cmd) ((cmd) == F_GETLK64) argument
33 #define IS_SETLK64(cmd) ((cmd) == F_SETLK64) argument
34 #define IS_SETLKW64(cmd) ((cmd) == F_SETLKW64) argument
36 #define IS_GETLK32(cmd) (0) argument
37 #define IS_SETLK32(cmd) (0) argument
38 #define IS_SETLKW32(cmd) (0) argument
39 #define IS_GETLK64(cmd) ((cmd) == F_GETLK) argument
[all …]
Dmroute6.h32 extern int ip6mr_compat_ioctl(struct sock *sk, unsigned int cmd, void __user *arg);
35 int ip6mr_ioctl(struct sock *sk, int cmd, void *arg);
51 int ip6mr_ioctl(struct sock *sk, int cmd, void *arg) in ip6mr_ioctl() argument
103 static inline int ip6mr_sk_ioctl(struct sock *sk, unsigned int cmd, in ip6mr_sk_ioctl() argument
106 switch (cmd) { in ip6mr_sk_ioctl()
111 return sock_ioctl_inout(sk, cmd, arg, &buffer, in ip6mr_sk_ioctl()
117 return sock_ioctl_inout(sk, cmd, arg, &buffer, in ip6mr_sk_ioctl()
134 static inline int ip6mr_sk_ioctl(struct sock *sk, unsigned int cmd, in ip6mr_sk_ioctl() argument
Dsed-opal.h26 int sed_ioctl(struct opal_dev *dev, unsigned int cmd, void __user *ioctl_ptr);
31 static inline bool is_sed_ioctl(unsigned int cmd) in is_sed_ioctl() argument
33 switch (cmd) { in is_sed_ioctl()
64 static inline bool is_sed_ioctl(unsigned int cmd) in is_sed_ioctl() argument
69 static inline int sed_ioctl(struct opal_dev *dev, unsigned int cmd, in sed_ioctl() argument
Dmroute.h21 int ipmr_ioctl(struct sock *sk, int cmd, void *arg);
22 int ipmr_compat_ioctl(struct sock *sk, unsigned int cmd, void __user *arg);
25 int ipmr_sk_ioctl(struct sock *sk, unsigned int cmd, void __user *arg);
39 static inline int ipmr_ioctl(struct sock *sk, int cmd, void *arg) in ipmr_ioctl() argument
59 static inline int ipmr_sk_ioctl(struct sock *sk, unsigned int cmd, in ipmr_sk_ioctl() argument
Dreboot.h51 extern void do_kernel_restart(char *cmd);
58 extern void machine_restart(char *cmd);
138 const char *cmd; member
170 extern void kernel_restart_prepare(char *cmd);
171 extern void kernel_restart(char *cmd);
/include/scsi/
Dscsi_cmnd.h162 static inline void *scsi_cmd_priv(struct scsi_cmnd *cmd) in scsi_cmd_priv() argument
164 return cmd + 1; in scsi_cmd_priv()
167 void scsi_done(struct scsi_cmnd *cmd);
168 void scsi_done_direct(struct scsi_cmnd *cmd);
170 extern void scsi_finish_command(struct scsi_cmnd *cmd);
176 blk_status_t scsi_alloc_sgtables(struct scsi_cmnd *cmd);
177 void scsi_free_sgtables(struct scsi_cmnd *cmd);
180 extern int scsi_dma_map(struct scsi_cmnd *cmd);
181 extern void scsi_dma_unmap(struct scsi_cmnd *cmd);
183 static inline int scsi_dma_map(struct scsi_cmnd *cmd) { return -ENOSYS; } in scsi_dma_map() argument
[all …]
/include/trace/events/
Dscsi.h159 TP_PROTO(struct scsi_cmnd *cmd),
161 TP_ARGS(cmd),
175 __dynamic_array(unsigned char, cmnd, cmd->cmd_len)
179 __entry->host_no = cmd->device->host->host_no;
180 __entry->channel = cmd->device->channel;
181 __entry->id = cmd->device->id;
182 __entry->lun = cmd->device->lun;
183 __entry->opcode = cmd->cmnd[0];
184 __entry->cmd_len = cmd->cmd_len;
185 __entry->driver_tag = scsi_cmd_to_rq(cmd)->tag;
[all …]
Dtarget.h134 TP_PROTO(struct se_cmd *cmd),
136 TP_ARGS(cmd),
146 __string( initiator, cmd->se_sess->se_node_acl->initiatorname )
150 __entry->unpacked_lun = cmd->orig_fe_lun;
151 __entry->tag = cmd->tag;
152 __entry->opcode = cmd->t_task_cdb[0];
153 __entry->data_length = cmd->data_length;
154 __entry->task_attribute = cmd->sam_task_attr;
155 __entry->control = scsi_command_control(cmd->t_task_cdb);
156 memcpy(__entry->cdb, cmd->t_task_cdb, TCM_MAX_COMMAND_SIZE);
[all …]
Dmmc.h48 __entry->cmd_opcode = mrq->cmd ? mrq->cmd->opcode : 0;
49 __entry->cmd_arg = mrq->cmd ? mrq->cmd->arg : 0;
50 __entry->cmd_flags = mrq->cmd ? mrq->cmd->flags : 0;
51 __entry->cmd_retries = mrq->cmd ? mrq->cmd->retries : 0;
129 __entry->cmd_opcode = mrq->cmd ? mrq->cmd->opcode : 0;
130 __entry->cmd_err = mrq->cmd ? mrq->cmd->error : 0;
131 __entry->cmd_resp[0] = mrq->cmd ? mrq->cmd->resp[0] : 0;
132 __entry->cmd_resp[1] = mrq->cmd ? mrq->cmd->resp[1] : 0;
133 __entry->cmd_resp[2] = mrq->cmd ? mrq->cmd->resp[2] : 0;
134 __entry->cmd_resp[3] = mrq->cmd ? mrq->cmd->resp[3] : 0;
[all …]
/include/xen/arm/
Dhypercall.h47 int HYPERVISOR_xen_version(int cmd, void *arg);
48 int HYPERVISOR_console_io(int cmd, int count, char *str);
49 int HYPERVISOR_grant_table_op(unsigned int cmd, void *uop, unsigned int count);
50 int HYPERVISOR_sched_op(int cmd, void *arg);
51 int HYPERVISOR_event_channel_op(int cmd, void *arg);
53 int HYPERVISOR_memory_op(unsigned int cmd, void *arg);
54 int HYPERVISOR_physdev_op(int cmd, void *arg);
55 int HYPERVISOR_vcpu_op(int cmd, int vcpuid, void *extra_args);
56 int HYPERVISOR_vm_assist(unsigned int cmd, unsigned int type);
/include/linux/mfd/
Ddln2.h5 #define DLN2_CMD(cmd, id) ((cmd) | ((id) << 8)) argument
64 int dln2_transfer(struct platform_device *pdev, u16 cmd,
81 static inline int dln2_transfer_rx(struct platform_device *pdev, u16 cmd, in dln2_transfer_rx() argument
84 return dln2_transfer(pdev, cmd, NULL, 0, ibuf, ibuf_len); in dln2_transfer_rx()
98 static inline int dln2_transfer_tx(struct platform_device *pdev, u16 cmd, in dln2_transfer_tx() argument
101 return dln2_transfer(pdev, cmd, obuf, obuf_len, NULL, NULL); in dln2_transfer_tx()
/include/linux/io_uring/
Dcmd.h15 void (*task_work_cb)(struct io_uring_cmd *cmd, unsigned);
23 return sqe->cmd; in io_uring_sqe_cmd()
30 #define io_uring_cmd_to_pdu(cmd, pdu_type) ( \ argument
32 ((pdu_type *)&(cmd)->pdu) \
46 void io_uring_cmd_done(struct io_uring_cmd *cmd, ssize_t ret, u64 res2,
57 void io_uring_cmd_mark_cancelable(struct io_uring_cmd *cmd,
69 static inline void io_uring_cmd_done(struct io_uring_cmd *cmd, ssize_t ret, in io_uring_cmd_done() argument
78 static inline void io_uring_cmd_mark_cancelable(struct io_uring_cmd *cmd, in io_uring_cmd_mark_cancelable() argument
111 static inline struct task_struct *io_uring_cmd_get_task(struct io_uring_cmd *cmd) in io_uring_cmd_get_task() argument
113 return cmd_to_io_kiocb(cmd)->task; in io_uring_cmd_get_task()
/include/soc/arc/
Dmcip.h22 unsigned int pad:8, param:16, cmd:8; member
24 unsigned int cmd:8, param:16, pad:8;
101 static inline void __mcip_cmd(unsigned int cmd, unsigned int param) in __mcip_cmd() argument
106 buf.cmd = cmd; in __mcip_cmd()
116 static inline void __mcip_cmd_data(unsigned int cmd, unsigned int param, in __mcip_cmd_data() argument
121 __mcip_cmd(cmd, param); in __mcip_cmd_data()
127 static inline unsigned int __mcip_cmd_read(unsigned int cmd, unsigned int param) in __mcip_cmd_read() argument
129 __mcip_cmd(cmd, param); in __mcip_cmd_read()
/include/sound/
Dhda_regmap.h82 unsigned int cmd = snd_hdac_regmap_encode_verb(nid, verb); in snd_hdac_regmap_write() local
84 return snd_hdac_regmap_write_raw(codec, cmd, val); in snd_hdac_regmap_write()
101 unsigned int cmd = snd_hdac_regmap_encode_verb(nid, verb); in snd_hdac_regmap_update() local
103 return snd_hdac_regmap_update_raw(codec, cmd, mask, val); in snd_hdac_regmap_update()
118 unsigned int cmd = snd_hdac_regmap_encode_verb(nid, verb); in snd_hdac_regmap_read() local
120 return snd_hdac_regmap_read_raw(codec, cmd, val); in snd_hdac_regmap_read()
139 unsigned int cmd = snd_hdac_regmap_encode_amp(nid, ch, dir, idx); in snd_hdac_regmap_get_amp() local
142 err = snd_hdac_regmap_read_raw(codec, cmd, &val); in snd_hdac_regmap_get_amp()
163 unsigned int cmd = snd_hdac_regmap_encode_amp(nid, ch, dir, idx); in snd_hdac_regmap_update_amp() local
165 return snd_hdac_regmap_update_raw(codec, cmd, mask, val); in snd_hdac_regmap_update_amp()
[all …]
/include/soc/qcom/
Drpmh.h15 const struct tcs_cmd *cmd, u32 n);
18 const struct tcs_cmd *cmd, u32 n);
21 const struct tcs_cmd *cmd, u32 *n);
28 const struct tcs_cmd *cmd, u32 n) in rpmh_write() argument
33 const struct tcs_cmd *cmd, u32 n) in rpmh_write_async() argument
38 const struct tcs_cmd *cmd, u32 *n) in rpmh_write_batch() argument
/include/linux/reset/
Dbcm63xx_pmb.h37 u32 cmd; in __bpcm_do_op() local
39 cmd = (PMC_PMBM_START | op | (addr & 0xff) << 12 | off); in __bpcm_do_op()
40 writel(cmd, master + PMB_CTRL); in __bpcm_do_op()
42 cmd = readl(master + PMB_CTRL); in __bpcm_do_op()
43 if (!(cmd & PMC_PMBM_START)) in __bpcm_do_op()
46 if (cmd & PMC_PMBM_SLAVE_ERR) in __bpcm_do_op()
49 if (cmd & PMC_PMBM_TIMEOUT) in __bpcm_do_op()
/include/target/
Dtarget_core_backend.h45 sense_reason_t (*parse_cdb)(struct se_cmd *cmd);
66 sense_reason_t (*execute_rw)(struct se_cmd *cmd, struct scatterlist *,
68 sense_reason_t (*execute_sync_cache)(struct se_cmd *cmd);
69 sense_reason_t (*execute_write_same)(struct se_cmd *cmd);
70 sense_reason_t (*execute_unmap)(struct se_cmd *cmd,
72 sense_reason_t (*execute_pr_out)(struct se_cmd *cmd, u8 sa, u64 key,
74 sense_reason_t (*execute_pr_in)(struct se_cmd *cmd, u8 sa,
88 sense_reason_t spc_parse_cdb(struct se_cmd *cmd, unsigned int *size);
89 sense_reason_t spc_emulate_report_luns(struct se_cmd *cmd);
93 sense_reason_t sbc_parse_cdb(struct se_cmd *cmd, struct exec_cmd_ops *ops);
[all …]
/include/net/
Dwext.h10 int wext_handle_ioctl(struct net *net, unsigned int cmd,
12 int compat_wext_handle_ioctl(struct net *net, unsigned int cmd,
18 static inline int wext_handle_ioctl(struct net *net, unsigned int cmd, in wext_handle_ioctl() argument
23 static inline int compat_wext_handle_ioctl(struct net *net, unsigned int cmd, in compat_wext_handle_ioctl() argument
46 unsigned int cmd, struct iw_request_info *info,
49 unsigned int cmd, struct iw_request_info *info,
/include/uapi/linux/
Dwireless.h355 #define IW_IOCTL_IDX(cmd) ((cmd) - SIOCIWFIRST) argument
360 #define IW_IS_SET(cmd) (!((cmd) & 0x1)) argument
361 #define IW_IS_GET(cmd) ((cmd) & 0x1) argument
402 #define IW_EVENT_IDX(cmd) ((cmd) - IWEVFIRST) argument
658 #define IW_EVENT_CAPA_BASE(cmd) ((cmd >= SIOCIWFIRSTPRIV) ? \ argument
659 (cmd - SIOCIWFIRSTPRIV + 0x60) : \
660 (cmd - SIOCIWFIRST))
661 #define IW_EVENT_CAPA_INDEX(cmd) (IW_EVENT_CAPA_BASE(cmd) >> 5) argument
662 #define IW_EVENT_CAPA_MASK(cmd) (1 << (IW_EVENT_CAPA_BASE(cmd) & 0x1F)) argument
670 #define IW_EVENT_CAPA_SET(event_capa, cmd) (event_capa[IW_EVENT_CAPA_INDEX(cmd)] |= IW_EVENT_CAPA_M… argument
[all …]
/include/linux/dma/
Dqcom_bam_dma.h48 enum bam_command_type cmd, __le32 data) in bam_prep_ce_le32() argument
51 cpu_to_le32((addr & 0xffffff) | ((cmd & 0xff) << 24)); in bam_prep_ce_le32()
67 enum bam_command_type cmd, u32 data) in bam_prep_ce() argument
69 bam_prep_ce_le32(bam_ce, addr, cmd, cpu_to_le32(data)); in bam_prep_ce()
/include/drm/
Ddrm_ioctl.h67 typedef int drm_ioctl_compat_t(struct file *filp, unsigned int cmd,
135 unsigned int cmd; member
153 .cmd = DRM_IOCTL_##ioctl, \
159 long drm_ioctl(struct file *filp, unsigned int cmd, unsigned long arg);
162 long drm_compat_ioctl(struct file *filp, unsigned int cmd, unsigned long arg);
/include/linux/mmc/
Dcore.h56 #define mmc_resp_type(cmd) ((cmd)->flags & (MMC_RSP_PRESENT|MMC_RSP_136|MMC_RSP_CRC|MMC_RSP_BUSY|MM… argument
71 #define mmc_spi_resp_type(cmd) ((cmd)->flags & \ argument
77 #define mmc_cmd_type(cmd) ((cmd)->flags & MMC_CMD_MASK) argument
133 struct mmc_command *cmd; member
162 int mmc_wait_for_cmd(struct mmc_host *host, struct mmc_command *cmd,
/include/linux/input/
Dlm8333.h20 extern int lm8333_read8(struct lm8333 *lm8333, u8 cmd);
21 extern int lm8333_write8(struct lm8333 *lm8333, u8 cmd, u8 val);
22 extern int lm8333_read_block(struct lm8333 *lm8333, u8 cmd, u8 len, u8 *buf);
/include/linux/mtd/
Dqinfo.h79 static inline map_word lpddr_build_cmd(u_long cmd, struct map_info *map) in lpddr_build_cmd() argument
82 val.x[0] = cmd; in lpddr_build_cmd()
87 #define CMDVAL(cmd) cmd.x[0] argument
/include/media/
Drc-map.h126 #define RC_SCANCODE_NEC(addr, cmd) (((addr) << 8) | (cmd)) argument
127 #define RC_SCANCODE_NECX(addr, cmd) (((addr) << 8) | (cmd)) argument
129 #define RC_SCANCODE_RC5(sys, cmd) (((sys) << 8) | (cmd)) argument
130 #define RC_SCANCODE_RC5_SZ(sys, cmd) (((sys) << 8) | (cmd)) argument
131 #define RC_SCANCODE_RC6_0(sys, cmd) (((sys) << 8) | (cmd)) argument
132 #define RC_SCANCODE_RC6_6A(vendor, sys, cmd) (((vendor) << 16) | ((sys) << 8) | (cmd)) argument

12345678910>>...12