Searched refs:cmd (Results 101 - 125 of 2398) sorted by relevance

1234567891011>>

/drivers/misc/ibmasm/
H A Dheartbeat.c87 struct command *cmd = sp->heartbeat; local
88 struct dot_command_header *header = (struct dot_command_header *)cmd->buffer;
96 cmd->status = IBMASM_CMD_PENDING;
97 size = min(size, cmd->buffer_size);
98 memcpy_fromio(cmd->buffer, message, size);
100 ibmasm_exec_command(sp, cmd);
/drivers/staging/comedi/drivers/
H A Ddt2814.c126 struct comedi_subdevice *s, struct comedi_cmd *cmd)
133 err |= cfc_check_trigger_src(&cmd->start_src, TRIG_NOW);
134 err |= cfc_check_trigger_src(&cmd->scan_begin_src, TRIG_TIMER);
135 err |= cfc_check_trigger_src(&cmd->convert_src, TRIG_NOW);
136 err |= cfc_check_trigger_src(&cmd->scan_end_src, TRIG_COUNT);
137 err |= cfc_check_trigger_src(&cmd->stop_src, TRIG_COUNT | TRIG_NONE);
144 err |= cfc_check_trigger_is_unique(cmd->stop_src);
153 err |= cfc_check_trigger_arg_is(&cmd->start_arg, 0);
155 err |= cfc_check_trigger_arg_max(&cmd->scan_begin_arg, 1000000000);
156 err |= cfc_check_trigger_arg_min(&cmd
125 dt2814_ai_cmdtest(struct comedi_device *dev, struct comedi_subdevice *s, struct comedi_cmd *cmd) argument
184 struct comedi_cmd *cmd = &s->async->cmd; local
[all...]
H A Dcomedi_test.c168 struct comedi_cmd *cmd = &async->cmd; local
187 if (cmd->stop_src == TRIG_COUNT) {
188 unsigned int remaining = cmd->stop_arg - devpriv->ai_count;
198 for (j = 0; j < cmd->chanlist_len; j++) {
201 sample = fake_waveform(dev, CR_CHAN(cmd->chanlist[j]),
202 CR_RANGE(cmd->chanlist[j]),
224 struct comedi_cmd *cmd)
231 err |= cfc_check_trigger_src(&cmd->start_src, TRIG_NOW);
232 err |= cfc_check_trigger_src(&cmd
222 waveform_ai_cmdtest(struct comedi_device *dev, struct comedi_subdevice *s, struct comedi_cmd *cmd) argument
303 struct comedi_cmd *cmd = &s->async->cmd; local
[all...]
H A Dni_labpc_common.c305 static bool labpc_use_continuous_mode(const struct comedi_cmd *cmd, argument
308 if (mode == MODE_SINGLE_CHAN || cmd->scan_begin_src == TRIG_FOLLOW)
314 static unsigned int labpc_ai_convert_period(const struct comedi_cmd *cmd, argument
317 if (cmd->convert_src != TRIG_TIMER)
320 if (mode == MODE_SINGLE_CHAN && cmd->scan_begin_src == TRIG_TIMER)
321 return cmd->scan_begin_arg;
323 return cmd->convert_arg;
326 static void labpc_set_ai_convert_period(struct comedi_cmd *cmd, argument
329 if (cmd->convert_src != TRIG_TIMER)
333 cmd
342 labpc_ai_scan_period(const struct comedi_cmd *cmd, enum scan_mode mode) argument
354 labpc_set_ai_scan_period(struct comedi_cmd *cmd, enum scan_mode mode, unsigned int ns) argument
367 labpc_adc_timing(struct comedi_device *dev, struct comedi_cmd *cmd, enum scan_mode mode) argument
460 labpc_ai_scan_mode(const struct comedi_cmd *cmd) argument
484 labpc_ai_check_chanlist(struct comedi_device *dev, struct comedi_subdevice *s, struct comedi_cmd *cmd) argument
544 labpc_ai_cmdtest(struct comedi_device *dev, struct comedi_subdevice *s, struct comedi_cmd *cmd) argument
658 struct comedi_cmd *cmd = &async->cmd; local
805 struct comedi_cmd *cmd = &async->cmd; local
853 struct comedi_cmd *cmd; local
[all...]
H A Damplc_pci224.c493 struct comedi_cmd *cmd = &s->async->cmd; local
500 if (cmd->stop_src == TRIG_EXT)
516 struct comedi_cmd *cmd = &s->async->cmd; local
525 if (cmd->stop_src == TRIG_COUNT) {
536 if (cmd->stop_src == TRIG_COUNT &&
563 room /= cmd->chanlist_len;
573 for (i = 0; i < cmd->chanlist_len; i++) {
578 if (cmd
628 struct comedi_cmd *cmd = &s->async->cmd; local
639 pci224_ao_check_chanlist(struct comedi_device *dev, struct comedi_subdevice *s, struct comedi_cmd *cmd) argument
680 pci224_ao_cmdtest(struct comedi_device *dev, struct comedi_subdevice *s, struct comedi_cmd *cmd) argument
859 struct comedi_cmd *cmd = &s->async->cmd; local
950 struct comedi_cmd *cmd = &s->async->cmd; local
981 struct comedi_cmd *cmd; local
[all...]
H A Dni_tiocmd.c93 struct comedi_cmd *cmd = &s->async->cmd; local
97 if (trig_num != cmd->start_src)
120 struct comedi_cmd *cmd = &async->cmd; local
141 if (cmd->start_src == TRIG_INT) {
147 if (cmd->start_src == TRIG_NOW)
149 else if (cmd->start_src == TRIG_EXT)
150 ret = ni_tio_arm(counter, 1, cmd->start_arg);
172 struct comedi_cmd *cmd local
200 struct comedi_cmd *cmd = &async->cmd; local
225 ni_tio_cmdtest(struct comedi_device *dev, struct comedi_subdevice *s, struct comedi_cmd *cmd) argument
[all...]
H A Dni_at_a2150.c168 struct comedi_cmd *cmd; local
179 cmd = &async->cmd;
216 if (devpriv->count < num_points && cmd->stop_src == TRIG_COUNT)
221 if (cmd->stop_src == TRIG_NONE) {
241 if (cmd->stop_src == TRIG_COUNT) {
396 struct comedi_cmd *cmd)
398 unsigned int chan0 = CR_CHAN(cmd->chanlist[0]);
399 unsigned int aref0 = CR_AREF(cmd->chanlist[0]);
402 if (cmd
394 a2150_ai_check_chanlist(struct comedi_device *dev, struct comedi_subdevice *s, struct comedi_cmd *cmd) argument
436 a2150_ai_cmdtest(struct comedi_device *dev, struct comedi_subdevice *s, struct comedi_cmd *cmd) argument
508 struct comedi_cmd *cmd = &async->cmd; local
[all...]
/drivers/target/
H A Dtarget_core_iblock.c291 static void iblock_complete_cmd(struct se_cmd *cmd) argument
293 struct iblock_req *ibr = cmd->priv;
304 target_complete_cmd(cmd, status);
310 struct se_cmd *cmd = bio->bi_private; local
311 struct iblock_req *ibr = cmd->priv;
331 iblock_complete_cmd(cmd);
335 iblock_get_bio(struct se_cmd *cmd, sector_t lba, u32 sg_num) argument
337 struct iblock_dev *ib_dev = IBLOCK_DEV(cmd->se_dev);
354 bio->bi_private = cmd;
374 struct se_cmd *cmd local
394 iblock_execute_sync_cache(struct se_cmd *cmd) argument
417 iblock_do_unmap(struct se_cmd *cmd, void *priv, sector_t lba, sector_t nolb) argument
433 iblock_execute_unmap(struct se_cmd *cmd) argument
441 iblock_execute_write_same_unmap(struct se_cmd *cmd) argument
457 iblock_execute_write_same(struct se_cmd *cmd) argument
624 iblock_alloc_bip(struct se_cmd *cmd, struct bio *bio) argument
669 iblock_execute_rw(struct se_cmd *cmd, struct scatterlist *sgl, u32 sgl_nents, enum dma_data_direction data_direction) argument
847 iblock_parse_cdb(struct se_cmd *cmd) argument
[all...]
/drivers/scsi/
H A DNCR5380.c277 * @cmd: command block to set up
282 static __inline__ void initialize_SCp(Scsi_Cmnd * cmd) argument
289 if (scsi_bufflen(cmd)) {
290 cmd->SCp.buffer = scsi_sglist(cmd);
291 cmd->SCp.buffers_residual = scsi_sg_count(cmd) - 1;
292 cmd->SCp.ptr = sg_virt(cmd->SCp.buffer);
293 cmd
512 should_disconnect(unsigned char cmd) argument
763 lprint_Scsi_Cmnd(Scsi_Cmnd * cmd, struct seq_file *m) argument
938 NCR5380_queue_command_lck(Scsi_Cmnd * cmd, void (*done) (Scsi_Cmnd *)) argument
1227 collect_stats(struct NCR5380_hostdata *hostdata, Scsi_Cmnd * cmd) argument
1281 NCR5380_select(struct Scsi_Host *instance, Scsi_Cmnd * cmd, int tag) argument
2089 Scsi_Cmnd *cmd = (Scsi_Cmnd *) hostdata->connected; local
2664 NCR5380_abort(Scsi_Cmnd * cmd) argument
2818 NCR5380_bus_reset(Scsi_Cmnd * cmd) argument
[all...]
H A Dscsi_lib.c83 scsi_set_blocked(struct scsi_cmnd *cmd, int reason) argument
85 struct Scsi_Host *host = cmd->device->host;
86 struct scsi_device *device = cmd->device;
118 static void scsi_mq_requeue_cmd(struct scsi_cmnd *cmd) argument
120 struct scsi_device *sdev = cmd->device;
121 struct request_queue *q = cmd->request->q;
123 blk_mq_requeue_request(cmd->request);
130 * @cmd: The SCSI command being requeued
140 static void __scsi_queue_insert(struct scsi_cmnd *cmd, int reason, int unbusy) argument
142 struct scsi_device *device = cmd
194 scsi_queue_insert(struct scsi_cmnd *cmd, int reason) argument
214 scsi_execute(struct scsi_device *sdev, const unsigned char *cmd, int data_direction, void *buffer, unsigned bufflen, unsigned char *sense, int timeout, int retries, u64 flags, int *resid) argument
264 scsi_execute_req_flags(struct scsi_device *sdev, const unsigned char *cmd, int data_direction, void *buffer, unsigned bufflen, struct scsi_sense_hdr *sshdr, int timeout, int retries, int *resid, u64 flags) argument
298 scsi_init_cmd_errh(struct scsi_cmnd *cmd) argument
527 scsi_requeue_command(struct request_queue *q, struct scsi_cmnd *cmd) argument
545 scsi_next_command(struct scsi_cmnd *cmd) argument
625 scsi_uninit_cmd(struct scsi_cmnd *cmd) argument
635 scsi_mq_free_sgtables(struct scsi_cmnd *cmd) argument
645 scsi_mq_uninit_cmd(struct scsi_cmnd *cmd) argument
678 scsi_release_buffers(struct scsi_cmnd *cmd) argument
689 scsi_release_bidi_buffers(struct scsi_cmnd *cmd) argument
701 struct scsi_cmnd *cmd = req->special; local
766 __scsi_error_from_host_byte(struct scsi_cmnd *cmd, int result) argument
827 scsi_io_completion(struct scsi_cmnd *cmd, unsigned int good_bytes) argument
1109 scsi_init_io(struct scsi_cmnd *cmd, gfp_t gfp_mask) argument
1178 struct scsi_cmnd *cmd; local
1207 struct scsi_cmnd *cmd = req->special; local
1237 struct scsi_cmnd *cmd = req->special; local
1252 struct scsi_cmnd *cmd = req->special; local
1335 struct scsi_cmnd *cmd = req->special; local
1361 struct scsi_cmnd *cmd; local
1572 struct scsi_cmnd *cmd = req->special; local
1603 struct scsi_cmnd *cmd = rq->special; local
1651 scsi_done(struct scsi_cmnd *cmd) argument
1674 struct scsi_cmnd *cmd; variable in typeref:struct:scsi_cmnd
1798 struct scsi_cmnd *cmd = blk_mq_rq_to_pdu(req); local
1855 scsi_mq_done(struct scsi_cmnd *cmd) argument
1867 struct scsi_cmnd *cmd = blk_mq_rq_to_pdu(req); local
1957 struct scsi_cmnd *cmd = blk_mq_rq_to_pdu(rq); local
1969 struct scsi_cmnd *cmd = blk_mq_rq_to_pdu(rq); local
2242 unsigned char cmd[10]; local
2318 unsigned char cmd[12]; local
2422 char cmd[] = { local
[all...]
H A Deata_pio.c161 struct scsi_cmnd *cmd; local
184 cmd = cp->cmd;
185 base = cmd->device->host->base;
193 while ((cmd->SCp.Status) && ((z > 0) || (odd))) {
195 *(cmd->SCp.ptr) = zwickel >> 8;
196 IncStat(&cmd->SCp, 1);
199 x = min_t(unsigned int, z, cmd->SCp.this_residual / 2);
200 insw(base + HA_RDATA, cmd->SCp.ptr, x);
202 IncStat(&cmd
302 eata_pio_queue_lck(struct scsi_cmnd *cmd, void (*done)(struct scsi_cmnd *)) argument
406 eata_pio_abort(struct scsi_cmnd *cmd) argument
438 eata_pio_host_reset(struct scsi_cmnd *cmd) argument
[all...]
/drivers/gpu/drm/vmwgfx/
H A Dvmwgfx_shader.c138 } *cmd; local
154 cmd = vmw_fifo_reserve(dev_priv, sizeof(*cmd));
155 if (unlikely(cmd == NULL)) {
162 cmd->header.id = SVGA_3D_CMD_DEFINE_GB_SHADER;
163 cmd->header.size = sizeof(cmd->body);
164 cmd->body.shid = res->id;
165 cmd->body.type = shader->type;
166 cmd
185 } *cmd; local
216 } *cmd; local
256 } *cmd; local
[all...]
H A Dvmwgfx_context.c113 } *cmd; local
131 cmd = vmw_fifo_reserve(dev_priv, sizeof(*cmd));
132 if (unlikely(cmd == NULL)) {
138 cmd->header.id = cpu_to_le32(SVGA_3D_CMD_CONTEXT_DESTROY);
139 cmd->header.size = cpu_to_le32(sizeof(cmd->body));
140 cmd->body.cid = cpu_to_le32(res->id);
142 vmw_fifo_commit(dev_priv, sizeof(*cmd));
192 } *cmd; local
256 } *cmd; local
301 } *cmd; local
343 uint8_t *cmd; local
398 } *cmd; local
553 } *cmd; local
586 } *cmd; local
626 } *cmd; local
[all...]
/drivers/net/wimax/i2400m/
H A Dop-rfkill.c94 } __packed *cmd; local
100 cmd = kzalloc(sizeof(*cmd), GFP_KERNEL);
101 if (cmd == NULL)
103 cmd->hdr.type = cpu_to_le16(I2400M_MT_CMD_RF_CONTROL);
104 cmd->hdr.length = sizeof(cmd->sw_rf);
105 cmd->hdr.version = cpu_to_le16(I2400M_L3L4_VERSION);
106 cmd->sw_rf.hdr.type = cpu_to_le16(I2400M_TLV_RF_OPERATION);
107 cmd
[all...]
/drivers/ide/
H A Dide-disk.c55 static void ide_tf_set_cmd(ide_drive_t *drive, struct ide_cmd *cmd, u8 dma) argument
59 lba48 = (cmd->tf_flags & IDE_TFLAG_LBA48) ? 2 : 0;
60 write = (cmd->tf_flags & IDE_TFLAG_WRITE) ? 1 : 0;
63 cmd->protocol = ATA_PROT_DMA;
66 cmd->protocol = ATA_PROT_PIO;
68 cmd->tf_flags |= IDE_TFLAG_MULTI_PIO;
74 cmd->tf.command = ide_rw_cmds[index + lba48 + write];
88 struct ide_cmd cmd; local
89 struct ide_taskfile *tf = &cmd.tf;
99 memset(&cmd,
207 struct ide_cmd cmd; local
241 struct ide_cmd cmd; local
432 struct ide_cmd *cmd; local
510 struct ide_cmd cmd; local
584 struct ide_cmd cmd; local
768 struct ide_cmd cmd; local
[all...]
H A Dide-cd_ioctl.c113 unsigned char cmd[BLK_MAX_CDB]; local
126 memset(cmd, 0, BLK_MAX_CDB);
128 cmd[0] = GPCMD_START_STOP_UNIT;
129 cmd[4] = loej | (ejectflag != 0);
131 return ide_cd_queue_pc(drive, cmd, 0, NULL, NULL, sense, 0, 0);
149 unsigned char cmd[BLK_MAX_CDB]; local
151 memset(cmd, 0, BLK_MAX_CDB);
153 cmd[0] = GPCMD_PREVENT_ALLOW_MEDIUM_REMOVAL;
154 cmd[4] = lockflag ? 1 : 0;
156 stat = ide_cd_queue_pc(drive, cmd,
218 unsigned char cmd[BLK_MAX_CDB]; local
276 unsigned char cmd[BLK_MAX_CDB]; local
357 unsigned char cmd[BLK_MAX_CDB]; local
426 ide_cdrom_audio_ioctl(struct cdrom_device_info *cdi, unsigned int cmd, void *arg) argument
[all...]
H A Dide-lib.c35 u64 ide_get_lba_addr(struct ide_cmd *cmd, int lba48) argument
37 struct ide_taskfile *tf = &cmd->tf;
42 tf = &cmd->hob;
53 struct ide_cmd cmd; local
54 struct ide_taskfile *tf = &cmd.tf;
57 memset(&cmd, 0, sizeof(cmd));
59 cmd.valid.in.tf = IDE_VALID_LBA;
60 cmd.valid.in.hob = IDE_VALID_LBA;
61 cmd
[all...]
/drivers/net/ethernet/mellanox/mlx4/
H A Den_ethtool.c377 static int mlx4_en_get_settings(struct net_device *dev, struct ethtool_cmd *cmd) argument
382 cmd->autoneg = AUTONEG_DISABLE;
383 cmd->supported = SUPPORTED_10000baseT_Full;
384 cmd->advertising = ADVERTISED_10000baseT_Full;
391 ethtool_cmd_speed_set(cmd, priv->port_state.link_speed);
392 cmd->duplex = DUPLEX_FULL;
394 ethtool_cmd_speed_set(cmd, SPEED_UNKNOWN);
395 cmd->duplex = DUPLEX_UNKNOWN;
399 cmd->port = PORT_FIBRE;
400 cmd
415 mlx4_en_set_settings(struct net_device *dev, struct ethtool_cmd *cmd) argument
657 mlx4_en_validate_flow(struct net_device *dev, struct ethtool_rxnfc *cmd) argument
730 mlx4_en_ethtool_add_mac_rule(struct ethtool_rxnfc *cmd, struct list_head *rule_list_h, struct mlx4_spec_list *spec_l2, unsigned char *mac) argument
753 mlx4_en_ethtool_add_mac_rule_by_ipv4(struct mlx4_en_priv *priv, struct ethtool_rxnfc *cmd, struct list_head *rule_list_h, struct mlx4_spec_list *spec_l2, __be32 ipv4_dst) argument
777 add_ip_rule(struct mlx4_en_priv *priv, struct ethtool_rxnfc *cmd, struct list_head *list_h) argument
815 add_tcp_udp_rule(struct mlx4_en_priv *priv, struct ethtool_rxnfc *cmd, struct list_head *list_h, int proto) argument
883 mlx4_en_ethtool_to_net_trans_rule(struct net_device *dev, struct ethtool_rxnfc *cmd, struct list_head *rule_list_h) argument
923 mlx4_en_flow_replace(struct net_device *dev, struct ethtool_rxnfc *cmd) argument
999 mlx4_en_flow_detach(struct net_device *dev, struct ethtool_rxnfc *cmd) argument
1029 mlx4_en_get_flow(struct net_device *dev, struct ethtool_rxnfc *cmd, int loc) argument
1061 mlx4_en_get_rxnfc(struct net_device *dev, struct ethtool_rxnfc *cmd, u32 *rule_locs) argument
1103 mlx4_en_set_rxnfc(struct net_device *dev, struct ethtool_rxnfc *cmd) argument
[all...]
/drivers/net/wireless/ath/ath10k/
H A Dwmi.c28 /* MAIN WMI cmd track */
148 /* 10.X WMI cmd track */
660 u32 cmd = 0; local
665 cmd |= SM(cmd_id, WMI_CMD_HDR_CMD_ID);
668 cmd_hdr->cmd_id = __cpu_to_le32(cmd);
760 struct wmi_mgmt_tx_cmd *cmd; local
774 len = sizeof(cmd->hdr) + skb->len;
790 cmd = (struct wmi_mgmt_tx_cmd *)wmi_skb->data;
792 cmd->hdr.vdev_id = __cpu_to_le32(ATH10K_SKB_CB(skb)->vdev_id);
793 cmd
2806 struct wmi_pdev_set_regdomain_cmd *cmd; local
2833 struct wmi_pdev_set_regdomain_cmd_10x *cmd; local
2871 struct wmi_set_channel_cmd *cmd; local
2906 struct wmi_pdev_suspend_cmd *cmd; local
2932 struct wmi_pdev_set_param_cmd *cmd; local
2956 struct wmi_init_cmd *cmd; local
3055 struct wmi_init_cmd_10x *cmd; local
3146 struct wmi_init_cmd_10_2 *cmd; local
3307 struct wmi_start_scan_cmd *cmd; local
3451 struct wmi_stop_scan_cmd *cmd; local
3488 struct wmi_vdev_create_cmd *cmd; local
3510 struct wmi_vdev_delete_cmd *cmd; local
3531 struct wmi_vdev_start_request_cmd *cmd; local
3619 struct wmi_vdev_stop_cmd *cmd; local
3636 struct wmi_vdev_up_cmd *cmd; local
3657 struct wmi_vdev_down_cmd *cmd; local
3676 struct wmi_vdev_set_param_cmd *cmd; local
3705 struct wmi_vdev_install_key_cmd *cmd; local
3741 struct wmi_vdev_spectral_conf_cmd *cmd; local
3777 struct wmi_vdev_spectral_enable_cmd *cmd; local
3797 struct wmi_peer_create_cmd *cmd; local
3817 struct wmi_peer_delete_cmd *cmd; local
3837 struct wmi_peer_flush_tids_cmd *cmd; local
3859 struct wmi_peer_set_param_cmd *cmd; local
3882 struct wmi_sta_powersave_mode_cmd *cmd; local
3905 struct wmi_sta_powersave_param_cmd *cmd; local
3927 struct wmi_ap_ps_peer_cmd *cmd; local
3954 struct wmi_scan_chan_list_cmd *cmd; local
4009 struct wmi_common_peer_assoc_complete_cmd *cmd = buf; local
4051 struct wmi_main_peer_assoc_complete_cmd *cmd = buf; local
4068 struct wmi_10_2_peer_assoc_complete_cmd *cmd = buf; local
4128 struct wmi_bcn_tx_ref_cmd *cmd; local
4181 struct wmi_pdev_set_wmm_params *cmd; local
4201 struct wmi_request_stats_cmd *cmd; local
4218 struct wmi_force_fw_hang_cmd *cmd; local
4236 struct wmi_dbglog_cfg_cmd *cmd; local
[all...]
/drivers/net/wireless/iwlwifi/mvm/
H A Dmac-ctxt.c554 struct iwl_mac_ctx_cmd *cmd)
572 cmd->protection_flags |= cpu_to_le32(ht_flag);
577 cmd->protection_flags |= cpu_to_le32(ht_flag);
588 struct iwl_mac_ctx_cmd *cmd,
600 cmd->id_and_color = cpu_to_le32(FW_CMD_ID_AND_COLOR(mvmvif->id,
602 cmd->action = cpu_to_le32(action);
607 cmd->mac_type = cpu_to_le32(FW_MAC_TYPE_P2P_STA);
609 cmd->mac_type = cpu_to_le32(FW_MAC_TYPE_BSS_STA);
612 cmd->mac_type = cpu_to_le32(FW_MAC_TYPE_GO);
615 cmd
552 iwl_mvm_mac_ctxt_set_ht_flags(struct iwl_mvm *mvm, struct ieee80211_vif *vif, struct iwl_mac_ctx_cmd *cmd) argument
586 iwl_mvm_mac_ctxt_cmd_common(struct iwl_mvm *mvm, struct ieee80211_vif *vif, struct iwl_mac_ctx_cmd *cmd, const u8 *bssid_override, u32 action) argument
688 iwl_mvm_mac_ctxt_send_cmd(struct iwl_mvm *mvm, struct iwl_mac_ctx_cmd *cmd) argument
704 struct iwl_mac_ctx_cmd cmd = {}; local
787 struct iwl_mac_ctx_cmd cmd = {}; local
808 struct iwl_mac_ctx_cmd cmd = {}; local
846 struct iwl_mac_ctx_cmd cmd = {}; local
904 struct iwl_host_cmd cmd = { local
1074 struct iwl_mac_ctx_cmd cmd = {}; local
1099 struct iwl_mac_ctx_cmd cmd = {}; local
1193 struct iwl_mac_ctx_cmd cmd; local
1250 iwl_mvm_rx_beacon_notif(struct iwl_mvm *mvm, struct iwl_rx_cmd_buffer *rxb, struct iwl_device_cmd *cmd) argument
1333 iwl_mvm_rx_missed_beacons_notif(struct iwl_mvm *mvm, struct iwl_rx_cmd_buffer *rxb, struct iwl_device_cmd *cmd) argument
[all...]
/drivers/uwb/
H A Dreset.c72 struct uwb_rccb *cmd, size_t cmd_size,
88 needtofree = rc->filter_cmd(rc, &cmd, &cmd_size);
97 neh = uwb_rc_neh_add(rc, cmd, expected_type, expected_event, cb, arg);
104 result = rc->cmd(rc, cmd, cmd_size);
113 kfree(cmd);
150 * @cmd: Pointer to rccb structure containing the command;
153 * @cmd_size: Size of the whole command buffer pointed to by @cmd.
172 struct uwb_rccb *cmd, size_t cmd_size,
185 result = uwb_rc_cmd_async(rc, cmd_name, cmd, cmd_siz
71 uwb_rc_cmd_async(struct uwb_rc *rc, const char *cmd_name, struct uwb_rccb *cmd, size_t cmd_size, u8 expected_type, u16 expected_event, uwb_rc_cmd_cb_f cb, void *arg) argument
171 __uwb_rc_cmd(struct uwb_rc *rc, const char *cmd_name, struct uwb_rccb *cmd, size_t cmd_size, struct uwb_rceb *reply, size_t reply_size, u8 expected_type, u16 expected_event, struct uwb_rceb **preply) argument
227 uwb_rc_cmd(struct uwb_rc *rc, const char *cmd_name, struct uwb_rccb *cmd, size_t cmd_size, struct uwb_rceb *reply, size_t reply_size) argument
270 uwb_rc_vcmd(struct uwb_rc *rc, const char *cmd_name, struct uwb_rccb *cmd, size_t cmd_size, u8 expected_type, u16 expected_event, struct uwb_rceb **preply) argument
295 struct uwb_rccb *cmd; local
[all...]
/drivers/media/pci/ngene/
H A Dngene-i2c.c53 com.cmd.hdr.Opcode = CMD_I2C_READ;
54 com.cmd.hdr.Length = outlen + 3;
55 com.cmd.I2CRead.Device = adr << 1;
56 memcpy(com.cmd.I2CRead.Data, out, outlen);
57 com.cmd.I2CRead.Data[outlen] = inlen;
58 com.cmd.I2CRead.Data[outlen + 1] = 0;
65 if ((com.cmd.raw8[0] >> 1) != adr)
69 memcpy(in, com.cmd.raw8, inlen + 1);
71 memcpy(in, com.cmd.raw8 + 1, inlen);
81 com.cmd
[all...]
/drivers/video/fbdev/savage/
H A Dsavagefb_accel.c36 int cmd; local
41 cmd = BCI_CMD_RECT | BCI_CMD_DEST_GBD | BCI_CMD_SRC_GBD;
42 BCI_CMD_SET_ROP(cmd, savagefb_rop[0]);
45 cmd |= BCI_CMD_RECT_XP;
52 cmd |= BCI_CMD_RECT_YP;
59 BCI_SEND(cmd);
68 int cmd, color; local
78 cmd = BCI_CMD_RECT | BCI_CMD_RECT_XP | BCI_CMD_RECT_YP |
83 BCI_CMD_SET_ROP(cmd, savagefb_rop[rect->rop]);
86 BCI_SEND(cmd);
96 int cmd; local
[all...]
/drivers/staging/comedi/
H A Dcomedi_compat32.c86 static int translated_ioctl(struct file *file, unsigned int cmd, argument
90 return file->f_op->unlocked_ioctl(file, cmd, arg);
160 /* Copy 32-bit cmd structure to native cmd structure. */
161 static int get_compat_cmd(struct comedi_cmd __user *cmd, argument
170 /* Copy cmd structure. */
172 !access_ok(VERIFY_WRITE, cmd, sizeof(*cmd)))
177 err |= __put_user(temp.uint, &cmd->subdev);
179 err |= __put_user(temp.uint, &cmd
212 put_compat_cmd(struct comedi32_cmd_struct __user *cmd32, struct comedi_cmd __user *cmd) argument
263 struct comedi_cmd __user *cmd; local
280 struct comedi_cmd __user *cmd; local
400 raw_ioctl(struct file *file, unsigned int cmd, unsigned long arg) argument
449 comedi_compat_ioctl(struct file *file, unsigned int cmd, unsigned long arg) argument
[all...]
/drivers/usb/host/whci/
H A Dhw.c29 u32 cmd; local
33 cmd = le_readl(whc->base + WUSBCMD);
34 cmd = (cmd & ~mask) | val;
35 le_writel(cmd, whc->base + WUSBCMD);
43 * @cmd: command to start.
48 int whc_do_gencmd(struct whc *whc, u32 cmd, u32 params, void *addr, size_t len) argument
75 /* Poke registers to start cmd. */
81 le_writel(WUSBGENCMDSTS_ACTIVE | WUSBGENCMDSTS_IOC | cmd,

Completed in 505 milliseconds

1234567891011>>