Home
last modified time | relevance | path

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

12

/kernel/linux/linux-5.10/drivers/gpu/drm/i915/
Dintel_sideband.c98 const bool is_read = (opcode == SB_MRD_NP || opcode == SB_CRRDDA_NP); in vlv_sideband_rw() local
110 is_read ? "read" : "write"); in vlv_sideband_rw()
117 intel_uncore_write_fw(uncore, VLV_IOSF_DATA, is_read ? 0 : *val); in vlv_sideband_rw()
129 if (is_read) in vlv_sideband_rw()
134 is_read ? "read" : "write"); in vlv_sideband_rw()
290 u32 *val, bool is_read) in intel_sbi_rw() argument
306 intel_uncore_write_fw(uncore, SBI_DATA, is_read ? 0 : *val); in intel_sbi_rw()
312 if (!is_read) in intel_sbi_rw()
329 if (is_read) in intel_sbi_rw()
400 bool is_read) in __sandybridge_pcode_rw() argument
[all …]
/kernel/linux/linux-5.10/arch/arm64/kvm/hyp/
Dvgic-v3-sr.c978 bool is_read; in __vgic_v3_perform_cpuif_access() local
993 is_read = (esr & ESR_ELx_SYS64_ISS_DIR_MASK) == ESR_ELx_SYS64_ISS_DIR_READ; in __vgic_v3_perform_cpuif_access()
998 if (unlikely(!is_read)) in __vgic_v3_perform_cpuif_access()
1004 if (unlikely(is_read)) in __vgic_v3_perform_cpuif_access()
1009 if (is_read) in __vgic_v3_perform_cpuif_access()
1015 if (is_read) in __vgic_v3_perform_cpuif_access()
1022 if (is_read) in __vgic_v3_perform_cpuif_access()
1029 if (is_read) in __vgic_v3_perform_cpuif_access()
1036 if (is_read) in __vgic_v3_perform_cpuif_access()
1043 if (is_read) in __vgic_v3_perform_cpuif_access()
[all …]
/kernel/linux/linux-5.10/drivers/md/bcache/
Dio.c83 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()
/kernel/linux/linux-5.10/tools/lib/perf/
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()
/kernel/linux/linux-5.10/drivers/base/regmap/
Dregmap-spi-avmm.c184 static int br_trans_tx_prepare(struct spi_avmm_bridge *br, bool is_read, u32 reg, in br_trans_tx_prepare() argument
193 if (is_read) { in br_trans_tx_prepare()
213 if (!is_read) { in br_trans_tx_prepare()
552 static int do_reg_access(void *context, bool is_read, unsigned int reg, in do_reg_access() argument
562 ret = br_trans_tx_prepare(br, is_read, reg, value, count); in do_reg_access()
578 if (is_read) in do_reg_access()
/kernel/linux/linux-5.10/arch/m68k/mac/
Dmisc.c177 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()
/kernel/linux/linux-5.10/drivers/mmc/host/
Dbcm2835.c328 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 …]
Dtmio_mmc_core.c302 int is_read = host->data->flags & MMC_DATA_READ; in tmio_mmc_transfer_data() local
312 if (is_read) in tmio_mmc_transfer_data()
326 if (is_read) { in tmio_mmc_transfer_data()
337 if (is_read) in tmio_mmc_transfer_data()
355 if (is_read) in tmio_mmc_transfer_data()
/kernel/linux/linux-5.10/arch/x86/xen/
Dpmu.c190 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()
/kernel/linux/linux-5.10/drivers/net/ethernet/hisilicon/hns3/hns3pf/
Dhclge_cmd.c79 void hclge_cmd_reuse_desc(struct hclge_desc *desc, bool is_read) in hclge_cmd_reuse_desc() argument
82 if (is_read) in hclge_cmd_reuse_desc()
89 enum hclge_opcode_type opcode, bool is_read) in hclge_cmd_setup_basic_desc() argument
95 if (is_read) in hclge_cmd_setup_basic_desc()
Dhclge_cmd.h1134 enum hclge_opcode_type opcode, bool is_read);
1135 void hclge_cmd_reuse_desc(struct hclge_desc *desc, bool is_read);
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/dc/hdcp/
Dhdcp_msg.c228 bool is_read) in dpcd_access_helper() argument
285 if (is_read) { in dpcd_access_helper()
/kernel/linux/linux-5.10/drivers/usb/gadget/function/
Dtcm.h88 unsigned is_read:1; member
/kernel/linux/linux-5.10/drivers/gpu/drm/msm/dsi/
Ddsi_manager.c746 bool is_read = (msg->rx_buf && msg->rx_len); in msm_dsi_manager_cmd_xfer() local
747 bool need_sync = (IS_SYNC_NEEDED() && !is_read); in msm_dsi_manager_cmd_xfer()
759 return is_read ? msg->rx_len : msg->tx_len; in msm_dsi_manager_cmd_xfer()
775 ret = is_read ? msm_dsi_host_cmd_rx(host, msg) : in msm_dsi_manager_cmd_xfer()
/kernel/linux/linux-5.10/drivers/gpu/drm/i915/gvt/
Dmmio.h103 void *pdata, unsigned int bytes, bool is_read);
/kernel/linux/linux-5.10/drivers/i2c/busses/
Di2c-at91-master.c659 bool is_read; in at91_twi_xfer() local
684 is_read = (m_start->flags & I2C_M_RD); in at91_twi_xfer()
691 ((is_read) ? AT91_TWI_ACR_DIR : 0)); in at91_twi_xfer()
701 ((!dev->use_alt_cmd && is_read) ? AT91_TWI_MREAD : 0)); in at91_twi_xfer()
Di2c-uniphier.c160 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()
Di2c-uniphier-f.c318 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()
Di2c-i801.c274 bool is_read; member
572 if (priv->is_read) { in i801_isr_byte_done()
717 priv->is_read = (read_write == I2C_SMBUS_READ); in i801_block_transaction_byte_by_byte()
718 if (len == 1 && priv->is_read) in i801_block_transaction_byte_by_byte()
/kernel/linux/linux-5.10/drivers/target/
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()
/kernel/linux/linux-5.10/drivers/net/ethernet/hisilicon/hns3/hns3vf/
Dhclgevf_cmd.c167 enum hclgevf_opcode_type opcode, bool is_read) in hclgevf_cmd_setup_basic_desc() argument
173 if (is_read) in hclgevf_cmd_setup_basic_desc()
Dhclgevf_cmd.h316 bool is_read);
/kernel/linux/linux-5.10/drivers/i2c/
Di2c-core-smbus.c295 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()
/kernel/linux/linux-5.10/drivers/gpu/drm/xlnx/
Dzynqmp_dp.c949 bool is_read = (cmd & AUX_READ_BIT) ? true : false; in zynqmp_dp_aux_cmd_submit() local
957 if (!is_read) in zynqmp_dp_aux_cmd_submit()
986 if (is_read && in zynqmp_dp_aux_cmd_submit()
/kernel/linux/linux-5.10/fs/
Dblock_dev.c384 bool is_read = (iov_iter_rw(iter) == READ), is_sync; in __blkdev_direct_IO() local
406 dio->should_dirty = is_read && iter_is_iovec(iter); in __blkdev_direct_IO()
430 if (is_read) { in __blkdev_direct_IO()

12