#ifndef SOUND_FIREWIRE_ISO_RESOURCES_H_INCLUDED #define SOUND_FIREWIRE_ISO_RESOURCES_H_INCLUDED #include <linux/mutex.h> #include <linux/types.h> struct fw_unit; /** * struct fw_iso_resources - manages channel/bandwidth allocation * @channels_mask: if the device does not support all channel numbers, set this * bit mask to something else than the default (all ones) * * This structure manages (de)allocation of isochronous resources (channel and * bandwidth) for one isochronous stream. */ struct fw_iso_resources { u64 channels_mask; /* private: */ struct fw_unit *unit; struct mutex mutex; unsigned int channel; unsigned int bandwidth; /* in bandwidth units, without overhead */ unsigned int bandwidth_overhead; int generation; /* in which allocation is valid */ bool allocated; }; int fw_iso_resources_init(struct fw_iso_resources *r, struct fw_unit *unit); void fw_iso_resources_destroy(struct fw_iso_resources *r); int fw_iso_resources_allocate(struct fw_iso_resources *r, unsigned int max_payload_bytes, int speed); int fw_iso_resources_update(struct fw_iso_resources *r); void fw_iso_resources_free(struct fw_iso_resources *r); #endif ck'>packet-loop-back</option> <option value='packet-rx-pump-back'>packet-rx-pump-back</option> </select> <input type='submit' value='switch'/></form></td></tr> <tr><td class='sub'>net-next plumbings</td><td class='sub right'>Tobias Klauser</td></tr></table> <table class='tabs'><tr><td> <a href='/cgit.cgi/linux/net-next.git/?h=nds-private-remove'>summary</a><a href='/cgit.cgi/linux/net-next.git/refs/?h=nds-private-remove&id=e6e3fc2bd3ee03117e1ce388c897fc3b2da97d65'>refs</a><a class='active' href='/cgit.cgi/linux/net-next.git/log/net/mac80211/ibss.c?h=nds-private-remove'>log</a><a href='/cgit.cgi/linux/net-next.git/tree/net/mac80211/ibss.c?h=nds-private-remove&id=e6e3fc2bd3ee03117e1ce388c897fc3b2da97d65'>tree</a><a href='/cgit.cgi/linux/net-next.git/commit/net/mac80211/ibss.c?h=nds-private-remove&id=e6e3fc2bd3ee03117e1ce388c897fc3b2da97d65'>commit</a><a href='/cgit.cgi/linux/net-next.git/diff/net/mac80211/ibss.c?h=nds-private-remove&id=e6e3fc2bd3ee03117e1ce388c897fc3b2da97d65'>diff</a></td><td class='form'><form class='right' method='get' action='/cgit.cgi/linux/net-next.git/log/net/mac80211/ibss.c'> <input type='hidden' name='h' value='nds-private-remove'/><input type='hidden' name='id' value='e6e3fc2bd3ee03117e1ce388c897fc3b2da97d65'/><select name='qt'> <option value='grep'>log msg</option> <option value='author'>author</option> <option value='committer'>committer</option> <option value='range'>range</option> </select> <input class='txt' type='search' size='10' name='q' value=''/> <input type='submit' value='search'/> </form> </td></tr></table> <div class='path'>path: <a href='/cgit.cgi/linux/net-next.git/log/?h=nds-private-remove&id=e6e3fc2bd3ee03117e1ce388c897fc3b2da97d65'>root</a>/<a href='/cgit.cgi/linux/net-next.git/log/net?h=nds-private-remove&id=e6e3fc2bd3ee03117e1ce388c897fc3b2da97d65'>net</a>/<a href='/cgit.cgi/linux/net-next.git/log/net/mac80211?h=nds-private-remove&id=e6e3fc2bd3ee03117e1ce388c897fc3b2da97d65'>mac80211</a>/<a href='/cgit.cgi/linux/net-next.git/log/net/mac80211/ibss.c?h=nds-private-remove&id=e6e3fc2bd3ee03117e1ce388c897fc3b2da97d65'>ibss.c</a></div><div class='content'><table class='list nowrap'><tr class='nohover'><th class='left'>Age</th><th class='left'>Commit message (<a href='/cgit.cgi/linux/net-next.git/log/net/mac80211/ibss.c?h=nds-private-remove&id=e6e3fc2bd3ee03117e1ce388c897fc3b2da97d65&showmsg=1'>Expand</a>)</th><th class='left'>Author</th><th class='left'>Files</th><th class='left'>Lines</th></tr> <tr><td><span title='2017-02-09 15:18:24 +0100'>2017-02-09</span></td><td><a href='/cgit.cgi/linux/net-next.git/commit/net/mac80211/ibss.c?h=nds-private-remove&id=f181d6a3bcc35633facf5f3925699021c13492c5'>mac80211: fix CSA in IBSS mode</a></td><td>Koen Vandeputte</td><td>1</td><td><span class='deletions'>-2</span>/<span class='insertions'>+2</span></td></tr>