/drivers/platform/goldfish/ |
D | goldfish_pipe_v2.c | 237 unsigned last_page_size, int is_write, in pin_user_pages() argument 250 first_page, requested_pages, !is_write, pages); in pin_user_pages() 260 int is_write, s32 consumed_size) in release_user_pages() argument 264 if (!is_write && consumed_size > 0) { in release_user_pages() 276 unsigned iter_last_page_size, int is_write, in populate_rw_params() argument 308 unsigned long address, unsigned long address_end, int is_write, in transfer_max_buffers() argument 316 last_page_size, is_write, in transfer_max_buffers() 326 first_page, last_page, iter_last_page_size, is_write, in transfer_max_buffers() 331 is_write ? PIPE_CMD_WRITE : PIPE_CMD_READ); in transfer_max_buffers() 337 release_user_pages(pages, pages_count, is_write, *consumed_size); in transfer_max_buffers() [all …]
|
D | goldfish_pipe.c | 222 size_t bufflen, int is_write) in goldfish_pipe_read_write() argument 240 if (!access_ok(is_write ? VERIFY_WRITE : VERIFY_READ, in goldfish_pipe_read_write() 268 !is_write, pages); in goldfish_pipe_read_write() 306 is_write ? CMD_WRITE_BUFFER : CMD_READ_BUFFER, in goldfish_pipe_read_write() 314 writel(is_write ? CMD_WRITE_BUFFER : CMD_READ_BUFFER, in goldfish_pipe_read_write() 321 if (status > 0 && !is_write && in goldfish_pipe_read_write() 348 status, is_write ? "write" : "read"); in goldfish_pipe_read_write() 367 wakeBit = is_write ? BIT_WAKE_ON_WRITE : BIT_WAKE_ON_READ; in goldfish_pipe_read_write() 372 is_write ? CMD_WAKE_ON_WRITE : CMD_WAKE_ON_READ); in goldfish_pipe_read_write()
|
/drivers/memstick/host/ |
D | r592.c | 228 static void r592_start_dma(struct r592_device *dev, bool is_write) in r592_start_dma() argument 245 if (!is_write) in r592_start_dma() 281 bool is_write; in r592_transfer_fifo_dma() local 287 is_write = dev->req->data_dir == WRITE; in r592_transfer_fifo_dma() 298 sg_count = dma_map_sg(&dev->pci_dev->dev, &dev->req->sg, 1, is_write ? in r592_transfer_fifo_dma() 306 r592_start_dma(dev, is_write); in r592_transfer_fifo_dma() 315 dma_unmap_sg(&dev->pci_dev->dev, &dev->req->sg, 1, is_write ? in r592_transfer_fifo_dma() 418 bool is_write = dev->req->tpc >= MS_TPC_SET_RW_REG_ADRS; in r592_transfer_fifo_pio() local 424 if (is_write) { in r592_transfer_fifo_pio() 436 (is_write ? SG_MITER_FROM_SG : SG_MITER_TO_SG)); in r592_transfer_fifo_pio() [all …]
|
/drivers/gpu/drm/radeon/ |
D | radeon_dp_auxch.c | 69 bool is_write = false; in radeon_dp_aux_transfer_native() local 77 is_write = true; in radeon_dp_aux_transfer_native() 92 if (is_write) in radeon_dp_aux_transfer_native() 137 if (is_write) { in radeon_dp_aux_transfer_native() 195 if (is_write) in radeon_dp_aux_transfer_native()
|
/drivers/block/ |
D | brd.c | 303 unsigned int len, unsigned int off, bool is_write, in brd_do_bvec() argument 309 if (is_write) { in brd_do_bvec() 316 if (!is_write) { in brd_do_bvec() 369 struct page *page, bool is_write) in brd_rw_page() argument 372 int err = brd_do_bvec(brd, page, PAGE_SIZE, 0, is_write, sector); in brd_rw_page() 373 page_endio(page, is_write, err); in brd_rw_page()
|
/drivers/nvdimm/ |
D | pmem.c | 96 unsigned int len, unsigned int off, bool is_write, in pmem_do_bvec() argument 107 if (!is_write) { in pmem_do_bvec() 179 struct page *page, bool is_write) in pmem_rw_page() argument 184 rc = pmem_do_bvec(pmem, page, PAGE_SIZE, 0, is_write, sector); in pmem_rw_page() 193 page_endio(page, is_write, 0); in pmem_rw_page()
|
D | btt.c | 1269 bool is_write, sector_t sector) in btt_do_bvec() argument 1273 if (!is_write) { in btt_do_bvec() 1336 struct page *page, bool is_write) in btt_rw_page() argument 1341 rc = btt_do_bvec(btt, NULL, page, PAGE_SIZE, 0, is_write, sector); in btt_rw_page() 1343 page_endio(page, is_write, 0); in btt_rw_page()
|
/drivers/i2c/busses/ |
D | i2c-jz4780.c | 167 int is_write; member 454 if (i2c->is_write == 0) { in jz4780_i2c_irq() 475 if (i2c->is_write == 0) { in jz4780_i2c_irq() 573 i2c->is_write = 0; in jz4780_i2c_xfer_read() 634 i2c->is_write = 1; in jz4780_i2c_xfer_write()
|
/drivers/block/zram/ |
D | zram_drv.c | 855 int offset, bool is_write) in zram_bvec_rw() argument 858 int rw_acct = is_write ? REQ_OP_WRITE : REQ_OP_READ; in zram_bvec_rw() 864 if (!is_write) { in zram_bvec_rw() 875 if (!is_write) in zram_bvec_rw() 983 struct page *page, bool is_write) in zram_rw_page() argument 1007 err = zram_bvec_rw(zram, &bv, index, offset, is_write); in zram_rw_page() 1020 page_endio(page, is_write, 0); in zram_rw_page()
|
/drivers/iommu/ |
D | amd_iommu_proto.h | 64 u64 *value, bool is_write);
|
D | amd_iommu_init.c | 256 u64 *value, bool is_write); 2752 u64 *value, bool is_write) in iommu_pc_get_set_reg_val() argument 2770 if (is_write) { in iommu_pc_get_set_reg_val() 2784 u64 *value, bool is_write) in amd_iommu_pc_get_set_reg_val() argument 2793 value, is_write); in amd_iommu_pc_get_set_reg_val()
|
/drivers/mtd/nand/ |
D | omap2.c | 199 unsigned int u32_count, int is_write, struct omap_nand_info *info) in omap_prefetch_enable() argument 217 (dma_mode << DMA_MPU_MODE_SHIFT) | (is_write & 0x1)); in omap_prefetch_enable() 462 unsigned int len, int is_write) in omap_nand_dma_transfer() argument 466 enum dma_data_direction dir = is_write ? DMA_TO_DEVICE : in omap_nand_dma_transfer() 486 is_write ? DMA_MEM_TO_DEV : DMA_DEV_TO_MEM, in omap_nand_dma_transfer() 502 PREFETCH_FIFOTHRESHOLD_MAX, 0x1, len, is_write, info); in omap_nand_dma_transfer() 527 is_write == 0 ? omap_read_buf16(mtd, (u_char *) addr, len) in omap_nand_dma_transfer() 530 is_write == 0 ? omap_read_buf8(mtd, (u_char *) addr, len) in omap_nand_dma_transfer()
|
/drivers/target/ |
D | target_core_sbc.c | 672 bool is_write, struct se_cmd *cmd) in sbc_set_prot_op_checks() argument 674 if (is_write) { in sbc_set_prot_op_checks() 733 u32 sectors, bool is_write) in sbc_check_prot() argument 770 fabric_prot = is_write ? in sbc_check_prot() 787 if (sbc_set_prot_op_checks(protect, fabric_prot, pi_prot_type, is_write, cmd)) in sbc_check_prot()
|
D | target_core_file.c | 250 u32 sgl_nents, u32 data_length, int is_write) in fd_do_rw() argument 274 if (is_write) in fd_do_rw() 279 if (is_write) { in fd_do_rw()
|
/drivers/gpu/drm/vc4/ |
D | vc4_render_cl.c | 425 bool is_write) in vc4_rcl_surface_setup() argument 448 if (is_write) in vc4_rcl_surface_setup()
|
/drivers/nvme/host/ |
D | scsi.c | 1603 struct nvme_trans_io_cdb *cdb_info, u8 is_write) in nvme_trans_do_nvme_io() argument 1614 u8 opcode = (is_write ? nvme_cmd_write : nvme_cmd_read); in nvme_trans_do_nvme_io() 1676 static int nvme_trans_io(struct nvme_ns *ns, struct sg_io_hdr *hdr, u8 is_write, in nvme_trans_io() argument 1774 res = nvme_trans_do_nvme_io(ns, hdr, &cdb_info, is_write); in nvme_trans_io()
|
/drivers/usb/gadget/legacy/ |
D | inode.c | 291 get_ready_ep (unsigned f_flags, struct ep_data *epdata, bool is_write) in get_ready_ep() argument 299 (!is_write || epdata->state != STATE_EP_READY)) { in get_ready_ep() 316 if (is_write) in get_ready_ep()
|
/drivers/scsi/smartpqi/ |
D | smartpqi_init.c | 1907 bool is_write = false; in pqi_raid_bypass_submit_scsi_cmd() local 1952 is_write = true; in pqi_raid_bypass_submit_scsi_cmd() 1962 is_write = true; in pqi_raid_bypass_submit_scsi_cmd() 1969 is_write = true; in pqi_raid_bypass_submit_scsi_cmd() 1976 is_write = true; in pqi_raid_bypass_submit_scsi_cmd() 1988 if (is_write && device->raid_level != SA_RAID_0) in pqi_raid_bypass_submit_scsi_cmd() 2202 cdb[0] = is_write ? WRITE_16 : READ_16; in pqi_raid_bypass_submit_scsi_cmd() 2210 cdb[0] = is_write ? WRITE_10 : READ_10; in pqi_raid_bypass_submit_scsi_cmd()
|
/drivers/block/drbd/ |
D | drbd_worker.c | 176 bool is_write = bio_data_dir(bio) == WRITE; in drbd_peer_request_endio() local 181 is_write ? (is_discard ? "discard" : "write") in drbd_peer_request_endio() 190 if (is_write) in drbd_peer_request_endio()
|
/drivers/scsi/ |
D | hpsa.c | 4560 int is_write = 0; in fixup_ioaccel_cdb() local 4568 is_write = 1; in fixup_ioaccel_cdb() 4586 cdb[0] = is_write ? WRITE_10 : READ_10; in fixup_ioaccel_cdb() 4952 int is_write = 0; in hpsa_scsi_ioaccel_raid_map() local 4986 is_write = 1; in hpsa_scsi_ioaccel_raid_map() 4996 is_write = 1; in hpsa_scsi_ioaccel_raid_map() 5008 is_write = 1; in hpsa_scsi_ioaccel_raid_map() 5022 is_write = 1; in hpsa_scsi_ioaccel_raid_map() 5045 if (is_write && dev->raid_level != 0) in hpsa_scsi_ioaccel_raid_map() 5241 cdb[0] = is_write ? WRITE_16 : READ_16; in hpsa_scsi_ioaccel_raid_map() [all …]
|