Home
last modified time | relevance | path

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

12345678910

/include/linux/
Dfcntl.h19 #define IS_GETLK32(cmd) ((cmd) == F_GETLK) argument
20 #define IS_SETLK32(cmd) ((cmd) == F_SETLK) argument
21 #define IS_SETLKW32(cmd) ((cmd) == F_SETLKW) argument
22 #define IS_GETLK64(cmd) ((cmd) == F_GETLK64) argument
23 #define IS_SETLK64(cmd) ((cmd) == F_SETLK64) argument
24 #define IS_SETLKW64(cmd) ((cmd) == F_SETLKW64) argument
26 #define IS_GETLK32(cmd) (0) argument
27 #define IS_SETLK32(cmd) (0) argument
28 #define IS_SETLKW32(cmd) (0) argument
29 #define IS_GETLK64(cmd) ((cmd) == F_GETLK) argument
[all …]
Dsed-opal.h25 int sed_ioctl(struct opal_dev *dev, unsigned int cmd, void __user *ioctl_ptr);
27 static inline bool is_sed_ioctl(unsigned int cmd) in is_sed_ioctl() argument
29 switch (cmd) { in is_sed_ioctl()
54 static inline bool is_sed_ioctl(unsigned int cmd) in is_sed_ioctl() argument
59 static inline int sed_ioctl(struct opal_dev *dev, unsigned int cmd, in sed_ioctl() argument
Dreboot.h50 extern void do_kernel_restart(char *cmd);
57 extern void machine_restart(char *cmd);
69 extern void kernel_restart_prepare(char *cmd);
70 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()
168 static inline struct scsi_driver *scsi_cmd_to_driver(struct scsi_cmnd *cmd) in scsi_cmd_to_driver() argument
170 return *(struct scsi_driver **)cmd->request->rq_disk->private_data; in scsi_cmd_to_driver()
174 extern void scsi_finish_command(struct scsi_cmnd *cmd);
180 extern blk_status_t scsi_init_io(struct scsi_cmnd *cmd);
183 extern int scsi_dma_map(struct scsi_cmnd *cmd);
184 extern void scsi_dma_unmap(struct scsi_cmnd *cmd);
186 static inline int scsi_dma_map(struct scsi_cmnd *cmd) { return -ENOSYS; } in scsi_dma_map() argument
187 static inline void scsi_dma_unmap(struct scsi_cmnd *cmd) { } in scsi_dma_unmap() argument
[all …]
Dscsi_request.h11 unsigned char *cmd; member
27 if (req->cmd != req->__cmd) in scsi_req_free_cmd()
28 kfree(req->cmd); in scsi_req_free_cmd()
/include/trace/events/
Dscsi.h202 TP_PROTO(struct scsi_cmnd *cmd),
204 TP_ARGS(cmd),
216 __dynamic_array(unsigned char, cmnd, cmd->cmd_len)
220 __entry->host_no = cmd->device->host->host_no;
221 __entry->channel = cmd->device->channel;
222 __entry->id = cmd->device->id;
223 __entry->lun = cmd->device->lun;
224 __entry->opcode = cmd->cmnd[0];
225 __entry->cmd_len = cmd->cmd_len;
226 __entry->data_sglen = scsi_sg_count(cmd);
[all …]
Dtarget.h134 TP_PROTO(struct se_cmd *cmd),
136 TP_ARGS(cmd),
145 __string( initiator, cmd->se_sess->se_node_acl->initiatorname )
149 __entry->unpacked_lun = cmd->orig_fe_lun;
150 __entry->opcode = cmd->t_task_cdb[0];
151 __entry->data_length = cmd->data_length;
152 __entry->task_attribute = cmd->sam_task_attr;
153 __entry->control = scsi_command_control(cmd->t_task_cdb);
154 memcpy(__entry->cdb, cmd->t_task_cdb, TCM_MAX_COMMAND_SIZE);
155 __assign_str(initiator, cmd->se_sess->se_node_acl->initiatorname);
[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);
57 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/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/linux/reset/
Dbcm63xx_pmb.h45 u32 cmd; in __bpcm_do_op() local
47 cmd = (PMC_PMBM_START | op | (addr & 0xff) << 12 | off); in __bpcm_do_op()
48 writel(cmd, master + PMB_CTRL); in __bpcm_do_op()
50 cmd = readl(master + PMB_CTRL); in __bpcm_do_op()
51 if (!(cmd & PMC_PMBM_START)) in __bpcm_do_op()
54 if (cmd & PMC_PMBM_SLAVE_ERR) in __bpcm_do_op()
57 if (cmd & PMC_PMBM_TIMEOUT) in __bpcm_do_op()
/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);
30 const struct tcs_cmd *cmd, u32 n) in rpmh_write() argument
35 const struct tcs_cmd *cmd, u32 n) in rpmh_write_async() argument
40 const struct tcs_cmd *cmd, u32 *n) in rpmh_write_batch() argument
/include/target/
Dtarget_core_backend.h41 sense_reason_t (*parse_cdb)(struct se_cmd *cmd);
60 sense_reason_t (*execute_rw)(struct se_cmd *cmd, struct scatterlist *,
62 sense_reason_t (*execute_sync_cache)(struct se_cmd *cmd);
63 sense_reason_t (*execute_write_same)(struct se_cmd *cmd);
64 sense_reason_t (*execute_unmap)(struct se_cmd *cmd,
77 sense_reason_t spc_parse_cdb(struct se_cmd *cmd, unsigned int *size);
78 sense_reason_t spc_emulate_report_luns(struct se_cmd *cmd);
82 sense_reason_t sbc_parse_cdb(struct se_cmd *cmd, struct sbc_ops *ops);
85 sector_t sbc_get_write_same_sectors(struct se_cmd *cmd);
107 sense_reason_t passthrough_parse_cdb(struct se_cmd *cmd,
[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/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/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 …]
Dethtool.h97 __u32 cmd; member
178 __u32 cmd; member
204 __u32 cmd; member
212 __u32 cmd; member
245 __u32 cmd; member
311 __u32 cmd; member
336 __u32 cmd; member
361 __u32 cmd; member
383 __u32 cmd; member
463 __u32 cmd; member
[all …]
/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/media/
Drc-map.h77 #define RC_SCANCODE_NEC(addr, cmd) (((addr) << 8) | (cmd)) argument
78 #define RC_SCANCODE_NECX(addr, cmd) (((addr) << 8) | (cmd)) argument
80 #define RC_SCANCODE_RC5(sys, cmd) (((sys) << 8) | (cmd)) argument
81 #define RC_SCANCODE_RC5_SZ(sys, cmd) (((sys) << 8) | (cmd)) argument
82 #define RC_SCANCODE_RC6_0(sys, cmd) (((sys) << 8) | (cmd)) argument
83 #define RC_SCANCODE_RC6_6A(vendor, sys, cmd) (((vendor) << 16) | ((sys) << 8) | (cmd)) argument
/include/drm/
Ddrm_ioctl.h67 typedef int drm_ioctl_compat_t(struct file *filp, unsigned int cmd,
146 unsigned int cmd; member
164 .cmd = DRM_IOCTL_##ioctl, \
171 long drm_ioctl(struct file *filp, unsigned int cmd, unsigned long arg);
174 long drm_compat_ioctl(struct file *filp, unsigned int cmd, unsigned long arg);
/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/linux/mmc/
Dcore.h69 #define mmc_resp_type(cmd) ((cmd)->flags & (MMC_RSP_PRESENT|MMC_RSP_136|MMC_RSP_CRC|MMC_RSP_BUSY|MM… argument
84 #define mmc_spi_resp_type(cmd) ((cmd)->flags & \ argument
90 #define mmc_cmd_type(cmd) ((cmd)->flags & MMC_CMD_MASK) argument
149 struct mmc_command *cmd; member
190 int mmc_wait_for_cmd(struct mmc_host *host, struct mmc_command *cmd,
/include/uapi/drm/
Dsavage_drm.h177 unsigned char cmd; /* command */ member
182 } cmd; /* generic */ member
184 unsigned char cmd; member
191 unsigned char cmd; member
198 unsigned char cmd; member
205 unsigned char cmd; member

12345678910