Home
last modified time | relevance | path

Searched refs:is_read (Results 1 – 25 of 31) sorted by relevance

12

/linux/arch/arm64/kvm/hyp/
H A Dvgic-v3-sr.c1092 u32 sysreg, bool is_read) in __vgic_v3_check_trap_forwarding() argument
1103 if (is_read && in __vgic_v3_check_trap_forwarding()
1107 if (!is_read && in __vgic_v3_check_trap_forwarding()
1124 if (is_read && in __vgic_v3_check_trap_forwarding()
1128 if (!is_read && in __vgic_v3_check_trap_forwarding()
1166 bool is_read; in __vgic_v3_perform_cpuif_access() local
1184 is_read = (esr & ESR_ELx_SYS64_ISS_DIR_MASK) == ESR_ELx_SYS64_ISS_DIR_READ; in __vgic_v3_perform_cpuif_access()
1186 if (__vgic_v3_check_trap_forwarding(vcpu, sysreg, is_read)) in __vgic_v3_perform_cpuif_access()
1192 if (unlikely(!is_read)) in __vgic_v3_perform_cpuif_access()
1198 if (unlikely(is_read)) in __vgic_v3_perform_cpuif_access()
[all …]
/linux/arch/arm64/kvm/
H A Dtrace_arm.h393 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',
H A Demulate-nested.c2471 bool is_read; in triage_sysreg_trap() local
2477 is_read = (esr & ESR_ELx_SYS64_ISS_DIR_MASK) == ESR_ELx_SYS64_ISS_DIR_READ; in triage_sysreg_trap()
2520 fgtreg = is_read ? HFGRTR_EL2 : HFGWTR_EL2; in triage_sysreg_trap()
2524 fgtreg = is_read ? HDFGRTR_EL2 : HDFGWTR_EL2; in triage_sysreg_trap()
2547 fgtreg = is_read ? HFGRTR2_EL2 : HFGWTR2_EL2; in triage_sysreg_trap()
2551 fgtreg = is_read ? HDFGRTR2_EL2 : HDFGWTR2_EL2; in triage_sysreg_trap()
2573 if (((b & BEHAVE_FORWARD_READ) && is_read) || in triage_sysreg_trap()
2574 ((b & BEHAVE_FORWARD_WRITE) && !is_read)) in triage_sysreg_trap()
2600 trace_kvm_forward_sysreg_trap(vcpu, sysreg, is_read); in triage_sysreg_trap()
/linux/drivers/base/regmap/
H A Dregmap-spi-avmm.c178 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/tools/lib/perf/
H A Dlib.c10 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/drivers/net/ethernet/hisilicon/hns3/hns3vf/
H A Dhclgevf_cmd.h111 #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 Dmisc.c178 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 Dbcm2835.c330 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), sdhsts); in bcm2835_transfer_pio()
[all …]
/linux/block/
H A Dfops.c182 bool is_read = (iov_iter_rw(iter) == READ), is_sync; in __blkdev_direct_IO() local
183 blk_opf_t opf = is_read ? REQ_OP_READ : dio_bio_write_op(iocb); in __blkdev_direct_IO()
207 if (is_read && user_backed_iter(iter)) in __blkdev_direct_IO()
247 if (is_read) { in __blkdev_direct_IO()
327 bool is_read = iov_iter_rw(iter) == READ; in __blkdev_direct_IO_async() local
328 blk_opf_t opf = is_read ? REQ_OP_READ : dio_bio_write_op(iocb); in __blkdev_direct_IO_async()
360 if (is_read) { in __blkdev_direct_IO_async()
/linux/drivers/gpu/drm/mediatek/
H A Dmtk_dp.c867 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()
2213 bool is_read; in mtk_dp_aux_transfer() local
2231 is_read = false; in mtk_dp_aux_transfer()
[all …]
/linux/drivers/net/ethernet/hisilicon/hns3/hns3_common/
H A Dhclge_comm_cmd.c42 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 Dhclge_comm_cmd.h485 void hclge_comm_cmd_reuse_desc(struct hclge_desc *desc, bool is_read);
491 bool is_read);
/linux/drivers/i2c/busses/
H A Di2c-at91-master.c657 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()
H A Di2c-uniphier.c158 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 Di2c-uniphier-f.c317 bool is_read = msg->flags & I2C_M_RD; in uniphier_fi2c_xfer_one() local
336 if (is_read) in uniphier_fi2c_xfer_one()
/linux/drivers/target/
H A Dtarget_core_rd.c379 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()
/linux/drivers/iio/dac/
H A Dad3552r.c56 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/include/linux/
H A Dhisi_acc_qm.h593 u32 index, bool is_read);
596 u32 index, bool is_read);
/linux/arch/x86/xen/
H A Dxen-ops.h274 bool pmu_msr_chk_emulated(u32 msr, u64 *val, bool is_read);
/linux/drivers/i2c/
H A Di2c-core-smbus.c305 bool is_read = msg->flags & I2C_M_RD; in i2c_smbus_try_get_dmabuf() local
308 dma_buf = kzalloc(I2C_SMBUS_BLOCK_MAX + (is_read ? 2 : 3), GFP_KERNEL); in i2c_smbus_try_get_dmabuf()
/linux/drivers/net/ethernet/hisilicon/hns3/hns3pf/
H A Dhclge_cmd.h23 #define hclge_cmd_setup_basic_desc(desc, opcode, is_read) \ argument
24 hclge_comm_cmd_setup_basic_desc(desc, opcode, is_read)
/linux/drivers/gpu/drm/xlnx/
H A Dzynqmp_dp.c1043 bool is_read = (cmd & AUX_READ_BIT) ? true : false; in zynqmp_dp_aux_cmd_submit() local
1054 if (!is_read) in zynqmp_dp_aux_cmd_submit()
1080 if (is_read && in zynqmp_dp_aux_cmd_submit()
/linux/drivers/spi/
H A Dspi-omap2-mcspi.c207 int is_read, int enable) in omap2_mcspi_set_dma_req() argument
213 if (is_read) /* 1 is read, 0 write */ in omap2_mcspi_set_dma_req()
/linux/drivers/scsi/megaraid/
H A Dmegaraid_sas_fusion.c2592 (current_sd->is_read == io_info->isRead)) { in megasas_stream_detect()
2630 current_sd->is_read = io_info->isRead; in megasas_stream_detect()
2653 u8 is_read, u32 scsi_buff_len) in megasas_set_raidflag_cpu_affinity() argument
2660 if (is_read) { in megasas_set_raidflag_cpu_affinity()
2683 if (is_read) { in megasas_set_raidflag_cpu_affinity()
2711 if ((fusion->pcie_bw_limitation) && (raid->level == 1) && (!is_read) && in megasas_set_raidflag_cpu_affinity()
/linux/drivers/scsi/
H A Dst.c1572 size_t count, int is_read) in setup_buffering() argument
1577 if (is_read) in setup_buffering()
1585 count, (is_read ? READ : WRITE)); in setup_buffering()
1611 if (is_read && STp->sili && !STbp->cleared) in setup_buffering()
1633 static void release_buffering(struct scsi_tape *STp, int is_read) in release_buffering() argument
1639 sgl_unmap_user_pages(STbp, STbp->do_dio, is_read); in release_buffering()

12