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