/include/linux/ |
D | fcntl.h | 18 #define IS_GETLK32(cmd) ((cmd) == F_GETLK) argument 19 #define IS_SETLK32(cmd) ((cmd) == F_SETLK) argument 20 #define IS_SETLKW32(cmd) ((cmd) == F_SETLKW) argument 21 #define IS_GETLK64(cmd) ((cmd) == F_GETLK64) argument 22 #define IS_SETLK64(cmd) ((cmd) == F_SETLK64) argument 23 #define IS_SETLKW64(cmd) ((cmd) == F_SETLKW64) argument 25 #define IS_GETLK32(cmd) (0) argument 26 #define IS_SETLK32(cmd) (0) argument 27 #define IS_SETLKW32(cmd) (0) argument 28 #define IS_GETLK64(cmd) ((cmd) == F_GETLK) argument [all …]
|
D | reboot.h | 43 extern void do_kernel_restart(char *cmd); 50 extern void machine_restart(char *cmd); 62 extern void kernel_restart_prepare(char *cmd); 63 extern void kernel_restart(char *cmd);
|
D | yam.h | 74 int cmd; member 79 int cmd; member
|
D | libnvdimm.h | 50 struct nvdimm *nvdimm, unsigned int cmd, void *buf, 61 struct nvdimm *nvdimm, unsigned int cmd); 142 const struct nd_cmd_desc *nd_cmd_dimm_desc(int cmd); 143 const struct nd_cmd_desc *nd_cmd_bus_desc(int cmd); 144 u32 nd_cmd_in_size(struct nvdimm *nvdimm, int cmd, 146 u32 nd_cmd_out_size(struct nvdimm *nvdimm, int cmd,
|
/include/scsi/ |
D | scsi_cmnd.h | 147 static inline void *scsi_cmd_priv(struct scsi_cmnd *cmd) in scsi_cmd_priv() argument 149 return cmd + 1; in scsi_cmd_priv() 153 static inline struct scsi_driver *scsi_cmd_to_driver(struct scsi_cmnd *cmd) in scsi_cmd_to_driver() argument 155 return *(struct scsi_driver **)cmd->request->rq_disk->private_data; in scsi_cmd_to_driver() 160 extern void scsi_finish_command(struct scsi_cmnd *cmd); 166 extern int scsi_init_io(struct scsi_cmnd *cmd); 168 extern int scsi_dma_map(struct scsi_cmnd *cmd); 169 extern void scsi_dma_unmap(struct scsi_cmnd *cmd); 171 static inline unsigned scsi_sg_count(struct scsi_cmnd *cmd) in scsi_sg_count() argument 173 return cmd->sdb.table.nents; in scsi_sg_count() [all …]
|
/include/trace/events/ |
D | scsi.h | 201 TP_PROTO(struct scsi_cmnd *cmd), 203 TP_ARGS(cmd), 215 __dynamic_array(unsigned char, cmnd, cmd->cmd_len) 219 __entry->host_no = cmd->device->host->host_no; 220 __entry->channel = cmd->device->channel; 221 __entry->id = cmd->device->id; 222 __entry->lun = cmd->device->lun; 223 __entry->opcode = cmd->cmnd[0]; 224 __entry->cmd_len = cmd->cmd_len; 225 __entry->data_sglen = scsi_sg_count(cmd); [all …]
|
D | target.h | 133 TP_PROTO(struct se_cmd *cmd), 135 TP_ARGS(cmd), 143 __string( initiator, cmd->se_sess->se_node_acl->initiatorname ) 147 __entry->unpacked_lun = cmd->orig_fe_lun; 148 __entry->opcode = cmd->t_task_cdb[0]; 149 __entry->data_length = cmd->data_length; 150 __entry->task_attribute = cmd->sam_task_attr; 151 memcpy(__entry->cdb, cmd->t_task_cdb, TCM_MAX_COMMAND_SIZE); 152 __assign_str(initiator, cmd->se_sess->se_node_acl->initiatorname); 168 TP_PROTO(struct se_cmd *cmd), [all …]
|
/include/linux/mfd/ |
D | dln2.h | 4 #define DLN2_CMD(cmd, id) ((cmd) | ((id) << 8)) argument 63 int dln2_transfer(struct platform_device *pdev, u16 cmd, 80 static inline int dln2_transfer_rx(struct platform_device *pdev, u16 cmd, in dln2_transfer_rx() argument 83 return dln2_transfer(pdev, cmd, NULL, 0, ibuf, ibuf_len); in dln2_transfer_rx() 97 static inline int dln2_transfer_tx(struct platform_device *pdev, u16 cmd, in dln2_transfer_tx() argument 100 return dln2_transfer(pdev, cmd, obuf, obuf_len, NULL, NULL); in dln2_transfer_tx()
|
D | viperboard.h | 54 u8 cmd; member 64 u8 cmd; member 94 u8 cmd; member
|
/include/sound/ |
D | hda_regmap.h | 78 unsigned int cmd = snd_hdac_regmap_encode_verb(nid, verb); in snd_hdac_regmap_write() local 80 return snd_hdac_regmap_write_raw(codec, cmd, val); in snd_hdac_regmap_write() 97 unsigned int cmd = snd_hdac_regmap_encode_verb(nid, verb); in snd_hdac_regmap_update() local 99 return snd_hdac_regmap_update_raw(codec, cmd, mask, val); in snd_hdac_regmap_update() 114 unsigned int cmd = snd_hdac_regmap_encode_verb(nid, verb); in snd_hdac_regmap_read() local 116 return snd_hdac_regmap_read_raw(codec, cmd, val); in snd_hdac_regmap_read() 135 unsigned int cmd = snd_hdac_regmap_encode_amp(nid, ch, dir, idx); in snd_hdac_regmap_get_amp() local 138 err = snd_hdac_regmap_read_raw(codec, cmd, &val); in snd_hdac_regmap_get_amp() 159 unsigned int cmd = snd_hdac_regmap_encode_amp(nid, ch, dir, idx); in snd_hdac_regmap_update_amp() local 161 return snd_hdac_regmap_update_raw(codec, cmd, mask, val); in snd_hdac_regmap_update_amp() [all …]
|
/include/target/ |
D | target_core_backend.h | 26 void (*transport_complete)(struct se_cmd *cmd, 30 sense_reason_t (*parse_cdb)(struct se_cmd *cmd); 48 sense_reason_t (*execute_rw)(struct se_cmd *cmd, struct scatterlist *, 50 sense_reason_t (*execute_sync_cache)(struct se_cmd *cmd); 51 sense_reason_t (*execute_write_same)(struct se_cmd *cmd); 52 sense_reason_t (*execute_unmap)(struct se_cmd *cmd, 62 sense_reason_t spc_parse_cdb(struct se_cmd *cmd, unsigned int *size); 63 sense_reason_t spc_emulate_report_luns(struct se_cmd *cmd); 67 sense_reason_t sbc_parse_cdb(struct se_cmd *cmd, struct sbc_ops *ops); 70 sector_t sbc_get_write_same_sectors(struct se_cmd *cmd); [all …]
|
/include/linux/reset/ |
D | bcm63xx_pmb.h | 45 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/net/ |
D | wext.h | 9 int wext_handle_ioctl(struct net *net, struct ifreq *ifr, unsigned int cmd, 11 int compat_wext_handle_ioctl(struct net *net, unsigned int cmd, 17 static inline int wext_handle_ioctl(struct net *net, struct ifreq *ifr, unsigned int cmd, in wext_handle_ioctl() argument 22 static inline int compat_wext_handle_ioctl(struct net *net, unsigned int cmd, in compat_wext_handle_ioctl() argument 45 unsigned int cmd, struct iw_request_info *info, 48 unsigned int cmd, struct iw_request_info *info,
|
/include/media/ |
D | rc-map.h | 102 #define RC_SCANCODE_NEC(addr, cmd) (((addr) << 8) | (cmd)) argument 103 #define RC_SCANCODE_NECX(addr, cmd) (((addr) << 8) | (cmd)) argument 105 #define RC_SCANCODE_RC5(sys, cmd) (((sys) << 8) | (cmd)) argument 106 #define RC_SCANCODE_RC5_SZ(sys, cmd) (((sys) << 8) | (cmd)) argument 107 #define RC_SCANCODE_RC6_0(sys, cmd) (((sys) << 8) | (cmd)) argument 108 #define RC_SCANCODE_RC6_6A(vendor, sys, cmd) (((vendor) << 16) | ((sys) << 8) | (cmd)) argument
|
D | v4l2-dev.h | 405 bool v4l2_is_known_ioctl(unsigned int cmd); 414 unsigned int cmd) in v4l2_disable_ioctl_locking() argument 416 if (_IOC_NR(cmd) < BASE_VIDIOC_PRIVATE) in v4l2_disable_ioctl_locking() 417 set_bit(_IOC_NR(cmd), vdev->disable_locking); in v4l2_disable_ioctl_locking() 436 unsigned int cmd) in v4l2_disable_ioctl() argument 438 if (_IOC_NR(cmd) < BASE_VIDIOC_PRIVATE) in v4l2_disable_ioctl() 439 set_bit(_IOC_NR(cmd), vdev->valid_ioctls); in v4l2_disable_ioctl()
|
/include/uapi/linux/ |
D | wireless.h | 348 #define IW_IOCTL_IDX(cmd) ((cmd) - SIOCIWFIRST) argument 353 #define IW_IS_SET(cmd) (!((cmd) & 0x1)) argument 354 #define IW_IS_GET(cmd) ((cmd) & 0x1) argument 395 #define IW_EVENT_IDX(cmd) ((cmd) - IWEVFIRST) argument 651 #define IW_EVENT_CAPA_BASE(cmd) ((cmd >= SIOCIWFIRSTPRIV) ? \ argument 652 (cmd - SIOCIWFIRSTPRIV + 0x60) : \ 653 (cmd - SIOCIWFIRST)) 654 #define IW_EVENT_CAPA_INDEX(cmd) (IW_EVENT_CAPA_BASE(cmd) >> 5) argument 655 #define IW_EVENT_CAPA_MASK(cmd) (1 << (IW_EVENT_CAPA_BASE(cmd) & 0x1F)) argument 663 #define IW_EVENT_CAPA_SET(event_capa, cmd) (event_capa[IW_EVENT_CAPA_INDEX(cmd)] |= IW_EVENT_CAPA_M… argument [all …]
|
D | ethtool.h | 100 __u32 cmd; member 181 __u32 cmd; member 207 __u32 cmd; member 215 __u32 cmd; member 244 __u32 cmd; member 267 __u32 cmd; member 292 __u32 cmd; member 317 __u32 cmd; member 339 __u32 cmd; member 419 __u32 cmd; member [all …]
|
D | ndctl.h | 174 static inline const char *nvdimm_bus_cmd_name(unsigned cmd) in nvdimm_bus_cmd_name() argument 183 if (cmd < ARRAY_SIZE(names) && names[cmd]) in nvdimm_bus_cmd_name() 184 return names[cmd]; in nvdimm_bus_cmd_name() 188 static inline const char *nvdimm_cmd_name(unsigned cmd) in nvdimm_cmd_name() argument 203 if (cmd < ARRAY_SIZE(names) && names[cmd]) in nvdimm_cmd_name() 204 return names[cmd]; in nvdimm_cmd_name()
|
D | ipmi.h | 155 unsigned char cmd; member 162 unsigned char cmd; member 346 unsigned char cmd; member 374 unsigned int cmd; member
|
/include/linux/input/ |
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/ |
D | qinfo.h | 78 static inline map_word lpddr_build_cmd(u_long cmd, struct map_info *map) in lpddr_build_cmd() argument 81 val.x[0] = cmd; in lpddr_build_cmd() 86 #define CMDVAL(cmd) cmd.x[0] argument
|
/include/uapi/drm/ |
D | savage_drm.h | 177 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
|
/include/linux/usb/ |
D | audio.h | 31 int (*set)(struct usb_audio_control *con, u8 cmd, int value); 32 int (*get)(struct usb_audio_control *con, u8 cmd);
|
D | usbnet.h | 184 extern int usbnet_read_cmd(struct usbnet *dev, u8 cmd, u8 reqtype, 186 extern int usbnet_write_cmd(struct usbnet *dev, u8 cmd, u8 reqtype, 188 extern int usbnet_read_cmd_nopm(struct usbnet *dev, u8 cmd, u8 reqtype, 190 extern int usbnet_write_cmd_nopm(struct usbnet *dev, u8 cmd, u8 reqtype, 192 extern int usbnet_write_cmd_async(struct usbnet *dev, u8 cmd, u8 reqtype, 266 struct ethtool_cmd *cmd); 268 struct ethtool_cmd *cmd);
|
/include/linux/mmc/ |
D | core.h | 61 #define mmc_resp_type(cmd) ((cmd)->flags & (MMC_RSP_PRESENT|MMC_RSP_136|MMC_RSP_CRC|MMC_RSP_BUSY|MM… argument 76 #define mmc_spi_resp_type(cmd) ((cmd)->flags & \ argument 82 #define mmc_cmd_type(cmd) ((cmd)->flags & MMC_CMD_MASK) argument 134 struct mmc_command *cmd; member
|