/drivers/gpu/drm/i915/gem/ |
D | i915_gem_execbuffer.c | 301 static int eb_parse(struct i915_execbuffer *eb); 302 static struct i915_request *eb_pin_engine(struct i915_execbuffer *eb, 304 static void eb_unpin_engine(struct i915_execbuffer *eb); 306 static inline bool eb_use_cmdparser(const struct i915_execbuffer *eb) in eb_use_cmdparser() argument 308 return intel_engine_requires_cmd_parser(eb->engine) || in eb_use_cmdparser() 309 (intel_engine_using_cmd_parser(eb->engine) && in eb_use_cmdparser() 310 eb->args->batch_len); in eb_use_cmdparser() 313 static int eb_create(struct i915_execbuffer *eb) in eb_create() argument 315 if (!(eb->args->flags & I915_EXEC_HANDLE_LUT)) { in eb_create() 316 unsigned int size = 1 + ilog2(eb->buffer_count); in eb_create() [all …]
|
/drivers/gpu/drm/i915/gem/selftests/ |
D | i915_gem_execbuffer.c | 19 static int __igt_gpu_reloc(struct i915_execbuffer *eb, in __igt_gpu_reloc() argument 24 GENMASK_ULL(eb->reloc_cache.use_64bit_reloc ? 63 : 31, 0); in __igt_gpu_reloc() 31 vma = i915_vma_instance(obj, eb->context->vm, NULL); in __igt_gpu_reloc() 35 err = i915_gem_object_lock(obj, &eb->ww); in __igt_gpu_reloc() 39 err = i915_vma_pin_ww(vma, &eb->ww, 0, 0, PIN_USER | PIN_HIGH); in __igt_gpu_reloc() 44 err = __reloc_entry_gpu(eb, vma, offsets[0] * sizeof(u32), 0); in __igt_gpu_reloc() 49 err = __reloc_entry_gpu(eb, vma, offsets[1] * sizeof(u32), 1); in __igt_gpu_reloc() 55 i -= eb->reloc_cache.rq_size; in __igt_gpu_reloc() 56 memset32(eb->reloc_cache.rq_cmd + eb->reloc_cache.rq_size, in __igt_gpu_reloc() 58 eb->reloc_cache.rq_size += i; in __igt_gpu_reloc() [all …]
|
/drivers/bus/ |
D | intel-ixp4xx-eb.c | 154 static void ixp4xx_exp_setup_chipselect(struct ixp4xx_eb *eb, in ixp4xx_exp_setup_chipselect() argument 166 if (eb->is_42x && (cs_index > 7)) { in ixp4xx_exp_setup_chipselect() 167 dev_err(eb->dev, in ixp4xx_exp_setup_chipselect() 172 if (eb->is_43x && (cs_index > 3)) { in ixp4xx_exp_setup_chipselect() 173 dev_err(eb->dev, in ixp4xx_exp_setup_chipselect() 191 regmap_read(eb->rmap, IXP4XX_EXP_TIMING_CS0 + in ixp4xx_exp_setup_chipselect() 193 dev_info(eb->dev, "CS%d at %#08x, size %#08x, config before: %#08x\n", in ixp4xx_exp_setup_chipselect() 194 cs_index, eb->bus_base + IXP4XX_EXP_STRIDE * cs_index, in ixp4xx_exp_setup_chipselect() 203 dev_err(eb->dev, "illegal size order %d\n", cs_order); in ixp4xx_exp_setup_chipselect() 206 dev_dbg(eb->dev, "CS%d size order: %d\n", cs_index, cs_order); in ixp4xx_exp_setup_chipselect() [all …]
|
D | Makefile | 19 obj-$(CONFIG_INTEL_IXP4XX_EB) += intel-ixp4xx-eb.o
|
/drivers/mtd/ |
D | mtdswap.c | 184 static loff_t mtdswap_eb_offset(struct mtdswap_dev *d, struct swap_eb *eb) in mtdswap_eb_offset() argument 186 return (loff_t)(eb - d->eb_data) * d->mtd->erasesize; in mtdswap_eb_offset() 189 static void mtdswap_eb_detach(struct mtdswap_dev *d, struct swap_eb *eb) in mtdswap_eb_detach() argument 194 if (eb->root) { in mtdswap_eb_detach() 195 tp = container_of(eb->root, struct mtdswap_tree, root); in mtdswap_eb_detach() 199 rb_erase(&eb->rb, eb->root); in mtdswap_eb_detach() 203 static void __mtdswap_rb_add(struct rb_root *root, struct swap_eb *eb) in __mtdswap_rb_add() argument 212 if (eb->erase_count > cur->erase_count) in __mtdswap_rb_add() 218 rb_link_node(&eb->rb, parent, p); in __mtdswap_rb_add() 219 rb_insert_color(&eb->rb, root); in __mtdswap_rb_add() [all …]
|
/drivers/mtd/tests/ |
D | stresstest.c | 45 unsigned int eb; in rand_eb() local 48 eb = prandom_u32(); in rand_eb() 50 eb %= (ebcnt - 1); in rand_eb() 51 if (bbt[eb]) in rand_eb() 53 return eb; in rand_eb() 76 int eb = rand_eb(); in do_read() local 81 if (bbt[eb + 1]) { in do_read() 87 addr = (loff_t)eb * mtd->erasesize + offs; in do_read() 93 int eb = rand_eb(), offs, err, len; in do_write() local 96 offs = offsets[eb]; in do_write() [all …]
|
D | torturetest.c | 28 static int eb = 8; variable 29 module_param(eb, int, S_IRUGO); 30 MODULE_PARM_DESC(eb, "eraseblock number within the selected MTD device"); 187 ebcnt, eb, eb + ebcnt - 1, dev); in tort_init() 245 err = mtdtest_scan_for_bad_eraseblocks(mtd, bad_ebs, eb, ebcnt); in tort_init() 254 err = mtdtest_erase_good_eraseblocks(mtd, bad_ebs, eb, ebcnt); in tort_init() 260 for (i = eb; i < eb + ebcnt; i++) { in tort_init() 261 if (bad_ebs[i - eb]) in tort_init() 277 for (i = eb; i < eb + ebcnt; i++) { in tort_init() 278 if (bad_ebs[i - eb]) in tort_init() [all …]
|
D | mtd_test.c | 42 unsigned int eb, int ebcnt) in mtdtest_scan_for_bad_eraseblocks() argument 51 bbt[i] = is_block_bad(mtd, eb + i) ? 1 : 0; in mtdtest_scan_for_bad_eraseblocks() 62 unsigned int eb, int ebcnt) in mtdtest_erase_good_eraseblocks() argument 70 err = mtdtest_erase_eraseblock(mtd, eb + i); in mtdtest_erase_good_eraseblocks()
|
D | mtd_test.h | 18 unsigned int eb, int ebcnt); 20 unsigned int eb, int ebcnt);
|
/drivers/input/mouse/ |
D | synaptics.h | 113 #define SYN_EXT_BUTTON_STICK_L(eb) (((eb) & BIT(0)) >> 0) argument 114 #define SYN_EXT_BUTTON_STICK_M(eb) (((eb) & BIT(1)) >> 1) argument 115 #define SYN_EXT_BUTTON_STICK_R(eb) (((eb) & BIT(2)) >> 2) argument
|
/drivers/iommu/ |
D | sprd-iommu.c | 72 struct clk *eb; member 464 struct clk *eb; in sprd_iommu_clk_enable() local 466 eb = devm_clk_get_optional(sdev->dev, NULL); in sprd_iommu_clk_enable() 467 if (!eb) in sprd_iommu_clk_enable() 470 if (IS_ERR(eb)) in sprd_iommu_clk_enable() 471 return PTR_ERR(eb); in sprd_iommu_clk_enable() 473 sdev->eb = eb; in sprd_iommu_clk_enable() 474 return clk_prepare_enable(eb); in sprd_iommu_clk_enable() 479 if (sdev->eb) in sprd_iommu_clk_disable() 480 clk_disable_unprepare(sdev->eb); in sprd_iommu_clk_disable()
|
/drivers/net/ethernet/broadcom/bnx2x/ |
D | bnx2x_hsi.h | 1719 #define SHMEM_ARRAY_MASK(eb) ((1<<(eb))-1) argument 1720 #define SHMEM_ARRAY_ENTRY(i, eb) ((i)/(32/(eb))) argument 1746 #define SHMEM_ARRAY_BITPOS(i, eb, fb) \ argument 1747 ((((32/(fb)) - 1 - ((i)/((fb)/(eb))) % (32/(fb))) * (fb)) + \ 1748 (((i)%((fb)/(eb))) * (eb))) 1750 #define SHMEM_ARRAY_GET(a, i, eb, fb) \ argument 1751 ((a[SHMEM_ARRAY_ENTRY(i, eb)] >> SHMEM_ARRAY_BITPOS(i, eb, fb)) & \ 1752 SHMEM_ARRAY_MASK(eb)) 1754 #define SHMEM_ARRAY_SET(a, i, eb, fb, val) \ argument 1756 a[SHMEM_ARRAY_ENTRY(i, eb)] &= ~(SHMEM_ARRAY_MASK(eb) << \ [all …]
|
/drivers/scsi/aic94xx/ |
D | aic94xx_hwi.c | 353 struct sg_el *eb = &escb->eb[k]; in asd_assign_edbs2escbs() local 356 memset(eb, 0, sizeof(*eb)); in asd_assign_edbs2escbs() 357 eb->bus_addr = cpu_to_le64(((u64) edb->dma_handle)); in asd_assign_edbs2escbs() 358 eb->size = cpu_to_le32(((u32) edb->size)); in asd_assign_edbs2escbs()
|
D | aic94xx_scb.c | 370 struct sg_el *eb = &escb->eb[edb_id]; in asd_invalidate_edb() local 374 eb->flags |= ELEMENT_NOT_VALID; in asd_invalidate_edb() 390 escb->eb[i].flags = 0; in asd_invalidate_edb()
|
D | aic94xx_sas.h | 425 struct sg_el eb[ASD_EDBS_PER_SCB]; member
|
/drivers/media/common/videobuf2/ |
D | videobuf2-v4l2.c | 878 int vb2_expbuf(struct vb2_queue *q, struct v4l2_exportbuffer *eb) in vb2_expbuf() argument 880 return vb2_core_expbuf(q, &eb->fd, eb->type, eb->index, in vb2_expbuf() 881 eb->plane, eb->flags); in vb2_expbuf()
|
/drivers/media/platform/s5p-mfc/ |
D | s5p_mfc_dec.c | 661 struct v4l2_exportbuffer *eb) in vidioc_expbuf() argument 665 if (eb->type == V4L2_BUF_TYPE_VIDEO_OUTPUT_MPLANE) in vidioc_expbuf() 666 return vb2_expbuf(&ctx->vq_src, eb); in vidioc_expbuf() 667 if (eb->type == V4L2_BUF_TYPE_VIDEO_CAPTURE_MPLANE) in vidioc_expbuf() 668 return vb2_expbuf(&ctx->vq_dst, eb); in vidioc_expbuf()
|
D | s5p_mfc_enc.c | 1651 struct v4l2_exportbuffer *eb) in vidioc_expbuf() argument 1655 if (eb->type == V4L2_BUF_TYPE_VIDEO_OUTPUT_MPLANE) in vidioc_expbuf() 1656 return vb2_expbuf(&ctx->vq_src, eb); in vidioc_expbuf() 1657 if (eb->type == V4L2_BUF_TYPE_VIDEO_CAPTURE_MPLANE) in vidioc_expbuf() 1658 return vb2_expbuf(&ctx->vq_dst, eb); in vidioc_expbuf()
|
/drivers/media/v4l2-core/ |
D | v4l2-mem2mem.c | 844 struct v4l2_exportbuffer *eb) in v4l2_m2m_expbuf() argument 848 vq = v4l2_m2m_get_vq(m2m_ctx, eb->type); in v4l2_m2m_expbuf() 849 return vb2_expbuf(vq, eb); in v4l2_m2m_expbuf() 1395 struct v4l2_exportbuffer *eb) in v4l2_m2m_ioctl_expbuf() argument 1399 return v4l2_m2m_expbuf(file, fh->m2m_ctx, eb); in v4l2_m2m_ioctl_expbuf()
|
/drivers/misc/habanalabs/goya/ |
D | goyaP.h | 225 bool eb);
|
/drivers/media/platform/exynos-gsc/ |
D | gsc-m2m.c | 382 struct v4l2_exportbuffer *eb) in gsc_m2m_expbuf() argument 385 return v4l2_m2m_expbuf(file, ctx->m2m_ctx, eb); in gsc_m2m_expbuf()
|
/drivers/tty/vt/ |
D | cp437.uni | 163 0x89 U+00eb
|
/drivers/misc/habanalabs/common/ |
D | habanalabs.h | 1217 bool eb); 1273 u32 size, bool eb);
|
/drivers/mtd/nand/raw/ |
D | marvell_nand.c | 269 #define MARVELL_LAYOUT(ws, dc, ds, nc, fcc, db, sb, eb, ldb, lsb, leb) \ argument 278 .ecc_bytes = eb, \
|
D | nand_base.c | 6002 unsigned int eb = nanddev_pos_to_row(nand, pos); in rawnand_erase() local 6005 eb >>= nand->rowconv.eraseblock_addr_shift; in rawnand_erase() 6008 ret = nand_erase_op(chip, eb); in rawnand_erase()
|