bpmp.h (664b0bae0b87f69bc9deb098f5e0158b9cf18e04) bpmp.h (38c23685b273cfb4ccf31a199feccce3bdcb5d83)
1/*
2 * Copyright (c) 2016, NVIDIA CORPORATION. All rights reserved.
3 *
4 * This program is free software; you can redistribute it and/or modify it
5 * under the terms and conditions of the GNU General Public License,
6 * version 2, as published by the Free Software Foundation.
7 *
8 * This program is distributed in the hope it will be useful, but WITHOUT

--- 61 unchanged lines hidden (view full) ---

70 void *virt;
71 } tx, rx;
72
73 struct {
74 struct mbox_client client;
75 struct mbox_chan *channel;
76 } mbox;
77
1/*
2 * Copyright (c) 2016, NVIDIA CORPORATION. All rights reserved.
3 *
4 * This program is free software; you can redistribute it and/or modify it
5 * under the terms and conditions of the GNU General Public License,
6 * version 2, as published by the Free Software Foundation.
7 *
8 * This program is distributed in the hope it will be useful, but WITHOUT

--- 61 unchanged lines hidden (view full) ---

70 void *virt;
71 } tx, rx;
72
73 struct {
74 struct mbox_client client;
75 struct mbox_chan *channel;
76 } mbox;
77
78 struct tegra_bpmp_channel *channels;
79 unsigned int num_channels;
78 spinlock_t atomic_tx_lock;
79 struct tegra_bpmp_channel *tx_channel, *rx_channel, *threaded_channels;
80
81 struct {
82 unsigned long *allocated;
83 unsigned long *busy;
84 unsigned int count;
85 struct semaphore lock;
86 } threaded;
87

--- 119 unchanged lines hidden ---
80
81 struct {
82 unsigned long *allocated;
83 unsigned long *busy;
84 unsigned int count;
85 struct semaphore lock;
86 } threaded;
87

--- 119 unchanged lines hidden ---