/linux/arch/arm64/kvm/hyp/ |
H A D | vgic-v3-sr.c | 1084 u32 sysreg, bool is_read) in __vgic_v3_check_trap_forwarding() argument 1095 if (is_read && in __vgic_v3_check_trap_forwarding() 1099 if (!is_read && in __vgic_v3_check_trap_forwarding() 1116 if (is_read && in __vgic_v3_check_trap_forwarding() 1120 if (!is_read && in __vgic_v3_check_trap_forwarding() 1158 bool is_read; in __vgic_v3_perform_cpuif_access() local 1176 is_read = (esr & ESR_ELx_SYS64_ISS_DIR_MASK) == ESR_ELx_SYS64_ISS_DIR_READ; in __vgic_v3_perform_cpuif_access() 1178 if (__vgic_v3_check_trap_forwarding(vcpu, sysreg, is_read)) in __vgic_v3_perform_cpuif_access() 1184 if (unlikely(!is_read)) in __vgic_v3_perform_cpuif_access() 1190 if (unlikely(is_read)) in __vgic_v3_perform_cpuif_access() [all...] |
/linux/drivers/gpu/drm/i915/display/ |
H A D | intel_sbi.c | 18 u32 *val, bool is_read) in intel_sbi_rw() argument 30 intel_de_write_fw(display, SBI_DATA, is_read ? 0 : *val); in intel_sbi_rw() 36 if (!is_read) in intel_sbi_rw() 50 if (is_read) in intel_sbi_rw()
|
/linux/drivers/gpu/drm/i915/ |
H A D | vlv_iosf_sb.c | 89 const bool is_read = (opcode == SB_MRD_NP || opcode == SB_CRRDDA_NP); in vlv_sideband_rw() local 101 is_read ? "read" : "write"); in vlv_sideband_rw() 108 intel_uncore_write_fw(uncore, VLV_IOSF_DATA, is_read ? 0 : *val); in vlv_sideband_rw() 120 if (is_read) in vlv_sideband_rw() 125 is_read ? "read" : "write"); in vlv_sideband_rw()
|
H A 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/drivers/md/bcache/ |
H A 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/arch/x86/xen/ |
H A D | pmu.c | 198 static bool xen_intel_pmu_emulate(u32 msr, u64 *val, int type, 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(u32 msr, u64 *val, bool is_read) in xen_amd_pmu_emulate() argument 291 if (is_read) in xen_amd_pmu_emulate() 301 bool pmu_msr_chk_emulated(u32 msr, u64 *val, bool is_read) in pmu_msr_chk_emulated() argument 306 return xen_amd_pmu_emulate(msr, val, is_read); in pmu_msr_chk_emulated() 309 return xen_intel_pmu_emulate(msr, val, type, index, is_read); in pmu_msr_chk_emulated()
|
/linux/tools/lib/perf/ |
H A D | lib.c | 10 static ssize_t ion(bool is_read, int fd, void *buf, size_t n) in ion() argument 16 /* buf must be treated as const if !is_read. */ in ion() 17 ssize_t ret = is_read ? read(fd, buf, left) : in ion()
|
/linux/drivers/base/regmap/ |
H A 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/drivers/net/ethernet/hisilicon/hns3/hns3vf/ |
H A 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/arch/m68k/mac/ |
H A 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/drivers/mmc/host/ |
H A D | bcm2835.c | 330 static void bcm2835_transfer_block_pio(struct bcm2835_host *host, bool is_read) in bcm2835_transfer_block_pio() argument 369 if (is_read) in bcm2835_transfer_block_pio() 378 if ((is_read && in bcm2835_transfer_block_pio() 382 (!is_read && in bcm2835_transfer_block_pio() 395 str_read_write(is_read), edm); in bcm2835_transfer_block_pio() 409 if (is_read) in bcm2835_transfer_block_pio() 428 bool is_read; in bcm2835_transfer_pio() local 430 is_read = (host->data->flags & MMC_DATA_READ) != 0; in bcm2835_transfer_pio() 431 bcm2835_transfer_block_pio(host, is_read); in bcm2835_transfer_pio() 438 str_read_write(is_read), sdhst in bcm2835_transfer_pio() [all...] |
H A D | tmio_mmc_core.c | 346 int is_read = host->data->flags & MMC_DATA_READ; in tmio_mmc_transfer_data() local 356 if (is_read) in tmio_mmc_transfer_data() 370 if (is_read) { in tmio_mmc_transfer_data() 381 if (is_read) in tmio_mmc_transfer_data() 399 if (is_read) in tmio_mmc_transfer_data()
|
/linux/block/ |
H A D | fops.c | 175 bool is_read = (iov_iter_rw(iter) == READ), is_sync; in __blkdev_direct_IO() local 176 blk_opf_t opf = is_read ? REQ_OP_READ : dio_bio_write_op(iocb); in __blkdev_direct_IO() 202 if (is_read && user_backed_iter(iter)) in __blkdev_direct_IO() 242 if (is_read) { in __blkdev_direct_IO() 322 bool is_read = iov_iter_rw(iter) == READ; in __blkdev_direct_IO_async() local 323 blk_opf_t opf = is_read ? REQ_OP_READ : dio_bio_write_op(iocb); in __blkdev_direct_IO_async() 357 if (is_read) { in __blkdev_direct_IO_async()
|
/linux/drivers/gpu/drm/msm/dsi/ |
H A D | dsi_manager.c | 500 bool is_read = (msg->rx_buf && msg->rx_len); in msm_dsi_manager_cmd_xfer() local 501 bool need_sync = (IS_SYNC_NEEDED() && !is_read); in msm_dsi_manager_cmd_xfer() 513 return is_read ? msg->rx_len : msg->tx_len; in msm_dsi_manager_cmd_xfer() 529 ret = is_read ? msm_dsi_host_cmd_rx(host, msg) : in msm_dsi_manager_cmd_xfer()
|
/linux/drivers/gpu/drm/amd/display/dc/hdcp/ |
H A D | hdcp_msg.c | 234 bool is_read) in dpcd_access_helper() argument 291 if (is_read) { in dpcd_access_helper()
|
/linux/drivers/gpu/drm/mediatek/ |
H A D | mtk_dp.c | 867 static int mtk_dp_aux_wait_for_completion(struct mtk_dp *mtk_dp, bool is_read) in mtk_dp_aux_wait_for_completion() argument 874 if (is_read) { in mtk_dp_aux_wait_for_completion() 898 static int mtk_dp_aux_do_transfer(struct mtk_dp *mtk_dp, bool is_read, u8 cmd, in mtk_dp_aux_do_transfer() argument 903 if (is_read && (length > DP_AUX_MAX_PAYLOAD_BYTES || in mtk_dp_aux_do_transfer() 907 if (!is_read) in mtk_dp_aux_do_transfer() 919 if (!is_read) { in mtk_dp_aux_do_transfer() 931 ret = mtk_dp_aux_wait_for_completion(mtk_dp, is_read); in mtk_dp_aux_do_transfer() 954 } else if (is_read) { in mtk_dp_aux_do_transfer() 2212 bool is_read; in mtk_dp_aux_transfer() local 2230 is_read in mtk_dp_aux_transfer() [all...] |
/linux/drivers/net/ethernet/hisilicon/hns3/hns3_common/ |
H A 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()
|
H A D | hclge_comm_cmd.h | 485 void hclge_comm_cmd_reuse_desc(struct hclge_desc *desc, bool is_read); 491 bool is_read);
|
/linux/drivers/gpu/drm/i915/gvt/ |
H A D | mmio.h | 100 void *pdata, unsigned int bytes, bool is_read);
|
/linux/drivers/usb/gadget/function/ |
H A D | tcm.h | 99 unsigned is_read:1; member
|
/linux/drivers/i2c/busses/ |
H A 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()
|
H A D | i2c-at91-master.c | 657 bool is_read; in at91_twi_xfer() local 682 is_read = (m_start->flags & I2C_M_RD); in at91_twi_xfer() 689 ((is_read) ? AT91_TWI_ACR_DIR : 0)); in at91_twi_xfer() 699 ((!dev->use_alt_cmd && is_read) ? AT91_TWI_MREAD : 0)); in at91_twi_xfer()
|
/linux/drivers/mtd/nand/raw/ |
H A D | loongson1-nand-controller.c | 66 bool is_read; member 138 op->is_read = true; in ls1x_nand_op_cmd_mapping() 141 if (!op->is_read) in ls1x_nand_op_cmd_mapping() 276 if (op->is_write || op->is_read || op->is_change_column) in ls1x_nand_trigger_op()
|
/linux/drivers/iio/dac/ |
H A D | ad3552r.c | 56 u8 *data, bool is_read) in ad3552r_transfer() argument 62 buf[0] |= is_read ? AD3552R_READ_BIT : 0; in ad3552r_transfer() 63 if (is_read) in ad3552r_transfer()
|
/linux/drivers/target/ |
H A 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()
|