Lines Matching +full:offset +full:- +full:x
1 /* SPDX-License-Identifier: GPL-2.0 */
51 * struct chameleon_gdd - Chameleon General Device Descriptor
58 * @bar: BAR offset that must be added to module offset
62 * @offset: beginning of the address window of desired module
68 __le32 offset; member
74 #define GDD_IRQ(x) ((x) & 0x1f) argument
75 #define GDD_REV(x) (((x) >> 5) & 0x3f) argument
76 #define GDD_VAR(x) (((x) >> 11) & 0x3f) argument
77 #define GDD_DEV(x) (((x) >> 18) & 0x3ff) argument
78 #define GDD_DTY(x) (((x) >> 28) & 0xf) argument
81 #define GDD_BAR(x) ((x) & 0x7) argument
82 #define GDD_INS(x) (((x) >> 3) & 0x3f) argument
83 #define GDD_GRP(x) (((x) >> 9) & 0x3f) argument
86 * struct chameleon_bdd - Chameleon Bridge Device Descriptor
93 * @bar: BAR offset that must be added to module offset
96 * @chamoff: offset within the BAR of the source bus
97 * @offset:
112 u32 offset; member
121 #define BAR_CNT(x) ((x) & 0x07) argument
123 #define BAR_DESC_SIZE(x) ((x) * sizeof(struct chameleon_bar) + sizeof(__le32)) argument