Lines Matching refs:am
418 struct clk_apb_mul *am = to_clk_apb_mul(hw); in clk_apb_mul_recalc_rate() local
420 if (readl(base + STM32F4_RCC_CFGR) & BIT(am->bit_idx)) in clk_apb_mul_recalc_rate()
429 struct clk_apb_mul *am = to_clk_apb_mul(hw); in clk_apb_mul_round_rate() local
432 if (readl(base + STM32F4_RCC_CFGR) & BIT(am->bit_idx)) in clk_apb_mul_round_rate()
466 struct clk_apb_mul *am; in clk_register_apb_mul() local
470 am = kzalloc(sizeof(*am), GFP_KERNEL); in clk_register_apb_mul()
471 if (!am) in clk_register_apb_mul()
474 am->bit_idx = bit_idx; in clk_register_apb_mul()
475 am->hw.init = &init; in clk_register_apb_mul()
483 clk = clk_register(dev, &am->hw); in clk_register_apb_mul()
486 kfree(am); in clk_register_apb_mul()