Lines Matching defs:modes
1605 ULONG *modes = NULL;
1610 * First, find out how many time stamp modes we have.
1672 * Get the total number of time stamp modes.
1679 * has the total number of time stamp modes in
1683 * modes, the first ULONG should be set to N+1
1689 * there are *no* modes, but that should never
1691 * number of modes.
1740 /* If the driver reports no modes supported *and*
1743 * settable timestamp modes, but that would hide a bug.
1747 "PacketGetTimestampModes() reports 0 modes supported.");
1759 modes = (ULONG *)malloc((1 + num_ts_modes) * sizeof(ULONG));
1760 if (modes == NULL) {
1766 modes[0] = 1 + num_ts_modes;
1767 if (!PacketGetTimestampModes(adapter, modes)) {
1774 if (modes[0] != num_ts_modes) {
1776 "First PacketGetTimestampModes() call gives %lu modes, second call gives %lu modes",
1777 num_ts_modes, modes[0]);
1785 * the explicitly specified modes.
1798 switch (modes[i + 1]) {
1846 if (modes != NULL) {
1847 free(modes);