Home
last modified time | relevance | path

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

12

/linux-6.15/arch/arm64/kvm/hyp/
H A Dvgic-v3-sr.c1123 bool is_read; in __vgic_v3_perform_cpuif_access() local
1160 if (is_read) in __vgic_v3_perform_cpuif_access()
1166 if (is_read) in __vgic_v3_perform_cpuif_access()
1173 if (is_read) in __vgic_v3_perform_cpuif_access()
1180 if (is_read) in __vgic_v3_perform_cpuif_access()
1187 if (is_read) in __vgic_v3_perform_cpuif_access()
1194 if (is_read) in __vgic_v3_perform_cpuif_access()
1206 if (is_read) in __vgic_v3_perform_cpuif_access()
1212 if (is_read) in __vgic_v3_perform_cpuif_access()
1228 if (is_read) in __vgic_v3_perform_cpuif_access()
[all …]
/linux-6.15/drivers/gpu/drm/i915/
H A Dintel_sbi.c15 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()
H A Dvlv_sideband.c81 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()
H A Dintel_pcode.c58 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.15/drivers/md/bcache/
H A Dio.c84 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.15/arch/x86/xen/
H A Dpmu.c198 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.15/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',
/linux-6.15/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-6.15/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-6.15/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-6.15/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-6.15/drivers/mmc/host/
H A Dbcm2835.c329 static void bcm2835_transfer_block_pio(struct bcm2835_host *host, bool is_read) in bcm2835_transfer_block_pio() argument
368 if (is_read) in bcm2835_transfer_block_pio()
377 if ((is_read && in bcm2835_transfer_block_pio()
381 (!is_read && in bcm2835_transfer_block_pio()
394 is_read ? "read" : "write", 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 is_read ? "read" : "write", sdhsts); in bcm2835_transfer_pio()
[all …]
H A Dtmio_mmc_core.c347 int is_read = host->data->flags & MMC_DATA_READ; in tmio_mmc_transfer_data() local
357 if (is_read) in tmio_mmc_transfer_data()
371 if (is_read) { in tmio_mmc_transfer_data()
382 if (is_read) in tmio_mmc_transfer_data()
400 if (is_read) in tmio_mmc_transfer_data()
/linux-6.15/block/
H A Dfops.c174 bool is_read = (iov_iter_rw(iter) == READ), is_sync; in __blkdev_direct_IO() local
175 blk_opf_t opf = is_read ? REQ_OP_READ : dio_bio_write_op(iocb); in __blkdev_direct_IO()
201 if (is_read && user_backed_iter(iter)) in __blkdev_direct_IO()
240 if (is_read) { in __blkdev_direct_IO()
320 bool is_read = iov_iter_rw(iter) == READ; in __blkdev_direct_IO_async() local
321 blk_opf_t opf = is_read ? REQ_OP_READ : dio_bio_write_op(iocb); in __blkdev_direct_IO_async()
354 if (is_read) { in __blkdev_direct_IO_async()
/linux-6.15/drivers/gpu/drm/msm/dsi/
H A Ddsi_manager.c500 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-6.15/drivers/gpu/drm/amd/display/dc/hdcp/
H A Dhdcp_msg.c234 bool is_read) in dpcd_access_helper() argument
291 if (is_read) { in dpcd_access_helper()
/linux-6.15/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()
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()
2211 bool is_read; in mtk_dp_aux_transfer() local
2229 is_read = false; in mtk_dp_aux_transfer()
2235 is_read = true; in mtk_dp_aux_transfer()
[all …]
/linux-6.15/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-6.15/drivers/gpu/drm/i915/gvt/
H A Dmmio.h100 void *pdata, unsigned int bytes, bool is_read);
/linux-6.15/drivers/usb/gadget/function/
H A Dtcm.h99 unsigned is_read:1; member
/linux-6.15/drivers/i2c/busses/
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-at91-master.c656 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()
/linux-6.15/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-6.15/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()

12