summaryrefslogtreecommitdiff
path: root/include/dt-bindings/pwm/pwm.h
blob: 96f49e82253ed25d06e405aa6000fc61c2bff84c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
/*
 * This header provides constants for most PWM bindings.
 *
 * Most PWM bindings can include a flags cell as part of the PWM specifier.
 * In most cases, the format of the flags cell uses the standard values
 * defined in this header.
 */

#ifndef _DT_BINDINGS_PWM_PWM_H
#define _DT_BINDINGS_PWM_PWM_H

#define PWM_POLARITY_INVERTED			(1 << 0)

#endif
>Johannes Berg <johannes.berg@intel.com>2017-01-26 18:03:09 +0100 commit228c8c6b1f4376788e9d5ab00d50b10228eb40d3 (patch) treedfd7010fa9480284fe72bb2c4ab50a5225792a10 /include/xen/tmem.h parent731977e97b3697454a862fec656c2561eabc0b87 (diff)
wireless: define cipher/AKM suites using a macro
The spec writes cipher/AKM suites as something like 00-0F-AC:9, but the part after the colon isn't hex, it's decimal, so that we've already had a few mistakes (in other code, or unmerged patches) to e.g. write 0x000FAC10 instead of 0x000FAC0A. Use a macro to avoid that problem. Reviewed-by: Luca Coelho <luciano.coelho@intel.com> Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'include/xen/tmem.h')