Home
last modified time | relevance | path

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

12

/OK3568_Linux_fs/kernel/drivers/gpu/drm/i915/
H A 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 …]
/OK3568_Linux_fs/kernel/arch/arm64/kvm/hyp/
H A Dvgic-v3-sr.c1025 bool is_read; in __vgic_v3_perform_cpuif_access() local
1040 is_read = (esr & ESR_ELx_SYS64_ISS_DIR_MASK) == ESR_ELx_SYS64_ISS_DIR_READ; in __vgic_v3_perform_cpuif_access()
1045 if (unlikely(!is_read)) in __vgic_v3_perform_cpuif_access()
1051 if (unlikely(is_read)) in __vgic_v3_perform_cpuif_access()
1056 if (is_read) in __vgic_v3_perform_cpuif_access()
1062 if (is_read) in __vgic_v3_perform_cpuif_access()
1069 if (is_read) in __vgic_v3_perform_cpuif_access()
1076 if (is_read) in __vgic_v3_perform_cpuif_access()
1083 if (is_read) in __vgic_v3_perform_cpuif_access()
1090 if (is_read) in __vgic_v3_perform_cpuif_access()
[all …]
/OK3568_Linux_fs/kernel/drivers/md/bcache/
H A 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()
/OK3568_Linux_fs/u-boot/drivers/i2c/
H A Dsandbox_i2c.c75 bool is_read; in sandbox_i2c_xfer() local
95 is_read = nmsgs > 1; in sandbox_i2c_xfer()
96 if (i2c->speed_hz > (is_read ? 400000 : 100000)) { in sandbox_i2c_xfer()
H A Dat91_i2c.c49 bool is_read = msg->flags & I2C_M_RD; in at91_i2c_xfer_msg() local
54 if (is_read) { in at91_i2c_xfer_msg()
111 bool is_read; in at91_i2c_xfer() local
136 is_read = m_start->flags & I2C_M_RD; in at91_i2c_xfer()
139 (is_read ? TWI_MMR_MREAD : 0), &reg->mmr); in at91_i2c_xfer()
H A Dcros_ec_ldo.c23 bool is_read = nmsgs > 1; in cros_ec_ldo_xfer() local
41 if (is_read) { in cros_ec_ldo_xfer()
H A Ds3c24x0_i2c.c231 bool is_read = msg->flags & I2C_M_RD; in s3c24x0_do_msg() local
243 if (is_read) in s3c24x0_do_msg()
256 if (is_read) { in s3c24x0_do_msg()
/OK3568_Linux_fs/kernel/drivers/base/regmap/
H A 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()
/OK3568_Linux_fs/kernel/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()
/OK3568_Linux_fs/u-boot/drivers/spi/
H A Dtegra20_sflash.c239 int is_read = 0; in tegra20_sflash_xfer() local
263 for (tm = 0, is_read = 0; tm < SPI_TIMEOUT; ++tm) { in tegra20_sflash_xfer()
269 if (is_read && (status & SPI_STAT_TXF_EMPTY)) in tegra20_sflash_xfer()
278 is_read = 1; in tegra20_sflash_xfer()
H A Dtegra20_slink.c239 int is_read = 0; in tegra30_spi_xfer() local
262 for (tm = 0, is_read = 0; tm < SPI_TIMEOUT; ++tm) { in tegra30_spi_xfer()
268 if (is_read && (status & SLINK_STAT_TXF_EMPTY)) in tegra30_spi_xfer()
277 is_read = 1; in tegra30_spi_xfer()
/OK3568_Linux_fs/kernel/drivers/mmc/host/
H A 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 …]
H A 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()
/OK3568_Linux_fs/kernel/arch/m68k/mac/
H A 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()
/OK3568_Linux_fs/kernel/arch/x86/xen/
H A 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()
/OK3568_Linux_fs/kernel/drivers/net/ethernet/hisilicon/hns3/hns3pf/
H A 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()
/OK3568_Linux_fs/kernel/drivers/gpu/drm/amd/display/dc/hdcp/
H A Dhdcp_msg.c228 bool is_read) in dpcd_access_helper() argument
285 if (is_read) { in dpcd_access_helper()
/OK3568_Linux_fs/kernel/drivers/gpu/drm/msm/dsi/
H A 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()
/OK3568_Linux_fs/kernel/drivers/i2c/busses/
H A 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()
H A 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()
/OK3568_Linux_fs/kernel/drivers/usb/gadget/function/
H A Dtcm.h88 unsigned is_read:1; member
/OK3568_Linux_fs/kernel/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()
/OK3568_Linux_fs/kernel/drivers/gpu/drm/i915/gvt/
H A Dmmio.h103 void *pdata, unsigned int bytes, bool is_read);
/OK3568_Linux_fs/prebuilts/gcc/linux-x86/aarch64/gcc-arm-10.3-2021.07-x86_64-aarch64-none-linux-gnu/lib/gcc/aarch64-none-linux-gnu/10.3.1/plugin/include/
H A Dtree-data-ref.h162 bool is_read; member
186 #define DR_IS_READ(DR) (DR)->is_read
/OK3568_Linux_fs/prebuilts/gcc/linux-x86/arm/gcc-arm-10.3-2021.07-x86_64-arm-none-linux-gnueabihf/lib/gcc/arm-none-linux-gnueabihf/10.3.1/plugin/include/
H A Dtree-data-ref.h162 bool is_read; member
186 #define DR_IS_READ(DR) (DR)->is_read

12