hwspinlock
struct hwspinlock *hwlock;
int __hwspin_lock_timeout(struct hwspinlock *hwlock, unsigned int to,
void __hwspin_unlock(struct hwspinlock *hwlock, int mode, unsigned long *flags)
int hwspin_lock_bust(struct hwspinlock *hwlock, unsigned int id)
struct hwspinlock *hwlock;
static int hwspin_lock_register_single(struct hwspinlock *hwlock, int id)
struct hwspinlock *tmp;
static struct hwspinlock *hwspin_lock_unregister_single(unsigned int id)
struct hwspinlock *hwlock = NULL;
struct hwspinlock *hwlock;
struct hwspinlock *hwlock, *tmp;
static int __hwspin_lock_request(struct hwspinlock *hwlock)
struct hwspinlock *tmp;
struct hwspinlock *hwspin_lock_request_specific(unsigned int id)
struct hwspinlock *hwlock;
int hwspin_lock_free(struct hwspinlock *hwlock)
struct hwspinlock *tmp;
struct hwspinlock **hwlock = res;
hwspin_lock_free(*(struct hwspinlock **)res);
int devm_hwspin_lock_free(struct device *dev, struct hwspinlock *hwlock)
struct hwspinlock *devm_hwspin_lock_request_specific(struct device *dev,
struct hwspinlock **ptr, *hwlock;
int __hwspin_trylock(struct hwspinlock *hwlock, int mode, unsigned long *flags)
int (*trylock)(struct hwspinlock *lock);
void (*unlock)(struct hwspinlock *lock);
int (*bust)(struct hwspinlock *lock, unsigned int id);
void (*relax)(struct hwspinlock *lock);
struct hwspinlock lock[];
static inline int hwlock_to_id(struct hwspinlock *hwlock)
static int omap_hwspinlock_trylock(struct hwspinlock *lock)
static void omap_hwspinlock_unlock(struct hwspinlock *lock)
static void omap_hwspinlock_relax(struct hwspinlock *lock)
array_size = QCOM_MUTEX_NUM_LOCKS * sizeof(struct hwspinlock);
static int qcom_hwspinlock_trylock(struct hwspinlock *lock)
static void qcom_hwspinlock_unlock(struct hwspinlock *lock)
static int qcom_hwspinlock_bust(struct hwspinlock *lock, unsigned int id)
static int sprd_hwspinlock_trylock(struct hwspinlock *lock)
static void sprd_hwspinlock_unlock(struct hwspinlock *lock)
static void sprd_hwspinlock_relax(struct hwspinlock *lock)
struct hwspinlock *lock;
static int stm32_hwspinlock_trylock(struct hwspinlock *lock)
static void stm32_hwspinlock_unlock(struct hwspinlock *lock)
static void stm32_hwspinlock_relax(struct hwspinlock *lock)
static int sun6i_hwspinlock_trylock(struct hwspinlock *lock)
static void sun6i_hwspinlock_unlock(struct hwspinlock *lock)
struct hwspinlock *hwlock;
struct hwspinlock *hwlock;
struct hwspinlock *hwlock = chip_data->host_data->hwlock;
struct hwspinlock *hwlock;
struct hwspinlock *hwlock;
struct hwspinlock *hwlock;
struct hwspinlock *hwlock;
struct hwspinlock *hwlock;
struct hwspinlock *hwlock;
int devm_hwspin_lock_free(struct device *dev, struct hwspinlock *hwlock)
struct hwspinlock *devm_hwspin_lock_request_specific(struct device *dev,
int hwspin_trylock_irqsave(struct hwspinlock *hwlock, unsigned long *flags)
static inline int hwspin_trylock_irq(struct hwspinlock *hwlock)
static inline int hwspin_trylock_raw(struct hwspinlock *hwlock)
static inline int hwspin_trylock_in_atomic(struct hwspinlock *hwlock)
static inline int hwspin_trylock(struct hwspinlock *hwlock)
struct hwspinlock;
static inline int hwspin_lock_timeout_irqsave(struct hwspinlock *hwlock,
int hwspin_lock_timeout_irq(struct hwspinlock *hwlock, unsigned int to)
int hwspin_lock_timeout_raw(struct hwspinlock *hwlock, unsigned int to)
int hwspin_lock_timeout_in_atomic(struct hwspinlock *hwlock, unsigned int to)
struct hwspinlock *hwspin_lock_request_specific(unsigned int id);
int hwspin_lock_timeout(struct hwspinlock *hwlock, unsigned int to)
int hwspin_lock_free(struct hwspinlock *hwlock);
static inline void hwspin_unlock_irqrestore(struct hwspinlock *hwlock,
int __hwspin_lock_timeout(struct hwspinlock *, unsigned int, int,
static inline void hwspin_unlock_irq(struct hwspinlock *hwlock)
int __hwspin_trylock(struct hwspinlock *, int, unsigned long *);
static inline void hwspin_unlock_raw(struct hwspinlock *hwlock)
void __hwspin_unlock(struct hwspinlock *, int, unsigned long *);
static inline void hwspin_unlock_in_atomic(struct hwspinlock *hwlock)
int hwspin_lock_bust(struct hwspinlock *hwlock, unsigned int id);
static inline void hwspin_unlock(struct hwspinlock *hwlock)
int devm_hwspin_lock_free(struct device *dev, struct hwspinlock *hwlock);
struct hwspinlock *devm_hwspin_lock_request_specific(struct device *dev,
static inline struct hwspinlock *hwspin_lock_request_specific(unsigned int id)
static inline int hwspin_lock_free(struct hwspinlock *hwlock)
int __hwspin_lock_timeout(struct hwspinlock *hwlock, unsigned int to,
int __hwspin_trylock(struct hwspinlock *hwlock, int mode, unsigned long *flags)
void __hwspin_unlock(struct hwspinlock *hwlock, int mode, unsigned long *flags)
static inline int hwspin_lock_bust(struct hwspinlock *hwlock, unsigned int id)