/linux-4.4.14/drivers/gpu/drm/i915/ |
D | intel_sideband.c | 46 bool is_read = (opcode == SB_MRD_NP || opcode == SB_CRRDDA_NP); in vlv_sideband_rw() local 56 is_read ? "read" : "write"); in vlv_sideband_rw() 61 if (!is_read) in vlv_sideband_rw() 67 is_read ? "read" : "write"); in vlv_sideband_rw() 71 if (is_read) in vlv_sideband_rw()
|
/linux-4.4.14/drivers/mtd/nand/ |
D | bf5xx_nand.c | 466 uint8_t *buf, int is_read) in bf5xx_nand_dma_rw() argument 473 mtd, buf, is_read); in bf5xx_nand_dma_rw() 481 if (is_read) in bf5xx_nand_dma_rw() 518 if (is_read) in bf5xx_nand_dma_rw() 524 if (is_read) in bf5xx_nand_dma_rw()
|
D | atmel_nand.c | 348 int is_read) in atmel_nand_dma_op() argument 359 enum dma_data_direction dir = is_read ? DMA_FROM_DEVICE : DMA_TO_DEVICE; in atmel_nand_dma_op() 375 if (is_read) { in atmel_nand_dma_op() 412 if (is_read && nfc && nfc->data_in_sram) in atmel_nand_dma_op()
|
/linux-4.4.14/arch/x86/xen/ |
D | pmu.c | 182 int index, bool is_read) in xen_intel_pmu_emulate() argument 230 if (is_read) in xen_intel_pmu_emulate() 244 static bool xen_amd_pmu_emulate(unsigned int msr, u64 *val, bool is_read) in xen_amd_pmu_emulate() argument 275 if (is_read) in xen_amd_pmu_emulate()
|
/linux-4.4.14/arch/m68k/mac/ |
D | misc.c | 256 int is_read; in via_pram_command() local 267 is_read = command & 0x8000; in via_pram_command() 270 is_read = command & 0x80; in via_pram_command() 272 if (is_read) { in via_pram_command()
|
/linux-4.4.14/drivers/i2c/busses/ |
D | i2c-uniphier.c | 180 bool is_read = msg->flags & I2C_M_RD; in uniphier_i2c_master_xfer_one() local 185 is_read ? "receive" : "transmit", msg->addr, msg->len, stop); in uniphier_i2c_master_xfer_one() 187 if (is_read) in uniphier_i2c_master_xfer_one()
|
D | i2c-uniphier-f.c | 311 bool is_read = msg->flags & I2C_M_RD; in uniphier_fi2c_master_xfer_one() local 315 is_read ? "receive" : "transmit", msg->addr, msg->len, stop); in uniphier_fi2c_master_xfer_one() 331 if (is_read) in uniphier_fi2c_master_xfer_one()
|
D | i2c-at91.c | 719 bool is_read, use_alt_cmd = false; in at91_twi_xfer() local 742 is_read = (m_start->flags & I2C_M_RD); in at91_twi_xfer() 748 ((is_read) ? AT91_TWI_ACR_DIR : 0)); in at91_twi_xfer() 758 ((!use_alt_cmd && is_read) ? AT91_TWI_MREAD : 0)); in at91_twi_xfer()
|
D | i2c-i801.c | 236 bool is_read; member 467 if (priv->is_read) { in i801_isr_byte_done() 583 priv->is_read = (read_write == I2C_SMBUS_READ); in i801_block_transaction_byte_by_byte() 584 if (len == 1 && priv->is_read) in i801_block_transaction_byte_by_byte()
|
/linux-4.4.14/drivers/usb/gadget/legacy/ |
D | tcm_usb_gadget.h | 84 unsigned is_read:1; member
|
D | tcm_usb_gadget.c | 127 if (cmd->is_read) { in bot_send_bad_status() 191 if (!cmd->is_read) in bot_send_status_response() 1241 cmd->is_read = cbw->Flags & US_BULK_FLAG_IN ? 1 : 0; in bot_submit_command()
|
/linux-4.4.14/drivers/gpu/drm/msm/dsi/ |
D | dsi_manager.c | 736 bool is_read = (msg->rx_buf && msg->rx_len); in msm_dsi_manager_cmd_xfer() local 737 bool need_sync = (IS_SYNC_NEEDED() && !is_read); in msm_dsi_manager_cmd_xfer() 749 return is_read ? msg->rx_len : msg->tx_len; in msm_dsi_manager_cmd_xfer() 765 ret = is_read ? msm_dsi_host_cmd_rx(host, msg) : in msm_dsi_manager_cmd_xfer()
|
/linux-4.4.14/drivers/target/ |
D | target_core_rd.c | 401 static sense_reason_t rd_do_prot_rw(struct se_cmd *cmd, bool is_read) in rd_do_prot_rw() argument 425 if (is_read) in rd_do_prot_rw() 433 sbc_dif_copy_prot(cmd, sectors, is_read, prot_sg, prot_offset); in rd_do_prot_rw()
|
/linux-4.4.14/fs/f2fs/ |
D | data.c | 89 int npages, bool is_read) in __bio_alloc() argument 97 bio->bi_end_io = is_read ? f2fs_read_end_io : f2fs_write_end_io; in __bio_alloc() 98 bio->bi_private = is_read ? NULL : sbi; in __bio_alloc() 170 bool is_read = is_read_io(fio->rw); in f2fs_submit_page_mbio() local 173 io = is_read ? &sbi->read_io : &sbi->write_io[btype]; in f2fs_submit_page_mbio() 179 if (!is_read) in f2fs_submit_page_mbio() 189 io->bio = __bio_alloc(sbi, fio->blk_addr, bio_blocks, is_read); in f2fs_submit_page_mbio()
|
/linux-4.4.14/tools/perf/util/ |
D | util.c | 249 static ssize_t ion(bool is_read, int fd, void *buf, size_t n) in ion() argument 255 ssize_t ret = is_read ? read(fd, buf, left) : in ion()
|
/linux-4.4.14/drivers/mmc/host/ |
D | tmio_mmc_pio.c | 385 int is_read = host->data->flags & MMC_DATA_READ; in tmio_mmc_transfer_data() local 391 if (is_read) in tmio_mmc_transfer_data() 409 if (is_read) in tmio_mmc_transfer_data()
|
/linux-4.4.14/drivers/spi/ |
D | spi-omap2-mcspi.c | 211 int is_read, int enable) in omap2_mcspi_set_dma_req() argument 217 if (is_read) /* 1 is read, 0 write */ in omap2_mcspi_set_dma_req()
|
/linux-4.4.14/drivers/scsi/ |
D | st.c | 1544 size_t count, int is_read) in setup_buffering() argument 1549 if (is_read) in setup_buffering() 1557 count, (is_read ? READ : WRITE)); in setup_buffering() 1583 if (is_read && STp->sili && !STbp->cleared) in setup_buffering() 1605 static void release_buffering(struct scsi_tape *STp, int is_read) in release_buffering() argument 1611 sgl_unmap_user_pages(STbp, STbp->do_dio, is_read); in release_buffering()
|
/linux-4.4.14/drivers/s390/block/ |
D | dasd.c | 755 int is_read, in dasd_profile_end_add_data() argument 785 if (is_read) { in dasd_profile_end_add_data()
|
/linux-4.4.14/drivers/net/ethernet/mellanox/mlx4/ |
D | cmd.c | 814 int size, int is_read) in mlx4_ACCESS_MEM() argument 826 if (is_read) { in mlx4_ACCESS_MEM()
|