Home
last modified time | relevance | path

Searched refs:gpt (Results 1 – 3 of 3) sorted by relevance

/linux-4.19.296/drivers/clk/spear/
Dclk-gpt-synth.c37 struct clk_gpt *gpt = to_clk_gpt(hw); in gpt_calc_rate() local
38 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() local
52 gpt->rtbl_cnt, &unused); in clk_gpt_round_rate()
58 struct clk_gpt *gpt = to_clk_gpt(hw); in clk_gpt_recalc_rate() local
62 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 …]
DMakefile6 obj-y += clk.o clk-aux-synth.o clk-frac-synth.o clk-gpt-synth.o clk-vco-pll.o
/linux-4.19.296/block/partitions/
Defi.c288 gpt_header *gpt) in alloc_read_gpt_entries() argument
293 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() local
328 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 …]