gpt               283 arch/powerpc/include/asm/mpc52xx.h extern int mpc52xx_gpt_start_timer(struct mpc52xx_gpt_priv *gpt, u64 period,
gpt               285 arch/powerpc/include/asm/mpc52xx.h extern u64 mpc52xx_gpt_timer_period(struct mpc52xx_gpt_priv *gpt);
gpt               286 arch/powerpc/include/asm/mpc52xx.h extern int mpc52xx_gpt_stop_timer(struct mpc52xx_gpt_priv *gpt);
gpt               137 arch/powerpc/platforms/52xx/mpc52xx_gpt.c 	struct mpc52xx_gpt_priv *gpt = irq_data_get_irq_chip_data(d);
gpt               140 arch/powerpc/platforms/52xx/mpc52xx_gpt.c 	raw_spin_lock_irqsave(&gpt->lock, flags);
gpt               141 arch/powerpc/platforms/52xx/mpc52xx_gpt.c 	setbits32(&gpt->regs->mode, MPC52xx_GPT_MODE_IRQ_EN);
gpt               142 arch/powerpc/platforms/52xx/mpc52xx_gpt.c 	raw_spin_unlock_irqrestore(&gpt->lock, flags);
gpt               147 arch/powerpc/platforms/52xx/mpc52xx_gpt.c 	struct mpc52xx_gpt_priv *gpt = irq_data_get_irq_chip_data(d);
gpt               150 arch/powerpc/platforms/52xx/mpc52xx_gpt.c 	raw_spin_lock_irqsave(&gpt->lock, flags);
gpt               151 arch/powerpc/platforms/52xx/mpc52xx_gpt.c 	clrbits32(&gpt->regs->mode, MPC52xx_GPT_MODE_IRQ_EN);
gpt               152 arch/powerpc/platforms/52xx/mpc52xx_gpt.c 	raw_spin_unlock_irqrestore(&gpt->lock, flags);
gpt               157 arch/powerpc/platforms/52xx/mpc52xx_gpt.c 	struct mpc52xx_gpt_priv *gpt = irq_data_get_irq_chip_data(d);
gpt               159 arch/powerpc/platforms/52xx/mpc52xx_gpt.c 	out_be32(&gpt->regs->status, MPC52xx_GPT_STATUS_IRQMASK);
gpt               164 arch/powerpc/platforms/52xx/mpc52xx_gpt.c 	struct mpc52xx_gpt_priv *gpt = irq_data_get_irq_chip_data(d);
gpt               168 arch/powerpc/platforms/52xx/mpc52xx_gpt.c 	dev_dbg(gpt->dev, "%s: virq=%i type=%x\n", __func__, d->irq, flow_type);
gpt               170 arch/powerpc/platforms/52xx/mpc52xx_gpt.c 	raw_spin_lock_irqsave(&gpt->lock, flags);
gpt               171 arch/powerpc/platforms/52xx/mpc52xx_gpt.c 	reg = in_be32(&gpt->regs->mode) & ~MPC52xx_GPT_MODE_ICT_MASK;
gpt               176 arch/powerpc/platforms/52xx/mpc52xx_gpt.c 	out_be32(&gpt->regs->mode, reg);
gpt               177 arch/powerpc/platforms/52xx/mpc52xx_gpt.c 	raw_spin_unlock_irqrestore(&gpt->lock, flags);
gpt               192 arch/powerpc/platforms/52xx/mpc52xx_gpt.c 	struct mpc52xx_gpt_priv *gpt = irq_desc_get_handler_data(desc);
gpt               196 arch/powerpc/platforms/52xx/mpc52xx_gpt.c 	status = in_be32(&gpt->regs->status) & MPC52xx_GPT_STATUS_IRQMASK;
gpt               198 arch/powerpc/platforms/52xx/mpc52xx_gpt.c 		sub_virq = irq_linear_revmap(gpt->irqhost, 0);
gpt               206 arch/powerpc/platforms/52xx/mpc52xx_gpt.c 	struct mpc52xx_gpt_priv *gpt = h->host_data;
gpt               208 arch/powerpc/platforms/52xx/mpc52xx_gpt.c 	dev_dbg(gpt->dev, "%s: h=%p, virq=%i\n", __func__, h, virq);
gpt               209 arch/powerpc/platforms/52xx/mpc52xx_gpt.c 	irq_set_chip_data(virq, gpt);
gpt               220 arch/powerpc/platforms/52xx/mpc52xx_gpt.c 	struct mpc52xx_gpt_priv *gpt = h->host_data;
gpt               222 arch/powerpc/platforms/52xx/mpc52xx_gpt.c 	dev_dbg(gpt->dev, "%s: flags=%i\n", __func__, intspec[0]);
gpt               225 arch/powerpc/platforms/52xx/mpc52xx_gpt.c 		dev_err(gpt->dev, "bad irq specifier in %pOF\n", ct);
gpt               241 arch/powerpc/platforms/52xx/mpc52xx_gpt.c mpc52xx_gpt_irq_setup(struct mpc52xx_gpt_priv *gpt, struct device_node *node)
gpt               251 arch/powerpc/platforms/52xx/mpc52xx_gpt.c 	gpt->irqhost = irq_domain_add_linear(node, 1, &mpc52xx_gpt_irq_ops, gpt);
gpt               252 arch/powerpc/platforms/52xx/mpc52xx_gpt.c 	if (!gpt->irqhost) {
gpt               253 arch/powerpc/platforms/52xx/mpc52xx_gpt.c 		dev_err(gpt->dev, "irq_domain_add_linear() failed\n");
gpt               257 arch/powerpc/platforms/52xx/mpc52xx_gpt.c 	irq_set_handler_data(cascade_virq, gpt);
gpt               263 arch/powerpc/platforms/52xx/mpc52xx_gpt.c 	raw_spin_lock_irqsave(&gpt->lock, flags);
gpt               264 arch/powerpc/platforms/52xx/mpc52xx_gpt.c 	mode = in_be32(&gpt->regs->mode);
gpt               266 arch/powerpc/platforms/52xx/mpc52xx_gpt.c 		out_be32(&gpt->regs->mode, mode | MPC52xx_GPT_MODE_MS_IC);
gpt               267 arch/powerpc/platforms/52xx/mpc52xx_gpt.c 	raw_spin_unlock_irqrestore(&gpt->lock, flags);
gpt               269 arch/powerpc/platforms/52xx/mpc52xx_gpt.c 	dev_dbg(gpt->dev, "%s() complete. virq=%i\n", __func__, cascade_virq);
gpt               279 arch/powerpc/platforms/52xx/mpc52xx_gpt.c 	struct mpc52xx_gpt_priv *gpt = gpiochip_get_data(gc);
gpt               281 arch/powerpc/platforms/52xx/mpc52xx_gpt.c 	return (in_be32(&gpt->regs->status) >> 8) & 1;
gpt               287 arch/powerpc/platforms/52xx/mpc52xx_gpt.c 	struct mpc52xx_gpt_priv *gpt = gpiochip_get_data(gc);
gpt               291 arch/powerpc/platforms/52xx/mpc52xx_gpt.c 	dev_dbg(gpt->dev, "%s: gpio:%d v:%d\n", __func__, gpio, v);
gpt               294 arch/powerpc/platforms/52xx/mpc52xx_gpt.c 	raw_spin_lock_irqsave(&gpt->lock, flags);
gpt               295 arch/powerpc/platforms/52xx/mpc52xx_gpt.c 	clrsetbits_be32(&gpt->regs->mode, MPC52xx_GPT_MODE_GPIO_MASK, r);
gpt               296 arch/powerpc/platforms/52xx/mpc52xx_gpt.c 	raw_spin_unlock_irqrestore(&gpt->lock, flags);
gpt               301 arch/powerpc/platforms/52xx/mpc52xx_gpt.c 	struct mpc52xx_gpt_priv *gpt = gpiochip_get_data(gc);
gpt               304 arch/powerpc/platforms/52xx/mpc52xx_gpt.c 	dev_dbg(gpt->dev, "%s: gpio:%d\n", __func__, gpio);
gpt               306 arch/powerpc/platforms/52xx/mpc52xx_gpt.c 	raw_spin_lock_irqsave(&gpt->lock, flags);
gpt               307 arch/powerpc/platforms/52xx/mpc52xx_gpt.c 	clrbits32(&gpt->regs->mode, MPC52xx_GPT_MODE_GPIO_MASK);
gpt               308 arch/powerpc/platforms/52xx/mpc52xx_gpt.c 	raw_spin_unlock_irqrestore(&gpt->lock, flags);
gpt               321 arch/powerpc/platforms/52xx/mpc52xx_gpt.c mpc52xx_gpt_gpio_setup(struct mpc52xx_gpt_priv *gpt, struct device_node *node)
gpt               330 arch/powerpc/platforms/52xx/mpc52xx_gpt.c 	gpt->gc.label = kasprintf(GFP_KERNEL, "%pOF", node);
gpt               331 arch/powerpc/platforms/52xx/mpc52xx_gpt.c 	if (!gpt->gc.label) {
gpt               332 arch/powerpc/platforms/52xx/mpc52xx_gpt.c 		dev_err(gpt->dev, "out of memory\n");
gpt               336 arch/powerpc/platforms/52xx/mpc52xx_gpt.c 	gpt->gc.ngpio = 1;
gpt               337 arch/powerpc/platforms/52xx/mpc52xx_gpt.c 	gpt->gc.direction_input  = mpc52xx_gpt_gpio_dir_in;
gpt               338 arch/powerpc/platforms/52xx/mpc52xx_gpt.c 	gpt->gc.direction_output = mpc52xx_gpt_gpio_dir_out;
gpt               339 arch/powerpc/platforms/52xx/mpc52xx_gpt.c 	gpt->gc.get = mpc52xx_gpt_gpio_get;
gpt               340 arch/powerpc/platforms/52xx/mpc52xx_gpt.c 	gpt->gc.set = mpc52xx_gpt_gpio_set;
gpt               341 arch/powerpc/platforms/52xx/mpc52xx_gpt.c 	gpt->gc.base = -1;
gpt               342 arch/powerpc/platforms/52xx/mpc52xx_gpt.c 	gpt->gc.of_node = node;
gpt               345 arch/powerpc/platforms/52xx/mpc52xx_gpt.c 	clrsetbits_be32(&gpt->regs->mode, MPC52xx_GPT_MODE_MS_MASK,
gpt               348 arch/powerpc/platforms/52xx/mpc52xx_gpt.c 	rc = gpiochip_add_data(&gpt->gc, gpt);
gpt               350 arch/powerpc/platforms/52xx/mpc52xx_gpt.c 		dev_err(gpt->dev, "gpiochip_add_data() failed; rc=%i\n", rc);
gpt               352 arch/powerpc/platforms/52xx/mpc52xx_gpt.c 	dev_dbg(gpt->dev, "%s() complete.\n", __func__);
gpt               369 arch/powerpc/platforms/52xx/mpc52xx_gpt.c 	struct mpc52xx_gpt_priv *gpt;
gpt               375 arch/powerpc/platforms/52xx/mpc52xx_gpt.c 		gpt = container_of(pos, struct mpc52xx_gpt_priv, list);
gpt               376 arch/powerpc/platforms/52xx/mpc52xx_gpt.c 		if (gpt->irqhost && irq == irq_linear_revmap(gpt->irqhost, 0)) {
gpt               378 arch/powerpc/platforms/52xx/mpc52xx_gpt.c 			return gpt;
gpt               387 arch/powerpc/platforms/52xx/mpc52xx_gpt.c static int mpc52xx_gpt_do_start(struct mpc52xx_gpt_priv *gpt, u64 period,
gpt               407 arch/powerpc/platforms/52xx/mpc52xx_gpt.c 	clocks = period * (u64)gpt->ipb_freq;
gpt               435 arch/powerpc/platforms/52xx/mpc52xx_gpt.c 	raw_spin_lock_irqsave(&gpt->lock, flags);
gpt               437 arch/powerpc/platforms/52xx/mpc52xx_gpt.c 		gpt->wdt_mode |= MPC52xx_GPT_IS_WDT;
gpt               438 arch/powerpc/platforms/52xx/mpc52xx_gpt.c 	else if ((gpt->wdt_mode & MPC52xx_GPT_IS_WDT) != 0) {
gpt               439 arch/powerpc/platforms/52xx/mpc52xx_gpt.c 		raw_spin_unlock_irqrestore(&gpt->lock, flags);
gpt               442 arch/powerpc/platforms/52xx/mpc52xx_gpt.c 	out_be32(&gpt->regs->count, prescale << 16 | clocks);
gpt               443 arch/powerpc/platforms/52xx/mpc52xx_gpt.c 	clrsetbits_be32(&gpt->regs->mode, clear, set);
gpt               444 arch/powerpc/platforms/52xx/mpc52xx_gpt.c 	raw_spin_unlock_irqrestore(&gpt->lock, flags);
gpt               457 arch/powerpc/platforms/52xx/mpc52xx_gpt.c int mpc52xx_gpt_start_timer(struct mpc52xx_gpt_priv *gpt, u64 period,
gpt               460 arch/powerpc/platforms/52xx/mpc52xx_gpt.c 	return mpc52xx_gpt_do_start(gpt, period, continuous, 0);
gpt               470 arch/powerpc/platforms/52xx/mpc52xx_gpt.c int mpc52xx_gpt_stop_timer(struct mpc52xx_gpt_priv *gpt)
gpt               475 arch/powerpc/platforms/52xx/mpc52xx_gpt.c 	raw_spin_lock_irqsave(&gpt->lock, flags);
gpt               476 arch/powerpc/platforms/52xx/mpc52xx_gpt.c 	if ((gpt->wdt_mode & MPC52xx_GPT_IS_WDT) != 0) {
gpt               477 arch/powerpc/platforms/52xx/mpc52xx_gpt.c 		raw_spin_unlock_irqrestore(&gpt->lock, flags);
gpt               481 arch/powerpc/platforms/52xx/mpc52xx_gpt.c 	clrbits32(&gpt->regs->mode, MPC52xx_GPT_MODE_COUNTER_ENABLE);
gpt               482 arch/powerpc/platforms/52xx/mpc52xx_gpt.c 	raw_spin_unlock_irqrestore(&gpt->lock, flags);
gpt               493 arch/powerpc/platforms/52xx/mpc52xx_gpt.c u64 mpc52xx_gpt_timer_period(struct mpc52xx_gpt_priv *gpt)
gpt               499 arch/powerpc/platforms/52xx/mpc52xx_gpt.c 	raw_spin_lock_irqsave(&gpt->lock, flags);
gpt               500 arch/powerpc/platforms/52xx/mpc52xx_gpt.c 	period = in_be32(&gpt->regs->count);
gpt               501 arch/powerpc/platforms/52xx/mpc52xx_gpt.c 	raw_spin_unlock_irqrestore(&gpt->lock, flags);
gpt               508 arch/powerpc/platforms/52xx/mpc52xx_gpt.c 	do_div(period, (u64)gpt->ipb_freq);
gpt               676 arch/powerpc/platforms/52xx/mpc52xx_gpt.c static int mpc52xx_gpt_wdt_setup(struct mpc52xx_gpt_priv *gpt,
gpt               682 arch/powerpc/platforms/52xx/mpc52xx_gpt.c 	mpc52xx_gpt_wdt = gpt;
gpt               689 arch/powerpc/platforms/52xx/mpc52xx_gpt.c 	if (mpc52xx_gpt_do_start(gpt, real_timeout, 0, 1))
gpt               690 arch/powerpc/platforms/52xx/mpc52xx_gpt.c 		dev_warn(gpt->dev, "starting as wdt failed\n");
gpt               692 arch/powerpc/platforms/52xx/mpc52xx_gpt.c 		dev_info(gpt->dev, "watchdog set to %us timeout\n", *period);
gpt               703 arch/powerpc/platforms/52xx/mpc52xx_gpt.c static inline int mpc52xx_gpt_wdt_setup(struct mpc52xx_gpt_priv *gpt,
gpt               716 arch/powerpc/platforms/52xx/mpc52xx_gpt.c 	struct mpc52xx_gpt_priv *gpt;
gpt               718 arch/powerpc/platforms/52xx/mpc52xx_gpt.c 	gpt = devm_kzalloc(&ofdev->dev, sizeof *gpt, GFP_KERNEL);
gpt               719 arch/powerpc/platforms/52xx/mpc52xx_gpt.c 	if (!gpt)
gpt               722 arch/powerpc/platforms/52xx/mpc52xx_gpt.c 	raw_spin_lock_init(&gpt->lock);
gpt               723 arch/powerpc/platforms/52xx/mpc52xx_gpt.c 	gpt->dev = &ofdev->dev;
gpt               724 arch/powerpc/platforms/52xx/mpc52xx_gpt.c 	gpt->ipb_freq = mpc5xxx_get_bus_frequency(ofdev->dev.of_node);
gpt               725 arch/powerpc/platforms/52xx/mpc52xx_gpt.c 	gpt->regs = of_iomap(ofdev->dev.of_node, 0);
gpt               726 arch/powerpc/platforms/52xx/mpc52xx_gpt.c 	if (!gpt->regs)
gpt               729 arch/powerpc/platforms/52xx/mpc52xx_gpt.c 	dev_set_drvdata(&ofdev->dev, gpt);
gpt               731 arch/powerpc/platforms/52xx/mpc52xx_gpt.c 	mpc52xx_gpt_gpio_setup(gpt, ofdev->dev.of_node);
gpt               732 arch/powerpc/platforms/52xx/mpc52xx_gpt.c 	mpc52xx_gpt_irq_setup(gpt, ofdev->dev.of_node);
gpt               735 arch/powerpc/platforms/52xx/mpc52xx_gpt.c 	list_add(&gpt->list, &mpc52xx_gpt_list);
gpt               743 arch/powerpc/platforms/52xx/mpc52xx_gpt.c 		gpt->wdt_mode = MPC52xx_GPT_CAN_WDT;
gpt               747 arch/powerpc/platforms/52xx/mpc52xx_gpt.c 			dev_info(gpt->dev, "used as watchdog\n");
gpt               748 arch/powerpc/platforms/52xx/mpc52xx_gpt.c 			gpt->wdt_mode |= MPC52xx_GPT_IS_WDT;
gpt               750 arch/powerpc/platforms/52xx/mpc52xx_gpt.c 			dev_info(gpt->dev, "can function as watchdog\n");
gpt               751 arch/powerpc/platforms/52xx/mpc52xx_gpt.c 		mpc52xx_gpt_wdt_setup(gpt, on_boot_wdt);
gpt               274 block/partitions/efi.c 					 gpt_header *gpt)
gpt               279 block/partitions/efi.c 	if (!gpt)
gpt               282 block/partitions/efi.c 	count = (size_t)le32_to_cpu(gpt->num_partition_entries) *
gpt               283 block/partitions/efi.c                 le32_to_cpu(gpt->sizeof_partition_entry);
gpt               290 block/partitions/efi.c 	if (read_lba(state, le64_to_cpu(gpt->partition_entry_lba),
gpt               311 block/partitions/efi.c 	gpt_header *gpt;
gpt               314 block/partitions/efi.c 	gpt = kmalloc(ssz, GFP_KERNEL);
gpt               315 block/partitions/efi.c 	if (!gpt)
gpt               318 block/partitions/efi.c 	if (read_lba(state, lba, (u8 *) gpt, ssz) < ssz) {
gpt               319 block/partitions/efi.c 		kfree(gpt);
gpt               320 block/partitions/efi.c                 gpt=NULL;
gpt               324 block/partitions/efi.c 	return gpt;
gpt               338 block/partitions/efi.c 			gpt_header **gpt, gpt_entry **ptes)
gpt               345 block/partitions/efi.c 	if (!(*gpt = alloc_read_gpt_header(state, lba)))
gpt               349 block/partitions/efi.c 	if (le64_to_cpu((*gpt)->signature) != GPT_HEADER_SIGNATURE) {
gpt               352 block/partitions/efi.c 			 (unsigned long long)le64_to_cpu((*gpt)->signature),
gpt               358 block/partitions/efi.c 	if (le32_to_cpu((*gpt)->header_size) >
gpt               361 block/partitions/efi.c 			le32_to_cpu((*gpt)->header_size),
gpt               367 block/partitions/efi.c 	if (le32_to_cpu((*gpt)->header_size) < sizeof(gpt_header)) {
gpt               369 block/partitions/efi.c 			le32_to_cpu((*gpt)->header_size),
gpt               375 block/partitions/efi.c 	origcrc = le32_to_cpu((*gpt)->header_crc32);
gpt               376 block/partitions/efi.c 	(*gpt)->header_crc32 = 0;
gpt               377 block/partitions/efi.c 	crc = efi_crc32((const unsigned char *) (*gpt), le32_to_cpu((*gpt)->header_size));
gpt               384 block/partitions/efi.c 	(*gpt)->header_crc32 = cpu_to_le32(origcrc);
gpt               388 block/partitions/efi.c 	if (le64_to_cpu((*gpt)->my_lba) != lba) {
gpt               390 block/partitions/efi.c 			 (unsigned long long)le64_to_cpu((*gpt)->my_lba),
gpt               399 block/partitions/efi.c 	if (le64_to_cpu((*gpt)->first_usable_lba) > lastlba) {
gpt               401 block/partitions/efi.c 			 (unsigned long long)le64_to_cpu((*gpt)->first_usable_lba),
gpt               405 block/partitions/efi.c 	if (le64_to_cpu((*gpt)->last_usable_lba) > lastlba) {
gpt               407 block/partitions/efi.c 			 (unsigned long long)le64_to_cpu((*gpt)->last_usable_lba),
gpt               411 block/partitions/efi.c 	if (le64_to_cpu((*gpt)->last_usable_lba) < le64_to_cpu((*gpt)->first_usable_lba)) {
gpt               413 block/partitions/efi.c 			 (unsigned long long)le64_to_cpu((*gpt)->last_usable_lba),
gpt               414 block/partitions/efi.c 			 (unsigned long long)le64_to_cpu((*gpt)->first_usable_lba));
gpt               418 block/partitions/efi.c 	if (le32_to_cpu((*gpt)->sizeof_partition_entry) != sizeof(gpt_entry)) {
gpt               424 block/partitions/efi.c 	pt_size = (u64)le32_to_cpu((*gpt)->num_partition_entries) *
gpt               425 block/partitions/efi.c 		le32_to_cpu((*gpt)->sizeof_partition_entry);
gpt               432 block/partitions/efi.c 	if (!(*ptes = alloc_read_gpt_entries(state, *gpt)))
gpt               438 block/partitions/efi.c 	if (crc != le32_to_cpu((*gpt)->partition_entry_array_crc32)) {
gpt               450 block/partitions/efi.c 	kfree(*gpt);
gpt               451 block/partitions/efi.c 	*gpt = NULL;
gpt               583 block/partitions/efi.c static int find_valid_gpt(struct parsed_partitions *state, gpt_header **gpt,
gpt               632 block/partitions/efi.c                 *gpt  = pgpt;
gpt               641 block/partitions/efi.c                 *gpt  = agpt;
gpt               654 block/partitions/efi.c         *gpt = NULL;
gpt               680 block/partitions/efi.c 	gpt_header *gpt = NULL;
gpt               685 block/partitions/efi.c 	if (!find_valid_gpt(state, &gpt, &ptes) || !gpt || !ptes) {
gpt               686 block/partitions/efi.c 		kfree(gpt);
gpt               693 block/partitions/efi.c 	for (i = 0; i < le32_to_cpu(gpt->num_partition_entries) && i < state->limit-1; i++) {
gpt               727 block/partitions/efi.c 	kfree(gpt);
gpt                37 drivers/clk/spear/clk-gpt-synth.c 	struct clk_gpt *gpt = to_clk_gpt(hw);
gpt                38 drivers/clk/spear/clk-gpt-synth.c 	struct gpt_rate_tbl *rtbl = gpt->rtbl;
gpt                48 drivers/clk/spear/clk-gpt-synth.c 	struct clk_gpt *gpt = to_clk_gpt(hw);
gpt                52 drivers/clk/spear/clk-gpt-synth.c 			gpt->rtbl_cnt, &unused);
gpt                58 drivers/clk/spear/clk-gpt-synth.c 	struct clk_gpt *gpt = to_clk_gpt(hw);
gpt                62 drivers/clk/spear/clk-gpt-synth.c 	if (gpt->lock)
gpt                63 drivers/clk/spear/clk-gpt-synth.c 		spin_lock_irqsave(gpt->lock, flags);
gpt                65 drivers/clk/spear/clk-gpt-synth.c 	val = readl_relaxed(gpt->reg);
gpt                67 drivers/clk/spear/clk-gpt-synth.c 	if (gpt->lock)
gpt                68 drivers/clk/spear/clk-gpt-synth.c 		spin_unlock_irqrestore(gpt->lock, flags);
gpt                83 drivers/clk/spear/clk-gpt-synth.c 	struct clk_gpt *gpt = to_clk_gpt(hw);
gpt                84 drivers/clk/spear/clk-gpt-synth.c 	struct gpt_rate_tbl *rtbl = gpt->rtbl;
gpt                88 drivers/clk/spear/clk-gpt-synth.c 	clk_round_rate_index(hw, drate, prate, gpt_calc_rate, gpt->rtbl_cnt,
gpt                91 drivers/clk/spear/clk-gpt-synth.c 	if (gpt->lock)
gpt                92 drivers/clk/spear/clk-gpt-synth.c 		spin_lock_irqsave(gpt->lock, flags);
gpt                94 drivers/clk/spear/clk-gpt-synth.c 	val = readl(gpt->reg) & ~GPT_MSCALE_MASK;
gpt               100 drivers/clk/spear/clk-gpt-synth.c 	writel_relaxed(val, gpt->reg);
gpt               102 drivers/clk/spear/clk-gpt-synth.c 	if (gpt->lock)
gpt               103 drivers/clk/spear/clk-gpt-synth.c 		spin_unlock_irqrestore(gpt->lock, flags);
gpt               119 drivers/clk/spear/clk-gpt-synth.c 	struct clk_gpt *gpt;
gpt               127 drivers/clk/spear/clk-gpt-synth.c 	gpt = kzalloc(sizeof(*gpt), GFP_KERNEL);
gpt               128 drivers/clk/spear/clk-gpt-synth.c 	if (!gpt)
gpt               132 drivers/clk/spear/clk-gpt-synth.c 	gpt->reg = reg;
gpt               133 drivers/clk/spear/clk-gpt-synth.c 	gpt->rtbl = rtbl;
gpt               134 drivers/clk/spear/clk-gpt-synth.c 	gpt->rtbl_cnt = rtbl_cnt;
gpt               135 drivers/clk/spear/clk-gpt-synth.c 	gpt->lock = lock;
gpt               136 drivers/clk/spear/clk-gpt-synth.c 	gpt->hw.init = &init;
gpt               144 drivers/clk/spear/clk-gpt-synth.c 	clk = clk_register(NULL, &gpt->hw);
gpt               149 drivers/clk/spear/clk-gpt-synth.c 	kfree(gpt);
gpt                68 drivers/clocksource/timer-imx-gpt.c 	const struct imx_gpt_data *gpt;
gpt               156 drivers/clocksource/timer-imx-gpt.c 	void __iomem *reg = imxtm->base + imxtm->gpt->reg_tcn;
gpt               208 drivers/clocksource/timer-imx-gpt.c 	imxtm->gpt->gpt_irq_disable(imxtm);
gpt               210 drivers/clocksource/timer-imx-gpt.c 	tcn = readl_relaxed(imxtm->base + imxtm->gpt->reg_tcn);
gpt               212 drivers/clocksource/timer-imx-gpt.c 	writel_relaxed(tcn - 3, imxtm->base + imxtm->gpt->reg_tcmp);
gpt               215 drivers/clocksource/timer-imx-gpt.c 	imxtm->gpt->gpt_irq_acknowledge(imxtm);
gpt               229 drivers/clocksource/timer-imx-gpt.c 	imxtm->gpt->gpt_irq_disable(imxtm);
gpt               232 drivers/clocksource/timer-imx-gpt.c 		u32 tcn = readl_relaxed(imxtm->base + imxtm->gpt->reg_tcn);
gpt               234 drivers/clocksource/timer-imx-gpt.c 		writel_relaxed(tcn - 3, imxtm->base + imxtm->gpt->reg_tcmp);
gpt               237 drivers/clocksource/timer-imx-gpt.c 		imxtm->gpt->gpt_irq_acknowledge(imxtm);
gpt               250 drivers/clocksource/timer-imx-gpt.c 	imxtm->gpt->gpt_irq_enable(imxtm);
gpt               264 drivers/clocksource/timer-imx-gpt.c 	tstat = readl_relaxed(imxtm->base + imxtm->gpt->reg_tstat);
gpt               266 drivers/clocksource/timer-imx-gpt.c 	imxtm->gpt->gpt_irq_acknowledge(imxtm);
gpt               283 drivers/clocksource/timer-imx-gpt.c 	ced->set_next_event = imxtm->gpt->set_next_event;
gpt               387 drivers/clocksource/timer-imx-gpt.c 		imxtm->gpt = &imx1_gpt_data;
gpt               390 drivers/clocksource/timer-imx-gpt.c 		imxtm->gpt = &imx21_gpt_data;
gpt               393 drivers/clocksource/timer-imx-gpt.c 		imxtm->gpt = &imx31_gpt_data;
gpt               396 drivers/clocksource/timer-imx-gpt.c 		imxtm->gpt = &imx6dl_gpt_data;
gpt               419 drivers/clocksource/timer-imx-gpt.c 	imxtm->gpt->gpt_setup_tctl(imxtm);
gpt               191 drivers/gpu/drm/i915/gvt/trace.h 	TP_PROTO(int id, const char *tag, int page_id, void *gpt, int type),
gpt               193 drivers/gpu/drm/i915/gvt/trace.h 	TP_ARGS(id, tag, page_id, gpt, type),
gpt               202 drivers/gpu/drm/i915/gvt/trace.h 			id, tag, page_id, gpt, type);
gpt               209 drivers/gpu/drm/i915/gvt/trace.h 	TP_PROTO(int id, int page_id, void *gpt, int type, u64 v,
gpt               212 drivers/gpu/drm/i915/gvt/trace.h 	TP_ARGS(id, page_id, gpt, type, v, index),
gpt               221 drivers/gpu/drm/i915/gvt/trace.h 				id, page_id, gpt, type, v, index);
gpt               512 drivers/staging/gasket/apex_driver.c 	struct gasket_page_table *gpt;
gpt               529 drivers/staging/gasket/apex_driver.c 	gpt = gasket_dev->page_table[0];
gpt               532 drivers/staging/gasket/apex_driver.c 		val = gasket_page_table_num_entries(gpt);
gpt               535 drivers/staging/gasket/apex_driver.c 		val = gasket_page_table_num_simple_entries(gpt);
gpt               538 drivers/staging/gasket/apex_driver.c 		val = gasket_page_table_num_active_pages(gpt);