/Linux-v6.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 | 79 const bool is_read = (opcode == SB_MRD_NP || opcode == SB_CRRDDA_NP); in vlv_sideband_rw() local 91 is_read ? "read" : "write"); in vlv_sideband_rw() 98 intel_uncore_write_fw(uncore, VLV_IOSF_DATA, is_read ? 0 : *val); in vlv_sideband_rw() 110 if (is_read) in vlv_sideband_rw() 115 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-v6.1/arch/arm64/kvm/hyp/ |
D | vgic-v3-sr.c | 1022 bool is_read; in __vgic_v3_perform_cpuif_access() local 1037 is_read = (esr & ESR_ELx_SYS64_ISS_DIR_MASK) == ESR_ELx_SYS64_ISS_DIR_READ; in __vgic_v3_perform_cpuif_access() 1042 if (unlikely(!is_read)) in __vgic_v3_perform_cpuif_access() 1048 if (unlikely(is_read)) in __vgic_v3_perform_cpuif_access() 1053 if (is_read) in __vgic_v3_perform_cpuif_access() 1059 if (is_read) in __vgic_v3_perform_cpuif_access() 1066 if (is_read) in __vgic_v3_perform_cpuif_access() 1073 if (is_read) in __vgic_v3_perform_cpuif_access() 1080 if (is_read) in __vgic_v3_perform_cpuif_access() 1087 if (is_read) in __vgic_v3_perform_cpuif_access() [all …]
|
/Linux-v6.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-v6.1/arch/x86/xen/ |
D | pmu.c | 199 int index, bool is_read) in xen_intel_pmu_emulate() argument 247 if (is_read) in xen_intel_pmu_emulate() 261 static bool xen_amd_pmu_emulate(unsigned int msr, u64 *val, bool is_read) in xen_amd_pmu_emulate() argument 292 if (is_read) in xen_amd_pmu_emulate() 302 static bool pmu_msr_chk_emulated(unsigned int msr, uint64_t *val, bool is_read, in pmu_msr_chk_emulated() argument 308 *emul = xen_amd_pmu_emulate(msr, val, is_read); in pmu_msr_chk_emulated() 310 *emul = xen_intel_pmu_emulate(msr, val, type, index, is_read); in pmu_msr_chk_emulated()
|
/Linux-v6.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-v6.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-v6.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-v6.1/block/ |
D | fops.c | 177 bool is_read = (iov_iter_rw(iter) == READ), is_sync; in __blkdev_direct_IO() local 178 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() 225 if (is_read) { in __blkdev_direct_IO() 299 bool is_read = iov_iter_rw(iter) == READ; in __blkdev_direct_IO_async() local 300 blk_opf_t opf = is_read ? REQ_OP_READ : dio_bio_write_op(iocb); in __blkdev_direct_IO_async() 337 if (is_read) { in __blkdev_direct_IO_async()
|
/Linux-v6.1/arch/m68k/mac/ |
D | misc.c | 176 int is_read; in via_rtc_command() local 191 is_read = command & (RTC_FLG_READ << 8); in via_rtc_command() 194 is_read = command & RTC_FLG_READ; in via_rtc_command() 196 if (is_read) { in via_rtc_command()
|
/Linux-v6.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 370 if (is_read) in bcm2835_transfer_block_pio() 379 if ((is_read && in bcm2835_transfer_block_pio() 383 (!is_read && in bcm2835_transfer_block_pio() 396 is_read ? "read" : "write", in bcm2835_transfer_block_pio() 411 if (is_read) in bcm2835_transfer_block_pio() 432 bool is_read; in bcm2835_transfer_pio() local 434 is_read = (host->data->flags & MMC_DATA_READ) != 0; in bcm2835_transfer_pio() 435 bcm2835_transfer_block_pio(host, is_read); in bcm2835_transfer_pio() 442 is_read ? "read" : "write", sdhsts); in bcm2835_transfer_pio() [all …]
|
D | tmio_mmc_core.c | 345 int is_read = host->data->flags & MMC_DATA_READ; in tmio_mmc_transfer_data() local 355 if (is_read) in tmio_mmc_transfer_data() 369 if (is_read) { in tmio_mmc_transfer_data() 380 if (is_read) in tmio_mmc_transfer_data() 398 if (is_read) in tmio_mmc_transfer_data()
|
/Linux-v6.1/drivers/gpu/drm/msm/dsi/ |
D | dsi_manager.c | 566 bool is_read = (msg->rx_buf && msg->rx_len); in msm_dsi_manager_cmd_xfer() local 567 bool need_sync = (IS_SYNC_NEEDED() && !is_read); in msm_dsi_manager_cmd_xfer() 579 return is_read ? msg->rx_len : msg->tx_len; in msm_dsi_manager_cmd_xfer() 595 ret = is_read ? msm_dsi_host_cmd_rx(host, msg) : in msm_dsi_manager_cmd_xfer()
|
/Linux-v6.1/drivers/gpu/drm/amd/display/dc/hdcp/ |
D | hdcp_msg.c | 229 bool is_read) in dpcd_access_helper() argument 286 if (is_read) { in dpcd_access_helper()
|
/Linux-v6.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() 65 bool is_read) in hclge_comm_cmd_setup_basic_desc() argument 72 if (is_read) in hclge_comm_cmd_setup_basic_desc()
|
D | hclge_comm_cmd.h | 451 void hclge_comm_cmd_reuse_desc(struct hclge_desc *desc, bool is_read); 457 bool is_read);
|
/Linux-v6.1/drivers/gpu/drm/mediatek/ |
D | mtk_dp.c | 777 static int mtk_dp_aux_wait_for_completion(struct mtk_dp *mtk_dp, bool is_read) in mtk_dp_aux_wait_for_completion() argument 784 if (is_read) { in mtk_dp_aux_wait_for_completion() 808 static int mtk_dp_aux_do_transfer(struct mtk_dp *mtk_dp, bool is_read, u8 cmd, in mtk_dp_aux_do_transfer() argument 814 if (is_read && (length > DP_AUX_MAX_PAYLOAD_BYTES || in mtk_dp_aux_do_transfer() 818 if (!is_read) in mtk_dp_aux_do_transfer() 830 if (!is_read) { in mtk_dp_aux_do_transfer() 842 ret = mtk_dp_aux_wait_for_completion(mtk_dp, is_read); in mtk_dp_aux_do_transfer() 865 } else if (is_read) { in mtk_dp_aux_do_transfer() 2032 bool is_read; in mtk_dp_aux_transfer() local 2051 is_read = false; in mtk_dp_aux_transfer() [all …]
|
/Linux-v6.1/drivers/usb/gadget/function/ |
D | tcm.h | 88 unsigned is_read:1; member
|
/Linux-v6.1/drivers/gpu/drm/i915/gvt/ |
D | mmio.h | 105 void *pdata, unsigned int bytes, bool is_read);
|
/Linux-v6.1/drivers/i2c/busses/ |
D | i2c-at91-master.c | 658 bool is_read; in at91_twi_xfer() local 683 is_read = (m_start->flags & I2C_M_RD); in at91_twi_xfer() 690 ((is_read) ? AT91_TWI_ACR_DIR : 0)); in at91_twi_xfer() 700 ((!dev->use_alt_cmd && is_read) ? AT91_TWI_MREAD : 0)); in at91_twi_xfer()
|
D | i2c-uniphier.c | 160 bool is_read = msg->flags & I2C_M_RD; in uniphier_i2c_master_xfer_one() local 164 if (is_read) in uniphier_i2c_master_xfer_one()
|
D | i2c-uniphier-f.c | 318 bool is_read = msg->flags & I2C_M_RD; in uniphier_fi2c_master_xfer_one() local 337 if (is_read) in uniphier_fi2c_master_xfer_one()
|
/Linux-v6.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()
|
/Linux-v6.1/drivers/iio/dac/ |
D | ad3552r.c | 340 u8 *data, bool is_read) in ad3552r_transfer() argument 346 buf[0] |= is_read ? AD3552R_READ_BIT : 0; in ad3552r_transfer() 347 if (is_read) in ad3552r_transfer()
|