/openbmc/linux/drivers/gpu/drm/i915/ |
H A 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()
|
H A D | vlv_sideband.c | 82 const bool is_read = (opcode == SB_MRD_NP || opcode == SB_CRRDDA_NP); in vlv_sideband_rw() local 94 is_read ? "read" : "write"); in vlv_sideband_rw() 101 intel_uncore_write_fw(uncore, VLV_IOSF_DATA, is_read ? 0 : *val); in vlv_sideband_rw() 113 if (is_read) in vlv_sideband_rw() 118 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()
|
/openbmc/linux/arch/arm64/kvm/hyp/ |
H A 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 …]
|
/openbmc/u-boot/drivers/mmc/ |
H A D | bcm2835_sdhost.c | 270 static int bcm2835_transfer_block_pio(struct bcm2835_host *host, bool is_read) in bcm2835_transfer_block_pio() argument 281 buf = is_read ? (u32 *)data->dest : (u32 *)data->src; in bcm2835_transfer_block_pio() 283 if (is_read) in bcm2835_transfer_block_pio() 300 if (is_read) in bcm2835_transfer_block_pio() 308 if ((is_read && in bcm2835_transfer_block_pio() 312 (!is_read && in bcm2835_transfer_block_pio() 334 if (is_read) in bcm2835_transfer_block_pio() 348 bool is_read; in bcm2835_transfer_pio() local 351 is_read = (host->data->flags & MMC_DATA_READ) != 0; in bcm2835_transfer_pio() 352 ret = bcm2835_transfer_block_pio(host, is_read); in bcm2835_transfer_pio() [all …]
|
/openbmc/u-boot/drivers/i2c/ |
H A D | sandbox_i2c.c | 54 bool is_read; in sandbox_i2c_xfer() local 74 is_read = nmsgs > 1; in sandbox_i2c_xfer() 75 if (i2c->speed_hz > (is_read ? 400000 : 100000)) { in sandbox_i2c_xfer()
|
H A D | at91_i2c.c | 48 bool is_read = msg->flags & I2C_M_RD; in at91_i2c_xfer_msg() local 53 if (is_read) { in at91_i2c_xfer_msg() 112 bool is_read; in at91_i2c_xfer() local 137 is_read = m_start->flags & I2C_M_RD; in at91_i2c_xfer() 140 (is_read ? TWI_MMR_MREAD : 0), ®->mmr); in at91_i2c_xfer()
|
H A D | cros_ec_ldo.c | 22 bool is_read = nmsgs > 1; in cros_ec_ldo_xfer() local 40 if (is_read) { in cros_ec_ldo_xfer()
|
H A D | s3c24x0_i2c.c | 230 bool is_read = msg->flags & I2C_M_RD; in s3c24x0_do_msg() local 242 if (is_read) in s3c24x0_do_msg() 255 if (is_read) { in s3c24x0_do_msg()
|
/openbmc/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()
|
/openbmc/qemu/block/ |
H A D | win32-aio.c | 55 bool is_read; member 74 if (waiocb->is_read) { in win32_aio_process_completion() 84 if (ret == 0 && waiocb->is_read) { in win32_aio_process_completion() 125 waiocb->is_read = (type == QEMU_AIO_READ); in win32_aio_submit()
|
H A D | io_uring.c | 34 bool is_read; member 194 if (luringcb->is_read) { in luring_process_completions() 392 .is_read = (type == QEMU_AIO_READ), in luring_co_submit()
|
/openbmc/linux/arch/x86/xen/ |
H A 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()
|
/openbmc/linux/arch/arm64/kvm/ |
H A D | trace_arm.h | 368 TP_PROTO(struct kvm_vcpu *vcpu, u32 sysreg, bool is_read), 369 TP_ARGS(vcpu, sysreg, is_read), 374 __field(bool, is_read) 380 __entry->is_read = is_read; 385 __entry->is_read ? 'R' : 'W',
|
/openbmc/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()
|
/openbmc/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 17 ssize_t ret = is_read ? read(fd, buf, left) : in ion()
|
/openbmc/u-boot/drivers/spi/ |
H A D | tegra20_slink.c | 238 int is_read = 0; in tegra30_spi_xfer() local 261 for (tm = 0, is_read = 0; tm < SPI_TIMEOUT; ++tm) { in tegra30_spi_xfer() 267 if (is_read && (status & SLINK_STAT_TXF_EMPTY)) in tegra30_spi_xfer() 276 is_read = 1; in tegra30_spi_xfer()
|
H A D | tegra20_sflash.c | 238 int is_read = 0; in tegra20_sflash_xfer() local 262 for (tm = 0, is_read = 0; tm < SPI_TIMEOUT; ++tm) { in tegra20_sflash_xfer() 268 if (is_read && (status & SPI_STAT_TXF_EMPTY)) in tegra20_sflash_xfer() 277 is_read = 1; in tegra20_sflash_xfer()
|
/openbmc/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)
|
/openbmc/qemu/target/hexagon/ |
H A D | gen_trans_funcs.py | 99 if reg.is_read() and reg.is_new(): 106 if reg_type == "P" and reg.is_written() and not reg.is_read():
|
/openbmc/linux/arch/m68k/mac/ |
H A 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()
|
/openbmc/linux/drivers/mmc/host/ |
H A 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 …]
|
/openbmc/linux/block/ |
H A D | fops.c | 169 bool is_read = (iov_iter_rw(iter) == READ), is_sync; in __blkdev_direct_IO() local 170 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() 235 if (is_read) { in __blkdev_direct_IO() 306 bool is_read = iov_iter_rw(iter) == READ; in __blkdev_direct_IO_async() local 307 blk_opf_t opf = is_read ? REQ_OP_READ : dio_bio_write_op(iocb); in __blkdev_direct_IO_async() 344 if (is_read) { in __blkdev_direct_IO_async()
|
/openbmc/qemu/hw/sd/ |
H A D | pl181.c | 219 int is_read; in pl181_fifo_run() local 221 is_read = (s->datactrl & PL181_DATA_DIRECTION) != 0; in pl181_fifo_run() 222 if (s->datacnt != 0 && (!is_read || sdbus_data_ready(&s->sdbus)) in pl181_fifo_run() 224 if (is_read) { in pl181_fifo_run()
|
/openbmc/qemu/include/qemu/ |
H A D | selfmap.h | 18 bool is_read; member
|