fpga 36 arch/arm/mach-pxa/pxa_cplds_irqs.c struct cplds *fpga = d; fpga 41 arch/arm/mach-pxa/pxa_cplds_irqs.c pending = readl(fpga->base + FPGA_IRQ_SET_CLR) & fpga->irq_mask; fpga 43 arch/arm/mach-pxa/pxa_cplds_irqs.c generic_handle_irq(irq_find_mapping(fpga->irqdomain, fpga 53 arch/arm/mach-pxa/pxa_cplds_irqs.c struct cplds *fpga = irq_data_get_irq_chip_data(d); fpga 57 arch/arm/mach-pxa/pxa_cplds_irqs.c fpga->irq_mask &= ~bit; fpga 58 arch/arm/mach-pxa/pxa_cplds_irqs.c writel(fpga->irq_mask, fpga->base + FPGA_IRQ_MASK_EN); fpga 63 arch/arm/mach-pxa/pxa_cplds_irqs.c struct cplds *fpga = irq_data_get_irq_chip_data(d); fpga 67 arch/arm/mach-pxa/pxa_cplds_irqs.c set = readl(fpga->base + FPGA_IRQ_SET_CLR); fpga 68 arch/arm/mach-pxa/pxa_cplds_irqs.c writel(set & ~bit, fpga->base + FPGA_IRQ_SET_CLR); fpga 70 arch/arm/mach-pxa/pxa_cplds_irqs.c fpga->irq_mask |= bit; fpga 71 arch/arm/mach-pxa/pxa_cplds_irqs.c writel(fpga->irq_mask, fpga->base + FPGA_IRQ_MASK_EN); fpga 85 arch/arm/mach-pxa/pxa_cplds_irqs.c struct cplds *fpga = d->host_data; fpga 88 arch/arm/mach-pxa/pxa_cplds_irqs.c irq_set_chip_data(irq, fpga); fpga 100 arch/arm/mach-pxa/pxa_cplds_irqs.c struct cplds *fpga = platform_get_drvdata(pdev); fpga 102 arch/arm/mach-pxa/pxa_cplds_irqs.c writel(fpga->irq_mask, fpga->base + FPGA_IRQ_MASK_EN); fpga 110 arch/arm/mach-pxa/pxa_cplds_irqs.c struct cplds *fpga; fpga 115 arch/arm/mach-pxa/pxa_cplds_irqs.c fpga = devm_kzalloc(&pdev->dev, sizeof(*fpga), GFP_KERNEL); fpga 116 arch/arm/mach-pxa/pxa_cplds_irqs.c if (!fpga) fpga 119 arch/arm/mach-pxa/pxa_cplds_irqs.c fpga->irq = platform_get_irq(pdev, 0); fpga 120 arch/arm/mach-pxa/pxa_cplds_irqs.c if (fpga->irq <= 0) fpga 121 arch/arm/mach-pxa/pxa_cplds_irqs.c return fpga->irq; fpga 128 arch/arm/mach-pxa/pxa_cplds_irqs.c fpga->base = devm_ioremap_resource(&pdev->dev, res); fpga 129 arch/arm/mach-pxa/pxa_cplds_irqs.c if (IS_ERR(fpga->base)) fpga 130 arch/arm/mach-pxa/pxa_cplds_irqs.c return PTR_ERR(fpga->base); fpga 132 arch/arm/mach-pxa/pxa_cplds_irqs.c platform_set_drvdata(pdev, fpga); fpga 134 arch/arm/mach-pxa/pxa_cplds_irqs.c writel(fpga->irq_mask, fpga->base + FPGA_IRQ_MASK_EN); fpga 135 arch/arm/mach-pxa/pxa_cplds_irqs.c writel(0, fpga->base + FPGA_IRQ_SET_CLR); fpga 137 arch/arm/mach-pxa/pxa_cplds_irqs.c irqflags = irq_get_trigger_type(fpga->irq); fpga 138 arch/arm/mach-pxa/pxa_cplds_irqs.c ret = devm_request_irq(&pdev->dev, fpga->irq, cplds_irq_handler, fpga 139 arch/arm/mach-pxa/pxa_cplds_irqs.c irqflags, dev_name(&pdev->dev), fpga); fpga 145 arch/arm/mach-pxa/pxa_cplds_irqs.c fpga->irq, ret); fpga 149 arch/arm/mach-pxa/pxa_cplds_irqs.c irq_set_irq_wake(fpga->irq, 1); fpga 150 arch/arm/mach-pxa/pxa_cplds_irqs.c fpga->irqdomain = irq_domain_add_linear(pdev->dev.of_node, fpga 152 arch/arm/mach-pxa/pxa_cplds_irqs.c &cplds_irq_domain_ops, fpga); fpga 153 arch/arm/mach-pxa/pxa_cplds_irqs.c if (!fpga->irqdomain) fpga 157 arch/arm/mach-pxa/pxa_cplds_irqs.c ret = irq_create_strict_mappings(fpga->irqdomain, base_irq, 0, fpga 171 arch/arm/mach-pxa/pxa_cplds_irqs.c struct cplds *fpga = platform_get_drvdata(pdev); fpga 173 arch/arm/mach-pxa/pxa_cplds_irqs.c irq_set_chip_and_handler(fpga->irq, NULL, NULL); fpga 44 arch/arm/plat-omap/debug-leds.c static struct h2p2_dbg_fpga __iomem *fpga; fpga 85 arch/arm/plat-omap/debug-leds.c reg = readw_relaxed(&fpga->leds); fpga 90 arch/arm/plat-omap/debug-leds.c writew_relaxed(reg, &fpga->leds); fpga 98 arch/arm/plat-omap/debug-leds.c reg = readw_relaxed(&fpga->leds); fpga 111 arch/arm/plat-omap/debug-leds.c fpga = ioremap(iomem->start, resource_size(iomem)); fpga 112 arch/arm/plat-omap/debug-leds.c writew_relaxed(0xff, &fpga->leds); fpga 138 arch/arm/plat-omap/debug-leds.c fpga_led_state = readw_relaxed(&fpga->leds); fpga 139 arch/arm/plat-omap/debug-leds.c writew_relaxed(0xff, &fpga->leds); fpga 146 arch/arm/plat-omap/debug-leds.c writew_relaxed(~fpga_led_state, &fpga->leds); fpga 38 arch/powerpc/boot/ebony.c u8 *fpga; fpga 45 arch/powerpc/boot/ebony.c if (getprop(devp, "virtual-reg", &fpga, sizeof(fpga)) != sizeof(fpga)) fpga 49 arch/powerpc/boot/ebony.c fpga_reg0 = in_8(fpga); fpga 25 arch/powerpc/boot/treeboot-walnut.c u8 *fpga; fpga 32 arch/powerpc/boot/treeboot-walnut.c if (getprop(devp, "virtual-reg", &fpga, sizeof(fpga)) != sizeof(fpga)) fpga 35 arch/powerpc/boot/treeboot-walnut.c fpga_brds1 = in_8(fpga); fpga 223 arch/powerpc/platforms/44x/ppc476.c u8 *fpga; fpga 237 arch/powerpc/platforms/44x/ppc476.c fpga = (u8 *) of_iomap(np, 0); fpga 239 arch/powerpc/platforms/44x/ppc476.c if (!fpga) fpga 242 arch/powerpc/platforms/44x/ppc476.c board_rev = ioread8(fpga + reg) & 0x03; fpga 244 arch/powerpc/platforms/44x/ppc476.c iounmap(fpga); fpga 66 arch/powerpc/platforms/44x/warp.c void __iomem *fpga; fpga 74 arch/powerpc/platforms/44x/warp.c fpga = of_iomap(np, 0); fpga 76 arch/powerpc/platforms/44x/warp.c if (fpga == NULL) fpga 79 arch/powerpc/platforms/44x/warp.c post1 = in_be32(fpga + 0x40); fpga 80 arch/powerpc/platforms/44x/warp.c post2 = in_be32(fpga + 0x44); fpga 82 arch/powerpc/platforms/44x/warp.c iounmap(fpga); fpga 216 arch/powerpc/platforms/44x/warp.c static inline void pika_dtm_check_fan(void __iomem *fpga) fpga 219 arch/powerpc/platforms/44x/warp.c u32 fan = in_be32(fpga + 0x34) & (1 << 14); fpga 229 arch/powerpc/platforms/44x/warp.c static int pika_dtm_thread(void __iomem *fpga) fpga 258 arch/powerpc/platforms/44x/warp.c out_be32(fpga + 0x20, temp); fpga 261 arch/powerpc/platforms/44x/warp.c pika_dtm_check_fan(fpga); fpga 541 drivers/net/ethernet/mellanox/mlx5/core/eq.c if (MLX5_CAP_GEN(dev, fpga)) fpga 78 drivers/net/ethernet/mellanox/mlx5/core/fpga/cmd.c return mlx5_core_access_reg(dev, in, sizeof(in), dev->caps.fpga, fpga 167 drivers/net/ethernet/mellanox/mlx5/core/fpga/core.c struct mlx5_fpga_device *fdev = mdev->fpga; fpga 240 drivers/net/ethernet/mellanox/mlx5/core/fpga/core.c if (!MLX5_CAP_GEN(mdev, fpga)) { fpga 252 drivers/net/ethernet/mellanox/mlx5/core/fpga/core.c mdev->fpga = fdev; fpga 259 drivers/net/ethernet/mellanox/mlx5/core/fpga/core.c struct mlx5_fpga_device *fdev = mdev->fpga; fpga 292 drivers/net/ethernet/mellanox/mlx5/core/fpga/core.c struct mlx5_fpga_device *fdev = mdev->fpga; fpga 296 drivers/net/ethernet/mellanox/mlx5/core/fpga/core.c mdev->fpga = NULL; fpga 126 drivers/net/ethernet/mellanox/mlx5/core/fpga/ipsec.c if (!mdev->fpga || !MLX5_CAP_GEN(mdev, fpga)) fpga 220 drivers/net/ethernet/mellanox/mlx5/core/fpga/ipsec.c struct mlx5_fpga_device *fdev = mdev->fpga; fpga 326 drivers/net/ethernet/mellanox/mlx5/core/fpga/ipsec.c struct mlx5_fpga_device *fdev = mdev->fpga; fpga 361 drivers/net/ethernet/mellanox/mlx5/core/fpga/ipsec.c struct mlx5_fpga_device *fdev = mdev->fpga; fpga 373 drivers/net/ethernet/mellanox/mlx5/core/fpga/ipsec.c struct mlx5_fpga_device *fdev = mdev->fpga; fpga 675 drivers/net/ethernet/mellanox/mlx5/core/fpga/ipsec.c struct mlx5_fpga_device *fdev = mdev->fpga; fpga 825 drivers/net/ethernet/mellanox/mlx5/core/fpga/ipsec.c struct mlx5_fpga_device *fdev = sa_ctx->dev->fpga; fpga 1050 drivers/net/ethernet/mellanox/mlx5/core/fpga/ipsec.c struct mlx5_fpga_device *fdev = dev->fpga; fpga 1130 drivers/net/ethernet/mellanox/mlx5/core/fpga/ipsec.c struct mlx5_fpga_device *fdev = dev->fpga; fpga 1250 drivers/net/ethernet/mellanox/mlx5/core/fpga/ipsec.c struct mlx5_fpga_device *fdev = mdev->fpga; fpga 1329 drivers/net/ethernet/mellanox/mlx5/core/fpga/ipsec.c struct mlx5_fpga_device *fdev = mdev->fpga; fpga 1422 drivers/net/ethernet/mellanox/mlx5/core/fpga/ipsec.c (!MLX5_GET(ipsec_extended_cap, mdev->fpga->ipsec->caps, fpga 1472 drivers/net/ethernet/mellanox/mlx5/core/fpga/ipsec.c struct mlx5_fpga_device *fdev = mdev->fpga; fpga 213 drivers/net/ethernet/mellanox/mlx5/core/fpga/tls.c flow = idr_find(&mdev->fpga->tls->rx_idr, ntohl(handle)); fpga 232 drivers/net/ethernet/mellanox/mlx5/core/fpga/tls.c ret = mlx5_fpga_sbu_conn_sendmsg(mdev->fpga->tls->conn, buf); fpga 261 drivers/net/ethernet/mellanox/mlx5/core/fpga/tls.c mlx5_fpga_tls_cmd_send(mdev->fpga, ctx, fpga 268 drivers/net/ethernet/mellanox/mlx5/core/fpga/tls.c struct mlx5_fpga_tls *tls = mdev->fpga->tls; fpga 281 drivers/net/ethernet/mellanox/mlx5/core/fpga/tls.c mlx5_fpga_err(mdev->fpga, "No flow information for swid %u\n", fpga 363 drivers/net/ethernet/mellanox/mlx5/core/fpga/tls.c mlx5_fpga_tls_cmd_send(mdev->fpga, &ctx->cmd, fpga 389 drivers/net/ethernet/mellanox/mlx5/core/fpga/tls.c if (!mdev->fpga || !MLX5_CAP_GEN(mdev, fpga)) fpga 448 drivers/net/ethernet/mellanox/mlx5/core/fpga/tls.c struct mlx5_fpga_device *fdev = mdev->fpga; fpga 500 drivers/net/ethernet/mellanox/mlx5/core/fpga/tls.c struct mlx5_fpga_device *fdev = mdev->fpga; fpga 589 drivers/net/ethernet/mellanox/mlx5/core/fpga/tls.c struct mlx5_fpga_tls *tls = mdev->fpga->tls; fpga 68 drivers/net/ethernet/mellanox/mlx5/core/fpga/tls.h return mdev->fpga->tls->caps; fpga 87 drivers/soc/versatile/soc-integrator.c __ATTR(fpga, S_IRUGO, integrator_get_fpga, NULL); fpga 70 drivers/soc/versatile/soc-realview.c __ATTR(fpga, S_IRUGO, realview_get_arch, NULL); fpga 3368 drivers/tty/cyclades.c static inline void cyz_fpga_copy(void __iomem *fpga, const u8 *data, fpga 3372 drivers/tty/cyclades.c cy_writel(fpga, *data++); fpga 3399 drivers/tty/cyclades.c void __iomem *fpga) fpga 3461 drivers/tty/cyclades.c if (fpga != NULL) fpga 3462 drivers/tty/cyclades.c cyz_fpga_copy(fpga, ptr + b->file_offset, fpga 50 drivers/watchdog/pika_wdt.c void __iomem *fpga; fpga 80 drivers/watchdog/pika_wdt.c unsigned reset = in_be32(pikawdt_private.fpga + 0x14); fpga 83 drivers/watchdog/pika_wdt.c out_be32(pikawdt_private.fpga + 0x14, reset); fpga 228 drivers/watchdog/pika_wdt.c void __iomem *fpga; fpga 238 drivers/watchdog/pika_wdt.c pikawdt_private.fpga = of_iomap(np, 0); fpga 240 drivers/watchdog/pika_wdt.c if (pikawdt_private.fpga == NULL) { fpga 245 drivers/watchdog/pika_wdt.c ident.firmware_version = in_be32(pikawdt_private.fpga + 0x1c) & 0xffff; fpga 255 drivers/watchdog/pika_wdt.c fpga = of_iomap(np, 0); fpga 257 drivers/watchdog/pika_wdt.c if (fpga == NULL) { fpga 267 drivers/watchdog/pika_wdt.c post1 = in_be32(fpga + 0x40); fpga 271 drivers/watchdog/pika_wdt.c iounmap(fpga); fpga 286 drivers/watchdog/pika_wdt.c iounmap(pikawdt_private.fpga); fpga 294 drivers/watchdog/pika_wdt.c iounmap(pikawdt_private.fpga); fpga 1283 include/linux/mlx5/device.h MLX5_GET(fpga_cap, (mdev)->caps.fpga, cap) fpga 1286 include/linux/mlx5/device.h MLX5_GET64(fpga_cap, (mdev)->caps.fpga, cap) fpga 690 include/linux/mlx5/driver.h u32 fpga[MLX5_ST_SZ_DW(fpga_cap)]; fpga 715 include/linux/mlx5/driver.h struct mlx5_fpga_device *fpga; fpga 1248 include/linux/mlx5/mlx5_ifc.h u8 fpga[0x1]; fpga 15 sound/firewire/tascam/tascam-proc.c unsigned int reg, fpga, arm, hw; fpga 30 sound/firewire/tascam/tascam-proc.c fpga = be32_to_cpu(data); fpga 47 sound/firewire/tascam/tascam-proc.c snd_iprintf(buffer, "FPGA: %d (0x%08x)\n", fpga & 0xffff, fpga);