Home
last modified time | relevance | path

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

12

/linux/arch/arm64/kvm/hyp/
A Dvgic-v3-sr.c1019 bool is_read; in __vgic_v3_perform_cpuif_access() local
1050 if (is_read) in __vgic_v3_perform_cpuif_access()
1056 if (is_read) in __vgic_v3_perform_cpuif_access()
1063 if (is_read) in __vgic_v3_perform_cpuif_access()
1070 if (is_read) in __vgic_v3_perform_cpuif_access()
1077 if (is_read) in __vgic_v3_perform_cpuif_access()
1084 if (is_read) in __vgic_v3_perform_cpuif_access()
1096 if (is_read) in __vgic_v3_perform_cpuif_access()
1102 if (is_read) in __vgic_v3_perform_cpuif_access()
1118 if (is_read) in __vgic_v3_perform_cpuif_access()
[all …]
/linux/drivers/gpu/drm/i915/
A Dintel_sbi.c14 u32 *val, bool is_read) in intel_sbi_rw() argument
30 intel_uncore_write_fw(uncore, SBI_DATA, is_read ? 0 : *val); in intel_sbi_rw()
36 if (!is_read) in intel_sbi_rw()
53 if (is_read) in intel_sbi_rw()
A Dvlv_sideband.c79 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()
A Dintel_pcode.c58 bool is_read) in __sandybridge_pcode_rw() argument
86 if (is_read) in __sandybridge_pcode_rw()
88 if (is_read && val1) in __sandybridge_pcode_rw()
/linux/drivers/md/bcache/
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()
/linux/drivers/base/regmap/
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()
/linux/tools/lib/perf/
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()
/linux/drivers/mmc/host/
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 …]
A Dtmio_mmc_core.c329 int is_read = host->data->flags & MMC_DATA_READ; in tmio_mmc_transfer_data() local
339 if (is_read) in tmio_mmc_transfer_data()
353 if (is_read) { in tmio_mmc_transfer_data()
364 if (is_read) in tmio_mmc_transfer_data()
382 if (is_read) in tmio_mmc_transfer_data()
/linux/arch/m68k/mac/
A Dmisc.c176 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/arch/x86/xen/
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()
/linux/drivers/net/ethernet/hisilicon/hns3/hns3pf/
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()
/linux/drivers/gpu/drm/amd/display/dc/hdcp/
A Dhdcp_msg.c229 bool is_read) in dpcd_access_helper() argument
286 if (is_read) { in dpcd_access_helper()
/linux/drivers/i2c/busses/
A Di2c-at91-master.c658 bool is_read; in at91_twi_xfer() local
682 is_read = (m_start->flags & I2C_M_RD); in at91_twi_xfer()
689 ((is_read) ? AT91_TWI_ACR_DIR : 0)); in at91_twi_xfer()
699 ((!dev->use_alt_cmd && is_read) ? AT91_TWI_MREAD : 0)); in at91_twi_xfer()
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()
A 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()
A Di2c-i801.c274 bool is_read; member
555 if (priv->is_read) { in i801_isr_byte_done()
703 priv->is_read = (read_write == I2C_SMBUS_READ); in i801_block_transaction_byte_by_byte()
704 if (len == 1 && priv->is_read) in i801_block_transaction_byte_by_byte()
/linux/drivers/gpu/drm/msm/dsi/
A Ddsi_manager.c769 bool is_read = (msg->rx_buf && msg->rx_len); in msm_dsi_manager_cmd_xfer() local
770 bool need_sync = (IS_SYNC_NEEDED() && !is_read); in msm_dsi_manager_cmd_xfer()
782 return is_read ? msg->rx_len : msg->tx_len; in msm_dsi_manager_cmd_xfer()
798 ret = is_read ? msm_dsi_host_cmd_rx(host, msg) : in msm_dsi_manager_cmd_xfer()
/linux/drivers/usb/gadget/function/
A Dtcm.h88 unsigned is_read:1; member
/linux/drivers/gpu/drm/i915/gvt/
A Dmmio.h106 void *pdata, unsigned int bytes, bool is_read);
/linux/block/
A Dfops.c192 bool is_read = (iov_iter_rw(iter) == READ), is_sync; in __blkdev_direct_IO() local
220 if (is_read && iter_is_iovec(iter)) in __blkdev_direct_IO()
240 if (is_read) { in __blkdev_direct_IO()
/linux/drivers/target/
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()
/linux/drivers/net/ethernet/hisilicon/hns3/hns3vf/
A 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()
A Dhclgevf_cmd.h341 bool is_read);
/linux/drivers/i2c/
A Di2c-core-smbus.c303 bool is_read = msg->flags & I2C_M_RD; in i2c_smbus_try_get_dmabuf() local
306 dma_buf = kzalloc(I2C_SMBUS_BLOCK_MAX + (is_read ? 2 : 3), GFP_KERNEL); in i2c_smbus_try_get_dmabuf()

Completed in 41 milliseconds

12