Home
last modified time | relevance | path

Searched refs:md (Results 1 – 25 of 37) sorted by relevance

12

/linux-4.19.296/drivers/clk/qcom/
Dclk-regmap-mux-div.c23 int mux_div_set_src_div(struct clk_regmap_mux_div *md, u32 src, u32 div) in mux_div_set_src_div() argument
27 const char *name = clk_hw_get_name(&md->clkr.hw); in mux_div_set_src_div()
29 val = (div << md->hid_shift) | (src << md->src_shift); in mux_div_set_src_div()
30 mask = ((BIT(md->hid_width) - 1) << md->hid_shift) | in mux_div_set_src_div()
31 ((BIT(md->src_width) - 1) << md->src_shift); in mux_div_set_src_div()
33 ret = regmap_update_bits(md->clkr.regmap, CFG_RCGR + md->reg_offset, in mux_div_set_src_div()
38 ret = regmap_update_bits(md->clkr.regmap, CMD_RCGR + md->reg_offset, in mux_div_set_src_div()
45 ret = regmap_read(md->clkr.regmap, CMD_RCGR + md->reg_offset, in mux_div_set_src_div()
59 static void mux_div_get_src_div(struct clk_regmap_mux_div *md, u32 *src, in mux_div_get_src_div() argument
63 const char *name = clk_hw_get_name(&md->clkr.hw); in mux_div_get_src_div()
[all …]
Dclk-rcg.c114 static u32 md_to_m(struct mn *mn, u32 md) in md_to_m() argument
116 md >>= mn->m_val_shift; in md_to_m()
117 md &= BIT(mn->width) - 1; in md_to_m()
118 return md; in md_to_m()
140 static u32 mn_to_md(struct mn *mn, u32 m, u32 n, u32 md) in mn_to_md() argument
146 md &= ~mask; in mn_to_md()
150 md |= m; in mn_to_md()
151 md |= ~n & mask_w; in mn_to_md()
154 return md; in mn_to_md()
208 u32 ns, md, reg; in configure_bank() local
[all …]
Dapcs-msm8916.c35 struct clk_regmap_mux_div *md = container_of(nb, in a53cc_notifier_cb() local
40 ret = mux_div_set_src_div(md, 4, 3); in a53cc_notifier_cb()
/linux-4.19.296/include/linux/
Ddevice-mapper.h390 int dm_create(int minor, struct mapped_device **md);
396 void dm_get(struct mapped_device *md);
397 int dm_hold(struct mapped_device *md);
398 void dm_put(struct mapped_device *md);
403 void dm_set_mdptr(struct mapped_device *md, void *ptr);
404 void *dm_get_mdptr(struct mapped_device *md);
409 int dm_suspend(struct mapped_device *md, unsigned suspend_flags);
410 int dm_resume(struct mapped_device *md);
415 uint32_t dm_get_event_nr(struct mapped_device *md);
416 int dm_wait_event(struct mapped_device *md, int event_nr);
[all …]
Defi.h1029 extern int __init efi_memmap_split_count(efi_memory_desc_t *md,
1047 extern u64 efi_mem_desc_end(efi_memory_desc_t *md);
1101 #define for_each_efi_memory_desc_in_map(m, md) \ argument
1102 for ((md) = (m)->map; \
1103 (md) && ((void *)(md) + (m)->desc_size) <= (m)->map_end; \
1104 (md) = (void *)(md) + (m)->desc_size)
1112 #define for_each_efi_memory_desc(md) \ argument
1113 for_each_efi_memory_desc_in_map(&efi.memmap, md)
1120 const efi_memory_desc_t *md);
/linux-4.19.296/fs/proc/
Dtask_mmu.c1616 struct numa_maps md; member
1619 static void gather_stats(struct page *page, struct numa_maps *md, int pte_dirty, in gather_stats() argument
1624 md->pages += nr_pages; in gather_stats()
1626 md->dirty += nr_pages; in gather_stats()
1629 md->swapcache += nr_pages; in gather_stats()
1632 md->active += nr_pages; in gather_stats()
1635 md->writeback += nr_pages; in gather_stats()
1638 md->anon += nr_pages; in gather_stats()
1640 if (count > md->mapcount_max) in gather_stats()
1641 md->mapcount_max = count; in gather_stats()
[all …]
/linux-4.19.296/drivers/s390/char/
Dtape_3590.c989 sense->fmt.f70.md); in tape_3590_print_mim_msg_f0()
1000 "procedure %i", sense->fmt.f70.md); in tape_3590_print_mim_msg_f0()
1043 "interface 0x%02x", sense->fmt.f71.md[0]); in tape_3590_print_io_sim_msg_f1()
1047 "0x%02x", sense->fmt.f71.md[0]); in tape_3590_print_io_sim_msg_f1()
1051 "0x%02x", sense->fmt.f71.md[0]); in tape_3590_print_io_sim_msg_f1()
1055 sense->fmt.f71.md[0]); in tape_3590_print_io_sim_msg_f1()
1059 "0x%02x", sense->fmt.f71.md[0]); in tape_3590_print_io_sim_msg_f1()
1077 "0x%x on CU", sense->fmt.f71.md[1]); in tape_3590_print_io_sim_msg_f1()
1080 "nodes (0x%x-0x%x) on CU", sense->fmt.f71.md[1], in tape_3590_print_io_sim_msg_f1()
1081 sense->fmt.f71.md[2]); in tape_3590_print_io_sim_msg_f1()
[all …]
Dtape_3590.h97 unsigned int md:8; member
110 unsigned char md[3]; member
/linux-4.19.296/drivers/clk/davinci/
Dpsc.c82 u32 md; member
114 regmap_write_bits(lpsc->regmap, MDCTL(lpsc->md), MDSTAT_STATE_MASK, in davinci_lpsc_config()
118 regmap_write_bits(lpsc->regmap, MDCTL(lpsc->md), MDCTL_FORCE, in davinci_lpsc_config()
140 regmap_read_poll_timeout(lpsc->regmap, MDSTAT(lpsc->md), mdstat, in davinci_lpsc_config()
166 regmap_read(lpsc->regmap, MDSTAT(lpsc->md), &mdstat); in davinci_lpsc_clk_is_enabled()
236 u32 md, u32 pd, u32 flags) in davinci_lpsc_clk_register() argument
262 lpsc->md = md; in davinci_lpsc_clk_register()
301 regmap_write_bits(lpsc->regmap, MDCTL(lpsc->md), MDCTL_LRESET, mdctl); in davinci_lpsc_clk_reset()
368 return lpsc->md; in davinci_psc_reset_of_xlate()
428 regmap, info->md, info->pd, in __davinci_psc_register_clocks()
[all …]
Dpsc.h64 u32 md; member
74 .md = (m), \
/linux-4.19.296/block/partitions/
Dmac.c42 struct mac_driver_desc *md; in mac_partition() local
45 md = read_part_sector(state, 0, &sect); in mac_partition()
46 if (!md) in mac_partition()
48 if (be16_to_cpu(md->signature) != MAC_DRIVER_MAGIC) { in mac_partition()
52 secsize = be16_to_cpu(md->block_size); in mac_partition()
/linux-4.19.296/drivers/clk/renesas/
Dclk-r8a7779.c56 #define CPG_CLK_CONFIG_INDEX(md) (((md) & (BIT(2)|BIT(1))) >> 1) argument
84 #define CPG_PLLA_MULT_INDEX(md) (((md) & (BIT(12)|BIT(11))) >> 11) argument
Dr8a77970-cpg-mssr.c150 #define CPG_PLL_CONFIG_INDEX(md) ((((md) & BIT(14)) >> 12) | \ argument
151 (((md) & BIT(13)) >> 12) | \
152 (((md) & BIT(19)) >> 19))
Dr8a7792-cpg-mssr.c182 #define CPG_PLL_CONFIG_INDEX(md) ((((md) & BIT(14)) >> 12) | \ argument
183 (((md) & BIT(13)) >> 12) | \
184 (((md) & BIT(19)) >> 19))
Dr8a77965-cpg-mssr.c275 #define CPG_PLL_CONFIG_INDEX(md) ((((md) & BIT(14)) >> 11) | \ argument
276 (((md) & BIT(13)) >> 11) | \
277 (((md) & BIT(19)) >> 18) | \
278 (((md) & BIT(17)) >> 17))
Dr8a7796-cpg-mssr.c278 #define CPG_PLL_CONFIG_INDEX(md) ((((md) & BIT(14)) >> 11) | \ argument
279 (((md) & BIT(13)) >> 11) | \
280 (((md) & BIT(19)) >> 18) | \
281 (((md) & BIT(17)) >> 17))
Dr8a7743-cpg-mssr.c222 #define CPG_PLL_CONFIG_INDEX(md) ((((md) & BIT(14)) >> 12) | \ argument
223 (((md) & BIT(13)) >> 12) | \
224 (((md) & BIT(19)) >> 19))
Dr8a7791-cpg-mssr.c236 #define CPG_PLL_CONFIG_INDEX(md) ((((md) & BIT(14)) >> 12) | \ argument
237 (((md) & BIT(13)) >> 12) | \
238 (((md) & BIT(19)) >> 19))
Dr8a7790-cpg-mssr.c238 #define CPG_PLL_CONFIG_INDEX(md) ((((md) & BIT(14)) >> 12) | \ argument
239 (((md) & BIT(13)) >> 12) | \
240 (((md) & BIT(19)) >> 19))
Dr8a77980-cpg-mssr.c182 #define CPG_PLL_CONFIG_INDEX(md) ((((md) & BIT(14)) >> 13) | \ argument
183 (((md) & BIT(13)) >> 13))
Dr8a77470-cpg-mssr.c184 #define CPG_PLL_CONFIG_INDEX(md) ((((md) & BIT(14)) >> 13) | \ argument
185 (((md) & BIT(13)) >> 13))
Dr8a7795-cpg-mssr.c306 #define CPG_PLL_CONFIG_INDEX(md) ((((md) & BIT(14)) >> 11) | \ argument
307 (((md) & BIT(13)) >> 11) | \
308 (((md) & BIT(19)) >> 18) | \
309 (((md) & BIT(17)) >> 17))
Dr8a7745-cpg-mssr.c204 #define CPG_PLL_CONFIG_INDEX(md) ((((md) & BIT(14)) >> 13) | \ argument
205 (((md) & BIT(13)) >> 13))
Dr8a7794-cpg-mssr.c214 #define CPG_PLL_CONFIG_INDEX(md) ((((md) & BIT(14)) >> 13) | \ argument
215 (((md) & BIT(13)) >> 13))
Dclk-rcar-gen2.c267 #define CPG_PLL_CONFIG_INDEX(md) ((((md) & BIT(14)) >> 12) | \ argument
268 (((md) & BIT(13)) >> 12) | \
269 (((md) & BIT(19)) >> 19))

12