gsi.h (4f2c0a4acffbec01079c28f839422e64ddeff004) | gsi.h (d2bb6e657f164e37fe6d170cac869904d9cc26bc) |
---|---|
1/* SPDX-License-Identifier: GPL-2.0 */ 2 3/* Copyright (c) 2015-2018, The Linux Foundation. All rights reserved. | 1/* SPDX-License-Identifier: GPL-2.0 */ 2 3/* Copyright (c) 2015-2018, The Linux Foundation. All rights reserved. |
4 * Copyright (C) 2018-2022 Linaro Ltd. | 4 * Copyright (C) 2018-2023 Linaro Ltd. |
5 */ 6#ifndef _GSI_H_ 7#define _GSI_H_ 8 9#include <linux/types.h> 10#include <linux/spinlock.h> 11#include <linux/mutex.h> 12#include <linux/completion.h> --- 124 unchanged lines hidden (view full) --- 137 struct gsi_ring ring; 138}; 139 140struct gsi { 141 struct device *dev; /* Same as IPA device */ 142 enum ipa_version version; 143 void __iomem *virt_raw; /* I/O mapped address range */ 144 void __iomem *virt; /* Adjusted for most registers */ | 5 */ 6#ifndef _GSI_H_ 7#define _GSI_H_ 8 9#include <linux/types.h> 10#include <linux/spinlock.h> 11#include <linux/mutex.h> 12#include <linux/completion.h> --- 124 unchanged lines hidden (view full) --- 137 struct gsi_ring ring; 138}; 139 140struct gsi { 141 struct device *dev; /* Same as IPA device */ 142 enum ipa_version version; 143 void __iomem *virt_raw; /* I/O mapped address range */ 144 void __iomem *virt; /* Adjusted for most registers */ |
145 const struct regs *regs; 146 |
|
145 u32 irq; 146 u32 channel_count; 147 u32 evt_ring_count; 148 u32 event_bitmap; /* allocated event rings */ 149 u32 modem_channel_bitmap; /* modem channels to allocate */ 150 u32 type_enabled_bitmap; /* GSI IRQ types enabled */ 151 u32 ieob_enabled_bitmap; /* IEOB IRQ enabled (event rings) */ 152 int result; /* Negative errno (generic commands) */ --- 128 unchanged lines hidden --- | 147 u32 irq; 148 u32 channel_count; 149 u32 evt_ring_count; 150 u32 event_bitmap; /* allocated event rings */ 151 u32 modem_channel_bitmap; /* modem channels to allocate */ 152 u32 type_enabled_bitmap; /* GSI IRQ types enabled */ 153 u32 ieob_enabled_bitmap; /* IEOB IRQ enabled (event rings) */ 154 int result; /* Negative errno (generic commands) */ --- 128 unchanged lines hidden --- |