Home
last modified time | relevance | path

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

/linux-2.6.39/arch/powerpc/platforms/52xx/
Dmpc52xx_gpt.c140 struct mpc52xx_gpt_priv *gpt = irq_data_get_irq_chip_data(d); in mpc52xx_gpt_irq_unmask() local
143 spin_lock_irqsave(&gpt->lock, flags); in mpc52xx_gpt_irq_unmask()
144 setbits32(&gpt->regs->mode, MPC52xx_GPT_MODE_IRQ_EN); in mpc52xx_gpt_irq_unmask()
145 spin_unlock_irqrestore(&gpt->lock, flags); in mpc52xx_gpt_irq_unmask()
150 struct mpc52xx_gpt_priv *gpt = irq_data_get_irq_chip_data(d); in mpc52xx_gpt_irq_mask() local
153 spin_lock_irqsave(&gpt->lock, flags); in mpc52xx_gpt_irq_mask()
154 clrbits32(&gpt->regs->mode, MPC52xx_GPT_MODE_IRQ_EN); in mpc52xx_gpt_irq_mask()
155 spin_unlock_irqrestore(&gpt->lock, flags); in mpc52xx_gpt_irq_mask()
160 struct mpc52xx_gpt_priv *gpt = irq_data_get_irq_chip_data(d); in mpc52xx_gpt_irq_ack() local
162 out_be32(&gpt->regs->status, MPC52xx_GPT_STATUS_IRQMASK); in mpc52xx_gpt_irq_ack()
[all …]
DKconfig19 gpt nodes, then it is safe to use such gpt to reset the board,
/linux-2.6.39/fs/partitions/
Defi.c229 gpt_header *gpt) in alloc_read_gpt_entries() argument
234 if (!gpt) in alloc_read_gpt_entries()
237 count = le32_to_cpu(gpt->num_partition_entries) * in alloc_read_gpt_entries()
238 le32_to_cpu(gpt->sizeof_partition_entry); in alloc_read_gpt_entries()
245 if (read_lba(state, le64_to_cpu(gpt->partition_entry_lba), in alloc_read_gpt_entries()
267 gpt_header *gpt; in alloc_read_gpt_header() local
270 gpt = kzalloc(ssz, GFP_KERNEL); in alloc_read_gpt_header()
271 if (!gpt) in alloc_read_gpt_header()
274 if (read_lba(state, lba, (u8 *) gpt, ssz) < ssz) { in alloc_read_gpt_header()
275 kfree(gpt); in alloc_read_gpt_header()
[all …]
/linux-2.6.39/arch/powerpc/boot/dts/
Dpcm030.dts27 compatible = "fsl,mpc5200b-gpt-gpio","fsl,mpc5200-gpt-gpio";
33 compatible = "fsl,mpc5200b-gpt-gpio","fsl,mpc5200-gpt-gpio";
39 compatible = "fsl,mpc5200b-gpt-gpio","fsl,mpc5200-gpt-gpio";
45 compatible = "fsl,mpc5200b-gpt-gpio","fsl,mpc5200-gpt-gpio";
51 compatible = "fsl,mpc5200b-gpt-gpio","fsl,mpc5200-gpt-gpio";
57 compatible = "fsl,mpc5200b-gpt-gpio","fsl,mpc5200-gpt-gpio";
Dmpc5200b.dtsi68 compatible = "fsl,mpc5200b-gpt","fsl,mpc5200-gpt";
74 compatible = "fsl,mpc5200b-gpt","fsl,mpc5200-gpt";
80 compatible = "fsl,mpc5200b-gpt","fsl,mpc5200-gpt";
86 compatible = "fsl,mpc5200b-gpt","fsl,mpc5200-gpt";
92 compatible = "fsl,mpc5200b-gpt","fsl,mpc5200-gpt";
98 compatible = "fsl,mpc5200b-gpt","fsl,mpc5200-gpt";
104 compatible = "fsl,mpc5200b-gpt","fsl,mpc5200-gpt";
110 compatible = "fsl,mpc5200b-gpt","fsl,mpc5200-gpt";
Dlite5200.dts67 compatible = "fsl,mpc5200-gpt";
74 compatible = "fsl,mpc5200-gpt";
80 compatible = "fsl,mpc5200-gpt";
86 compatible = "fsl,mpc5200-gpt";
92 compatible = "fsl,mpc5200-gpt";
98 compatible = "fsl,mpc5200-gpt";
104 compatible = "fsl,mpc5200-gpt";
110 compatible = "fsl,mpc5200-gpt";
Duc101.dts37 compatible = "fsl,mpc5200b-gpt","fsl,mpc5200-gpt";
Dpcm032.dts51 compatible = "fsl,mpc5200b-gpt","fsl,mpc5200-gpt";
Dtqm5200.dts67 compatible = "fsl,mpc5200-gpt";
Debony.dts285 GPT0: gpt@40000a00 {
Dtaishan.dts374 GPT0: gpt@40000a00 {
/linux-2.6.39/arch/arm/mach-omap2/
Dtimer-gp.c60 struct omap_dm_timer *gpt = (struct omap_dm_timer *)dev_id; in omap2_gp_timer_interrupt() local
63 omap_dm_timer_write_status(gpt, OMAP_TIMER_INT_OVERFLOW); in omap2_gp_timer_interrupt()
226 static struct omap_dm_timer *gpt; in omap2_gp_clocksource_init() local
233 gpt = omap_dm_timer_request(); in omap2_gp_clocksource_init()
234 if (!gpt) in omap2_gp_clocksource_init()
236 gpt_clocksource = gpt; in omap2_gp_clocksource_init()
238 omap_dm_timer_set_source(gpt, OMAP_TIMER_SRC_SYS_CLK); in omap2_gp_clocksource_init()
239 tick_rate = clk_get_rate(omap_dm_timer_get_fclk(gpt)); in omap2_gp_clocksource_init()
241 omap_dm_timer_set_load_start(gpt, 1, 0); in omap2_gp_clocksource_init()
/linux-2.6.39/drivers/staging/tidspbridge/core/
Ddsp-clock.c159 struct omap_dm_timer *gpt = timer[clk_id - 1]; in dsp_gpt_wait_overflow() local
162 if (!gpt) in dsp_gpt_wait_overflow()
166 omap_dm_timer_set_int_enable(gpt, OMAP_TIMER_INT_OVERFLOW); in dsp_gpt_wait_overflow()
172 omap_dm_timer_set_load_start(gpt, 0, load); in dsp_gpt_wait_overflow()
179 while (!(omap_dm_timer_read_status(gpt) & OMAP_TIMER_INT_OVERFLOW)) { in dsp_gpt_wait_overflow()
/linux-2.6.39/Documentation/devicetree/bindings/powerpc/fsl/
Dmpc5200.txt84 timer@<addr> fsl,mpc5200-gpt General purpose timers
102 fsl,mpc5200-gpt nodes
109 mode has priority over the gpt mode, i.e. if the watchdog is activated, any
110 gpt api call to this timer will fail with -EBUSY.
114 GPT0 will be marked as in-use watchdog, i.e. blocking every gpt access to it.
117 - just mark GPT0 as watchdog, blocking gpt accesses, and configure it later;
123 An mpc5200-gpt can be used as a single line GPIO controller. To do so,
124 add the following properties to the gpt node:
131 An mpc5200-gpt can be used as a single line edge sensitive interrupt
132 controller. To do so, add the following properties to the gpt node:
/linux-2.6.39/arch/powerpc/include/asm/
Dmpc52xx.h283 extern int mpc52xx_gpt_start_timer(struct mpc52xx_gpt_priv *gpt, u64 period,
285 extern u64 mpc52xx_gpt_timer_period(struct mpc52xx_gpt_priv *gpt);
286 extern int mpc52xx_gpt_stop_timer(struct mpc52xx_gpt_priv *gpt);
/linux-2.6.39/Documentation/ide/
DChangeLog.ide-cd.1994-200436 * Richard Hirst <srh@gpt.co.uk> for diagnosing this.
/linux-2.6.39/Documentation/
Dkernel-parameters.txt819 gpt [EFI] Forces disk with valid GPT signature but