Home
last modified time | relevance | path

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

/linux-4.1.27/drivers/gpu/drm/i915/
Dintel_sideband.c46 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.1.27/drivers/mtd/nand/
Dbf5xx_nand.c466 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()
Datmel_nand.c348 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.1.27/arch/m68k/mac/
Dmisc.c256 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.1.27/drivers/gpu/drm/msm/dsi/
Ddsi_manager.c593 bool is_read = (msg->rx_buf && msg->rx_len); in msm_dsi_manager_cmd_xfer() local
594 bool need_sync = (IS_SYNC_NEEDED() && !is_read); in msm_dsi_manager_cmd_xfer()
606 return is_read ? msg->rx_len : msg->tx_len; in msm_dsi_manager_cmd_xfer()
622 ret = is_read ? msm_dsi_host_cmd_rx(host, msg) : in msm_dsi_manager_cmd_xfer()
/linux-4.1.27/drivers/usb/gadget/legacy/
Dtcm_usb_gadget.h96 unsigned is_read:1; member
Dtcm_usb_gadget.c133 if (cmd->is_read) { in bot_send_bad_status()
197 if (!cmd->is_read) in bot_send_status_response()
1246 cmd->is_read = cbw->Flags & US_BULK_FLAG_IN ? 1 : 0; in bot_submit_command()
/linux-4.1.27/tools/perf/util/
Dutil.c171 static ssize_t ion(bool is_read, int fd, void *buf, size_t n) in ion() argument
177 ssize_t ret = is_read ? read(fd, buf, left) : in ion()
/linux-4.1.27/drivers/i2c/busses/
Di2c-i801.c214 bool is_read; member
443 if (priv->is_read) { in i801_isr_byte_done()
559 priv->is_read = (read_write == I2C_SMBUS_READ); in i801_block_transaction_byte_by_byte()
560 if (len == 1 && priv->is_read) in i801_block_transaction_byte_by_byte()
/linux-4.1.27/fs/f2fs/
Ddata.c79 int npages, bool is_read) in __bio_alloc() argument
88 bio->bi_end_io = is_read ? f2fs_read_end_io : f2fs_write_end_io; in __bio_alloc()
162 bool is_read = is_read_io(fio->rw); in f2fs_submit_page_mbio() local
164 io = is_read ? &sbi->read_io : &sbi->write_io[btype]; in f2fs_submit_page_mbio()
170 if (!is_read) in f2fs_submit_page_mbio()
180 io->bio = __bio_alloc(sbi, fio->blk_addr, bio_blocks, is_read); in f2fs_submit_page_mbio()
/linux-4.1.27/drivers/mmc/host/
Dtmio_mmc_pio.c383 int is_read = host->data->flags & MMC_DATA_READ; in tmio_mmc_transfer_data() local
389 if (is_read) in tmio_mmc_transfer_data()
407 if (is_read) in tmio_mmc_transfer_data()
/linux-4.1.27/drivers/spi/
Dspi-omap2-mcspi.c210 int is_read, int enable) in omap2_mcspi_set_dma_req() argument
216 if (is_read) /* 1 is read, 0 write */ in omap2_mcspi_set_dma_req()
/linux-4.1.27/drivers/scsi/
Dst.c1490 size_t count, int is_read) in setup_buffering() argument
1495 if (is_read) in setup_buffering()
1503 count, (is_read ? READ : WRITE)); in setup_buffering()
1529 if (is_read && STp->sili && !STbp->cleared) in setup_buffering()
1551 static void release_buffering(struct scsi_tape *STp, int is_read) in release_buffering() argument
1557 sgl_unmap_user_pages(STbp, STbp->do_dio, is_read); in release_buffering()
/linux-4.1.27/drivers/net/ethernet/mellanox/mlx4/
Dcmd.c800 int size, int is_read) in mlx4_ACCESS_MEM() argument
812 if (is_read) { in mlx4_ACCESS_MEM()
/linux-4.1.27/drivers/s390/block/
Ddasd.c753 int is_read, in dasd_profile_end_add_data() argument
783 if (is_read) { in dasd_profile_end_add_data()