Home
last modified time | relevance | path

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

12

/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 …]
/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()
Dbcache.h962 int is_read, const char *m);
/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()
/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.c345 int is_read = host->data->flags & MMC_DATA_READ; in tmio_mmc_transfer_data() local
355 if (is_read) in tmio_mmc_transfer_data()
369 if (is_read) { in tmio_mmc_transfer_data()
380 if (is_read) in tmio_mmc_transfer_data()
398 if (is_read) in tmio_mmc_transfer_data()
/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.h1267 enum hclge_opcode_type opcode, bool is_read);
1268 void hclge_cmd_reuse_desc(struct hclge_desc *desc, bool is_read);
/drivers/gpu/drm/amd/display/dc/hdcp/
Dhdcp_msg.c229 bool is_read) in dpcd_access_helper() argument
286 if (is_read) { in dpcd_access_helper()
/drivers/gpu/drm/msm/dsi/
Ddsi_manager.c728 bool is_read = (msg->rx_buf && msg->rx_len); in msm_dsi_manager_cmd_xfer() local
729 bool need_sync = (IS_SYNC_NEEDED() && !is_read); in msm_dsi_manager_cmd_xfer()
741 return is_read ? msg->rx_len : msg->tx_len; in msm_dsi_manager_cmd_xfer()
757 ret = is_read ? msm_dsi_host_cmd_rx(host, msg) : in msm_dsi_manager_cmd_xfer()
/drivers/i2c/busses/
Di2c-at91-master.c658 bool is_read; in at91_twi_xfer() local
683 is_read = (m_start->flags & I2C_M_RD); in at91_twi_xfer()
690 ((is_read) ? AT91_TWI_ACR_DIR : 0)); in at91_twi_xfer()
700 ((!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.c270 bool is_read; member
553 if (priv->is_read) { in i801_isr_byte_done()
693 priv->is_read = (read_write == I2C_SMBUS_READ); in i801_block_transaction_byte_by_byte()
694 if (len == 1 && priv->is_read) in i801_block_transaction_byte_by_byte()
/drivers/usb/gadget/function/
Dtcm.h88 unsigned is_read:1; member
Df_tcm.c122 if (cmd->is_read) { in bot_send_bad_status()
186 if (!cmd->is_read) in bot_send_status_response()
1239 cmd->is_read = cbw->Flags & US_BULK_FLAG_IN ? 1 : 0; in bot_submit_command()
/drivers/gpu/drm/i915/gvt/
Dmmio.h106 void *pdata, unsigned int bytes, bool is_read);
/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()
/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.h332 bool is_read);
/drivers/i2c/
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()
/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()
/drivers/spi/
Dspi-omap2-mcspi.c201 int is_read, int enable) in omap2_mcspi_set_dma_req() argument
207 if (is_read) /* 1 is read, 0 write */ in omap2_mcspi_set_dma_req()
/drivers/scsi/
Dst.c1541 size_t count, int is_read) in setup_buffering() argument
1546 if (is_read) in setup_buffering()
1554 count, (is_read ? READ : WRITE)); in setup_buffering()
1580 if (is_read && STp->sili && !STbp->cleared) in setup_buffering()
1602 static void release_buffering(struct scsi_tape *STp, int is_read) in release_buffering() argument
1608 sgl_unmap_user_pages(STbp, STbp->do_dio, is_read); in release_buffering()
/drivers/scsi/megaraid/
Dmegaraid_sas_fusion.c2588 (current_sd->is_read == io_info->isRead)) { in megasas_stream_detect()
2626 current_sd->is_read = io_info->isRead; in megasas_stream_detect()
2649 u8 is_read, u32 scsi_buff_len) in megasas_set_raidflag_cpu_affinity() argument
2656 if (is_read) { in megasas_set_raidflag_cpu_affinity()
2679 if (is_read) { in megasas_set_raidflag_cpu_affinity()
2707 if ((fusion->pcie_bw_limitation) && (raid->level == 1) && (!is_read) && in megasas_set_raidflag_cpu_affinity()

12