/drivers/mmc/host/ |
D | tifm_sd.c | 96 unsigned short cmd_flags; member 122 if (host->cmd_flags & DATA_CARRY) { in tifm_sd_read_fifo() 124 host->cmd_flags &= ~DATA_CARRY; in tifm_sd_read_fifo() 132 host->cmd_flags |= DATA_CARRY; in tifm_sd_read_fifo() 148 if (host->cmd_flags & DATA_CARRY) { in tifm_sd_write_fifo() 151 host->cmd_flags &= ~DATA_CARRY; in tifm_sd_write_fifo() 158 host->cmd_flags |= DATA_CARRY; in tifm_sd_write_fifo() 184 && (host->cmd_flags & DATA_CARRY)) in tifm_sd_transfer_data() 274 if (host->cmd_flags & DATA_CARRY) { in tifm_sd_set_dma_data() 275 host->cmd_flags &= ~DATA_CARRY; in tifm_sd_set_dma_data() [all …]
|
/drivers/memstick/host/ |
D | jmb38x_ms.c | 63 unsigned char cmd_flags; member 335 t_size = !(host->cmd_flags & REG_DATA) in jmb38x_ms_transfer_data() 339 t_size = !(host->cmd_flags & REG_DATA) in jmb38x_ms_transfer_data() 356 if (host->cmd_flags & REG_DATA) { in jmb38x_ms_transfer_data() 383 host->cmd_flags = 0; in jmb38x_ms_issue_cmd() 405 host->cmd_flags |= DMA_DATA; in jmb38x_ms_issue_cmd() 411 host->cmd_flags &= ~DMA_DATA; in jmb38x_ms_issue_cmd() 416 host->cmd_flags |= REG_DATA; in jmb38x_ms_issue_cmd() 418 host->cmd_flags &= ~DMA_DATA; in jmb38x_ms_issue_cmd() 421 if (host->cmd_flags & DMA_DATA) { in jmb38x_ms_issue_cmd() [all …]
|
D | tifm_ms.c | 81 unsigned char cmd_flags; member 260 host->cmd_flags = 0; in tifm_ms_issue_cmd() 264 host->cmd_flags = 0; in tifm_ms_issue_cmd() 374 if (!(host->cmd_flags & CMD_READY)) in tifm_ms_check_status() 376 if (!(host->cmd_flags & FIFO_READY)) in tifm_ms_check_status() 379 && !(host->cmd_flags & CARD_INT)) in tifm_ms_check_status() 398 fifo_status, host_status, host->cmd_flags); in tifm_ms_data_event() 402 host->cmd_flags |= FIFO_READY; in tifm_ms_data_event() 407 host->cmd_flags |= FIFO_READY; in tifm_ms_data_event() 432 host_status, host->cmd_flags); in tifm_ms_card_event() [all …]
|
/drivers/mmc/card/ |
D | queue.c | 36 if (req->cmd_type != REQ_TYPE_FS && !(req->cmd_flags & REQ_DISCARD)) { in mmc_prep_request() 44 req->cmd_flags |= REQ_DONTPREP; in mmc_prep_request() 65 unsigned int cmd_flags = 0; in mmc_queue_thread() local 75 cmd_flags = req ? req->cmd_flags : 0; in mmc_queue_thread() 89 if (cmd_flags & MMC_REQ_SPECIAL_MASK) in mmc_queue_thread() 127 req->cmd_flags |= REQ_QUIET; in mmc_request_fn()
|
D | block.c | 65 #define mmc_req_rel_wr(req) (((req->cmd_flags & REQ_FUA) || \ 66 (req->cmd_flags & REQ_META)) && \ 1561 bool do_rel_wr = ((req->cmd_flags & REQ_FUA) || in mmc_blk_rw_rq_prep() 1562 (req->cmd_flags & REQ_META)) && in mmc_blk_rw_rq_prep() 1633 (req->cmd_flags & REQ_META) && in mmc_blk_rw_rq_prep() 1779 if (next->cmd_flags & REQ_DISCARD || in mmc_blk_prep_packed_list() 1780 next->cmd_flags & REQ_FLUSH) in mmc_blk_prep_packed_list() 1853 (prq->cmd_flags & REQ_META) && in mmc_blk_packed_hdr_wrq_prep() 2172 req->cmd_flags |= REQ_QUIET; in mmc_blk_issue_rw_rq() 2181 rqc->cmd_flags |= REQ_QUIET; in mmc_blk_issue_rw_rq() [all …]
|
/drivers/ide/ |
D | ide-cd.c | 101 if (!sense || !rq || (rq->cmd_flags & REQ_QUIET)) in cdrom_log_sense() 294 rq->cmd_flags |= REQ_FAILED; in cdrom_decode_status() 314 !(rq->cmd_flags & REQ_QUIET)) in cdrom_decode_status() 349 if (!(rq->cmd_flags & REQ_QUIET)) in cdrom_decode_status() 358 if (!(rq->cmd_flags & REQ_QUIET)) in cdrom_decode_status() 365 if (!(rq->cmd_flags & REQ_QUIET)) in cdrom_decode_status() 383 rq->cmd_flags |= REQ_FAILED; in cdrom_decode_status() 425 unsigned int cmd_flags) in ide_cd_queue_pc() argument 437 cmd[0], write, timeout, cmd_flags); in ide_cd_queue_pc() 449 rq->cmd_flags |= cmd_flags; in ide_cd_queue_pc() [all …]
|
D | ide-atapi.c | 214 sense_rq->cmd_flags |= REQ_PREEMPT; in ide_prep_sense() 298 if (!(rq->cmd_flags & REQ_QUIET)) in ide_cd_expiry() 378 rq->cmd_flags |= REQ_FAILED; in ide_check_ireason()
|
D | ide-io.c | 310 BUG_ON(!(rq->cmd_flags & REQ_STARTED)); in start_request() 319 rq->cmd_flags |= REQ_FAILED; in start_request() 542 (rq->cmd_flags & REQ_PREEMPT) == 0) { in do_ide_request()
|
D | ide-pm.c | 63 rq->cmd_flags |= REQ_PREEMPT; in generic_ide_resume()
|
/drivers/target/iscsi/ |
D | iscsi_target_tmr.c | 249 cmd->cmd_flags &= ~ICF_GOT_DATACK_SNACK; in iscsit_task_reassign_complete_write() 252 cmd->cmd_flags |= ICF_GOT_DATACK_SNACK; in iscsit_task_reassign_complete_write() 261 if (cmd->cmd_flags & ICF_GOT_LAST_DATAOUT) { in iscsit_task_reassign_complete_write() 320 cmd->cmd_flags &= ~ICF_GOT_DATACK_SNACK; in iscsit_task_reassign_complete_read() 323 cmd->cmd_flags |= ICF_GOT_DATACK_SNACK; in iscsit_task_reassign_complete_read() 727 cmd->cmd_flags &= ~ICF_SENT_LAST_R2T; in iscsit_task_reassign_prepare_write() 818 if ((ref_cmd->cmd_flags & ICF_GOT_DATACK_SNACK) && in iscsit_check_task_reassign_expdatasn()
|
D | iscsi_target_erl1.c | 157 if ((cmd->cmd_flags & ICF_GOT_DATACK_SNACK) && in iscsit_handle_r2t_snack() 428 if ((cmd->cmd_flags & ICF_GOT_DATACK_SNACK) && in iscsit_handle_recovery_datain() 591 cmd->cmd_flags |= ICF_GOT_DATACK_SNACK; in iscsit_handle_data_ack() 776 cmd->cmd_flags |= ICF_WITHIN_COMMAND_RECOVERY; in iscsit_recover_dataout_sequence() 932 cmd->cmd_flags &= ~ICF_OOO_CMDSN; in iscsit_execute_cmd() 971 if (cmd->cmd_flags & ICF_GOT_LAST_DATAOUT) { in iscsit_execute_cmd() 978 if (!(cmd->cmd_flags & in iscsit_execute_cmd() 1000 !(cmd->cmd_flags & ICF_NON_IMMEDIATE_UNSOLICITED_DATA)) { in iscsit_execute_cmd() 1080 cmd->cmd_flags |= ICF_OOO_CMDSN; in iscsit_handle_ooo_cmdsn() 1187 cmd->cmd_flags |= ICF_WITHIN_COMMAND_RECOVERY; in iscsit_handle_dataout_timeout()
|
D | iscsi_target_erl2.c | 299 if (!(cmd->cmd_flags & ICF_OOO_CMDSN)) in iscsit_discard_unacknowledged_ooo_cmdsns_for_conn() 374 if (!(cmd->cmd_flags & ICF_OOO_CMDSN) && !cmd->immediate_cmd && in iscsit_prepare_cmds_for_realligance()
|
D | iscsi_target.c | 646 cmd->cmd_flags |= ICF_REJECT_FAIL_CONN; in iscsit_add_reject() 692 cmd->cmd_flags |= ICF_REJECT_FAIL_CONN; in iscsit_add_reject_from_cmd() 967 cmd->cmd_flags |= ICF_NON_IMMEDIATE_UNSOLICITED_DATA; in iscsit_setup_scsi_cmd() 1318 if (cmd->cmd_flags & ICF_GOT_LAST_DATAOUT) { in iscsit_check_dataout_hdr() 1505 ooo_cmdsn = (cmd->cmd_flags & ICF_OOO_CMDSN); in iscsit_check_dataout_payload() 1506 cmd->cmd_flags |= ICF_GOT_LAST_DATAOUT; in iscsit_check_dataout_payload() 2450 cmd->cmd_flags |= ICF_GOT_LAST_DATAOUT; in iscsit_handle_immediate_data() 3086 if (cmd->cmd_flags & ICF_SENT_LAST_R2T) { in iscsit_build_r2ts_for_cmd() 3122 cmd->cmd_flags |= ICF_SENT_LAST_R2T; in iscsit_build_r2ts_for_cmd() 3136 cmd->cmd_flags |= ICF_SENT_LAST_R2T; in iscsit_build_r2ts_for_cmd() [all …]
|
/drivers/net/ethernet/broadcom/bnx2x/ |
D | bnx2x_ethtool.c | 1265 u32 cmd_flags) in bnx2x_nvram_read_dword() argument 1271 cmd_flags |= MCPR_NVM_COMMAND_DOIT; in bnx2x_nvram_read_dword() 1281 REG_WR(bp, MCP_REG_MCPR_NVM_COMMAND, cmd_flags); in bnx2x_nvram_read_dword() 1316 u32 cmd_flags; in bnx2x_nvram_read() local 1342 cmd_flags = MCPR_NVM_COMMAND_FIRST; in bnx2x_nvram_read() 1344 rc = bnx2x_nvram_read_dword(bp, offset, &val, cmd_flags); in bnx2x_nvram_read() 1351 cmd_flags = 0; in bnx2x_nvram_read() 1355 cmd_flags |= MCPR_NVM_COMMAND_LAST; in bnx2x_nvram_read() 1356 rc = bnx2x_nvram_read_dword(bp, offset, &val, cmd_flags); in bnx2x_nvram_read() 1521 u32 cmd_flags) in bnx2x_nvram_write_dword() argument [all …]
|
/drivers/net/wireless/mwifiex/ |
D | cmdevt.c | 712 unsigned long cmd_flags; in mwifiex_exec_next_cmd() local 721 spin_lock_irqsave(&adapter->mwifiex_cmd_lock, cmd_flags); in mwifiex_exec_next_cmd() 727 spin_unlock_irqrestore(&adapter->mwifiex_cmd_lock, cmd_flags); in mwifiex_exec_next_cmd() 741 spin_unlock_irqrestore(&adapter->mwifiex_cmd_lock, cmd_flags); in mwifiex_exec_next_cmd() 750 spin_unlock_irqrestore(&adapter->mwifiex_cmd_lock, cmd_flags); in mwifiex_exec_next_cmd() 1048 unsigned long cmd_flags; in mwifiex_cancel_pending_ioctl() local 1054 spin_lock_irqsave(&adapter->mwifiex_cmd_lock, cmd_flags); in mwifiex_cancel_pending_ioctl() 1061 spin_unlock_irqrestore(&adapter->mwifiex_cmd_lock, cmd_flags); in mwifiex_cancel_pending_ioctl() 1082 spin_lock_irqsave(&adapter->mwifiex_cmd_lock, cmd_flags); in mwifiex_cancel_pending_ioctl() 1084 spin_unlock_irqrestore(&adapter->mwifiex_cmd_lock, cmd_flags); in mwifiex_cancel_pending_ioctl()
|
/drivers/scsi/device_handler/ |
D | scsi_dh_hp_sw.c | 124 req->cmd_flags |= REQ_FAILFAST_DEV | REQ_FAILFAST_TRANSPORT | in hp_sw_tur() 254 req->cmd_flags |= REQ_FAILFAST_DEV | REQ_FAILFAST_TRANSPORT | in hp_sw_start_stop() 276 req->cmd_flags |= REQ_QUIET; in hp_sw_prep_fn()
|
D | scsi_dh_emc.c | 308 rq->cmd_flags |= REQ_FAILFAST_DEV | REQ_FAILFAST_TRANSPORT | in get_req() 458 req->cmd_flags |= REQ_QUIET; in clariion_prep_fn()
|
/drivers/scsi/ |
D | sd.c | 828 if (rq->cmd_flags & REQ_DISCARD) { in sd_unprep_fn() 858 if (rq->cmd_flags & REQ_DISCARD) { in sd_prep_fn() 861 } else if (rq->cmd_flags & REQ_WRITE_SAME) { in sd_prep_fn() 864 } else if (rq->cmd_flags & REQ_FLUSH) { in sd_prep_fn() 984 scmd_printk(KERN_ERR, SCpnt, "Unknown command %x\n", rq->cmd_flags); in sd_prep_fn() 1014 SCpnt->cmnd[10] = protect | ((rq->cmd_flags & REQ_FUA) ? 0x8 : 0); in sd_prep_fn() 1039 SCpnt->cmnd[1] = protect | ((rq->cmd_flags & REQ_FUA) ? 0x8 : 0); in sd_prep_fn() 1060 SCpnt->cmnd[1] = protect | ((rq->cmd_flags & REQ_FUA) ? 0x8 : 0); in sd_prep_fn() 1069 if (unlikely(rq->cmd_flags & REQ_FUA)) { in sd_prep_fn() 1626 if (req->cmd_flags & REQ_DISCARD || req->cmd_flags & REQ_WRITE_SAME) { in sd_done() [all …]
|
D | scsi_lib.c | 253 req->cmd_flags |= flags | REQ_QUIET | REQ_PREEMPT; in scsi_execute() 844 else if (!(req->cmd_flags & REQ_QUIET)) in scsi_io_completion() 980 if (!(req->cmd_flags & REQ_QUIET)) { in scsi_io_completion() 1243 if (!(req->cmd_flags & REQ_PREEMPT)) in scsi_prep_state_check() 1252 if (!(req->cmd_flags & REQ_PREEMPT)) in scsi_prep_state_check() 1286 req->cmd_flags |= REQ_DONTPREP; in scsi_prep_return()
|
D | scsi_error.c | 1404 return (scmd->request->cmd_flags & REQ_FAILFAST_TRANSPORT); in scsi_noretry_cmd() 1406 return (scmd->request->cmd_flags & REQ_FAILFAST_DEV); in scsi_noretry_cmd() 1413 return (scmd->request->cmd_flags & REQ_FAILFAST_DRIVER); in scsi_noretry_cmd() 1422 if (scmd->request->cmd_flags & REQ_FAILFAST_DEV || in scsi_noretry_cmd() 1666 req->cmd_flags |= REQ_QUIET; in scsi_eh_lock_door()
|
/drivers/net/ethernet/broadcom/ |
D | bnx2.c | 4198 bnx2_nvram_read_dword(struct bnx2 *bp, u32 offset, u8 *ret_val, u32 cmd_flags) in bnx2_nvram_read_dword() argument 4204 cmd = BNX2_NVM_COMMAND_DOIT | cmd_flags; in bnx2_nvram_read_dword() 4243 bnx2_nvram_write_dword(struct bnx2 *bp, u32 offset, u8 *val, u32 cmd_flags) in bnx2_nvram_write_dword() argument 4250 cmd = BNX2_NVM_COMMAND_DOIT | BNX2_NVM_COMMAND_WR | cmd_flags; in bnx2_nvram_write_dword() 4374 u32 cmd_flags, offset32, len32, extra; in bnx2_nvram_read() local 4390 cmd_flags = 0; in bnx2_nvram_read() 4401 cmd_flags = BNX2_NVM_COMMAND_FIRST | in bnx2_nvram_read() 4405 cmd_flags = BNX2_NVM_COMMAND_FIRST; in bnx2_nvram_read() 4408 rc = bnx2_nvram_read_dword(bp, offset32, buf, cmd_flags); in bnx2_nvram_read() 4427 if (cmd_flags) in bnx2_nvram_read() [all …]
|
/drivers/target/ |
D | target_core_transport.c | 2353 unsigned long lun_flags, cmd_flags; in __transport_clear_lun_from_sessions() local 2398 spin_lock_irqsave(&cmd->t_state_lock, cmd_flags); in __transport_clear_lun_from_sessions() 2400 spin_unlock_irqrestore(&cmd->t_state_lock, cmd_flags); in __transport_clear_lun_from_sessions() 2405 spin_unlock_irqrestore(&cmd->t_state_lock, cmd_flags); in __transport_clear_lun_from_sessions() 2421 spin_lock_irqsave(&cmd->t_state_lock, cmd_flags); in __transport_clear_lun_from_sessions() 2429 cmd_flags); in __transport_clear_lun_from_sessions() 2438 spin_unlock_irqrestore(&cmd->t_state_lock, cmd_flags); in __transport_clear_lun_from_sessions()
|
/drivers/block/ |
D | ps3disk.c | 200 if (req->cmd_flags & REQ_FLUSH) { in ps3disk_do_request() 260 if (req->cmd_flags & REQ_FLUSH) { in ps3disk_interrupt()
|
D | xen-blkfront.c | 404 if (req->cmd_flags & (REQ_FLUSH | REQ_FUA)) { in blkif_queue_request() 415 if (unlikely(req->cmd_flags & (REQ_DISCARD | REQ_SECURE))) { in blkif_queue_request() 419 if ((req->cmd_flags & REQ_SECURE) && info->feature_secdiscard) in blkif_queue_request() 518 ((req->cmd_flags & (REQ_FLUSH | REQ_FUA)) && in do_blkif_request()
|
/drivers/md/ |
D | dm.c | 770 rq->cmd_flags &= ~REQ_DONTPREP; in dm_unprep_request() 863 if (rq->cmd_flags & REQ_FAILED) in dm_softirq_done() 894 rq->cmd_flags |= REQ_FAILED; in dm_kill_unmapped_request() 1505 rq->cmd_flags |= REQ_IO_STAT; in dm_dispatch_request() 1593 rq->cmd_flags |= REQ_DONTPREP; in dm_prep_fn() 1685 if (!(rq->cmd_flags & REQ_FLUSH)) in dm_request_fn()
|