/drivers/crypto/ |
D | mv_cesa.c | 103 static struct crypto_priv *cpg; variable 148 int active = readl(cpg->reg + SEC_ACCEL_CMD) & SEC_CMD_EN_SEC_ACCL0; in mv_completion_timer_callback() 154 del_timer(&cpg->completion_timer); in mv_completion_timer_callback() 155 writel(SEC_CMD_DISABLE_SEC, cpg->reg + SEC_ACCEL_CMD); in mv_completion_timer_callback() 156 while(readl(cpg->reg + SEC_ACCEL_CMD) & SEC_CMD_DISABLE_SEC) in mv_completion_timer_callback() 158 cpg->eng_st = ENGINE_W_DEQUEUE; in mv_completion_timer_callback() 159 wake_up_process(cpg->queue_th); in mv_completion_timer_callback() 164 setup_timer(&cpg->completion_timer, &mv_completion_timer_callback, 0); in mv_setup_timer() 165 mod_timer(&cpg->completion_timer, in mv_setup_timer() 245 struct req_progress *p = &cpg->p; in setup_data_in() [all …]
|
/drivers/clk/shmobile/ |
D | clk-r8a7740.c | 65 r8a7740_cpg_register_clock(struct device_node *np, struct r8a7740_cpg *cpg, in r8a7740_cpg_register_clock() argument 101 u32 value = clk_readl(cpg->reg + CPG_FRQCRC); in r8a7740_cpg_register_clock() 105 u32 value = clk_readl(cpg->reg + CPG_FRQCRA); in r8a7740_cpg_register_clock() 110 u32 value = clk_readl(cpg->reg + CPG_PLLC2CR); in r8a7740_cpg_register_clock() 114 u32 value = clk_readl(cpg->reg + CPG_USBCKCR); in r8a7740_cpg_register_clock() 142 cpg->reg + reg, shift, 4, 0, in r8a7740_cpg_register_clock() 143 table, &cpg->lock); in r8a7740_cpg_register_clock() 149 struct r8a7740_cpg *cpg; in r8a7740_cpg_clocks_init() local 163 cpg = kzalloc(sizeof(*cpg), GFP_KERNEL); in r8a7740_cpg_clocks_init() 165 if (cpg == NULL || clks == NULL) { in r8a7740_cpg_clocks_init() [all …]
|
D | clk-rz.c | 32 rz_cpg_register_clock(struct device_node *np, struct rz_cpg *cpg, const char *name) in rz_cpg_register_clock() argument 49 if (!cpg->reg) in rz_cpg_register_clock() 57 val = (clk_readl(cpg->reg + CPG_FRQCR) >> 8) & 3; in rz_cpg_register_clock() 59 val = clk_readl(cpg->reg + CPG_FRQCR2) & 3; in rz_cpg_register_clock() 69 struct rz_cpg *cpg; in rz_cpg_clocks_init() local 78 cpg = kzalloc(sizeof(*cpg), GFP_KERNEL); in rz_cpg_clocks_init() 80 BUG_ON(!cpg || !clks); in rz_cpg_clocks_init() 82 cpg->data.clks = clks; in rz_cpg_clocks_init() 83 cpg->data.clk_num = num_clks; in rz_cpg_clocks_init() 85 cpg->reg = of_iomap(np, 0); in rz_cpg_clocks_init() [all …]
|
D | clk-rcar-gen2.c | 136 static struct clk * __init cpg_z_clk_register(struct rcar_gen2_cpg *cpg) in cpg_z_clk_register() argument 153 zclk->reg = cpg->reg + CPG_FRQCRC; in cpg_z_clk_register() 154 zclk->kick_reg = cpg->reg + CPG_FRQCRB; in cpg_z_clk_register() 217 rcar_gen2_cpg_register_clock(struct device_node *np, struct rcar_gen2_cpg *cpg, in rcar_gen2_cpg_register_clock() argument 236 u32 value = clk_readl(cpg->reg + CPG_PLL0CR); in rcar_gen2_cpg_register_clock() 265 return cpg_z_clk_register(cpg); in rcar_gen2_cpg_register_clock() 275 cpg->reg + CPG_SDCKCR, shift, in rcar_gen2_cpg_register_clock() 276 4, 0, table, &cpg->lock); in rcar_gen2_cpg_register_clock() 282 struct rcar_gen2_cpg *cpg; in rcar_gen2_cpg_clocks_init() local 293 cpg = kzalloc(sizeof(*cpg), GFP_KERNEL); in rcar_gen2_cpg_clocks_init() [all …]
|
D | clk-r8a7779.c | 94 r8a7779_cpg_register_clock(struct device_node *np, struct r8a7779_cpg *cpg, in r8a7779_cpg_register_clock() argument 126 struct r8a7779_cpg *cpg; in r8a7779_cpg_clocks_init() local 137 cpg = kzalloc(sizeof(*cpg), GFP_KERNEL); in r8a7779_cpg_clocks_init() 139 if (cpg == NULL || clks == NULL) { in r8a7779_cpg_clocks_init() 146 spin_lock_init(&cpg->lock); in r8a7779_cpg_clocks_init() 148 cpg->data.clks = clks; in r8a7779_cpg_clocks_init() 149 cpg->data.clk_num = num_clks; in r8a7779_cpg_clocks_init() 161 clk = r8a7779_cpg_register_clock(np, cpg, config, in r8a7779_cpg_clocks_init() 167 cpg->data.clks[i] = clk; in r8a7779_cpg_clocks_init() 170 of_clk_add_provider(np, of_clk_src_onecell_get, &cpg->data); in r8a7779_cpg_clocks_init()
|
/drivers/staging/lustre/lustre/llite/ |
D | vvp_page.c | 141 struct ccc_page *cpg = cl2ccc_page(slice); in vvp_page_discard() local 148 if (cpg->cpg_defer_uptodate && !cpg->cpg_ra_used) in vvp_page_discard() 530 struct ccc_page *cpg = cl_object_page_slice(obj, page); in vvp_page_init() local 534 cpg->cpg_page = vmpage; in vvp_page_init() 537 INIT_LIST_HEAD(&cpg->cpg_pending_linkage); in vvp_page_init() 541 cl_page_slice_add(page, &cpg->cpg_cl, obj, in vvp_page_init() 547 cl_page_slice_add(page, &cpg->cpg_cl, obj, in vvp_page_init()
|
D | vvp_dev.c | 402 struct ccc_page *cpg; in vvp_pgcache_page_show() local 406 cpg = cl2ccc_page(cl_page_at(page, &vvp_device_type)); in vvp_pgcache_page_show() 407 vmpage = cpg->cpg_page; in vvp_pgcache_page_show() 410 cpg, page, in vvp_pgcache_page_show() 412 cpg->cpg_write_queued ? "wq" : "- ", in vvp_pgcache_page_show() 413 cpg->cpg_defer_uptodate ? "du" : "- ", in vvp_pgcache_page_show()
|
D | rw26.c | 169 struct vvp_page *cpg; in ll_set_page_dirty() 175 cpg = cl2vvp_page(cl_page_at(page, &vvp_device_type)); in ll_set_page_dirty() 181 vvp_write_pending(obj, cpg); in ll_set_page_dirty()
|
/drivers/sh/clk/ |
D | Makefile | 3 obj-$(CONFIG_SH_CLK_CPG) += cpg.o
|