/Linux-v4.19/arch/arm64/crypto/ |
D | Makefile | 11 obj-$(CONFIG_CRYPTO_SHA1_ARM64_CE) += sha1-ce.o 12 sha1-ce-y := sha1-ce-glue.o sha1-ce-core.o 14 obj-$(CONFIG_CRYPTO_SHA2_ARM64_CE) += sha2-ce.o 15 sha2-ce-y := sha2-ce-glue.o sha2-ce-core.o 17 obj-$(CONFIG_CRYPTO_SHA512_ARM64_CE) += sha512-ce.o 18 sha512-ce-y := sha512-ce-glue.o sha512-ce-core.o 20 obj-$(CONFIG_CRYPTO_SHA3_ARM64) += sha3-ce.o 21 sha3-ce-y := sha3-ce-glue.o sha3-ce-core.o 23 obj-$(CONFIG_CRYPTO_SM3_ARM64_CE) += sm3-ce.o 24 sm3-ce-y := sm3-ce-glue.o sm3-ce-core.o [all …]
|
/Linux-v4.19/drivers/of/ |
D | dynamic.c | 435 static void __of_changeset_entry_destroy(struct of_changeset_entry *ce) in __of_changeset_entry_destroy() argument 437 of_node_put(ce->np); in __of_changeset_entry_destroy() 438 list_del(&ce->node); in __of_changeset_entry_destroy() 439 kfree(ce); in __of_changeset_entry_destroy() 443 static void __of_changeset_entry_dump(struct of_changeset_entry *ce) in __of_changeset_entry_dump() argument 445 switch (ce->action) { in __of_changeset_entry_dump() 449 pr_debug("cset<%p> %-15s %pOF/%s\n", ce, action_names[ce->action], in __of_changeset_entry_dump() 450 ce->np, ce->prop->name); in __of_changeset_entry_dump() 454 pr_debug("cset<%p> %-15s %pOF\n", ce, action_names[ce->action], in __of_changeset_entry_dump() 455 ce->np); in __of_changeset_entry_dump() [all …]
|
/Linux-v4.19/drivers/base/power/ |
D | clock_ops.c | 42 static inline void __pm_clk_enable(struct device *dev, struct pm_clock_entry *ce) in __pm_clk_enable() argument 46 if (ce->status < PCE_STATUS_ERROR) { in __pm_clk_enable() 47 ret = clk_enable(ce->clk); in __pm_clk_enable() 49 ce->status = PCE_STATUS_ENABLED; in __pm_clk_enable() 52 __func__, ce->clk, ret); in __pm_clk_enable() 61 static void pm_clk_acquire(struct device *dev, struct pm_clock_entry *ce) in pm_clk_acquire() argument 63 if (!ce->clk) in pm_clk_acquire() 64 ce->clk = clk_get(dev, ce->con_id); in pm_clk_acquire() 65 if (IS_ERR(ce->clk)) { in pm_clk_acquire() 66 ce->status = PCE_STATUS_ERROR; in pm_clk_acquire() [all …]
|
/Linux-v4.19/drivers/clocksource/ |
D | timer-sun5i.c | 73 static void sun5i_clkevt_sync(struct sun5i_timer_clkevt *ce) in sun5i_clkevt_sync() argument 75 u32 old = readl(ce->timer.base + TIMER_CNTVAL_LO_REG(1)); in sun5i_clkevt_sync() 77 while ((old - readl(ce->timer.base + TIMER_CNTVAL_LO_REG(1))) < TIMER_SYNC_TICKS) in sun5i_clkevt_sync() 81 static void sun5i_clkevt_time_stop(struct sun5i_timer_clkevt *ce, u8 timer) in sun5i_clkevt_time_stop() argument 83 u32 val = readl(ce->timer.base + TIMER_CTL_REG(timer)); in sun5i_clkevt_time_stop() 84 writel(val & ~TIMER_CTL_ENABLE, ce->timer.base + TIMER_CTL_REG(timer)); in sun5i_clkevt_time_stop() 86 sun5i_clkevt_sync(ce); in sun5i_clkevt_time_stop() 89 static void sun5i_clkevt_time_setup(struct sun5i_timer_clkevt *ce, u8 timer, u32 delay) in sun5i_clkevt_time_setup() argument 91 writel(delay, ce->timer.base + TIMER_INTVAL_LO_REG(timer)); in sun5i_clkevt_time_setup() 94 static void sun5i_clkevt_time_start(struct sun5i_timer_clkevt *ce, u8 timer, bool periodic) in sun5i_clkevt_time_start() argument [all …]
|
D | mps2-timer.c | 58 static int mps2_timer_shutdown(struct clock_event_device *ce) in mps2_timer_shutdown() argument 60 clockevent_mps2_writel(0, ce, TIMER_RELOAD); in mps2_timer_shutdown() 61 clockevent_mps2_writel(0, ce, TIMER_CTRL); in mps2_timer_shutdown() 66 static int mps2_timer_set_next_event(unsigned long next, struct clock_event_device *ce) in mps2_timer_set_next_event() argument 68 clockevent_mps2_writel(next, ce, TIMER_VALUE); in mps2_timer_set_next_event() 69 clockevent_mps2_writel(TIMER_CTRL_IE | TIMER_CTRL_ENABLE, ce, TIMER_CTRL); in mps2_timer_set_next_event() 74 static int mps2_timer_set_periodic(struct clock_event_device *ce) in mps2_timer_set_periodic() argument 76 u32 clock_count_per_tick = to_mps2_clkevt(ce)->clock_count_per_tick; in mps2_timer_set_periodic() 78 clockevent_mps2_writel(clock_count_per_tick, ce, TIMER_RELOAD); in mps2_timer_set_periodic() 79 clockevent_mps2_writel(clock_count_per_tick, ce, TIMER_VALUE); in mps2_timer_set_periodic() [all …]
|
D | timer-digicolor.c | 61 struct clock_event_device ce; member 67 static struct digicolor_timer *dc_timer(struct clock_event_device *ce) in dc_timer() argument 69 return container_of(ce, struct digicolor_timer, ce); in dc_timer() 72 static inline void dc_timer_disable(struct clock_event_device *ce) in dc_timer_disable() argument 74 struct digicolor_timer *dt = dc_timer(ce); in dc_timer_disable() 78 static inline void dc_timer_enable(struct clock_event_device *ce, u32 mode) in dc_timer_enable() argument 80 struct digicolor_timer *dt = dc_timer(ce); in dc_timer_enable() 84 static inline void dc_timer_set_count(struct clock_event_device *ce, in dc_timer_set_count() argument 87 struct digicolor_timer *dt = dc_timer(ce); in dc_timer_set_count() 91 static int digicolor_clkevt_shutdown(struct clock_event_device *ce) in digicolor_clkevt_shutdown() argument [all …]
|
D | rockchip_timer.c | 46 struct clock_event_device ce; member 53 static inline struct rk_timer *rk_timer(struct clock_event_device *ce) in rk_timer() argument 55 return &container_of(ce, struct rk_clkevt, ce)->timer; in rk_timer() 81 struct clock_event_device *ce) in rk_timer_set_next_event() argument 83 struct rk_timer *timer = rk_timer(ce); in rk_timer_set_next_event() 92 static int rk_timer_shutdown(struct clock_event_device *ce) in rk_timer_shutdown() argument 94 struct rk_timer *timer = rk_timer(ce); in rk_timer_shutdown() 100 static int rk_timer_set_periodic(struct clock_event_device *ce) in rk_timer_set_periodic() argument 102 struct rk_timer *timer = rk_timer(ce); in rk_timer_set_periodic() 112 struct clock_event_device *ce = dev_id; in rk_timer_interrupt() local [all …]
|
D | timer-atlas7.c | 73 struct clock_event_device *ce = dev_id; in sirfsoc_timer_interrupt() local 79 if (clockevent_state_oneshot(ce)) in sirfsoc_timer_interrupt() 82 ce->event_handler(ce); in sirfsoc_timer_interrupt() 102 struct clock_event_device *ce) in sirfsoc_timer_set_next_event() argument 177 struct clock_event_device *ce = per_cpu_ptr(sirfsoc_clockevent, cpu); in sirfsoc_local_timer_starting_cpu() local 185 ce->irq = action->irq; in sirfsoc_local_timer_starting_cpu() 186 ce->name = "local_timer"; in sirfsoc_local_timer_starting_cpu() 187 ce->features = CLOCK_EVT_FEAT_ONESHOT; in sirfsoc_local_timer_starting_cpu() 188 ce->rating = 200; in sirfsoc_local_timer_starting_cpu() 189 ce->set_state_shutdown = sirfsoc_timer_shutdown; in sirfsoc_local_timer_starting_cpu() [all …]
|
D | timer-sprd.c | 80 struct clock_event_device *ce) in sprd_timer_set_next_event() argument 82 struct timer_of *to = to_timer_of(ce); in sprd_timer_set_next_event() 91 static int sprd_timer_set_periodic(struct clock_event_device *ce) in sprd_timer_set_periodic() argument 93 struct timer_of *to = to_timer_of(ce); in sprd_timer_set_periodic() 102 static int sprd_timer_shutdown(struct clock_event_device *ce) in sprd_timer_shutdown() argument 104 struct timer_of *to = to_timer_of(ce); in sprd_timer_shutdown() 112 struct clock_event_device *ce = (struct clock_event_device *)dev_id; in sprd_timer_interrupt() local 113 struct timer_of *to = to_timer_of(ce); in sprd_timer_interrupt() 117 if (clockevent_state_oneshot(ce)) in sprd_timer_interrupt() 120 ce->event_handler(ce); in sprd_timer_interrupt()
|
D | cadence_ttc_timer.c | 101 struct clock_event_device ce; member 105 container_of(x, struct ttc_timer_clockevent, ce) 152 ttce->ce.event_handler(&ttce->ce); in ttc_clock_event_interrupt() 399 clockevents_update_freq(&ttcce->ce, ndata->new_rate / PRESCALE); in ttc_rate_change_clockevent_cb() 441 ttcce->ce.name = "ttc_clockevent"; in ttc_setup_clockevent() 442 ttcce->ce.features = CLOCK_EVT_FEAT_PERIODIC | CLOCK_EVT_FEAT_ONESHOT; in ttc_setup_clockevent() 443 ttcce->ce.set_next_event = ttc_set_next_event; in ttc_setup_clockevent() 444 ttcce->ce.set_state_shutdown = ttc_shutdown; in ttc_setup_clockevent() 445 ttcce->ce.set_state_periodic = ttc_set_periodic; in ttc_setup_clockevent() 446 ttcce->ce.set_state_oneshot = ttc_shutdown; in ttc_setup_clockevent() [all …]
|
/Linux-v4.19/arch/arm/crypto/ |
D | Makefile | 15 ce-obj-$(CONFIG_CRYPTO_AES_ARM_CE) += aes-arm-ce.o 16 ce-obj-$(CONFIG_CRYPTO_SHA1_ARM_CE) += sha1-arm-ce.o 17 ce-obj-$(CONFIG_CRYPTO_SHA2_ARM_CE) += sha2-arm-ce.o 18 ce-obj-$(CONFIG_CRYPTO_GHASH_ARM_CE) += ghash-arm-ce.o 19 ce-obj-$(CONFIG_CRYPTO_CRCT10DIF_ARM_CE) += crct10dif-arm-ce.o 20 crc-obj-$(CONFIG_CRYPTO_CRC32_ARM_CE) += crc32-arm-ce.o 24 ce-obj-y += $(crc-obj-y) 25 ce-obj-m += $(crc-obj-m) 32 ifneq ($(ce-obj-y)$(ce-obj-m),) 34 obj-y += $(ce-obj-y) [all …]
|
/Linux-v4.19/arch/sparc/kernel/ |
D | time_32.c | 121 struct clock_event_device *ce = &timer_ce; in setup_timer_ce() local 125 ce->name = "timer_ce"; in setup_timer_ce() 126 ce->rating = 100; in setup_timer_ce() 127 ce->features = CLOCK_EVT_FEAT_PERIODIC; in setup_timer_ce() 128 ce->set_state_shutdown = timer_ce_shutdown; in setup_timer_ce() 129 ce->set_state_periodic = timer_ce_set_periodic; in setup_timer_ce() 130 ce->tick_resume = timer_ce_set_periodic; in setup_timer_ce() 131 ce->cpumask = cpu_possible_mask; in setup_timer_ce() 132 ce->shift = 32; in setup_timer_ce() 133 ce->mult = div_sc(sparc_config.clock_rate, NSEC_PER_SEC, in setup_timer_ce() [all …]
|
/Linux-v4.19/drivers/net/ethernet/chelsio/cxgb4/ |
D | clip_tbl.c | 78 struct clip_entry *ce, *cte; in cxgb4_clip_get() local 97 ce = cte; in cxgb4_clip_get() 99 refcount_inc(&ce->refcnt); in cxgb4_clip_get() 107 ce = list_first_entry(&ctbl->ce_free_head, in cxgb4_clip_get() 109 list_del(&ce->list); in cxgb4_clip_get() 110 INIT_LIST_HEAD(&ce->list); in cxgb4_clip_get() 111 spin_lock_init(&ce->lock); in cxgb4_clip_get() 112 refcount_set(&ce->refcnt, 0); in cxgb4_clip_get() 114 list_add_tail(&ce->list, &ctbl->hash_list[hash]); in cxgb4_clip_get() 116 ce->addr6.sin6_family = AF_INET6; in cxgb4_clip_get() [all …]
|
/Linux-v4.19/drivers/gpu/drm/nouveau/nvkm/engine/ce/ |
D | Kbuild | 1 nvkm-y += nvkm/engine/ce/gt215.o 2 nvkm-y += nvkm/engine/ce/gf100.o 3 nvkm-y += nvkm/engine/ce/gk104.o 4 nvkm-y += nvkm/engine/ce/gm107.o 5 nvkm-y += nvkm/engine/ce/gm200.o 6 nvkm-y += nvkm/engine/ce/gp100.o 7 nvkm-y += nvkm/engine/ce/gp102.o 8 nvkm-y += nvkm/engine/ce/gv100.o
|
D | gk104.c | 47 gk104_ce_intr_launcherr(struct nvkm_engine *ce, const u32 base) in gk104_ce_intr_launcherr() argument 49 struct nvkm_subdev *subdev = &ce->subdev; in gk104_ce_intr_launcherr() 59 gk104_ce_intr(struct nvkm_engine *ce) in gk104_ce_intr() argument 61 const u32 base = (ce->subdev.index - NVKM_ENGINE_CE0) * 0x1000; in gk104_ce_intr() 62 struct nvkm_subdev *subdev = &ce->subdev; in gk104_ce_intr() 77 gk104_ce_intr_launcherr(ce, base); in gk104_ce_intr()
|
D | gp100.c | 49 gp100_ce_intr_launcherr(struct nvkm_engine *ce, const u32 base) in gp100_ce_intr_launcherr() argument 51 struct nvkm_subdev *subdev = &ce->subdev; in gp100_ce_intr_launcherr() 60 gp100_ce_intr(struct nvkm_engine *ce) in gp100_ce_intr() argument 62 const u32 base = (ce->subdev.index - NVKM_ENGINE_CE0) * 0x80; in gp100_ce_intr() 63 struct nvkm_subdev *subdev = &ce->subdev; in gp100_ce_intr() 78 gp100_ce_intr_launcherr(ce, base); in gp100_ce_intr()
|
D | gf100.c | 30 gf100_ce_init(struct nvkm_falcon *ce) in gf100_ce_init() argument 32 struct nvkm_device *device = ce->engine.subdev.device; in gf100_ce_init() 33 const int index = ce->engine.subdev.index - NVKM_ENGINE_CE0; in gf100_ce_init() 34 nvkm_wr32(device, ce->addr + 0x084, index); in gf100_ce_init()
|
/Linux-v4.19/arch/alpha/kernel/ |
D | time.c | 94 struct clock_event_device *ce = &per_cpu(cpu_ce, cpu); in rtc_timer_interrupt() local 97 if (likely(clockevent_state_periodic(ce))) in rtc_timer_interrupt() 98 ce->event_handler(ce); in rtc_timer_interrupt() 109 rtc_ce_set_next_event(unsigned long evt, struct clock_event_device *ce) in rtc_ce_set_next_event() argument 119 struct clock_event_device *ce = &per_cpu(cpu_ce, cpu); in init_rtc_clockevent() local 121 *ce = (struct clock_event_device){ in init_rtc_clockevent() 129 clockevents_config_and_register(ce, CONFIG_HZ, 0, 0); in init_rtc_clockevent() 157 static int qemu_ce_shutdown(struct clock_event_device *ce) in qemu_ce_shutdown() argument 166 qemu_ce_set_next_event(unsigned long evt, struct clock_event_device *ce) in qemu_ce_set_next_event() argument 176 struct clock_event_device *ce = &per_cpu(cpu_ce, cpu); in qemu_timer_interrupt() local [all …]
|
/Linux-v4.19/drivers/net/wireless/ath/ath10k/ |
D | ce.c | 146 struct ath10k_ce *ce = ath10k_ce_priv(ar); in ath10k_ce_read32() local 148 return ce->bus_ops->read32(ar, offset); in ath10k_ce_read32() 153 struct ath10k_ce *ce = ath10k_ce_priv(ar); in ath10k_ce_write32() local 155 ce->bus_ops->write32(ar, offset, value); in ath10k_ce_write32() 191 struct ath10k_ce *ce = ath10k_ce_priv(ar); in ath10k_ce_src_ring_read_index_from_ddr() local 193 return ce->vaddr_rri[ce_id] & CE_DDR_RRI_MASK; in ath10k_ce_src_ring_read_index_from_ddr() 199 struct ath10k_ce *ce = ath10k_ce_priv(ar); in ath10k_ce_src_ring_read_index_get() local 201 struct ath10k_ce_pipe *ce_state = &ce->ce_states[ce_id]; in ath10k_ce_src_ring_read_index_get() 291 struct ath10k_ce *ce = ath10k_ce_priv(ar); in ath10k_ce_dest_ring_read_index_from_ddr() local 293 return (ce->vaddr_rri[ce_id] >> CE_DDR_DRRI_SHIFT) & in ath10k_ce_dest_ring_read_index_from_ddr() [all …]
|
/Linux-v4.19/arch/arm/mach-footbridge/ |
D | dc21285-timer.c | 91 struct clock_event_device *ce = dev_id; in timer1_interrupt() local 96 if (clockevent_state_oneshot(ce)) in timer1_interrupt() 99 ce->event_handler(ce); in timer1_interrupt() 116 struct clock_event_device *ce = &ckevt_dc21285; in footbridge_timer_init() local 121 setup_irq(ce->irq, &footbridge_timer_irq); in footbridge_timer_init() 123 ce->cpumask = cpumask_of(smp_processor_id()); in footbridge_timer_init() 124 clockevents_config_and_register(ce, rate, 0x4, 0xffffff); in footbridge_timer_init()
|
/Linux-v4.19/drivers/gpu/drm/i915/ |
D | i915_gem_context.h | 52 void (*unpin)(struct intel_context *ce); 53 void (*destroy)(struct intel_context *ce); 283 static inline void __intel_context_pin(struct intel_context *ce) in __intel_context_pin() argument 285 GEM_BUG_ON(!ce->pin_count); in __intel_context_pin() 286 ce->pin_count++; in __intel_context_pin() 289 static inline void intel_context_unpin(struct intel_context *ce) in intel_context_unpin() argument 291 GEM_BUG_ON(!ce->pin_count); in intel_context_unpin() 292 if (--ce->pin_count) in intel_context_unpin() 295 GEM_BUG_ON(!ce->ops); in intel_context_unpin() 296 ce->ops->unpin(ce); in intel_context_unpin()
|
D | intel_lrc.c | 169 struct intel_context *ce); 223 struct intel_context *ce) in intel_lr_context_descriptor_update() argument 233 desc |= i915_ggtt_offset(ce->state) + LRC_HEADER_PAGES * PAGE_SIZE; in intel_lr_context_descriptor_update() 259 ce->lrc_desc = desc; in intel_lr_context_descriptor_update() 420 struct intel_context *ce = rq->hw_context; in execlists_update_context() local 423 u32 *reg_state = ce->lrc_reg_state; in execlists_update_context() 435 return ce->lrc_desc; in execlists_update_context() 507 static bool ctx_single_port_submission(const struct intel_context *ce) in ctx_single_port_submission() argument 510 i915_gem_context_force_single_submission(ce->gem_context)); in ctx_single_port_submission() 538 struct intel_context *ce = in inject_preempt_context() local [all …]
|
/Linux-v4.19/drivers/gpu/drm/nouveau/nvkm/engine/device/ |
D | base.c | 1162 .ce[0] = gt215_ce_new, 1196 .ce[0] = gt215_ce_new, 1229 .ce[0] = gt215_ce_new, 1326 .ce[0] = gt215_ce_new, 1362 .ce[0] = gf100_ce_new, 1363 .ce[1] = gf100_ce_new, 1399 .ce[0] = gf100_ce_new, 1435 .ce[0] = gf100_ce_new, 1471 .ce[0] = gf100_ce_new, 1472 .ce[1] = gf100_ce_new, [all …]
|
/Linux-v4.19/drivers/gpu/drm/i915/selftests/ |
D | mock_engine.c | 75 static void mock_context_unpin(struct intel_context *ce) in mock_context_unpin() argument 77 i915_gem_context_put(ce->gem_context); in mock_context_unpin() 80 static void mock_context_destroy(struct intel_context *ce) in mock_context_destroy() argument 82 GEM_BUG_ON(ce->pin_count); in mock_context_destroy() 94 struct intel_context *ce = to_intel_context(ctx, engine); in mock_context_pin() local 96 if (!ce->pin_count++) { in mock_context_pin() 98 ce->ring = engine->buffer; in mock_context_pin() 99 ce->ops = &mock_context_ops; in mock_context_pin() 102 return ce; in mock_context_pin() 256 struct intel_context *ce; in mock_engine_free() local [all …]
|
/Linux-v4.19/drivers/net/ethernet/chelsio/cxgb/ |
D | sge.c | 510 struct freelQ_ce *ce = &q->centries[cidx]; in free_freelQ_buffers() local 512 pci_unmap_single(pdev, dma_unmap_addr(ce, dma_addr), in free_freelQ_buffers() 513 dma_unmap_len(ce, dma_len), in free_freelQ_buffers() 515 dev_kfree_skb(ce->skb); in free_freelQ_buffers() 516 ce->skb = NULL; in free_freelQ_buffers() 620 struct cmdQ_ce *ce; in free_cmdQ_buffers() local 625 ce = &q->centries[cidx]; in free_cmdQ_buffers() 627 if (likely(dma_unmap_len(ce, dma_len))) { in free_cmdQ_buffers() 628 pci_unmap_single(pdev, dma_unmap_addr(ce, dma_addr), in free_cmdQ_buffers() 629 dma_unmap_len(ce, dma_len), in free_cmdQ_buffers() [all …]
|