/Linux-v5.4/drivers/gpu/drm/i915/ |
D | intel_sideband.c | 97 const bool is_read = (opcode == SB_MRD_NP || opcode == SB_CRRDDA_NP); in vlv_sideband_rw() local 109 is_read ? "read" : "write"); in vlv_sideband_rw() 116 intel_uncore_write_fw(uncore, VLV_IOSF_DATA, is_read ? 0 : *val); in vlv_sideband_rw() 128 if (is_read) in vlv_sideband_rw() 133 is_read ? "read" : "write"); in vlv_sideband_rw() 276 u32 *val, bool is_read) in intel_sbi_rw() argument 291 intel_uncore_write_fw(uncore, SBI_DATA, is_read ? 0 : *val); in intel_sbi_rw() 297 if (!is_read) in intel_sbi_rw() 313 if (is_read) in intel_sbi_rw() 378 bool is_read) in __sandybridge_pcode_rw() argument [all …]
|
/Linux-v5.4/virt/kvm/arm/hyp/ |
D | vgic-v3-sr.c | 1007 bool is_read; in __vgic_v3_perform_cpuif_access() local 1022 is_read = (esr & ESR_ELx_SYS64_ISS_DIR_MASK) == ESR_ELx_SYS64_ISS_DIR_READ; in __vgic_v3_perform_cpuif_access() 1027 if (unlikely(!is_read)) in __vgic_v3_perform_cpuif_access() 1033 if (unlikely(is_read)) in __vgic_v3_perform_cpuif_access() 1038 if (is_read) in __vgic_v3_perform_cpuif_access() 1044 if (is_read) in __vgic_v3_perform_cpuif_access() 1051 if (is_read) in __vgic_v3_perform_cpuif_access() 1058 if (is_read) in __vgic_v3_perform_cpuif_access() 1065 if (is_read) in __vgic_v3_perform_cpuif_access() 1072 if (is_read) in __vgic_v3_perform_cpuif_access() [all …]
|
/Linux-v5.4/drivers/md/bcache/ |
D | io.c | 83 int is_read, in bch_count_io_errors() argument 128 is_read ? ", recovering." : "."); in bch_count_io_errors() 141 int is_read = (bio_data_dir(bio) == READ ? 1 : 0); in bch_bbio_count_io_errors() local 163 bch_count_io_errors(ca, error, is_read, m); in bch_bbio_count_io_errors()
|
D | bcache.h | 946 int is_read, const char *m);
|
/Linux-v5.4/tools/perf/lib/ |
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-v5.4/arch/m68k/mac/ |
D | misc.c | 177 int is_read; in via_rtc_command() local 192 is_read = command & (RTC_FLG_READ << 8); in via_rtc_command() 195 is_read = command & RTC_FLG_READ; in via_rtc_command() 197 if (is_read) { in via_rtc_command()
|
/Linux-v5.4/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 | 304 int is_read = host->data->flags & MMC_DATA_READ; in tmio_mmc_transfer_data() local 314 if (is_read) in tmio_mmc_transfer_data() 328 if (is_read) { in tmio_mmc_transfer_data() 339 if (is_read) in tmio_mmc_transfer_data() 357 if (is_read) in tmio_mmc_transfer_data()
|
/Linux-v5.4/arch/x86/xen/ |
D | pmu.c | 190 int index, bool is_read) in xen_intel_pmu_emulate() argument 238 if (is_read) in xen_intel_pmu_emulate() 252 static bool xen_amd_pmu_emulate(unsigned int msr, u64 *val, bool is_read) in xen_amd_pmu_emulate() argument 283 if (is_read) in xen_amd_pmu_emulate()
|
/Linux-v5.4/drivers/net/ethernet/hisilicon/hns3/hns3pf/ |
D | hclge_cmd.c | 81 void hclge_cmd_reuse_desc(struct hclge_desc *desc, bool is_read) in hclge_cmd_reuse_desc() argument 84 if (is_read) in hclge_cmd_reuse_desc() 91 enum hclge_opcode_type opcode, bool is_read) in hclge_cmd_setup_basic_desc() argument 97 if (is_read) in hclge_cmd_setup_basic_desc()
|
D | hclge_cmd.h | 1090 enum hclge_opcode_type opcode, bool is_read); 1091 void hclge_cmd_reuse_desc(struct hclge_desc *desc, bool is_read);
|
/Linux-v5.4/drivers/i2c/busses/ |
D | i2c-at91-master.c | 611 bool is_read; in at91_twi_xfer() local 635 is_read = (m_start->flags & I2C_M_RD); in at91_twi_xfer() 642 ((is_read) ? AT91_TWI_ACR_DIR : 0)); in at91_twi_xfer() 652 ((!dev->use_alt_cmd && is_read) ? AT91_TWI_MREAD : 0)); in at91_twi_xfer()
|
D | i2c-uniphier.c | 163 bool is_read = msg->flags & I2C_M_RD; in uniphier_i2c_master_xfer_one() local 167 if (is_read) in uniphier_i2c_master_xfer_one()
|
D | i2c-uniphier-f.c | 320 bool is_read = msg->flags & I2C_M_RD; in uniphier_fi2c_master_xfer_one() local 339 if (is_read) in uniphier_fi2c_master_xfer_one()
|
D | i2c-i801.c | 267 bool is_read; member 567 if (priv->is_read) { in i801_isr_byte_done() 712 priv->is_read = (read_write == I2C_SMBUS_READ); in i801_block_transaction_byte_by_byte() 713 if (len == 1 && priv->is_read) in i801_block_transaction_byte_by_byte()
|
/Linux-v5.4/drivers/usb/gadget/function/ |
D | tcm.h | 88 unsigned is_read:1; member
|
/Linux-v5.4/drivers/gpu/drm/msm/dsi/ |
D | dsi_manager.c | 722 bool is_read = (msg->rx_buf && msg->rx_len); in msm_dsi_manager_cmd_xfer() local 723 bool need_sync = (IS_SYNC_NEEDED() && !is_read); in msm_dsi_manager_cmd_xfer() 735 return is_read ? msg->rx_len : msg->tx_len; in msm_dsi_manager_cmd_xfer() 751 ret = is_read ? msm_dsi_host_cmd_rx(host, msg) : in msm_dsi_manager_cmd_xfer()
|
/Linux-v5.4/drivers/gpu/drm/i915/gvt/ |
D | mmio.h | 101 void *pdata, unsigned int bytes, bool is_read);
|
/Linux-v5.4/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-v5.4/drivers/net/ethernet/hisilicon/hns3/hns3vf/ |
D | hclgevf_cmd.c | 170 enum hclgevf_opcode_type opcode, bool is_read) in hclgevf_cmd_setup_basic_desc() argument 176 if (is_read) in hclgevf_cmd_setup_basic_desc()
|
D | hclgevf_cmd.h | 283 bool is_read);
|
/Linux-v5.4/drivers/i2c/ |
D | i2c-core-smbus.c | 295 bool is_read = msg->flags & I2C_M_RD; in i2c_smbus_try_get_dmabuf() local 298 dma_buf = kzalloc(I2C_SMBUS_BLOCK_MAX + (is_read ? 2 : 3), GFP_KERNEL); in i2c_smbus_try_get_dmabuf()
|
/Linux-v5.4/fs/ |
D | block_dev.c | 347 bool is_read = (iov_iter_rw(iter) == READ), is_sync; in __blkdev_direct_IO() local 369 dio->should_dirty = is_read && iter_is_iovec(iter); in __blkdev_direct_IO() 393 if (is_read) { in __blkdev_direct_IO()
|
/Linux-v5.4/drivers/spi/ |
D | spi-omap2-mcspi.c | 202 int is_read, int enable) in omap2_mcspi_set_dma_req() argument 208 if (is_read) /* 1 is read, 0 write */ in omap2_mcspi_set_dma_req()
|
/Linux-v5.4/drivers/scsi/megaraid/ |
D | megaraid_sas_fusion.c | 2581 (current_sd->is_read == io_info->isRead)) { in megasas_stream_detect() 2619 current_sd->is_read = io_info->isRead; in megasas_stream_detect() 2640 u8 is_read, u32 scsi_buff_len) in megasas_set_raidflag_cpu_affinity() argument 2647 if (is_read) { in megasas_set_raidflag_cpu_affinity() 2670 if (is_read) { in megasas_set_raidflag_cpu_affinity() 2698 if ((fusion->pcie_bw_limitation) && (raid->level == 1) && (!is_read) && in megasas_set_raidflag_cpu_affinity()
|