Home
last modified time | relevance | path

Searched refs:dd (Results 1 – 19 of 19) sorted by relevance

/linux-4.19.296/block/
Dmq-deadline.c67 deadline_rb_root(struct deadline_data *dd, struct request *rq) in deadline_rb_root() argument
69 return &dd->sort_list[rq_data_dir(rq)]; in deadline_rb_root()
87 deadline_add_rq_rb(struct deadline_data *dd, struct request *rq) in deadline_add_rq_rb() argument
89 struct rb_root *root = deadline_rb_root(dd, rq); in deadline_add_rq_rb()
95 deadline_del_rq_rb(struct deadline_data *dd, struct request *rq) in deadline_del_rq_rb() argument
99 if (dd->next_rq[data_dir] == rq) in deadline_del_rq_rb()
100 dd->next_rq[data_dir] = deadline_latter_request(rq); in deadline_del_rq_rb()
102 elv_rb_del(deadline_rb_root(dd, rq), rq); in deadline_del_rq_rb()
110 struct deadline_data *dd = q->elevator->elevator_data; in deadline_remove_request() local
118 deadline_del_rq_rb(dd, rq); in deadline_remove_request()
[all …]
Ddeadline-iosched.c54 deadline_rb_root(struct deadline_data *dd, struct request *rq) in deadline_rb_root() argument
56 return &dd->sort_list[rq_data_dir(rq)]; in deadline_rb_root()
74 deadline_add_rq_rb(struct deadline_data *dd, struct request *rq) in deadline_add_rq_rb() argument
76 struct rb_root *root = deadline_rb_root(dd, rq); in deadline_add_rq_rb()
82 deadline_del_rq_rb(struct deadline_data *dd, struct request *rq) in deadline_del_rq_rb() argument
86 if (dd->next_rq[data_dir] == rq) in deadline_del_rq_rb()
87 dd->next_rq[data_dir] = deadline_latter_request(rq); in deadline_del_rq_rb()
89 elv_rb_del(deadline_rb_root(dd, rq), rq); in deadline_del_rq_rb()
98 struct deadline_data *dd = q->elevator->elevator_data; in deadline_add_request() local
107 deadline_add_rq_rb(dd, rq); in deadline_add_request()
[all …]
/linux-4.19.296/drivers/clk/ti/
Ddpll3xxx.c52 const struct dpll_data *dd; in _omap3_dpll_write_clken() local
55 dd = clk->dpll_data; in _omap3_dpll_write_clken()
57 v = ti_clk_ll_ops->clk_readl(&dd->control_reg); in _omap3_dpll_write_clken()
58 v &= ~dd->enable_mask; in _omap3_dpll_write_clken()
59 v |= clken_bits << __ffs(dd->enable_mask); in _omap3_dpll_write_clken()
60 ti_clk_ll_ops->clk_writel(v, &dd->control_reg); in _omap3_dpll_write_clken()
66 const struct dpll_data *dd; in _omap3_wait_dpll_status() local
71 dd = clk->dpll_data; in _omap3_wait_dpll_status()
74 state <<= __ffs(dd->idlest_mask); in _omap3_wait_dpll_status()
76 while (((ti_clk_ll_ops->clk_readl(&dd->idlest_reg) & dd->idlest_mask) in _omap3_wait_dpll_status()
[all …]
Dclkt_dpll.c72 struct dpll_data *dd; in _dpll_test_fint() local
76 dd = clk->dpll_data; in _dpll_test_fint()
81 if (dd->flags & DPLL_J_TYPE) { in _dpll_test_fint()
97 dd->max_divider = n; in _dpll_test_fint()
102 dd->min_divider = n; in _dpll_test_fint()
210 struct dpll_data *dd; in omap2_init_dpll_parent() local
212 dd = clk->dpll_data; in omap2_init_dpll_parent()
213 if (!dd) in omap2_init_dpll_parent()
216 v = ti_clk_ll_ops->clk_readl(&dd->control_reg); in omap2_init_dpll_parent()
217 v &= dd->enable_mask; in omap2_init_dpll_parent()
[all …]
Ddpll44xx.c93 static void omap4_dpll_lpmode_recalc(struct dpll_data *dd) in omap4_dpll_lpmode_recalc() argument
97 fint = clk_hw_get_rate(dd->clk_ref) / (dd->last_rounded_n + 1); in omap4_dpll_lpmode_recalc()
98 fout = fint * dd->last_rounded_m; in omap4_dpll_lpmode_recalc()
101 dd->last_rounded_lpmode = 1; in omap4_dpll_lpmode_recalc()
103 dd->last_rounded_lpmode = 0; in omap4_dpll_lpmode_recalc()
121 struct dpll_data *dd; in omap4_dpll_regm4xen_recalc() local
126 dd = clk->dpll_data; in omap4_dpll_regm4xen_recalc()
131 v = ti_clk_ll_ops->clk_readl(&dd->control_reg); in omap4_dpll_regm4xen_recalc()
155 struct dpll_data *dd; in omap4_dpll_regm4xen_round_rate() local
161 dd = clk->dpll_data; in omap4_dpll_regm4xen_round_rate()
[all …]
Ddpll.c160 struct dpll_data *dd = clk_hw->dpll_data; in _register_dpll() local
173 dd->clk_ref = __clk_get_hw(clk); in _register_dpll()
186 dd->clk_bypass = __clk_get_hw(clk); in _register_dpll()
288 struct dpll_data *dd = NULL; in of_ti_dpll_setup() local
291 dd = kzalloc(sizeof(*dd), GFP_KERNEL); in of_ti_dpll_setup()
294 if (!dd || !clk_hw || !init) in of_ti_dpll_setup()
297 memcpy(dd, ddt, sizeof(*dd)); in of_ti_dpll_setup()
299 clk_hw->dpll_data = dd; in of_ti_dpll_setup()
320 if (ti_clk_get_reg_addr(node, 0, &dd->control_reg)) in of_ti_dpll_setup()
328 if (!dd->idlest_mask) { in of_ti_dpll_setup()
[all …]
/linux-4.19.296/drivers/parport/
Dparport_ax88796.c58 struct ax_drvdata *dd = pp_to_drv(p); in parport_ax88796_read_data() local
60 return readb(dd->spp_data); in parport_ax88796_read_data()
66 struct ax_drvdata *dd = pp_to_drv(p); in parport_ax88796_write_data() local
68 writeb(data, dd->spp_data); in parport_ax88796_write_data()
74 struct ax_drvdata *dd = pp_to_drv(p); in parport_ax88796_read_control() local
75 unsigned int cpr = readb(dd->spp_cpr); in parport_ax88796_read_control()
96 struct ax_drvdata *dd = pp_to_drv(p); in parport_ax88796_write_control() local
97 unsigned int cpr = readb(dd->spp_cpr); in parport_ax88796_write_control()
113 dev_dbg(dd->dev, "write_control: ctrl=%02x, cpr=%02x\n", control, cpr); in parport_ax88796_write_control()
114 writeb(cpr, dd->spp_cpr); in parport_ax88796_write_control()
[all …]
/linux-4.19.296/crypto/
Drmd256.c52 u32 aa, bb, cc, dd, aaa, bbb, ccc, ddd; in rmd256_transform() local
58 dd = state[3]; in rmd256_transform()
67 ROUND(aa, bb, cc, dd, F1, K1, in[0], 11); in rmd256_transform()
68 ROUND(dd, aa, bb, cc, F1, K1, in[1], 14); in rmd256_transform()
69 ROUND(cc, dd, aa, bb, F1, K1, in[2], 15); in rmd256_transform()
70 ROUND(bb, cc, dd, aa, F1, K1, in[3], 12); in rmd256_transform()
71 ROUND(aa, bb, cc, dd, F1, K1, in[4], 5); in rmd256_transform()
72 ROUND(dd, aa, bb, cc, F1, K1, in[5], 8); in rmd256_transform()
73 ROUND(cc, dd, aa, bb, F1, K1, in[6], 7); in rmd256_transform()
74 ROUND(bb, cc, dd, aa, F1, K1, in[7], 9); in rmd256_transform()
[all …]
Drmd128.c52 u32 aa, bb, cc, dd, aaa, bbb, ccc, ddd; in rmd128_transform() local
58 dd = state[3]; in rmd128_transform()
67 ROUND(aa, bb, cc, dd, F1, K1, in[0], 11); in rmd128_transform()
68 ROUND(dd, aa, bb, cc, F1, K1, in[1], 14); in rmd128_transform()
69 ROUND(cc, dd, aa, bb, F1, K1, in[2], 15); in rmd128_transform()
70 ROUND(bb, cc, dd, aa, F1, K1, in[3], 12); in rmd128_transform()
71 ROUND(aa, bb, cc, dd, F1, K1, in[4], 5); in rmd128_transform()
72 ROUND(dd, aa, bb, cc, F1, K1, in[5], 8); in rmd128_transform()
73 ROUND(cc, dd, aa, bb, F1, K1, in[6], 7); in rmd128_transform()
74 ROUND(bb, cc, dd, aa, F1, K1, in[7], 9); in rmd128_transform()
[all …]
Drmd320.c56 u32 aa, bb, cc, dd, ee, aaa, bbb, ccc, ddd, eee; in rmd320_transform() local
62 dd = state[3]; in rmd320_transform()
73 ROUND(aa, bb, cc, dd, ee, F1, K1, in[0], 11); in rmd320_transform()
74 ROUND(ee, aa, bb, cc, dd, F1, K1, in[1], 14); in rmd320_transform()
75 ROUND(dd, ee, aa, bb, cc, F1, K1, in[2], 15); in rmd320_transform()
76 ROUND(cc, dd, ee, aa, bb, F1, K1, in[3], 12); in rmd320_transform()
77 ROUND(bb, cc, dd, ee, aa, F1, K1, in[4], 5); in rmd320_transform()
78 ROUND(aa, bb, cc, dd, ee, F1, K1, in[5], 8); in rmd320_transform()
79 ROUND(ee, aa, bb, cc, dd, F1, K1, in[6], 7); in rmd320_transform()
80 ROUND(dd, ee, aa, bb, cc, F1, K1, in[7], 9); in rmd320_transform()
[all …]
Drmd160.c56 u32 aa, bb, cc, dd, ee, aaa, bbb, ccc, ddd, eee; in rmd160_transform() local
62 dd = state[3]; in rmd160_transform()
73 ROUND(aa, bb, cc, dd, ee, F1, K1, in[0], 11); in rmd160_transform()
74 ROUND(ee, aa, bb, cc, dd, F1, K1, in[1], 14); in rmd160_transform()
75 ROUND(dd, ee, aa, bb, cc, F1, K1, in[2], 15); in rmd160_transform()
76 ROUND(cc, dd, ee, aa, bb, F1, K1, in[3], 12); in rmd160_transform()
77 ROUND(bb, cc, dd, ee, aa, F1, K1, in[4], 5); in rmd160_transform()
78 ROUND(aa, bb, cc, dd, ee, F1, K1, in[5], 8); in rmd160_transform()
79 ROUND(ee, aa, bb, cc, dd, F1, K1, in[6], 7); in rmd160_transform()
80 ROUND(dd, ee, aa, bb, cc, F1, K1, in[7], 9); in rmd160_transform()
[all …]
/linux-4.19.296/drivers/misc/mic/vop/
Dvop_vringh.c43 if (!vdev->dd || !vdev->dd->type) { in vop_vdev_inited()
49 if (vdev->dd->type == -1) { in vop_vdev_inited()
70 struct mic_vqconfig *vqconfig = mic_vq_config(vdev->dd); in vop_virtio_init_post()
74 for (i = 0; i < vdev->dd->num_vq; i++) { in vop_virtio_init_post()
100 __func__, vdev->dd->status, vdev->virtio_id); in vop_virtio_device_reset()
102 for (i = 0; i < vdev->dd->num_vq; i++) in vop_virtio_device_reset()
110 vdev->dd->status = 0; in vop_virtio_device_reset()
114 for (i = 0; i < vdev->dd->num_vq; i++) { in vop_virtio_device_reset()
123 for (i = 0; i < vdev->dd->num_vq; i++) in vop_virtio_device_reset()
175 for (i = 0; i < vdev->dd->num_vq; i++) in vop_virtio_config_change()
[all …]
Dvop_main.h149 struct mic_device_desc *dd; member
163 return !!vdev->dd->status; in vop_vdevup()
/linux-4.19.296/drivers/clk/berlin/
Dbg2q.c338 const struct berlin2_div_data *dd = &bg2q_divs[n]; in berlin2q_clock_setup() local
341 for (k = 0; k < dd->num_parents; k++) in berlin2q_clock_setup()
342 parent_names[k] = clk_names[dd->parent_ids[k]]; in berlin2q_clock_setup()
344 hws[CLKID_SYS + n] = berlin2_div_register(&dd->map, gbase, in berlin2q_clock_setup()
345 dd->name, dd->div_flags, parent_names, in berlin2q_clock_setup()
346 dd->num_parents, dd->flags, &lock); in berlin2q_clock_setup()
Dbg2.c644 const struct berlin2_div_data *dd = &bg2_divs[n]; in berlin2_clock_setup() local
647 for (k = 0; k < dd->num_parents; k++) in berlin2_clock_setup()
648 parent_names[k] = clk_names[dd->parent_ids[k]]; in berlin2_clock_setup()
650 hws[CLKID_SYS + n] = berlin2_div_register(&dd->map, gbase, in berlin2_clock_setup()
651 dd->name, dd->div_flags, parent_names, in berlin2_clock_setup()
652 dd->num_parents, dd->flags, &lock); in berlin2_clock_setup()
/linux-4.19.296/drivers/edac/
Die31200_edac.c347 static void __skl_populate_dimm_info(struct dimm_data *dd, u32 addr_decode, in __skl_populate_dimm_info() argument
350 dd->size = (addr_decode >> (chan << 4)) & IE31200_MAD_DIMM_SIZE; in __skl_populate_dimm_info()
351 dd->dual_rank = (addr_decode & (IE31200_MAD_DIMM_A_RANK_SKL << (chan << 4))) ? 1 : 0; in __skl_populate_dimm_info()
352 dd->x16_width = ((addr_decode & (IE31200_MAD_DIMM_A_WIDTH_SKL << (chan << 4))) >> in __skl_populate_dimm_info()
356 static void __populate_dimm_info(struct dimm_data *dd, u32 addr_decode, in __populate_dimm_info() argument
359 dd->size = (addr_decode >> (chan << 3)) & IE31200_MAD_DIMM_SIZE; in __populate_dimm_info()
360 dd->dual_rank = (addr_decode & (IE31200_MAD_DIMM_A_RANK << chan)) ? 1 : 0; in __populate_dimm_info()
361 dd->x16_width = (addr_decode & (IE31200_MAD_DIMM_A_WIDTH << chan)) ? 1 : 0; in __populate_dimm_info()
364 static void populate_dimm_info(struct dimm_data *dd, u32 addr_decode, int chan, in populate_dimm_info() argument
368 __skl_populate_dimm_info(dd, addr_decode, chan); in populate_dimm_info()
[all …]
/linux-4.19.296/drivers/base/
DMakefile4 obj-y := component.o core.o bus.o dd.o syscore.o \
/linux-4.19.296/fs/hpfs/
Ddnode.c223 struct dnode *dd; in fix_up_ptrs() local
224 if ((dd = hpfs_map_dnode(s, de_down_pointer(de), &qbh))) { in fix_up_ptrs()
225 if (le32_to_cpu(dd->up) != dno || dd->root_dnode) { in fix_up_ptrs()
226 dd->up = cpu_to_le32(dno); in fix_up_ptrs()
227 dd->root_dnode = 0; in fix_up_ptrs()
911 dnode_secno *dd, struct quad_buffer_head *qbh) in map_dirent() argument
928 if (dd) *dd = dno; in map_dirent()
/linux-4.19.296/drivers/irqchip/
Dirq-stm32-exti.c602 stm32_exti_host_data *stm32_exti_host_init(const struct stm32_exti_drv_data *dd, in stm32_exti_host_init() argument
611 host_data->drv_data = dd; in stm32_exti_host_init()
612 host_data->chips_data = kcalloc(dd->bank_nr, in stm32_exti_host_init()