/linux-6.12.1/arch/arm64/kvm/hyp/ |
D | vgic-v3-sr.c | 1046 u32 sysreg, bool is_read) in __vgic_v3_check_trap_forwarding() argument 1057 if (is_read && in __vgic_v3_check_trap_forwarding() 1061 if (!is_read && in __vgic_v3_check_trap_forwarding() 1078 if (is_read && in __vgic_v3_check_trap_forwarding() 1082 if (!is_read && in __vgic_v3_check_trap_forwarding() 1120 bool is_read; in __vgic_v3_perform_cpuif_access() local 1138 is_read = (esr & ESR_ELx_SYS64_ISS_DIR_MASK) == ESR_ELx_SYS64_ISS_DIR_READ; in __vgic_v3_perform_cpuif_access() 1140 if (__vgic_v3_check_trap_forwarding(vcpu, sysreg, is_read)) in __vgic_v3_perform_cpuif_access() 1146 if (unlikely(!is_read)) in __vgic_v3_perform_cpuif_access() 1152 if (unlikely(is_read)) in __vgic_v3_perform_cpuif_access() [all …]
|
/linux-6.12.1/drivers/gpu/drm/i915/ |
D | intel_sbi.c | 15 u32 *val, bool is_read) in intel_sbi_rw() argument 31 intel_uncore_write_fw(uncore, SBI_DATA, is_read ? 0 : *val); in intel_sbi_rw() 37 if (!is_read) in intel_sbi_rw() 54 if (is_read) in intel_sbi_rw()
|
D | vlv_sideband.c | 81 const bool is_read = (opcode == SB_MRD_NP || opcode == SB_CRRDDA_NP); in vlv_sideband_rw() local 93 is_read ? "read" : "write"); in vlv_sideband_rw() 100 intel_uncore_write_fw(uncore, VLV_IOSF_DATA, is_read ? 0 : *val); in vlv_sideband_rw() 112 if (is_read) in vlv_sideband_rw() 117 is_read ? "read" : "write"); in vlv_sideband_rw()
|
D | intel_pcode.c | 58 bool is_read) in __snb_pcode_rw() argument 84 if (is_read) in __snb_pcode_rw() 86 if (is_read && val1) in __snb_pcode_rw()
|
/linux-6.12.1/drivers/md/bcache/ |
D | io.c | 84 int is_read, in bch_count_io_errors() argument 129 is_read ? ", recovering." : "."); in bch_count_io_errors() 142 int is_read = (bio_data_dir(bio) == READ ? 1 : 0); in bch_bbio_count_io_errors() local 164 bch_count_io_errors(ca, error, is_read, m); in bch_bbio_count_io_errors()
|
/linux-6.12.1/arch/x86/xen/ |
D | pmu.c | 198 int index, bool is_read) in xen_intel_pmu_emulate() argument 246 if (is_read) in xen_intel_pmu_emulate() 260 static bool xen_amd_pmu_emulate(unsigned int msr, u64 *val, bool is_read) in xen_amd_pmu_emulate() argument 291 if (is_read) in xen_amd_pmu_emulate() 301 static bool pmu_msr_chk_emulated(unsigned int msr, uint64_t *val, bool is_read, in pmu_msr_chk_emulated() argument 307 *emul = xen_amd_pmu_emulate(msr, val, is_read); in pmu_msr_chk_emulated() 309 *emul = xen_intel_pmu_emulate(msr, val, type, index, is_read); in pmu_msr_chk_emulated()
|
/linux-6.12.1/arch/arm64/kvm/ |
D | trace_arm.h | 393 TP_PROTO(struct kvm_vcpu *vcpu, u32 sysreg, bool is_read), 394 TP_ARGS(vcpu, sysreg, is_read), 399 __field(bool, is_read) 405 __entry->is_read = is_read; 410 __entry->is_read ? 'R' : 'W',
|
D | emulate-nested.c | 2129 static bool check_fgt_bit(struct kvm *kvm, bool is_read, in check_fgt_bit() argument 2150 sr = is_read ? HFGRTR_EL2 : HFGWTR_EL2; in check_fgt_bit() 2154 sr = is_read ? HDFGRTR_EL2 : HDFGWTR_EL2; in check_fgt_bit() 2177 bool is_read; in triage_sysreg_trap() local 2183 is_read = (esr & ESR_ELx_SYS64_ISS_DIR_MASK) == ESR_ELx_SYS64_ISS_DIR_READ; in triage_sysreg_trap() 2218 if (is_read) in triage_sysreg_trap() 2225 if (is_read) in triage_sysreg_trap() 2256 if (tc.fgt != __NO_FGT_GROUP__ && check_fgt_bit(vcpu->kvm, is_read, in triage_sysreg_trap() 2262 if (((b & BEHAVE_FORWARD_READ) && is_read) || in triage_sysreg_trap() 2263 ((b & BEHAVE_FORWARD_WRITE) && !is_read)) in triage_sysreg_trap() [all …]
|
/linux-6.12.1/drivers/base/regmap/ |
D | regmap-spi-avmm.c | 178 static int br_trans_tx_prepare(struct spi_avmm_bridge *br, bool is_read, u32 reg, in br_trans_tx_prepare() argument 187 if (is_read) { in br_trans_tx_prepare() 207 if (!is_read) { in br_trans_tx_prepare() 546 static int do_reg_access(void *context, bool is_read, unsigned int reg, in do_reg_access() argument 556 ret = br_trans_tx_prepare(br, is_read, reg, value, count); in do_reg_access() 572 if (is_read) in do_reg_access()
|
/linux-6.12.1/tools/lib/perf/ |
D | lib.c | 10 static ssize_t ion(bool is_read, int fd, void *buf, size_t n) in ion() argument 17 ssize_t ret = is_read ? read(fd, buf, left) : in ion()
|
/linux-6.12.1/drivers/net/ethernet/hisilicon/hns3/hns3vf/ |
D | hclgevf_cmd.h | 111 #define hclgevf_cmd_setup_basic_desc(desc, opcode, is_read) \ argument 112 hclge_comm_cmd_setup_basic_desc(desc, opcode, is_read)
|
/linux-6.12.1/arch/m68k/mac/ |
D | misc.c | 178 int is_read; in via_rtc_command() local 193 is_read = command & (RTC_FLG_READ << 8); in via_rtc_command() 196 is_read = command & RTC_FLG_READ; in via_rtc_command() 198 if (is_read) { in via_rtc_command()
|
/linux-6.12.1/drivers/mmc/host/ |
D | bcm2835.c | 328 static void bcm2835_transfer_block_pio(struct bcm2835_host *host, bool is_read) in bcm2835_transfer_block_pio() argument 367 if (is_read) in bcm2835_transfer_block_pio() 376 if ((is_read && in bcm2835_transfer_block_pio() 380 (!is_read && in bcm2835_transfer_block_pio() 393 is_read ? "read" : "write", in bcm2835_transfer_block_pio() 408 if (is_read) in bcm2835_transfer_block_pio() 427 bool is_read; in bcm2835_transfer_pio() local 429 is_read = (host->data->flags & MMC_DATA_READ) != 0; in bcm2835_transfer_pio() 430 bcm2835_transfer_block_pio(host, is_read); in bcm2835_transfer_pio() 437 is_read ? "read" : "write", sdhsts); in bcm2835_transfer_pio() [all …]
|
D | tmio_mmc_core.c | 348 int is_read = host->data->flags & MMC_DATA_READ; in tmio_mmc_transfer_data() local 358 if (is_read) in tmio_mmc_transfer_data() 372 if (is_read) { in tmio_mmc_transfer_data() 383 if (is_read) in tmio_mmc_transfer_data() 401 if (is_read) in tmio_mmc_transfer_data()
|
/linux-6.12.1/block/ |
D | fops.c | 172 bool is_read = (iov_iter_rw(iter) == READ), is_sync; in __blkdev_direct_IO() local 173 blk_opf_t opf = is_read ? REQ_OP_READ : dio_bio_write_op(iocb); in __blkdev_direct_IO() 199 if (is_read && user_backed_iter(iter)) in __blkdev_direct_IO() 236 if (is_read) { in __blkdev_direct_IO() 307 bool is_read = iov_iter_rw(iter) == READ; in __blkdev_direct_IO_async() local 308 blk_opf_t opf = is_read ? REQ_OP_READ : dio_bio_write_op(iocb); in __blkdev_direct_IO_async() 343 if (is_read) { in __blkdev_direct_IO_async()
|
/linux-6.12.1/drivers/gpu/drm/msm/dsi/ |
D | dsi_manager.c | 490 bool is_read = (msg->rx_buf && msg->rx_len); in msm_dsi_manager_cmd_xfer() local 491 bool need_sync = (IS_SYNC_NEEDED() && !is_read); in msm_dsi_manager_cmd_xfer() 503 return is_read ? msg->rx_len : msg->tx_len; in msm_dsi_manager_cmd_xfer() 519 ret = is_read ? msm_dsi_host_cmd_rx(host, msg) : in msm_dsi_manager_cmd_xfer()
|
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/hdcp/ |
D | hdcp_msg.c | 234 bool is_read) in dpcd_access_helper() argument 291 if (is_read) { in dpcd_access_helper()
|
/linux-6.12.1/drivers/gpu/drm/mediatek/ |
D | mtk_dp.c | 864 static int mtk_dp_aux_wait_for_completion(struct mtk_dp *mtk_dp, bool is_read) in mtk_dp_aux_wait_for_completion() argument 871 if (is_read) { in mtk_dp_aux_wait_for_completion() 895 static int mtk_dp_aux_do_transfer(struct mtk_dp *mtk_dp, bool is_read, u8 cmd, in mtk_dp_aux_do_transfer() argument 900 if (is_read && (length > DP_AUX_MAX_PAYLOAD_BYTES || in mtk_dp_aux_do_transfer() 904 if (!is_read) in mtk_dp_aux_do_transfer() 916 if (!is_read) { in mtk_dp_aux_do_transfer() 928 ret = mtk_dp_aux_wait_for_completion(mtk_dp, is_read); in mtk_dp_aux_do_transfer() 951 } else if (is_read) { in mtk_dp_aux_do_transfer() 2189 bool is_read; in mtk_dp_aux_transfer() local 2207 is_read = false; in mtk_dp_aux_transfer() [all …]
|
/linux-6.12.1/drivers/net/ethernet/hisilicon/hns3/hns3_common/ |
D | hclge_comm_cmd.c | 42 void hclge_comm_cmd_reuse_desc(struct hclge_desc *desc, bool is_read) in hclge_comm_cmd_reuse_desc() argument 46 if (is_read) in hclge_comm_cmd_reuse_desc() 66 bool is_read) in hclge_comm_cmd_setup_basic_desc() argument 73 if (is_read) in hclge_comm_cmd_setup_basic_desc()
|
D | hclge_comm_cmd.h | 485 void hclge_comm_cmd_reuse_desc(struct hclge_desc *desc, bool is_read); 491 bool is_read);
|
/linux-6.12.1/drivers/usb/gadget/function/ |
D | tcm.h | 88 unsigned is_read:1; member
|
/linux-6.12.1/drivers/gpu/drm/i915/gvt/ |
D | mmio.h | 103 void *pdata, unsigned int bytes, bool is_read);
|
/linux-6.12.1/drivers/i2c/busses/ |
D | i2c-at91-master.c | 656 bool is_read; in at91_twi_xfer() local 681 is_read = (m_start->flags & I2C_M_RD); in at91_twi_xfer() 688 ((is_read) ? AT91_TWI_ACR_DIR : 0)); in at91_twi_xfer() 698 ((!dev->use_alt_cmd && is_read) ? AT91_TWI_MREAD : 0)); in at91_twi_xfer()
|
D | i2c-uniphier.c | 158 bool is_read = msg->flags & I2C_M_RD; in uniphier_i2c_xfer_one() local 162 if (is_read) in uniphier_i2c_xfer_one()
|
/linux-6.12.1/drivers/target/ |
D | target_core_rd.c | 379 static sense_reason_t rd_do_prot_rw(struct se_cmd *cmd, bool is_read) in rd_do_prot_rw() argument 403 if (is_read) in rd_do_prot_rw() 411 sbc_dif_copy_prot(cmd, sectors, is_read, prot_sg, prot_offset); in rd_do_prot_rw()
|