Home
last modified time | relevance | path

Searched refs:cmd_type (Results 1 – 99 of 99) sorted by relevance

/linux-4.1.27/include/uapi/drm/
Dradeon_drm.h187 unsigned char cmd_type, pad0, pad1, pad2; member
190 unsigned char cmd_type, packet_id, pad0, pad1; member
193 unsigned char cmd_type, offset, stride, count; member
196 unsigned char cmd_type, offset, stride, count; member
199 unsigned char cmd_type, addr_lo, addr_hi, count; member
202 unsigned char cmd_type, buf_idx, pad0, pad1; member
205 unsigned char cmd_type, flags, pad0, pad1; member
250 unsigned char cmd_type, pad0, pad1, pad2; member
253 unsigned char cmd_type, count, reglo, reghi; member
256 unsigned char cmd_type, count, adrlo, adrhi; member
[all …]
/linux-4.1.27/drivers/ide/
Dide-pm.c22 rq->cmd_type = REQ_TYPE_PM_SUSPEND; in generic_ide_suspend()
62 rq->cmd_type = REQ_TYPE_PM_RESUME; in generic_ide_resume()
194 (rq->cmd_type == REQ_TYPE_PM_SUSPEND) ? "suspend" : "resume"); in ide_complete_pm_rq()
197 if (rq->cmd_type == REQ_TYPE_PM_SUSPEND) in ide_complete_pm_rq()
213 if (rq->cmd_type == REQ_TYPE_PM_SUSPEND && in ide_check_pm_state()
217 else if (rq->cmd_type == REQ_TYPE_PM_RESUME && in ide_check_pm_state()
Dide-cd.c179 failed_command->cmd_type != REQ_TYPE_FS) in cdrom_analyze_sense_data()
286 rq->cmd[0], rq->cmd_type, err, stat); in cdrom_decode_status()
288 if (rq->cmd_type == REQ_TYPE_SENSE) { in cdrom_decode_status()
299 if (rq->cmd_type == REQ_TYPE_BLOCK_PC && !rq->errors) in cdrom_decode_status()
307 if (rq->cmd_type == REQ_TYPE_FS && rq_data_dir(rq) == WRITE) { in cdrom_decode_status()
313 if (rq->cmd_type == REQ_TYPE_FS && in cdrom_decode_status()
323 if (rq->cmd_type != REQ_TYPE_FS) in cdrom_decode_status()
371 if (rq->cmd_type != REQ_TYPE_FS) in cdrom_decode_status()
382 if (rq->cmd_type != REQ_TYPE_FS) { in cdrom_decode_status()
447 rq->cmd_type = REQ_TYPE_ATA_PC; in ide_cd_queue_pc()
[all …]
Dide-floppy.c75 rq->cmd_type == REQ_TYPE_BLOCK_PC) in ide_floppy_callback()
100 if (rq->cmd_type == REQ_TYPE_SPECIAL) in ide_floppy_callback()
249 if (rq->cmd_type == REQ_TYPE_SPECIAL) { in ide_floppy_do_request()
257 switch (rq->cmd_type) { in ide_floppy_do_request()
289 if (rq->cmd_type == REQ_TYPE_FS || blk_rq_bytes(rq)) { in ide_floppy_do_request()
299 if (rq->cmd_type != REQ_TYPE_FS && rq->errors == 0) in ide_floppy_do_request()
Dide-atapi.c96 rq->cmd_type = REQ_TYPE_SPECIAL; in ide_queue_pc_tail()
194 if (rq->cmd_type == REQ_TYPE_SENSE || drive->sense_rq_armed) in ide_prep_sense()
213 sense_rq->cmd_type = REQ_TYPE_SENSE; in ide_prep_sense()
310 switch (rq->cmd_type) { in ide_cd_get_xferlen()
377 if (dev_is_idecd(drive) && rq->cmd_type == REQ_TYPE_ATA_PC) in ide_check_ireason()
480 if (rq->cmd_type == REQ_TYPE_SPECIAL) { in ide_pc_intr()
485 if (rq->cmd_type != REQ_TYPE_FS && uptodate <= 0) { in ide_pc_intr()
Dide-park.c37 rq->cmd_type = REQ_TYPE_SPECIAL; in issue_park_cmd()
54 rq->cmd_type = REQ_TYPE_SPECIAL; in issue_park_cmd()
Dide-io.c105 if (rq && rq->cmd_type == REQ_TYPE_ATA_TASKFILE) { in ide_complete_cmd()
138 u8 drv_req = (rq->cmd_type == REQ_TYPE_SPECIAL) && rq->rq_disk; in ide_kill_rq()
148 else if (rq->cmd_type != REQ_TYPE_FS && rq->errors == 0) in ide_kill_rq()
343 if (rq->cmd_type == REQ_TYPE_ATA_TASKFILE) in start_request()
356 } else if (!rq->rq_disk && rq->cmd_type == REQ_TYPE_SPECIAL) in start_request()
Dide-eh.c126 if (rq->cmd_type != REQ_TYPE_FS) { in ide_error()
127 if (rq->cmd_type == REQ_TYPE_ATA_TASKFILE) { in ide_error()
150 if (rq && rq->cmd_type == REQ_TYPE_SPECIAL && in ide_complete_drive_reset()
Dide-ioctls.c129 rq->cmd_type = REQ_TYPE_ATA_TASKFILE; in ide_cmd_ioctl()
225 rq->cmd_type = REQ_TYPE_SPECIAL; in generic_drive_reset()
Dide-disk.c187 BUG_ON(rq->cmd_type != REQ_TYPE_FS); in ide_do_rw_disk()
456 rq->cmd_type = REQ_TYPE_ATA_TASKFILE; in idedisk_prep_fn()
481 rq->cmd_type = REQ_TYPE_ATA_TASKFILE; in set_multcount()
Dide-devsets.c169 rq->cmd_type = REQ_TYPE_SPECIAL; in ide_devset_execute()
Dide-cd_ioctl.c307 rq->cmd_type = REQ_TYPE_SPECIAL; in ide_cdrom_reset()
Dide-tape.c579 BUG_ON(!(rq->cmd_type == REQ_TYPE_SPECIAL || in idetape_do_request()
580 rq->cmd_type == REQ_TYPE_SENSE)); in idetape_do_request()
856 rq->cmd_type = REQ_TYPE_SPECIAL; in idetape_queue_rw_tail()
Dide-taskfile.c434 rq->cmd_type = REQ_TYPE_ATA_TASKFILE; in ide_raw_taskfile()
/linux-4.1.27/drivers/net/fddi/
Ddefxx.h274 PI_UINT32 cmd_type; member
283 PI_UINT32 cmd_type; member
299 PI_UINT32 cmd_type; member
314 PI_UINT32 cmd_type; member
338 PI_UINT32 cmd_type; member
361 PI_UINT32 cmd_type; member
384 PI_UINT32 cmd_type; member
404 PI_UINT32 cmd_type; member
642 PI_UINT32 cmd_type; member
657 PI_UINT32 cmd_type; member
[all …]
Ddefxx.c1339 bp->cmd_req_virt->cmd_type = PI_CMD_K_CHARS_SET; in dfx_adap_init()
1352 bp->cmd_req_virt->cmd_type = PI_CMD_K_SNMP_SET; in dfx_adap_init()
1402 bp->cmd_req_virt->cmd_type = PI_CMD_K_START; in dfx_adap_init()
2094 bp->cmd_req_virt->cmd_type = PI_CMD_K_SMT_MIB_GET; in dfx_ctl_get_stats()
2195 bp->cmd_req_virt->cmd_type = PI_CMD_K_CNTRS_GET; in dfx_ctl_get_stats()
2479 bp->cmd_req_virt->cmd_type = PI_CMD_K_ADDR_FILTER_SET; in dfx_ctl_update_cam()
2549 bp->cmd_req_virt->cmd_type = PI_CMD_K_FILTERS_SET; in dfx_ctl_update_filters()
/linux-4.1.27/drivers/mmc/card/
Dqueue.c36 if (req->cmd_type != REQ_TYPE_FS && !(req->cmd_flags & REQ_DISCARD)) { in mmc_prep_request()
454 enum mmc_packed_type cmd_type) in mmc_queue_packed_map_sg() argument
460 if (mmc_packed_wr(cmd_type)) { in mmc_queue_packed_map_sg()
494 enum mmc_packed_type cmd_type; in mmc_queue_map_sg() local
497 cmd_type = mqrq->cmd_type; in mmc_queue_map_sg()
500 if (mmc_packed_cmd(cmd_type)) in mmc_queue_map_sg()
502 mqrq->sg, cmd_type); in mmc_queue_map_sg()
509 if (mmc_packed_cmd(cmd_type)) in mmc_queue_map_sg()
511 mqrq->bounce_sg, cmd_type); in mmc_queue_map_sg()
Dqueue.h42 enum mmc_packed_type cmd_type; member
Dblock.c148 mqrq->cmd_type = MMC_PACKED_NONE; in mmc_blk_clear_packed()
1294 if (mmc_packed_cmd(mq_mrq->cmd_type)) { in mmc_blk_err_check()
1641 mqrq->cmd_type = MMC_PACKED_NONE; in mmc_blk_prep_packed_list()
1661 mqrq->cmd_type = MMC_PACKED_WRITE; in mmc_blk_packed_hdr_wrq_prep()
1752 if (!mmc_packed_cmd(mq_rq->cmd_type)) in mmc_blk_cmd_err()
1892 if (mmc_packed_cmd(mq_rq->cmd_type)) { in mmc_blk_issue_rw_rq()
1935 mmc_packed_cmd(mq_rq->cmd_type)) in mmc_blk_issue_rw_rq()
1966 if (mmc_packed_cmd(mq_rq->cmd_type)) { in mmc_blk_issue_rw_rq()
1989 if (mmc_packed_cmd(mq_rq->cmd_type)) { in mmc_blk_issue_rw_rq()
2008 if (mmc_packed_cmd(mq->mqrq_cur->cmd_type)) in mmc_blk_issue_rw_rq()
/linux-4.1.27/block/
Dblk-exec.c59 WARN_ON(rq->cmd_type == REQ_TYPE_FS); in blk_execute_rq_nowait()
77 is_pm_resume = rq->cmd_type == REQ_TYPE_PM_RESUME; in blk_execute_rq_nowait()
Dblk-core.c140 rq->rq_disk ? rq->rq_disk->disk_name : "?", rq->cmd_type, in blk_dump_rq_flags()
149 if (rq->cmd_type == REQ_TYPE_BLOCK_PC) { in blk_dump_rq_flags()
1284 rq->cmd_type = REQ_TYPE_BLOCK_PC; in blk_rq_set_block_pc()
1571 req->cmd_type = REQ_TYPE_FS; in init_request_from_bio()
2461 if (req->cmd_type == REQ_TYPE_FS) in blk_update_request()
2464 if (error && req->cmd_type == REQ_TYPE_FS && in blk_update_request()
2534 if (req->cmd_type == REQ_TYPE_FS) in blk_update_request()
2607 if (unlikely(laptop_mode) && req->cmd_type == REQ_TYPE_FS) in blk_finish_request()
2934 dst->cmd_type = src->cmd_type; in __blk_rq_prep_clone()
Dblk.h232 (rq->cmd_type == REQ_TYPE_FS); in blk_do_io_stat()
Dblk-flush.c318 flush_rq->cmd_type = REQ_TYPE_FS; in blk_kick_flush()
Delevator.c603 if (rq->cmd_type == REQ_TYPE_FS) { in __elv_add_request()
645 BUG_ON(rq->cmd_type != REQ_TYPE_FS); in __elv_add_request()
Dbsg.c258 next_rq->cmd_type = rq->cmd_type; in bsg_map_hdr()
/linux-4.1.27/Documentation/accounting/
Dgetdelays.c258 int cmd_type = TASKSTATS_CMD_ATTR_UNSPEC; in main() local
325 cmd_type = TASKSTATS_CMD_ATTR_TGID; in main()
331 cmd_type = TASKSTATS_CMD_ATTR_PID; in main()
352 cmd_type = TASKSTATS_CMD_ATTR_PID; in main()
417 cmd_type, &tid, sizeof(__u32)); in main()
/linux-4.1.27/drivers/block/
Dcciss.c193 int cmd_type);
273 c->cmd_type = CMD_MSG_STALE; in removeQ()
1502 c->cmd_type = CMD_IOCTL_PEND; in cciss_passthru()
1640 c->cmd_type = CMD_IOCTL_PEND; in cciss_bigpassthru()
1846 if (rq->cmd_type == REQ_TYPE_BLOCK_PC) in cciss_softirq_done()
2528 int cmd_type) in fill_cmd() argument
2533 c->cmd_type = CMD_IOCTL_PEND; in fill_cmd()
2545 c->Request.Type.Type = cmd_type; in fill_cmd()
2546 if (cmd_type == TYPE_CMD) { in fill_cmd()
2618 } else if (cmd_type == TYPE_MSG) { in fill_cmd()
[all …]
Dvirtio_blk.c123 if (req->cmd_type == REQ_TYPE_BLOCK_PC) { in virtblk_request_done()
127 } else if (req->cmd_type == REQ_TYPE_SPECIAL) { in virtblk_request_done()
180 switch (req->cmd_type) { in virtio_queue_rq()
254 req->cmd_type = REQ_TYPE_SPECIAL; in virtblk_get_id()
Dcciss_cmd.h206 int cmd_type; member
Dnbd.c452 if (req->cmd_type != REQ_TYPE_FS) in nbd_handle_req()
557 req, req->cmd_type); in do_nbd_request()
595 sreq.cmd_type = REQ_TYPE_SPECIAL; in __nbd_ioctl()
Dcciss_scsi.c50 int cmd_type);
733 c->cmd_type = CMD_MSG_DONE; in complete_scsi_command()
922 c->cmd_type = CMD_IOCTL_PEND; /* treat this like an ioctl */ in cciss_scsi_do_simple_cmd()
1455 c->cmd_type = CMD_SCSI; in cciss_scsi_queue_command_lck()
Dmg_disk.c673 if (unlikely(host->req->cmd_type != REQ_TYPE_FS)) { in mg_request_poll()
759 if (unlikely(req->cmd_type != REQ_TYPE_FS)) { in mg_request()
Dosdblk.c312 if (rq->cmd_type != REQ_TYPE_FS) { in osdblk_rq_fn()
Dps3disk.c202 } else if (req->cmd_type == REQ_TYPE_FS) { in ps3disk_do_request()
Dhd.c629 if (req->cmd_type == REQ_TYPE_FS) { in hd_request()
Dsx8.c623 crq->rq->cmd_type = REQ_TYPE_SPECIAL; in carm_array_info()
664 crq->rq->cmd_type = REQ_TYPE_SPECIAL; in carm_send_special()
Dxsysace.c471 if (req->cmd_type == REQ_TYPE_FS) in ace_get_next_request()
Dxen-blkfront.c599 return ((req->cmd_type != REQ_TYPE_FS) || in blkif_request_flush_invalid()
Drbd.c3344 if (rq->cmd_type != REQ_TYPE_FS) { in rbd_queue_workfn()
3346 (int) rq->cmd_type); in rbd_queue_workfn()
Dfloppy.c2904 current_req, (long)blk_rq_pos(current_req), current_req->cmd_type, in do_fd_request()
/linux-4.1.27/include/trace/events/
Dblock.h81 __entry->sector = (rq->cmd_type == REQ_TYPE_BLOCK_PC) ?
83 __entry->nr_sector = (rq->cmd_type == REQ_TYPE_BLOCK_PC) ?
194 __entry->sector = (rq->cmd_type == REQ_TYPE_BLOCK_PC) ?
196 __entry->nr_sector = (rq->cmd_type == REQ_TYPE_BLOCK_PC) ?
198 __entry->bytes = (rq->cmd_type == REQ_TYPE_BLOCK_PC) ?
/linux-4.1.27/drivers/scsi/bnx2fc/
Dbnx2fc_io.c45 u8 cmd_type = io_req->cmd_type; in bnx2fc_cmd_timeout() local
51 "req_flags = %lx\n", cmd_type, io_req->req_flags); in bnx2fc_cmd_timeout()
69 switch (cmd_type) { in bnx2fc_cmd_timeout()
196 cmd_type); in bnx2fc_cmd_timeout()
216 if (io_req->cmd_type != BNX2FC_SCSI_CMD) in bnx2fc_scsi_done()
484 io_req->cmd_type = type; in bnx2fc_elstm_alloc()
558 if (io_req->cmd_type == BNX2FC_SCSI_CMD) in bnx2fc_cmd_release()
565 if (io_req->cmd_type != BNX2FC_SCSI_CMD) in bnx2fc_cmd_release()
1324 seq_clnp_req->xid, seq_clnp_req->cmd_type); in bnx2fc_process_seq_cleanup_compl()
1352 io_req->refcount.refcount.counter, io_req->cmd_type); in bnx2fc_process_cleanup_compl()
[all …]
Dbnx2fc_hwi.c721 if (io_req->cmd_type != BNX2FC_SCSI_CMD) { in bnx2fc_process_unsol_compl()
848 if (io_req->cmd_type != BNX2FC_SCSI_CMD) { in bnx2fc_process_unsol_compl()
882 u8 cmd_type; in bnx2fc_process_cq_compl() local
911 cmd_type = io_req->cmd_type; in bnx2fc_process_cq_compl()
918 switch (cmd_type) { in bnx2fc_process_cq_compl()
977 printk(KERN_ERR PFX "Invalid cmd_type %d\n", cmd_type); in bnx2fc_process_cq_compl()
1601 if ((io_req->cmd_type == BNX2FC_TASK_MGMT_CMD) || in bnx2fc_init_mp_task()
1602 (io_req->cmd_type == BNX2FC_ELS)) { in bnx2fc_init_mp_task()
1604 } else if (io_req->cmd_type == BNX2FC_ABTS) { in bnx2fc_init_mp_task()
1614 io_req->cmd_type, task_type); in bnx2fc_init_mp_task()
Dbnx2fc.h417 u8 cmd_type; member
Dbnx2fc_els.c806 "cmd_type = %d\n", els_req->xid, els_req->cmd_type); in bnx2fc_process_els_compl()
/linux-4.1.27/drivers/nfc/
Dport100.c89 #define PORT100_CMD_TYPE_IS_SUPPORTED(mask, cmd_type) \ argument
90 ((mask) & (0x01 << (cmd_type)))
442 u8 cmd_type; member
1244 switch (dev->cmd_type) { in port100_tg_target_activated()
1490 dev->cmd_type = PORT100_CMD_TYPE_1; in port100_probe()
1492 dev->cmd_type = PORT100_CMD_TYPE_0; in port100_probe()
1494 rc = port100_set_command_type(dev, dev->cmd_type); in port100_probe()
1498 dev->cmd_type); in port100_probe()
/linux-4.1.27/drivers/staging/rts5208/
Drtsx_transport.h45 u8 cmd_type, u16 reg_addr, u8 mask, u8 data);
Drtsx_transport.c205 u8 cmd_type, u16 reg_addr, u8 mask, u8 data) in rtsx_add_cmd() argument
210 val |= (u32)(cmd_type & 0x03) << 30; in rtsx_add_cmd()
Drtsx_scsi.c1868 u8 cmd_type, mask, value, idx; in rw_mem_cmd_buf() local
1885 cmd_type = srb->cmnd[4]; in rw_mem_cmd_buf()
1886 if (cmd_type > 2) { in rw_mem_cmd_buf()
1895 rtsx_add_cmd(chip, cmd_type, addr, mask, value); in rw_mem_cmd_buf()
Dsd.c665 u8 cmd_idx, cmd_type; in sd_select_card() local
670 cmd_type = SD_RSP_TYPE_R1; in sd_select_card()
674 cmd_type = SD_RSP_TYPE_R0; in sd_select_card()
678 retval = sd_send_cmd_get_rsp(chip, cmd_idx, addr, cmd_type, NULL, 0); in sd_select_card()
/linux-4.1.27/drivers/gpu/drm/via/
Dvia_dma.c480 static uint32_t *via_align_cmd(drm_via_private_t *dev_priv, uint32_t cmd_type, in via_align_cmd() argument
501 addr_lo = ((HC_SubA_HAGPBpL << 24) | (cmd_type & HC_HAGPBpID_MASK) | in via_align_cmd()
650 static void via_cmdbuf_flush(drm_via_private_t *dev_priv, uint32_t cmd_type) in via_cmdbuf_flush() argument
654 via_align_cmd(dev_priv, cmd_type, 0, &pause_addr_hi, &pause_addr_lo, 0); in via_cmdbuf_flush()
/linux-4.1.27/drivers/scsi/
Dhpsa.c212 int cmd_type);
829 switch (c->cmd_type) { in enqueue_cmd_and_start_io()
1777 if ((cp->cmd_type == CMD_SCSI) && in complete_scsi_command()
1784 if (cp->cmd_type == CMD_IOACCEL2 || cp->cmd_type == CMD_IOACCEL1) in complete_scsi_command()
1787 if (cp->cmd_type == CMD_IOACCEL2) in complete_scsi_command()
1794 if (cp->cmd_type == CMD_IOACCEL1) in complete_scsi_command()
1814 if (cp->cmd_type == CMD_IOACCEL1) { in complete_scsi_command()
2866 if (ioaccel2_cmd_to_abort->cmd_type != CMD_IOACCEL2) in hpsa_get_pdisk_of_ioaccel2()
3387 c->cmd_type = CMD_IOACCEL1; in hpsa_scsi_ioaccel1_queue_command()
3543 c->cmd_type = CMD_IOACCEL2; in hpsa_scsi_ioaccel2_queue_command()
[all …]
Dsun3_scsi.c352 if (cmd->request->cmd_type == REQ_TYPE_FS) in sun3scsi_dma_xfer_len()
Dhpsa_cmd.h408 int cmd_type; member
Dscsi_lib.c616 if (cmd->request->cmd_type == REQ_TYPE_FS) { in scsi_uninit_cmd()
836 if (req->cmd_type == REQ_TYPE_BLOCK_PC) { /* SG_IO ioctl from block level */ in scsi_io_completion()
1276 switch (req->cmd_type) { in scsi_setup_cmnd()
Dscsi.c639 if (cmd->request->cmd_type != REQ_TYPE_BLOCK_PC) { in scsi_finish_command()
Dscsi_error.c1103 if (scmd->request->cmd_type != REQ_TYPE_BLOCK_PC) { in scsi_eh_action()
1739 scmd->request->cmd_type == REQ_TYPE_BLOCK_PC) in scsi_noretry_cmd()
Dst.c3351 int i, cmd_nr, cmd_type, bt; in st_ioctl() local
3383 cmd_type = _IOC_TYPE(cmd_in); in st_ioctl()
3386 if (cmd_type == _IOC_TYPE(MTIOCTOP) && cmd_nr == _IOC_NR(MTIOCTOP)) { in st_ioctl()
3586 if (cmd_type == _IOC_TYPE(MTIOCGET) && cmd_nr == _IOC_NR(MTIOCGET)) { in st_ioctl()
3654 if (cmd_type == _IOC_TYPE(MTIOCPOS) && cmd_nr == _IOC_NR(MTIOCPOS)) { in st_ioctl()
Dosst.c4941 int i, cmd_nr, cmd_type, blk, retval = 0; in osst_ioctl() local
4976 cmd_type = _IOC_TYPE(cmd_in); in osst_ioctl()
4980 cmd_type, cmd_nr, STp->raw?"raw":"normal"); in osst_ioctl()
4982 if (cmd_type == _IOC_TYPE(MTIOCTOP) && cmd_nr == _IOC_NR(MTIOCTOP)) { in osst_ioctl()
5176 if (cmd_type == _IOC_TYPE(MTIOCGET) && cmd_nr == _IOC_NR(MTIOCGET)) { in osst_ioctl()
5240 if (cmd_type == _IOC_TYPE(MTIOCPOS) && cmd_nr == _IOC_NR(MTIOCPOS)) { in osst_ioctl()
Datari_NCR5380.c1986 if (cmd->request->cmd_type == REQ_TYPE_FS) { in NCR5380_information_transfer()
Dsd.c1614 if (scmd->request->cmd_type != REQ_TYPE_FS) in sd_completed_bytes()
/linux-4.1.27/include/linux/
Dblktrace_api.h108 return (rq->cmd_type == REQ_TYPE_BLOCK_PC) ? rq->cmd_len * 3 : 1; in blk_cmd_buf_len()
Dblkdev.h111 enum rq_cmd_type_bits cmd_type; member
611 ((rq)->cmd_type == REQ_TYPE_FS))
614 ((rq)->cmd_type == REQ_TYPE_PM_SUSPEND || \
615 (rq)->cmd_type == REQ_TYPE_PM_RESUME)
676 if (rq->cmd_type != REQ_TYPE_FS) in rq_mergeable()
933 if (unlikely(rq->cmd_type == REQ_TYPE_BLOCK_PC)) in blk_rq_get_max_sectors()
/linux-4.1.27/net/nfc/
Ddigital.h57 int digital_send_cmd(struct nfc_digital_dev *ddev, u8 cmd_type,
Ddigital_core.c230 int digital_send_cmd(struct nfc_digital_dev *ddev, u8 cmd_type, in digital_send_cmd() argument
241 cmd->type = cmd_type; in digital_send_cmd()
/linux-4.1.27/drivers/net/wireless/mwifiex/
Dsta_ioctl.c386 int cmd_type, struct mwifiex_ds_hs_cfg *hs_cfg) in mwifiex_set_hs_params() argument
432 cmd_type == MWIFIEX_SYNC_CMD); in mwifiex_set_hs_params()
464 int mwifiex_cancel_hs(struct mwifiex_private *priv, int cmd_type) in mwifiex_cancel_hs() argument
472 cmd_type, &hscfg); in mwifiex_cancel_hs()
Dmain.h996 int cmd_type, struct mwifiex_ds_hs_cfg *hs_cfg);
1270 int mwifiex_cancel_hs(struct mwifiex_private *priv, int cmd_type);
/linux-4.1.27/drivers/media/platform/exynos4-is/
Dfimc-is.h206 u16 cmd_type; member
/linux-4.1.27/drivers/gpu/drm/radeon/
Dr300_cmdbuf.c621 if (header->header.cmd_type != R300_CMD_PACKET3 || in r300_emit_draw_indx_2()
1042 switch (header->header.cmd_type) { in r300_do_cp_cmdbuf()
1156 header->header.cmd_type, in r300_do_cp_cmdbuf()
Dradeon_state.c2924 switch (header->header.cmd_type) { in radeon_cp_cmdbuf()
3012 header->header.cmd_type, in radeon_cp_cmdbuf()
/linux-4.1.27/drivers/net/ethernet/intel/ixgbevf/
Dixgbevf_main.c3405 __le32 cmd_type = cpu_to_le32(IXGBE_ADVTXD_DTYP_DATA | in ixgbevf_tx_cmd_type() local
3411 cmd_type |= cpu_to_le32(IXGBE_ADVTXD_DCMD_VLE); in ixgbevf_tx_cmd_type()
3415 cmd_type |= cpu_to_le32(IXGBE_ADVTXD_DCMD_TSE); in ixgbevf_tx_cmd_type()
3417 return cmd_type; in ixgbevf_tx_cmd_type()
3458 __le32 cmd_type; in ixgbevf_tx_map() local
3464 cmd_type = ixgbevf_tx_cmd_type(tx_flags); in ixgbevf_tx_map()
3479 cmd_type | cpu_to_le32(IXGBE_MAX_DATA_PER_TXD); in ixgbevf_tx_map()
3498 tx_desc->read.cmd_type_len = cmd_type | cpu_to_le32(size); in ixgbevf_tx_map()
3526 cmd_type |= cpu_to_le32(size) | cpu_to_le32(IXGBE_TXD_CMD); in ixgbevf_tx_map()
3527 tx_desc->read.cmd_type_len = cmd_type; in ixgbevf_tx_map()
/linux-4.1.27/drivers/mfd/
Drtsx_usb.c223 void rtsx_usb_add_cmd(struct rtsx_ucr *ucr, u8 cmd_type, u16 reg_addr, in rtsx_usb_add_cmd() argument
231 ucr->cmd_buf[i++] = ((cmd_type & 0x03) << 6) | in rtsx_usb_add_cmd()
Drtsx_pcr.c256 u8 cmd_type, u16 reg_addr, u8 mask, u8 data) in rtsx_pci_add_cmd() argument
262 val |= (u32)(cmd_type & 0x03) << 30; in rtsx_pci_add_cmd()
/linux-4.1.27/drivers/block/paride/
Dpd.c445 if (pd_req->cmd_type == REQ_TYPE_SPECIAL) { in do_pd_io_start()
728 rq->cmd_type = REQ_TYPE_SPECIAL; in pd_special_command()
/linux-4.1.27/drivers/staging/comedi/drivers/
Dusbduxfast.c173 static int usbduxfast_send_cmd(struct comedi_device *dev, int cmd_type) in usbduxfast_send_cmd() argument
180 devpriv->duxbuf[0] = cmd_type; in usbduxfast_send_cmd()
Dusbduxsigma.c570 static int usbbuxsigma_send_cmd(struct comedi_device *dev, int cmd_type) in usbbuxsigma_send_cmd() argument
576 devpriv->dux_commands[0] = cmd_type; in usbbuxsigma_send_cmd()
Dusbdux.c614 static int send_dux_commands(struct comedi_device *dev, unsigned int cmd_type) in send_dux_commands() argument
620 devpriv->dux_commands[0] = cmd_type; in send_dux_commands()
/linux-4.1.27/include/linux/mfd/
Drtsx_usb.h90 extern void rtsx_usb_add_cmd(struct rtsx_ucr *ucr, u8 cmd_type,
Drtsx_pci.h983 u8 cmd_type, u16 reg_addr, u8 mask, u8 data);
/linux-4.1.27/drivers/usb/serial/
Dspcp8x5.c59 u8 cmd_type; member
/linux-4.1.27/kernel/trace/
Dblktrace.c720 if (rq->cmd_type == REQ_TYPE_BLOCK_PC) { in blk_add_trace_rq()
982 if (rq->cmd_type == REQ_TYPE_BLOCK_PC) in blk_add_driver_data()
1768 if (rq->cmd_type != REQ_TYPE_BLOCK_PC) { in blk_dump_cmd()
/linux-4.1.27/drivers/net/ethernet/intel/igb/
Digb_main.c4786 u32 cmd_type = E1000_ADVTXD_DTYP_DATA | in igb_tx_cmd_type() local
4791 cmd_type |= IGB_SET_FLAG(tx_flags, IGB_TX_FLAGS_VLAN, in igb_tx_cmd_type()
4795 cmd_type |= IGB_SET_FLAG(tx_flags, IGB_TX_FLAGS_TSO, in igb_tx_cmd_type()
4799 cmd_type |= IGB_SET_FLAG(tx_flags, IGB_TX_FLAGS_TSTAMP, in igb_tx_cmd_type()
4803 cmd_type ^= IGB_SET_FLAG(skb->no_fcs, 1, E1000_ADVTXD_DCMD_IFCS); in igb_tx_cmd_type()
4805 return cmd_type; in igb_tx_cmd_type()
4877 u32 cmd_type = igb_tx_cmd_type(skb, tx_flags); in igb_tx_map() local
4903 cpu_to_le32(cmd_type ^ IGB_MAX_DATA_PER_TXD); in igb_tx_map()
4922 tx_desc->read.cmd_type_len = cpu_to_le32(cmd_type ^ size); in igb_tx_map()
4942 cmd_type |= size | IGB_TXD_DCMD; in igb_tx_map()
[all …]
/linux-4.1.27/drivers/mtd/ubi/
Dblock.c325 if (req->cmd_type != REQ_TYPE_FS) in ubiblock_queue_rq()
/linux-4.1.27/drivers/net/wireless/rtl818x/rtl8187/
Ddev.c469 unsigned int cmd_type; in rtl8187b_status_cb() local
500 cmd_type = (val >> 30) & 0x3; in rtl8187b_status_cb()
501 if (cmd_type == 1) { in rtl8187b_status_cb()
/linux-4.1.27/drivers/mtd/
Dmtd_blkdevs.c87 if (req->cmd_type != REQ_TYPE_FS) in do_blktrans_request()
/linux-4.1.27/drivers/s390/block/
Dscm_blk.c303 if (req->cmd_type != REQ_TYPE_FS) { in scm_blk_request()
/linux-4.1.27/drivers/net/ethernet/intel/ixgbe/
Dixgbe_main.c6921 u32 cmd_type = IXGBE_ADVTXD_DTYP_DATA | in ixgbe_tx_cmd_type() local
6926 cmd_type |= IXGBE_SET_FLAG(tx_flags, IXGBE_TX_FLAGS_HW_VLAN, in ixgbe_tx_cmd_type()
6930 cmd_type |= IXGBE_SET_FLAG(tx_flags, IXGBE_TX_FLAGS_TSO, in ixgbe_tx_cmd_type()
6934 cmd_type |= IXGBE_SET_FLAG(tx_flags, IXGBE_TX_FLAGS_TSTAMP, in ixgbe_tx_cmd_type()
6938 cmd_type ^= IXGBE_SET_FLAG(skb->no_fcs, 1, IXGBE_ADVTXD_DCMD_IFCS); in ixgbe_tx_cmd_type()
6940 return cmd_type; in ixgbe_tx_cmd_type()
7013 u32 cmd_type = ixgbe_tx_cmd_type(skb, tx_flags); in ixgbe_tx_map() local
7050 cpu_to_le32(cmd_type ^ IXGBE_MAX_DATA_PER_TXD); in ixgbe_tx_map()
7069 tx_desc->read.cmd_type_len = cpu_to_le32(cmd_type ^ size); in ixgbe_tx_map()
7093 cmd_type |= size | IXGBE_TXD_CMD; in ixgbe_tx_map()
[all …]
/linux-4.1.27/drivers/cdrom/
Dgdrom.c662 if (req->cmd_type != REQ_TYPE_FS) { in gdrom_request()
/linux-4.1.27/drivers/memstick/core/
Dmspro_block.c832 if (req->cmd_type != REQ_TYPE_FS && in mspro_block_prepare_req()
833 req->cmd_type != REQ_TYPE_BLOCK_PC) { in mspro_block_prepare_req()
Dms_block.c2005 if (req->cmd_type != REQ_TYPE_FS && in msb_prepare_req()
2006 req->cmd_type != REQ_TYPE_BLOCK_PC) { in msb_prepare_req()
/linux-4.1.27/drivers/net/ethernet/qlogic/qlcnic/
Dqlcnic_83xx_hw.c850 int cmd_type, err, opcode; in qlcnic_83xx_issue_cmd() local
857 cmd_type = cmd->type; in qlcnic_83xx_issue_cmd()
867 switch (cmd_type) { in qlcnic_83xx_issue_cmd()
872 __func__, opcode, cmd_type, ahw->pci_func, in qlcnic_83xx_issue_cmd()
885 __func__, opcode, cmd_type, ahw->pci_func, in qlcnic_83xx_issue_cmd()
/linux-4.1.27/drivers/staging/i2o/
Di2o_block.c897 if (req->cmd_type == REQ_TYPE_FS) { in i2o_block_request_fn()
/linux-4.1.27/drivers/net/ethernet/broadcom/bnx2x/
Dbnx2x_main.c2750 static int bnx2x_afex_handle_vif_list_cmd(struct bnx2x *bp, u8 cmd_type, in bnx2x_afex_handle_vif_list_cmd() argument
2760 if ((cmd_type != VIF_LIST_RULE_GET) && (cmd_type != VIF_LIST_RULE_SET)) in bnx2x_afex_handle_vif_list_cmd()
2762 cmd_type); in bnx2x_afex_handle_vif_list_cmd()
2768 update_params->afex_vif_list_command = cmd_type; in bnx2x_afex_handle_vif_list_cmd()
2771 (cmd_type == VIF_LIST_RULE_GET) ? 0 : func_bit_map; in bnx2x_afex_handle_vif_list_cmd()
2774 (cmd_type == VIF_LIST_RULE_GET) ? in bnx2x_afex_handle_vif_list_cmd()
3805 static bool bnx2x_is_contextless_ramrod(int cmd, int cmd_type) in bnx2x_is_contextless_ramrod() argument
3807 if ((cmd_type == NONE_CONNECTION_TYPE) || in bnx2x_is_contextless_ramrod()
3834 u32 data_hi, u32 data_lo, int cmd_type) in bnx2x_sp_post() argument
3838 bool common = bnx2x_is_contextless_ramrod(command, cmd_type); in bnx2x_sp_post()
[all …]
Dbnx2x.h2126 u32 data_hi, u32 data_lo, int cmd_type);
/linux-4.1.27/drivers/scsi/ufs/
Dufshcd.c1351 struct ufshcd_lrb *lrbp, enum dev_cmd_type cmd_type, int tag) in ufshcd_compose_dev_cmd() argument
1360 hba->dev_cmd.type = cmd_type; in ufshcd_compose_dev_cmd()
1518 enum dev_cmd_type cmd_type, int timeout) in ufshcd_exec_dev_cmd() argument
1536 err = ufshcd_compose_dev_cmd(hba, lrbp, cmd_type, tag); in ufshcd_exec_dev_cmd()
/linux-4.1.27/drivers/usb/host/
Dxhci-ring.c1298 u32 cmd_type; in handle_cmd_completion() local
1346 cmd_type = TRB_FIELD_TO_TYPE(le32_to_cpu(cmd_trb->generic.field[3])); in handle_cmd_completion()
1347 switch (cmd_type) { in handle_cmd_completion()
/linux-4.1.27/arch/mips/include/asm/octeon/
Dcvmx-mio-defs.h1270 uint64_t cmd_type:2; member
1276 uint64_t cmd_type:2;
/linux-4.1.27/drivers/ata/
Dlibata-scsi.c1124 if (likely(rq->cmd_type != REQ_TYPE_BLOCK_PC)) in atapi_drain_needed()
/linux-4.1.27/drivers/md/
Ddm.c1112 if (rq->cmd_type == REQ_TYPE_BLOCK_PC) { in dm_end_request()