Home
last modified time | relevance | path

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

/linux-4.4.14/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.4.14/drivers/ide/
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_ATA_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-pm.c22 rq->cmd_type = REQ_TYPE_ATA_PM_SUSPEND; in generic_ide_suspend()
92 rq->cmd_type = REQ_TYPE_ATA_PM_RESUME; in generic_ide_resume()
224 (rq->cmd_type == REQ_TYPE_ATA_PM_SUSPEND) ? "suspend" : "resume"); in ide_complete_pm_rq()
227 if (rq->cmd_type == REQ_TYPE_ATA_PM_SUSPEND) in ide_complete_pm_rq()
243 if (rq->cmd_type == REQ_TYPE_ATA_PM_SUSPEND && in ide_check_pm_state()
247 else if (rq->cmd_type == REQ_TYPE_ATA_PM_RESUME && in ide_check_pm_state()
Dide-floppy.c75 rq->cmd_type == REQ_TYPE_BLOCK_PC) in ide_floppy_callback()
100 if (rq->cmd_type == REQ_TYPE_DRV_PRIV) in ide_floppy_callback()
249 if (rq->cmd_type == REQ_TYPE_DRV_PRIV) { 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_DRV_PRIV; in ide_queue_pc_tail()
194 if (rq->cmd_type == REQ_TYPE_ATA_SENSE || drive->sense_rq_armed) in ide_prep_sense()
213 sense_rq->cmd_type = REQ_TYPE_ATA_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_DRV_PRIV) { 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_DRV_PRIV; in issue_park_cmd()
54 rq->cmd_type = REQ_TYPE_DRV_PRIV; 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_DRV_PRIV) && 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_DRV_PRIV) 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_DRV_PRIV && 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_DRV_PRIV; 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_DRV_PRIV; in ide_devset_execute()
Dide-cd_ioctl.c307 rq->cmd_type = REQ_TYPE_DRV_PRIV; in ide_cdrom_reset()
Dide-tape.c579 BUG_ON(!(rq->cmd_type == REQ_TYPE_DRV_PRIV || in idetape_do_request()
580 rq->cmd_type == REQ_TYPE_ATA_SENSE)); in idetape_do_request()
856 rq->cmd_type = REQ_TYPE_DRV_PRIV; in idetape_queue_rw_tail()
Dide-taskfile.c434 rq->cmd_type = REQ_TYPE_ATA_TASKFILE; in ide_raw_taskfile()
/linux-4.4.14/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.4.14/drivers/mmc/card/
Dqueue.c36 if (req->cmd_type != REQ_TYPE_FS && !(req->cmd_flags & REQ_DISCARD)) { in mmc_prep_request()
452 enum mmc_packed_type cmd_type) in mmc_queue_packed_map_sg() argument
458 if (mmc_packed_wr(cmd_type)) { in mmc_queue_packed_map_sg()
492 enum mmc_packed_type cmd_type; in mmc_queue_map_sg() local
495 cmd_type = mqrq->cmd_type; in mmc_queue_map_sg()
498 if (mmc_packed_cmd(cmd_type)) in mmc_queue_map_sg()
500 mqrq->sg, cmd_type); in mmc_queue_map_sg()
507 if (mmc_packed_cmd(cmd_type)) in mmc_queue_map_sg()
509 mqrq->bounce_sg, cmd_type); in mmc_queue_map_sg()
Dqueue.h43 enum mmc_packed_type cmd_type; member
Dblock.c150 mqrq->cmd_type = MMC_PACKED_NONE; in mmc_blk_clear_packed()
1401 if (mmc_packed_cmd(mq_mrq->cmd_type)) { in mmc_blk_err_check()
1744 mqrq->cmd_type = MMC_PACKED_NONE; in mmc_blk_prep_packed_list()
1764 mqrq->cmd_type = MMC_PACKED_WRITE; in mmc_blk_packed_hdr_wrq_prep()
1855 if (!mmc_packed_cmd(mq_rq->cmd_type)) in mmc_blk_cmd_err()
1995 if (mmc_packed_cmd(mq_rq->cmd_type)) { in mmc_blk_issue_rw_rq()
2039 mmc_packed_cmd(mq_rq->cmd_type)) in mmc_blk_issue_rw_rq()
2070 if (mmc_packed_cmd(mq_rq->cmd_type)) { in mmc_blk_issue_rw_rq()
2094 if (mmc_packed_cmd(mq_rq->cmd_type)) { in mmc_blk_issue_rw_rq()
2113 if (mmc_packed_cmd(mq->mqrq_cur->cmd_type)) in mmc_blk_issue_rw_rq()
/linux-4.4.14/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.4.14/drivers/block/
Dcciss.c191 int cmd_type);
271 c->cmd_type = CMD_MSG_STALE; in removeQ()
1518 c->cmd_type = CMD_IOCTL_PEND; in cciss_passthru()
1656 c->cmd_type = CMD_IOCTL_PEND; in cciss_bigpassthru()
1862 if (rq->cmd_type == REQ_TYPE_BLOCK_PC) in cciss_softirq_done()
2544 int cmd_type) in fill_cmd() argument
2549 c->cmd_type = CMD_IOCTL_PEND; in fill_cmd()
2561 c->Request.Type.Type = cmd_type; in fill_cmd()
2562 if (cmd_type == TYPE_CMD) { in fill_cmd()
2634 } 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_DRV_PRIV) { in virtblk_request_done()
180 switch (req->cmd_type) { in virtio_queue_rq()
254 req->cmd_type = REQ_TYPE_DRV_PRIV; in virtblk_get_id()
Dcciss_cmd.h206 int cmd_type; member
Dnbd.c243 if (req->cmd_type == REQ_TYPE_DRV_PRIV) in nbd_send_req()
497 if (req->cmd_type != REQ_TYPE_FS) in nbd_handle_req()
618 req, req->cmd_type); in nbd_request_handler()
659 sreq.cmd_type = REQ_TYPE_DRV_PRIV; in __nbd_ioctl()
Dcciss_scsi.c50 int cmd_type);
732 c->cmd_type = CMD_MSG_DONE; in complete_scsi_command()
921 c->cmd_type = CMD_IOCTL_PEND; /* treat this like an ioctl */ in cciss_scsi_do_simple_cmd()
1454 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_DRV_PRIV; in carm_array_info()
664 crq->rq->cmd_type = REQ_TYPE_DRV_PRIV; in carm_send_special()
Dnull_blk.c456 rq->cmd_type = REQ_TYPE_DRV_PRIV; in null_lnvm_submit_io()
Dxsysace.c471 if (req->cmd_type == REQ_TYPE_FS) in ace_get_next_request()
Dxen-blkfront.c740 return ((req->cmd_type != REQ_TYPE_FS) || in blkif_request_flush_invalid()
Drbd.c3369 if (rq->cmd_type != REQ_TYPE_FS) { in rbd_queue_workfn()
3371 (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.4.14/drivers/scsi/bnx2fc/
Dbnx2fc_io.c43 u8 cmd_type = io_req->cmd_type; in bnx2fc_cmd_timeout() local
48 "req_flags = %lx\n", cmd_type, io_req->req_flags); in bnx2fc_cmd_timeout()
66 switch (cmd_type) { in bnx2fc_cmd_timeout()
151 cmd_type); in bnx2fc_cmd_timeout()
171 if (io_req->cmd_type != BNX2FC_SCSI_CMD) in bnx2fc_scsi_done()
439 io_req->cmd_type = type; in bnx2fc_elstm_alloc()
513 if (io_req->cmd_type == BNX2FC_SCSI_CMD) in bnx2fc_cmd_release()
520 if (io_req->cmd_type != BNX2FC_SCSI_CMD) in bnx2fc_cmd_release()
581 if (io_req->cmd_type != BNX2FC_ELS) { in bnx2fc_init_mp_req()
1263 seq_clnp_req->xid, seq_clnp_req->cmd_type); in bnx2fc_process_seq_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.h416 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.4.14/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.4.14/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.4.14/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.c1870 u8 cmd_type, mask, value, idx; in rw_mem_cmd_buf() local
1887 cmd_type = srb->cmnd[4]; in rw_mem_cmd_buf()
1888 if (cmd_type > 2) { in rw_mem_cmd_buf()
1897 rtsx_add_cmd(chip, cmd_type, addr, mask, value); in rw_mem_cmd_buf()
Dsd.c664 u8 cmd_idx, cmd_type; local
669 cmd_type = SD_RSP_TYPE_R1;
673 cmd_type = SD_RSP_TYPE_R0;
677 retval = sd_send_cmd_get_rsp(chip, cmd_idx, addr, cmd_type, NULL, 0);
/linux-4.4.14/drivers/scsi/
Dhpsa.c244 int cmd_type);
1089 switch (c->cmd_type) { in __enqueue_cmd_and_start_io()
2395 if ((cp->cmd_type == CMD_SCSI) && in complete_scsi_command()
2399 if ((cp->cmd_type == CMD_IOACCEL2) && in complete_scsi_command()
2406 if (cp->cmd_type == CMD_IOACCEL2 || cp->cmd_type == CMD_IOACCEL1) in complete_scsi_command()
2427 if (cp->cmd_type == CMD_IOACCEL2) in complete_scsi_command()
2437 if (cp->cmd_type == CMD_IOACCEL1) { in complete_scsi_command()
2861 switch (c->cmd_type) { in hpsa_cmd_dev_match()
2901 c->cmd_type); in hpsa_cmd_dev_match()
4319 c->cmd_type = CMD_IOACCEL1; in hpsa_scsi_ioaccel1_queue_command()
[all …]
Dsun3_scsi.c352 if (cmd->request->cmd_type == REQ_TYPE_FS) in sun3scsi_dma_xfer_len()
Dhpsa_cmd.h427 int cmd_type; member
Dscsi_lib.c617 if (cmd->request->cmd_type == REQ_TYPE_FS) { in scsi_uninit_cmd()
837 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_error.c1108 if (scmd->request->cmd_type != REQ_TYPE_BLOCK_PC) { in scsi_eh_action()
1749 scmd->request->cmd_type == REQ_TYPE_BLOCK_PC) in scsi_noretry_cmd()
Dscsi.c593 if (cmd->request->cmd_type != REQ_TYPE_BLOCK_PC) { in scsi_finish_command()
Dst.c3405 int i, cmd_nr, cmd_type, bt; in st_ioctl() local
3437 cmd_type = _IOC_TYPE(cmd_in); in st_ioctl()
3440 if (cmd_type == _IOC_TYPE(MTIOCTOP) && cmd_nr == _IOC_NR(MTIOCTOP)) { in st_ioctl()
3640 if (cmd_type == _IOC_TYPE(MTIOCGET) && cmd_nr == _IOC_NR(MTIOCGET)) { in st_ioctl()
3708 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.c1724 if (scmd->request->cmd_type != REQ_TYPE_FS) in sd_completed_bytes()
/linux-4.4.14/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.4.14/block/
Dblk-exec.c58 WARN_ON(rq->cmd_type == REQ_TYPE_FS); in blk_execute_rq_nowait()
Dblk-core.c163 rq->rq_disk ? rq->rq_disk->disk_name : "?", rq->cmd_type, in blk_dump_rq_flags()
172 if (rq->cmd_type == REQ_TYPE_BLOCK_PC) { in blk_dump_rq_flags()
1365 rq->cmd_type = REQ_TYPE_BLOCK_PC; in blk_rq_set_block_pc()
1688 req->cmd_type = REQ_TYPE_FS; in init_request_from_bio()
2583 if (req->cmd_type == REQ_TYPE_FS) in blk_update_request()
2586 if (error && req->cmd_type == REQ_TYPE_FS && in blk_update_request()
2656 if (req->cmd_type == REQ_TYPE_FS) in blk_update_request()
2729 if (unlikely(laptop_mode) && req->cmd_type == REQ_TYPE_FS) in blk_finish_request()
3056 dst->cmd_type = src->cmd_type; in __blk_rq_prep_clone()
Dblk.h258 (rq->cmd_type == REQ_TYPE_FS); in blk_do_io_stat()
Dblk-flush.c331 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.4.14/drivers/nfc/st-nci/
Dst-nci.h43 u8 cmd_type; member
Dcore.c36 cmd.cmd_type = ST_NCI_SET_NFC_MODE; in st_nci_init()
Dndlc.c71 cmd.cmd_type = ST_NCI_SET_NFC_MODE; in ndlc_close()
/linux-4.4.14/include/linux/
Dblktrace_api.h108 return (rq->cmd_type == REQ_TYPE_BLOCK_PC) ? rq->cmd_len * 3 : 1; in blk_cmd_buf_len()
Dblkdev.h99 unsigned cmd_type; member
587 ((rq)->cmd_type == REQ_TYPE_FS))
648 if (rq->cmd_type != REQ_TYPE_FS) in rq_mergeable()
893 if (unlikely(rq->cmd_type == REQ_TYPE_BLOCK_PC)) in blk_rq_get_max_sectors()
Dide.h52 ((rq)->cmd_type == REQ_TYPE_ATA_PM_SUSPEND || \
53 (rq)->cmd_type == REQ_TYPE_ATA_PM_RESUME)
/linux-4.4.14/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.4.14/drivers/net/wireless/mwifiex/
Dsta_ioctl.c396 int cmd_type, struct mwifiex_ds_hs_cfg *hs_cfg) in mwifiex_set_hs_params() argument
443 cmd_type == MWIFIEX_SYNC_CMD); in mwifiex_set_hs_params()
475 int mwifiex_cancel_hs(struct mwifiex_private *priv, int cmd_type) in mwifiex_cancel_hs() argument
483 cmd_type, &hscfg); in mwifiex_cancel_hs()
Dmain.h1081 int cmd_type, struct mwifiex_ds_hs_cfg *hs_cfg);
1378 int mwifiex_cancel_hs(struct mwifiex_private *priv, int cmd_type);
/linux-4.4.14/drivers/media/platform/exynos4-is/
Dfimc-is.h206 u16 cmd_type; member
/linux-4.4.14/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.4.14/drivers/net/ethernet/intel/ixgbevf/
Dixgbevf_main.c3417 __le32 cmd_type = cpu_to_le32(IXGBE_ADVTXD_DTYP_DATA | in ixgbevf_tx_cmd_type() local
3423 cmd_type |= cpu_to_le32(IXGBE_ADVTXD_DCMD_VLE); in ixgbevf_tx_cmd_type()
3427 cmd_type |= cpu_to_le32(IXGBE_ADVTXD_DCMD_TSE); in ixgbevf_tx_cmd_type()
3429 return cmd_type; in ixgbevf_tx_cmd_type()
3470 __le32 cmd_type; in ixgbevf_tx_map() local
3476 cmd_type = ixgbevf_tx_cmd_type(tx_flags); in ixgbevf_tx_map()
3491 cmd_type | cpu_to_le32(IXGBE_MAX_DATA_PER_TXD); in ixgbevf_tx_map()
3510 tx_desc->read.cmd_type_len = cmd_type | cpu_to_le32(size); in ixgbevf_tx_map()
3538 cmd_type |= cpu_to_le32(size) | cpu_to_le32(IXGBE_TXD_CMD); in ixgbevf_tx_map()
3539 tx_desc->read.cmd_type_len = cmd_type; in ixgbevf_tx_map()
/linux-4.4.14/drivers/block/paride/
Dpd.c447 if (pd_req->cmd_type == REQ_TYPE_DRV_PRIV) { in do_pd_io_start()
730 rq->cmd_type = REQ_TYPE_DRV_PRIV; in pd_special_command()
/linux-4.4.14/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.c257 u8 cmd_type, u16 reg_addr, u8 mask, u8 data) in rtsx_pci_add_cmd() argument
263 val |= (u32)(cmd_type & 0x03) << 30; in rtsx_pci_add_cmd()
/linux-4.4.14/drivers/staging/comedi/drivers/
Dusbduxfast.c172 static int usbduxfast_send_cmd(struct comedi_device *dev, int cmd_type) in usbduxfast_send_cmd() argument
179 devpriv->duxbuf[0] = cmd_type; in usbduxfast_send_cmd()
Dusbduxsigma.c563 static int usbbuxsigma_send_cmd(struct comedi_device *dev, int cmd_type) in usbbuxsigma_send_cmd() argument
569 devpriv->dux_commands[0] = cmd_type; in usbbuxsigma_send_cmd()
Dusbdux.c604 static int send_dux_commands(struct comedi_device *dev, unsigned int cmd_type) in send_dux_commands() argument
610 devpriv->dux_commands[0] = cmd_type; in send_dux_commands()
/linux-4.4.14/include/linux/mfd/
Drtsx_usb.h90 extern void rtsx_usb_add_cmd(struct rtsx_ucr *ucr, u8 cmd_type,
Drtsx_pci.h989 u8 cmd_type, u16 reg_addr, u8 mask, u8 data);
/linux-4.4.14/drivers/usb/serial/
Dspcp8x5.c59 u8 cmd_type; member
/linux-4.4.14/kernel/trace/
Dblktrace.c715 if (rq->cmd_type == REQ_TYPE_BLOCK_PC) { in blk_add_trace_rq()
973 if (rq->cmd_type == REQ_TYPE_BLOCK_PC) in blk_add_driver_data()
1757 if (rq->cmd_type != REQ_TYPE_BLOCK_PC) { in blk_dump_cmd()
/linux-4.4.14/drivers/net/ethernet/intel/igb/
Digb_main.c4782 u32 cmd_type = E1000_ADVTXD_DTYP_DATA | in igb_tx_cmd_type() local
4787 cmd_type |= IGB_SET_FLAG(tx_flags, IGB_TX_FLAGS_VLAN, in igb_tx_cmd_type()
4791 cmd_type |= IGB_SET_FLAG(tx_flags, IGB_TX_FLAGS_TSO, in igb_tx_cmd_type()
4795 cmd_type |= IGB_SET_FLAG(tx_flags, IGB_TX_FLAGS_TSTAMP, in igb_tx_cmd_type()
4799 cmd_type ^= IGB_SET_FLAG(skb->no_fcs, 1, E1000_ADVTXD_DCMD_IFCS); in igb_tx_cmd_type()
4801 return cmd_type; in igb_tx_cmd_type()
4873 u32 cmd_type = igb_tx_cmd_type(skb, tx_flags); in igb_tx_map() local
4899 cpu_to_le32(cmd_type ^ IGB_MAX_DATA_PER_TXD); in igb_tx_map()
4918 tx_desc->read.cmd_type_len = cpu_to_le32(cmd_type ^ size); in igb_tx_map()
4938 cmd_type |= size | IGB_TXD_DCMD; in igb_tx_map()
[all …]
/linux-4.4.14/drivers/mtd/ubi/
Dblock.c326 if (req->cmd_type != REQ_TYPE_FS) in ubiblock_queue_rq()
/linux-4.4.14/drivers/net/wireless/realtek/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.4.14/drivers/mtd/
Dmtd_blkdevs.c87 if (req->cmd_type != REQ_TYPE_FS) in do_blktrans_request()
/linux-4.4.14/drivers/s390/block/
Dscm_blk.c303 if (req->cmd_type != REQ_TYPE_FS) { in scm_blk_request()
/linux-4.4.14/drivers/net/ethernet/intel/ixgbe/
Dixgbe_main.c7102 u32 cmd_type = IXGBE_ADVTXD_DTYP_DATA | in ixgbe_tx_cmd_type() local
7107 cmd_type |= IXGBE_SET_FLAG(tx_flags, IXGBE_TX_FLAGS_HW_VLAN, in ixgbe_tx_cmd_type()
7111 cmd_type |= IXGBE_SET_FLAG(tx_flags, IXGBE_TX_FLAGS_TSO, in ixgbe_tx_cmd_type()
7115 cmd_type |= IXGBE_SET_FLAG(tx_flags, IXGBE_TX_FLAGS_TSTAMP, in ixgbe_tx_cmd_type()
7119 cmd_type ^= IXGBE_SET_FLAG(skb->no_fcs, 1, IXGBE_ADVTXD_DCMD_IFCS); in ixgbe_tx_cmd_type()
7121 return cmd_type; in ixgbe_tx_cmd_type()
7194 u32 cmd_type = ixgbe_tx_cmd_type(skb, tx_flags); in ixgbe_tx_map() local
7231 cpu_to_le32(cmd_type ^ IXGBE_MAX_DATA_PER_TXD); in ixgbe_tx_map()
7250 tx_desc->read.cmd_type_len = cpu_to_le32(cmd_type ^ size); in ixgbe_tx_map()
7274 cmd_type |= size | IXGBE_TXD_CMD; in ixgbe_tx_map()
[all …]
/linux-4.4.14/drivers/cdrom/
Dgdrom.c662 if (req->cmd_type != REQ_TYPE_FS) { in gdrom_request()
/linux-4.4.14/drivers/nvme/host/
Dlightnvm.c484 rq->cmd_type = REQ_TYPE_DRV_PRIV; in nvme_nvm_submit_io()
Dpci.c613 if (req->cmd_type == REQ_TYPE_DRV_PRIV) { in req_completion()
623 if (req->cmd_type == REQ_TYPE_DRV_PRIV) { in req_completion()
859 req->cmd_type != REQ_TYPE_DRV_PRIV) { in nvme_queue_rq()
926 if (req->cmd_type == REQ_TYPE_DRV_PRIV) in nvme_queue_rq()
1048 req->cmd_type = REQ_TYPE_DRV_PRIV; in __nvme_submit_sync_cmd()
/linux-4.4.14/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.4.14/drivers/net/ethernet/qlogic/qlcnic/
Dqlcnic_83xx_hw.c852 int cmd_type, err, opcode; in qlcnic_83xx_issue_cmd() local
859 cmd_type = cmd->type; in qlcnic_83xx_issue_cmd()
869 switch (cmd_type) { in qlcnic_83xx_issue_cmd()
874 __func__, opcode, cmd_type, ahw->pci_func, in qlcnic_83xx_issue_cmd()
887 __func__, opcode, cmd_type, ahw->pci_func, in qlcnic_83xx_issue_cmd()
/linux-4.4.14/drivers/scsi/megaraid/
Dmegaraid_sas_fusion.c1920 u8 cmd_type; in megasas_build_io_fusion() local
1942 switch (cmd_type = megasas_cmd_type(scp)) { in megasas_build_io_fusion()
1952 (cmd_type == NON_READ_WRITE_SYSPDIO)) in megasas_build_io_fusion()
/linux-4.4.14/drivers/net/ethernet/broadcom/bnx2x/
Dbnx2x_main.c2755 static int bnx2x_afex_handle_vif_list_cmd(struct bnx2x *bp, u8 cmd_type, in bnx2x_afex_handle_vif_list_cmd() argument
2765 if ((cmd_type != VIF_LIST_RULE_GET) && (cmd_type != VIF_LIST_RULE_SET)) in bnx2x_afex_handle_vif_list_cmd()
2767 cmd_type); in bnx2x_afex_handle_vif_list_cmd()
2773 update_params->afex_vif_list_command = cmd_type; in bnx2x_afex_handle_vif_list_cmd()
2776 (cmd_type == VIF_LIST_RULE_GET) ? 0 : func_bit_map; in bnx2x_afex_handle_vif_list_cmd()
2779 (cmd_type == VIF_LIST_RULE_GET) ? in bnx2x_afex_handle_vif_list_cmd()
3827 static bool bnx2x_is_contextless_ramrod(int cmd, int cmd_type) in bnx2x_is_contextless_ramrod() argument
3829 if ((cmd_type == NONE_CONNECTION_TYPE) || in bnx2x_is_contextless_ramrod()
3856 u32 data_hi, u32 data_lo, int cmd_type) in bnx2x_sp_post() argument
3860 bool common = bnx2x_is_contextless_ramrod(command, cmd_type); in bnx2x_sp_post()
[all …]
Dbnx2x.h2155 u32 data_hi, u32 data_lo, int cmd_type);
/linux-4.4.14/drivers/scsi/ufs/
Dufshcd.c1367 struct ufshcd_lrb *lrbp, enum dev_cmd_type cmd_type, int tag) in ufshcd_compose_dev_cmd() argument
1376 hba->dev_cmd.type = cmd_type; in ufshcd_compose_dev_cmd()
1534 enum dev_cmd_type cmd_type, int timeout) in ufshcd_exec_dev_cmd() argument
1552 err = ufshcd_compose_dev_cmd(hba, lrbp, cmd_type, tag); in ufshcd_exec_dev_cmd()
/linux-4.4.14/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.4.14/arch/mips/include/asm/octeon/
Dcvmx-mio-defs.h1270 uint64_t cmd_type:2; member
1276 uint64_t cmd_type:2;
/linux-4.4.14/drivers/ata/
Dlibata-scsi.c1124 if (likely(rq->cmd_type != REQ_TYPE_BLOCK_PC)) in atapi_drain_needed()
/linux-4.4.14/drivers/md/
Ddm.c1156 if (rq->cmd_type == REQ_TYPE_BLOCK_PC) { in dm_end_request()