Searched refs:gpt (Results 1 – 3 of 3) sorted by relevance
37 struct clk_gpt *gpt = to_clk_gpt(hw); in gpt_calc_rate() local38 struct gpt_rate_tbl *rtbl = gpt->rtbl; in gpt_calc_rate()48 struct clk_gpt *gpt = to_clk_gpt(hw); in clk_gpt_round_rate() local52 gpt->rtbl_cnt, &unused); in clk_gpt_round_rate()58 struct clk_gpt *gpt = to_clk_gpt(hw); in clk_gpt_recalc_rate() local62 if (gpt->lock) in clk_gpt_recalc_rate()63 spin_lock_irqsave(gpt->lock, flags); in clk_gpt_recalc_rate()65 val = readl_relaxed(gpt->reg); in clk_gpt_recalc_rate()67 if (gpt->lock) in clk_gpt_recalc_rate()68 spin_unlock_irqrestore(gpt->lock, flags); in clk_gpt_recalc_rate()[all …]
6 obj-y += clk.o clk-aux-synth.o clk-frac-synth.o clk-gpt-synth.o clk-vco-pll.o
288 gpt_header *gpt) in alloc_read_gpt_entries() argument293 if (!gpt) in alloc_read_gpt_entries()296 count = (size_t)le32_to_cpu(gpt->num_partition_entries) * in alloc_read_gpt_entries()297 le32_to_cpu(gpt->sizeof_partition_entry); in alloc_read_gpt_entries()304 if (read_lba(state, le64_to_cpu(gpt->partition_entry_lba), in alloc_read_gpt_entries()325 gpt_header *gpt; in alloc_read_gpt_header() local328 gpt = kmalloc(ssz, GFP_KERNEL); in alloc_read_gpt_header()329 if (!gpt) in alloc_read_gpt_header()332 if (read_lba(state, lba, (u8 *) gpt, ssz) < ssz) { in alloc_read_gpt_header()333 kfree(gpt); in alloc_read_gpt_header()[all …]