| /include/linux/ |
| A D | fcntl.h | 29 #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 39 #define IS_GETLK64(cmd) ((cmd) == F_GETLK) argument 40 #define IS_SETLK64(cmd) ((cmd) == F_SETLK) argument 41 #define IS_SETLKW64(cmd) ((cmd) == F_SETLKW) argument 44 #define IS_GETLK(cmd) (IS_GETLK32(cmd) || IS_GETLK64(cmd)) argument 45 #define IS_SETLK(cmd) (IS_SETLK32(cmd) || IS_SETLK64(cmd)) argument [all …]
|
| A D | turris-omnia-mcu-interface.h | 271 void *cmd, unsigned int cmd_len, 277 return omnia_cmd_write_read(client, cmd, len, NULL, 0); in omnia_cmd_write() 283 u8 buf[2] = { cmd, val }; in omnia_cmd_write_u8() 293 buf[0] = cmd; in omnia_cmd_write_u16() 304 buf[0] = cmd; in omnia_cmd_write_u32() 313 return omnia_cmd_write_read(client, &cmd, 1, reply, len); in omnia_cmd_read() 338 err = omnia_cmd_read(client, cmd, &reply, in omnia_cmd_read_bits() 354 err = omnia_cmd_read_bits(client, cmd, bit, &reply); in omnia_cmd_read_bit() 367 err = omnia_cmd_read(client, cmd, &reply, sizeof(reply)); in omnia_cmd_read_u32() 382 err = omnia_cmd_read(client, cmd, &reply, sizeof(reply)); in omnia_cmd_read_u16() [all …]
|
| A D | mroute6.h | 32 extern int ip6mr_compat_ioctl(struct sock *sk, unsigned int cmd, void __user *arg); 36 int ip6mr_ioctl(struct sock *sk, int cmd, void *arg); 52 int ip6mr_ioctl(struct sock *sk, int cmd, void *arg) in ip6mr_ioctl() argument 110 static inline int ip6mr_sk_ioctl(struct sock *sk, unsigned int cmd, in ip6mr_sk_ioctl() argument 113 switch (cmd) { in ip6mr_sk_ioctl() 118 return sock_ioctl_inout(sk, cmd, arg, &buffer, in ip6mr_sk_ioctl() 124 return sock_ioctl_inout(sk, cmd, arg, &buffer, in ip6mr_sk_ioctl() 141 static inline int ip6mr_sk_ioctl(struct sock *sk, unsigned int cmd, in ip6mr_sk_ioctl() argument
|
| A D | sed-opal.h | 26 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() 65 static inline bool is_sed_ioctl(unsigned int cmd) in is_sed_ioctl() argument 70 static inline int sed_ioctl(struct opal_dev *dev, unsigned int cmd, in sed_ioctl() argument
|
| A D | mroute.h | 21 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
|
| /include/scsi/ |
| A D | scsi_cmnd.h | 158 return cmd + 1; in scsi_cmd_priv() 193 return cmd->sdb.length; in scsi_bufflen() 198 cmd->resid_len = resid; in scsi_set_resid() 203 return cmd->resid_len; in scsi_get_resid() 212 return sg_copy_from_buffer(scsi_sglist(cmd), scsi_sg_count(cmd), in scsi_sg_copy_from_buffer() 219 return sg_copy_to_buffer(scsi_sglist(cmd), scsi_sg_count(cmd), in scsi_sg_copy_to_buffer() 318 return cmd->prot_sdb ? cmd->prot_sdb->table.nents : 0; in scsi_prot_sg_count() 323 return cmd->prot_sdb ? cmd->prot_sdb->table.sgl : NULL; in scsi_prot_sglist() 328 return cmd->prot_sdb; in scsi_prot() 336 cmd->result = (cmd->result & 0xffffff00) | status; in set_status_byte() [all …]
|
| /include/trace/events/ |
| A D | scsi.h | 159 TP_PROTO(struct scsi_cmnd *cmd), 161 TP_ARGS(cmd), 181 __entry->id = cmd->device->id; 190 memcpy(__get_dynamic_array(cmnd), cmd->cmnd, cmd->cmd_len); 215 TP_ARGS(cmd, rtn), 246 memcpy(__get_dynamic_array(cmnd), cmd->cmnd, cmd->cmd_len); 266 TP_ARGS(cmd), 302 memcpy(__get_dynamic_array(cmnd), cmd->cmnd, cmd->cmd_len); 303 if (cmd->sense_buffer && SCSI_SENSE_VALID(cmd) && 334 TP_ARGS(cmd)); [all …]
|
| A D | target.h | 134 TP_PROTO(struct se_cmd *cmd), 136 TP_ARGS(cmd), 151 __entry->tag = cmd->tag; 152 __entry->opcode = cmd->t_task_cdb[0]; 153 __entry->data_length = cmd->data_length; 171 TP_PROTO(struct se_cmd *cmd), 173 TP_ARGS(cmd), 191 __entry->tag = cmd->tag; 192 __entry->opcode = cmd->t_task_cdb[0]; 193 __entry->data_length = cmd->data_length; [all …]
|
| A D | mmc.h | 48 __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/ |
| A D | hypercall.h | 47 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/io_uring/ |
| A D | cmd.h | 18 void (*task_work_cb)(struct io_uring_cmd *cmd, unsigned); 26 return sqe->cmd; in io_uring_sqe_cmd() 33 #define io_uring_cmd_to_pdu(cmd, pdu_type) ( \ argument 35 ((pdu_type *)&(cmd)->pdu) \ 56 void io_uring_cmd_done(struct io_uring_cmd *cmd, ssize_t ret, u64 res2, 67 void io_uring_cmd_mark_cancelable(struct io_uring_cmd *cmd, 98 static inline void io_uring_cmd_mark_cancelable(struct io_uring_cmd *cmd, in io_uring_cmd_mark_cancelable() argument 133 return cmd_to_io_kiocb(cmd)->tctx->task; in io_uring_cmd_get_task() 140 static inline void *io_uring_cmd_ctx_handle(struct io_uring_cmd *cmd) in io_uring_cmd_ctx_handle() argument 142 return cmd_to_io_kiocb(cmd)->ctx; in io_uring_cmd_ctx_handle() [all …]
|
| /include/linux/mfd/ |
| A D | dln2.h | 5 #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/ |
| A D | mcip.h | 22 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/ |
| A D | hda_regmap.h | 82 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() 165 return snd_hdac_regmap_update_raw(codec, cmd, mask, val); in snd_hdac_regmap_update_amp() 187 err = snd_hdac_regmap_read_raw(codec, cmd, &val); in snd_hdac_regmap_get_amp_stereo() [all …]
|
| /include/soc/qcom/ |
| A D | rpmh.h | 15 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/ |
| A D | bcm63xx_pmb.h | 37 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/ |
| A D | target_core_backend.h | 45 sense_reason_t (*parse_cdb)(struct se_cmd *cmd); 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); 96 sector_t sbc_get_write_same_sectors(struct se_cmd *cmd); 119 sense_reason_t passthrough_parse_cdb(struct se_cmd *cmd, [all …]
|
| /include/net/ |
| A D | wext.h | 10 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/soc/mediatek/ |
| A D | dvfsrc.h | 23 int mtk_dvfsrc_send_request(const struct device *dev, u32 cmd, u64 data); 24 int mtk_dvfsrc_query_info(const struct device *dev, u32 cmd, int *data); 28 static inline int mtk_dvfsrc_send_request(const struct device *dev, u32 cmd, u64 data) in mtk_dvfsrc_send_request() argument 31 static inline int mtk_dvfsrc_query_info(const struct device *dev, u32 cmd, int *data) in mtk_dvfsrc_query_info() argument
|
| /include/uapi/linux/ |
| A D | wireless.h | 355 #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 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 843 __u16 cmd; /* IW_MLME_* */ member [all …]
|
| /include/linux/dma/ |
| A D | qcom_bam_dma.h | 48 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/ |
| A D | drm_ioctl.h | 67 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/input/ |
| A D | lm8333.h | 20 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/ |
| A D | qinfo.h | 79 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/ |
| A D | core.h | 68 #define mmc_resp_type(cmd) ((cmd)->flags & (MMC_RSP_PRESENT|MMC_RSP_136|MMC_RSP_CRC|MMC_RSP_BUSY|MM… argument 83 #define mmc_spi_resp_type(cmd) ((cmd)->flags & \ argument 89 #define mmc_cmd_type(cmd) ((cmd)->flags & MMC_CMD_MASK) argument 151 struct mmc_command *cmd; member 181 int mmc_wait_for_cmd(struct mmc_host *host, struct mmc_command *cmd,
|