Searched refs:u16 (Results 1 - 200 of 6771) sorted by relevance

1234567891011>>

/linux-4.4.14/arch/x86/kvm/
H A Dtss.h30 u16 t;
31 u16 io_map;
35 u16 prev_task_link;
36 u16 sp0;
37 u16 ss0;
38 u16 sp1;
39 u16 ss1;
40 u16 sp2;
41 u16 ss2;
42 u16 ip;
43 u16 flag;
44 u16 ax;
45 u16 cx;
46 u16 dx;
47 u16 bx;
48 u16 sp;
49 u16 bp;
50 u16 si;
51 u16 di;
52 u16 es;
53 u16 cs;
54 u16 ss;
55 u16 ds;
56 u16 ldt;
/linux-4.4.14/drivers/net/wireless/b43/
H A Dtables.h9 extern const u16 b43_tab_finefreqa[];
11 extern const u16 b43_tab_finefreqg[];
13 extern const u16 b43_tab_noisea2[];
15 extern const u16 b43_tab_noisea3[];
17 extern const u16 b43_tab_noiseg1[];
19 extern const u16 b43_tab_noiseg2[];
21 extern const u16 b43_tab_noisescalea2[];
22 extern const u16 b43_tab_noisescalea3[];
23 extern const u16 b43_tab_noisescaleg1[];
24 extern const u16 b43_tab_noisescaleg2[];
25 extern const u16 b43_tab_noisescaleg3[];
27 extern const u16 b43_tab_sigmasqr1[];
28 extern const u16 b43_tab_sigmasqr2[];
30 extern const u16 b43_tab_rssiagc1[];
32 extern const u16 b43_tab_rssiagc2[];
H A Dbus.h28 u16 (*read16)(struct b43_bus_dev *dev, u16 offset);
29 u32 (*read32)(struct b43_bus_dev *dev, u16 offset);
30 void (*write16)(struct b43_bus_dev *dev, u16 offset, u16 value);
31 void (*write32)(struct b43_bus_dev *dev, u16 offset, u32 value);
33 size_t count, u16 offset, u8 reg_width);
35 size_t count, u16 offset, u8 reg_width);
42 u16 board_vendor;
43 u16 board_type;
44 u16 board_rev;
46 u16 chip_id;
52 u16 core_id;
H A Dtables_nphy.h7 u16 phy_bw1a;
8 u16 phy_bw2;
9 u16 phy_bw3;
10 u16 phy_bw4;
11 u16 phy_bw5;
12 u16 phy_bw6;
25 u16 bmask;
30 u16 val_mask;
39 u16 field;
40 u16 val_addr_core0;
41 u16 val_addr_core1;
42 u16 val_mask;
52 u16 init_gain;
53 u16 rfseq_init[4];
55 u16 cliphi_gain;
56 u16 clipmd_gain;
57 u16 cliplo_gain;
59 u16 crsmin;
60 u16 crsminl;
61 u16 crsminu;
63 u16 nbclip;
64 u16 wlclip;
198 extern const u16 tbl_iqcal_gainparams[2][9][8];
201 extern const u16 loscale[];
203 extern const u16 tbl_tx_iqlo_cal_loft_ladder_40[];
204 extern const u16 tbl_tx_iqlo_cal_loft_ladder_20[];
205 extern const u16 tbl_tx_iqlo_cal_iqimb_ladder_40[];
206 extern const u16 tbl_tx_iqlo_cal_iqimb_ladder_20[];
207 extern const u16 tbl_tx_iqlo_cal_startcoefs_nphyrev3[];
208 extern const u16 tbl_tx_iqlo_cal_startcoefs[];
209 extern const u16 tbl_tx_iqlo_cal_cmds_recal_nphyrev3[];
210 extern const u16 tbl_tx_iqlo_cal_cmds_recal[];
211 extern const u16 tbl_tx_iqlo_cal_cmds_fullcal[];
212 extern const u16 tbl_tx_iqlo_cal_cmds_fullcal_nphyrev3[];
220 struct b43_wldev *dev, u16 field, u8 override);
H A Dphy_ac.c41 static void b43_phy_ac_op_maskset(struct b43_wldev *dev, u16 reg, u16 mask, b43_phy_ac_op_maskset()
42 u16 set) b43_phy_ac_op_maskset()
49 static u16 b43_phy_ac_op_radio_read(struct b43_wldev *dev, u16 reg) b43_phy_ac_op_radio_read()
55 static void b43_phy_ac_op_radio_write(struct b43_wldev *dev, u16 reg, b43_phy_ac_op_radio_write()
56 u16 value) b43_phy_ac_op_radio_write()
H A Dpio.h71 u16 mmio_base;
74 u16 buffer_size;
76 u16 buffer_used;
80 u16 free_packet_slots;
100 u16 mmio_base;
108 static inline u16 b43_piotx_read16(struct b43_pio_txqueue *q, u16 offset) b43_piotx_read16()
113 static inline u32 b43_piotx_read32(struct b43_pio_txqueue *q, u16 offset) b43_piotx_read32()
119 u16 offset, u16 value) b43_piotx_write16()
125 u16 offset, u32 value) b43_piotx_write32()
131 static inline u16 b43_piorx_read16(struct b43_pio_rxqueue *q, u16 offset) b43_piorx_read16()
136 static inline u32 b43_piorx_read32(struct b43_pio_rxqueue *q, u16 offset) b43_piorx_read32()
142 u16 offset, u16 value) b43_piorx_write16()
148 u16 offset, u32 value) b43_piorx_write32()
/linux-4.4.14/include/linux/
H A Dcrc-ccitt.h6 extern u16 const crc_ccitt_table[256];
8 extern u16 crc_ccitt(u16 crc, const u8 *buffer, size_t len);
10 static inline u16 crc_ccitt_byte(u16 crc, const u8 c) crc_ccitt_byte()
H A Dcrc-itu-t.h18 extern u16 const crc_itu_t_table[256];
20 extern u16 crc_itu_t(u16 crc, const u8 *buffer, size_t len);
22 static inline u16 crc_itu_t_byte(u16 crc, const u8 data) crc_itu_t_byte()
H A Dcrc16.h20 extern u16 const crc16_table[256];
22 extern u16 crc16(u16 crc, const u8 *buffer, size_t len);
24 static inline u16 crc16_byte(u16 crc, const u8 data) crc16_byte()
H A Dbitrev.h20 static inline u16 __bitrev16(u16 x) __bitrev16()
45 u16 __x = x; \
47 __x = ((__x & (u16)0xF0F0U) >> 4) | ((__x & (u16)0x0F0FU) << 4); \
48 __x = ((__x & (u16)0xCCCCU) >> 2) | ((__x & (u16)0x3333U) << 2); \
49 __x = ((__x & (u16)0xAAAAU) >> 1) | ((__x & (u16)0x5555U) << 1); \
72 u16 __x = x; \
H A Dvt_buffer.h27 static inline void scr_memsetw(u16 *s, u16 c, unsigned int count) scr_memsetw()
36 static inline void scr_memcpyw(u16 *d, const u16 *s, unsigned int count) scr_memcpyw()
45 static inline void scr_memmovew(u16 *d, const u16 *s, unsigned int count) scr_memmovew()
H A Dvirtio_caif.h14 u16 headroom;
15 u16 tailroom;
H A Ducb1400.h115 static inline u16 ucb1400_reg_read(struct snd_ac97 *ac97, u16 reg) ucb1400_reg_read()
120 static inline void ucb1400_reg_write(struct snd_ac97 *ac97, u16 reg, u16 val) ucb1400_reg_write()
125 static inline u16 ucb1400_gpio_get_value(struct snd_ac97 *ac97, u16 gpio) ucb1400_gpio_get_value()
130 static inline void ucb1400_gpio_set_value(struct snd_ac97 *ac97, u16 gpio, ucb1400_gpio_set_value()
131 u16 val) ucb1400_gpio_set_value()
138 static inline u16 ucb1400_gpio_get_direction(struct snd_ac97 *ac97, u16 gpio) ucb1400_gpio_get_direction()
143 static inline void ucb1400_gpio_set_direction(struct snd_ac97 *ac97, u16 gpio, ucb1400_gpio_set_direction()
144 u16 dir) ucb1400_gpio_set_direction()
162 unsigned int ucb1400_adc_read(struct snd_ac97 *ac97, u16 adc_channel,
H A Dkernelcapi.h20 u16 applid;
36 u16 capi20_isinstalled(void);
37 u16 capi20_register(struct capi20_appl *ap);
38 u16 capi20_release(struct capi20_appl *ap);
39 u16 capi20_put_message(struct capi20_appl *ap, struct sk_buff *skb);
40 u16 capi20_get_manufacturer(u32 contr, u8 buf[CAPI_MANUFACTURER_LEN]);
41 u16 capi20_get_version(u32 contr, struct capi_version *verp);
42 u16 capi20_get_serial(u32 contr, u8 serial[CAPI_SERIAL_LEN]);
43 u16 capi20_get_profile(u32 contr, struct capi_profile *profp);
/linux-4.4.14/arch/mn10300/unit-asb2364/include/unit/
H A Dfpga-regs.h11 #define ASB2364_FPGA_REG_RESET_LAN __SYSREG(0xa9001300, u16)
12 #define ASB2364_FPGA_REG_RESET_UART __SYSREG(0xa9001304, u16)
13 #define ASB2364_FPGA_REG_RESET_I2C __SYSREG(0xa9001308, u16)
14 #define ASB2364_FPGA_REG_RESET_USB __SYSREG(0xa900130c, u16)
15 #define ASB2364_FPGA_REG_RESET_AV __SYSREG(0xa9001310, u16)
17 #define ASB2364_FPGA_REG_IRQ(X) __SYSREG(0xa9001510+((X)*4), u16)
24 #define ASB2364_FPGA_REG_MASK(X) __SYSREG(0xa9001590+((X)*4), u16)
31 #define ASB2364_FPGA_REG_CPLD5_SET1 __SYSREG(0xa9002500, u16)
32 #define ASB2364_FPGA_REG_CPLD5_SET2 __SYSREG(0xa9002504, u16)
33 #define ASB2364_FPGA_REG_CPLD6_SET1 __SYSREG(0xa9002600, u16)
34 #define ASB2364_FPGA_REG_CPLD6_SET2 __SYSREG(0xa9002604, u16)
35 #define ASB2364_FPGA_REG_CPLD7_SET1 __SYSREG(0xa9002700, u16)
36 #define ASB2364_FPGA_REG_CPLD7_SET2 __SYSREG(0xa9002704, u16)
37 #define ASB2364_FPGA_REG_CPLD8_SET1 __SYSREG(0xa9002800, u16)
38 #define ASB2364_FPGA_REG_CPLD8_SET2 __SYSREG(0xa9002804, u16)
39 #define ASB2364_FPGA_REG_CPLD9_SET1 __SYSREG(0xa9002900, u16)
40 #define ASB2364_FPGA_REG_CPLD9_SET2 __SYSREG(0xa9002904, u16)
41 #define ASB2364_FPGA_REG_CPLD10_SET1 __SYSREG(0xa9002a00, u16)
42 #define ASB2364_FPGA_REG_CPLD10_SET2 __SYSREG(0xa9002a04, u16)
/linux-4.4.14/drivers/scsi/qla4xxx/
H A Dql4_nvram.h87 u16 etherMtu_mac;
90 u16 pauseThreshold_mac;
91 u16 resumeThreshold_mac;
92 u16 reserved[13];
101 u16 subsysVendorId;
102 u16 subsysDeviceId;
111 u16 board_id; /* x06 */
125 u16 ext_hw_conf; /* x18 */
130 u16 etherMtu; /* x32 */
131 u16 macConfig; /* x34 */
134 u16 phyConfig; /* x36 */
137 u16 reserved_56; /* x38 */
141 u16 bufletSize; /* x3C */
142 u16 bufletCount; /* x3E */
143 u16 bufletPauseThreshold; /* x40 */
144 u16 tcpWindowThreshold50; /* x42 */
145 u16 tcpWindowThreshold25; /* x44 */
146 u16 tcpWindowThreshold0; /* x46 */
147 u16 ipHashTableBaseHi; /* x48 */
148 u16 ipHashTableBaseLo; /* x4A */
149 u16 ipHashTableSize; /* x4C */
150 u16 tcpHashTableBaseHi; /* x4E */
151 u16 tcpHashTableBaseLo; /* x50 */
152 u16 tcpHashTableSize; /* x52 */
153 u16 ncbTableBaseHi; /* x54 */
154 u16 ncbTableBaseLo; /* x56 */
155 u16 ncbTableSize; /* x58 */
156 u16 drbTableBaseHi; /* x5A */
157 u16 drbTableBaseLo; /* x5C */
158 u16 drbTableSize; /* x5E */
162 u16 ipReassemblyTimeout; /* x64 */
163 u16 tcpMaxWindowSizeHi; /* x66 */
164 u16 tcpMaxWindowSizeLo; /* x68 */
173 u16 subsysVendorId_f0; /* xFA */
174 u16 subsysDeviceId_f0; /* xFC */
179 u16 signature; /* xFE */
183 u16 subsysVendorId_f1; /* x1FA */
184 u16 subsysDeviceId_f1; /* x1FC */
185 u16 checksum; /* x1FE */
191 u16 boardId; /* x06 */
196 u16 ext_hw_conf; /* x28 */
205 u16 bufletSize; /* x6A */
206 u16 bufletCount; /* x6C */
207 u16 tcpWindowThreshold50; /* x6E */
208 u16 tcpWindowThreshold25; /* x70 */
209 u16 tcpWindowThreshold0; /* x72 */
210 u16 ipHashTableBaseHi; /* x74 */
211 u16 ipHashTableBaseLo; /* x76 */
212 u16 ipHashTableSize; /* x78 */
213 u16 tcpHashTableBaseHi; /* x7A */
214 u16 tcpHashTableBaseLo; /* x7C */
215 u16 tcpHashTableSize; /* x7E */
216 u16 ncbTableBaseHi; /* x80 */
217 u16 ncbTableBaseLo; /* x82 */
218 u16 ncbTableSize; /* x84 */
219 u16 drbTableBaseHi; /* x86 */
220 u16 drbTableBaseLo; /* x88 */
221 u16 drbTableSize; /* x8A */
222 u16 reserved_142[4]; /* x8C */
225 u16 ipReassemblyTimeout; /* x94 */
226 u16 tcpMaxWindowSize; /* x96 */
227 u16 ipSecurity; /* x98 */
229 u16 qDebug[8]; /* QLOGIC USE ONLY x1C0 */
231 u16 reserved_510; /* x1FE */
237 u16 reserved_1022; /* x3FE */
242 u16 reserved_1534; /* x5FE */
248 u16 checksum; /* x7FE */
/linux-4.4.14/drivers/net/wireless/b43legacy/
H A Dilt.h9 extern const u16 b43legacy_ilt_finefreqa[B43legacy_ILT_FINEFREQA_SIZE];
11 extern const u16 b43legacy_ilt_finefreqg[B43legacy_ILT_FINEFREQG_SIZE];
13 extern const u16 b43legacy_ilt_noisea2[B43legacy_ILT_NOISEA2_SIZE];
15 extern const u16 b43legacy_ilt_noisea3[B43legacy_ILT_NOISEA3_SIZE];
17 extern const u16 b43legacy_ilt_noiseg1[B43legacy_ILT_NOISEG1_SIZE];
19 extern const u16 b43legacy_ilt_noiseg2[B43legacy_ILT_NOISEG2_SIZE];
21 extern const u16 b43legacy_ilt_noisescaleg1[B43legacy_ILT_NOISESCALEG_SIZE];
22 extern const u16 b43legacy_ilt_noisescaleg2[B43legacy_ILT_NOISESCALEG_SIZE];
23 extern const u16 b43legacy_ilt_noisescaleg3[B43legacy_ILT_NOISESCALEG_SIZE];
25 extern const u16 b43legacy_ilt_sigmasqr1[B43legacy_ILT_SIGMASQR_SIZE];
26 extern const u16 b43legacy_ilt_sigmasqr2[B43legacy_ILT_SIGMASQR_SIZE];
29 void b43legacy_ilt_write(struct b43legacy_wldev *dev, u16 offset, u16 val);
30 void b43legacy_ilt_write32(struct b43legacy_wldev *dev, u16 offset,
32 u16 b43legacy_ilt_read(struct b43legacy_wldev *dev, u16 offset);
H A Dradio.h58 u16 b43legacy_radio_read16(struct b43legacy_wldev *dev, u16 offset);
59 void b43legacy_radio_write16(struct b43legacy_wldev *dev, u16 offset, u16 val);
61 u16 b43legacy_radio_init2050(struct b43legacy_wldev *dev);
69 void b43legacy_radio_set_txpower_a(struct b43legacy_wldev *dev, u16 txpower);
71 u16 baseband_attenuation, u16 attenuation,
72 u16 txpower);
74 u16 b43legacy_default_baseband_attenuation(struct b43legacy_wldev *dev);
75 u16 b43legacy_default_radio_attenuation(struct b43legacy_wldev *dev);
76 u16 b43legacy_default_txctl1(struct b43legacy_wldev *dev);
90 s16 b43legacy_nrssi_hw_read(struct b43legacy_wldev *dev, u16 offset);
91 void b43legacy_nrssi_hw_write(struct b43legacy_wldev *dev, u16 offset, s16 val);
92 void b43legacy_nrssi_hw_update(struct b43legacy_wldev *dev, u16 val);
95 u16 b43legacy_radio_calibrationvalue(struct b43legacy_wldev *dev);
/linux-4.4.14/drivers/staging/wlan-ng/
H A Dhfa384x.h65 #define HFA384x_PORTID_MAX ((u16)7)
66 #define HFA384x_NUMPORTS_MAX ((u16)(HFA384x_PORTID_MAX+1))
67 #define HFA384x_PDR_LEN_MAX ((u16)512) /* in bytes, from EK */
68 #define HFA384x_PDA_RECS_MAX ((u16)200) /* a guess */
69 #define HFA384x_PDA_LEN_MAX ((u16)1024) /* in bytes, from EK*/
70 #define HFA384x_SCANRESULT_MAX ((u16)31)
71 #define HFA384x_HSCANRESULT_MAX ((u16)31)
72 #define HFA384x_CHINFORESULT_MAX ((u16)16)
78 #define HFA384x_PORTTYPE_IBSS ((u16)0)
79 #define HFA384x_PORTTYPE_BSS ((u16)1)
80 #define HFA384x_PORTTYPE_PSUEDOIBSS ((u16)3)
81 #define HFA384x_WEPFLAGS_PRIVINVOKED ((u16)BIT(0))
82 #define HFA384x_WEPFLAGS_EXCLUDE ((u16)BIT(1))
83 #define HFA384x_WEPFLAGS_DISABLE_TXCRYPT ((u16)BIT(4))
84 #define HFA384x_WEPFLAGS_DISABLE_RXCRYPT ((u16)BIT(7))
85 #define HFA384x_ROAMMODE_HOSTSCAN_HOSTROAM ((u16)3)
86 #define HFA384x_PORTSTATUS_DISABLED ((u16)1)
87 #define HFA384x_RATEBIT_1 ((u16)1)
88 #define HFA384x_RATEBIT_2 ((u16)2)
89 #define HFA384x_RATEBIT_5dot5 ((u16)4)
90 #define HFA384x_RATEBIT_11 ((u16)8)
119 ((((u32)(((u16)(p))&HFA384x_ADDR_AUX_PAGE_MASK)) << 7) | \
120 ((u32)(((u16)(o))&HFA384x_ADDR_AUX_OFF_MASK)))
124 ((u16)((((u32)(f))&HFA384x_ADDR_FLAT_CMD_PAGE_MASK)>>16))
126 ((u16)(((u32)(f))&HFA384x_ADDR_FLAT_CMD_OFF_MASK))
139 #define HFA384x_CMD_AINFO ((u16)(BIT(14) | BIT(13) \
143 #define HFA384x_CMD_MACPORT ((u16)(BIT(10) | BIT(9) | \
145 #define HFA384x_CMD_PROGMODE ((u16)(BIT(9) | BIT(8)))
146 #define HFA384x_CMD_CMDCODE ((u16)(BIT(5) | BIT(4) | \
150 #define HFA384x_STATUS_RESULT ((u16)(BIT(14) | BIT(13) \
157 #define HFA384x_CMDCODE_INIT ((u16)0x00)
158 #define HFA384x_CMDCODE_ENABLE ((u16)0x01)
159 #define HFA384x_CMDCODE_DISABLE ((u16)0x02)
162 #define HFA384x_CMDCODE_INQ ((u16)0x11)
165 #define HFA384x_CMDCODE_DOWNLD ((u16)0x22)
168 #define HFA384x_CMDCODE_MONITOR ((u16)(0x38))
169 #define HFA384x_MONITOR_ENABLE ((u16)(0x0b))
170 #define HFA384x_MONITOR_DISABLE ((u16)(0x0f))
173 #define HFA384x_CMD_ERR ((u16)(0x7F))
181 #define HFA384x_PROGMODE_DISABLE ((u16)0x00)
182 #define HFA384x_PROGMODE_RAM ((u16)0x01)
183 #define HFA384x_PROGMODE_NV ((u16)0x02)
184 #define HFA384x_PROGMODE_NVWRITE ((u16)0x03)
190 #define HFA384x_RID_CNFPORTTYPE ((u16)0xFC00)
191 #define HFA384x_RID_CNFOWNMACADDR ((u16)0xFC01)
192 #define HFA384x_RID_CNFDESIREDSSID ((u16)0xFC02)
193 #define HFA384x_RID_CNFOWNCHANNEL ((u16)0xFC03)
194 #define HFA384x_RID_CNFOWNSSID ((u16)0xFC04)
195 #define HFA384x_RID_CNFMAXDATALEN ((u16)0xFC07)
202 #define HFA384x_RID_CNFOWNMACADDR_LEN ((u16)6)
203 #define HFA384x_RID_CNFDESIREDSSID_LEN ((u16)34)
204 #define HFA384x_RID_CNFOWNSSID_LEN ((u16)34)
209 #define HFA384x_RID_CREATEIBSS ((u16)0xFC81)
210 #define HFA384x_RID_FRAGTHRESH ((u16)0xFC82)
211 #define HFA384x_RID_RTSTHRESH ((u16)0xFC83)
212 #define HFA384x_RID_TXRATECNTL ((u16)0xFC84)
213 #define HFA384x_RID_PROMISCMODE ((u16)0xFC85)
218 #define HFA384x_RID_MAXLOADTIME ((u16)0xFD00)
219 #define HFA384x_RID_DOWNLOADBUFFER ((u16)0xFD01)
220 #define HFA384x_RID_PRIIDENTITY ((u16)0xFD02)
221 #define HFA384x_RID_PRISUPRANGE ((u16)0xFD03)
222 #define HFA384x_RID_PRI_CFIACTRANGES ((u16)0xFD04)
223 #define HFA384x_RID_NICSERIALNUMBER ((u16)0xFD0A)
224 #define HFA384x_RID_NICIDENTITY ((u16)0xFD0B)
225 #define HFA384x_RID_MFISUPRANGE ((u16)0xFD0C)
226 #define HFA384x_RID_CFISUPRANGE ((u16)0xFD0D)
227 #define HFA384x_RID_STAIDENTITY ((u16)0xFD20)
228 #define HFA384x_RID_STASUPRANGE ((u16)0xFD21)
229 #define HFA384x_RID_STA_MFIACTRANGES ((u16)0xFD22)
230 #define HFA384x_RID_STA_CFIACTRANGES ((u16)0xFD23)
237 #define HFA384x_RID_NICSERIALNUMBER_LEN ((u16)12)
242 #define HFA384x_RID_PORTSTATUS ((u16)0xFD40)
243 #define HFA384x_RID_CURRENTSSID ((u16)0xFD41)
244 #define HFA384x_RID_CURRENTBSSID ((u16)0xFD42)
245 #define HFA384x_RID_CURRENTTXRATE ((u16)0xFD44)
246 #define HFA384x_RID_SHORTRETRYLIMIT ((u16)0xFD48)
247 #define HFA384x_RID_LONGRETRYLIMIT ((u16)0xFD49)
248 #define HFA384x_RID_MAXTXLIFETIME ((u16)0xFD4A)
249 #define HFA384x_RID_PRIVACYOPTIMP ((u16)0xFD4F)
250 #define HFA384x_RID_DBMCOMMSQUALITY ((u16)0xFD51)
258 ((u16) sizeof(hfa384x_dbmcommsquality_t))
260 ((u16)sizeof(hfa384x_JoinRequest_data_t))
265 #define HFA384x_RID_CURRENTCHANNEL ((u16)0xFDC1)
270 #define HFA384x_RID_CNFWEPDEFAULTKEYID ((u16)0xFC23)
271 #define HFA384x_RID_CNFWEPDEFAULTKEY0 ((u16)0xFC24)
272 #define HFA384x_RID_CNFWEPDEFAULTKEY1 ((u16)0xFC25)
273 #define HFA384x_RID_CNFWEPDEFAULTKEY2 ((u16)0xFC26)
274 #define HFA384x_RID_CNFWEPDEFAULTKEY3 ((u16)0xFC27)
275 #define HFA384x_RID_CNFWEPFLAGS ((u16)0xFC28)
276 #define HFA384x_RID_CNFAUTHENTICATION ((u16)0xFC2A)
277 #define HFA384x_RID_CNFROAMINGMODE ((u16)0xFC2D)
278 #define HFA384x_RID_CNFAPBCNint ((u16)0xFC33)
279 #define HFA384x_RID_CNFDBMADJUST ((u16)0xFC46)
280 #define HFA384x_RID_CNFWPADATA ((u16)0xFC48)
281 #define HFA384x_RID_CNFBASICRATES ((u16)0xFCB3)
282 #define HFA384x_RID_CNFSUPPRATES ((u16)0xFCB4)
283 #define HFA384x_RID_CNFPASSIVESCANCTRL ((u16)0xFCBA)
284 #define HFA384x_RID_TXPOWERMAX ((u16)0xFCBE)
285 #define HFA384x_RID_JOINREQUEST ((u16)0xFCE2)
286 #define HFA384x_RID_AUTHENTICATESTA ((u16)0xFCE3)
287 #define HFA384x_RID_HOSTSCAN ((u16)0xFCE5)
289 #define HFA384x_RID_CNFWEPDEFAULTKEY_LEN ((u16)6)
290 #define HFA384x_RID_CNFWEP128DEFAULTKEY_LEN ((u16)14)
295 #define HFA384x_PDR_PCB_PARTNUM ((u16)0x0001)
296 #define HFA384x_PDR_PDAVER ((u16)0x0002)
297 #define HFA384x_PDR_NIC_SERIAL ((u16)0x0003)
298 #define HFA384x_PDR_MKK_MEASUREMENTS ((u16)0x0004)
299 #define HFA384x_PDR_NIC_RAMSIZE ((u16)0x0005)
300 #define HFA384x_PDR_MFISUPRANGE ((u16)0x0006)
301 #define HFA384x_PDR_CFISUPRANGE ((u16)0x0007)
302 #define HFA384x_PDR_NICID ((u16)0x0008)
303 #define HFA384x_PDR_MAC_ADDRESS ((u16)0x0101)
304 #define HFA384x_PDR_REGDOMAIN ((u16)0x0103)
305 #define HFA384x_PDR_ALLOWED_CHANNEL ((u16)0x0104)
306 #define HFA384x_PDR_DEFAULT_CHANNEL ((u16)0x0105)
307 #define HFA384x_PDR_TEMPTYPE ((u16)0x0107)
308 #define HFA384x_PDR_IFR_SETTING ((u16)0x0200)
309 #define HFA384x_PDR_RFR_SETTING ((u16)0x0201)
310 #define HFA384x_PDR_HFA3861_BASELINE ((u16)0x0202)
311 #define HFA384x_PDR_HFA3861_SHADOW ((u16)0x0203)
312 #define HFA384x_PDR_HFA3861_IFRF ((u16)0x0204)
313 #define HFA384x_PDR_HFA3861_CHCALSP ((u16)0x0300)
314 #define HFA384x_PDR_HFA3861_CHCALI ((u16)0x0301)
315 #define HFA384x_PDR_MAX_TX_POWER ((u16)0x0302)
316 #define HFA384x_PDR_MASTER_CHAN_LIST ((u16)0x0303)
317 #define HFA384x_PDR_3842_NIC_CONFIG ((u16)0x0400)
318 #define HFA384x_PDR_USB_ID ((u16)0x0401)
319 #define HFA384x_PDR_PCI_ID ((u16)0x0402)
320 #define HFA384x_PDR_PCI_IFCONF ((u16)0x0403)
321 #define HFA384x_PDR_PCI_PMCONF ((u16)0x0404)
322 #define HFA384x_PDR_RFENRGY ((u16)0x0406)
323 #define HFA384x_PDR_USB_POWER_TYPE ((u16)0x0407)
324 #define HFA384x_PDR_USB_MAX_POWER ((u16)0x0409)
325 #define HFA384x_PDR_USB_MANUFACTURER ((u16)0x0410)
326 #define HFA384x_PDR_USB_PRODUCT ((u16)0x0411)
327 #define HFA384x_PDR_ANT_DIVERSITY ((u16)0x0412)
328 #define HFA384x_PDR_HFO_DELAY ((u16)0x0413)
329 #define HFA384x_PDR_SCALE_THRESH ((u16)0x0414)
331 #define HFA384x_PDR_HFA3861_MANF_TESTSP ((u16)0x0900)
332 #define HFA384x_PDR_HFA3861_MANF_TESTI ((u16)0x0901)
333 #define HFA384x_PDR_END_OF_PDA ((u16)0x0000)
337 #define HFA384x_CMD_AINFO_SET(value) ((u16)((u16)(value) << 8))
339 ((u16)HFA384x_CMD_AINFO_SET(value))
341 ((u16)HFA384x_CMD_AINFO_SET((u16)value))
342 #define HFA384x_CMD_CMDCODE_SET(value) ((u16)(value))
344 #define HFA384x_STATUS_RESULT_SET(value) (((u16)(value)) << 8)
354 u16 len;
359 u16 len;
370 u16 id;
371 u16 variant;
372 u16 major;
373 u16 minor;
377 u16 role;
378 u16 id;
379 u16 variant;
380 u16 bottom;
381 u16 top;
398 u16 channelList;
399 u16 txRate;
406 u16 channel;
412 u16 status;
413 u16 algorithm;
418 u16 datalen;
429 u16 page;
430 u16 offset;
431 u16 len;
438 #define HFA384x_PSTATUS_CONN_IBSS ((u16)3)
442 u16 CQ_currBSS;
443 u16 ASL_currBSS;
444 u16 ANL_currFC;
449 u16 CQdbm_currBSS;
450 u16 ASLdbm_currBSS;
451 u16 ANLdbm_currFC;
461 u16 status;
462 u16 reserved1;
463 u16 reserved2;
467 u16 tx_control;
471 u16 frame_control;
472 u16 duration_id;
476 u16 sequence_control;
478 u16 data_len; /* little endian format */
484 u16 data_length; /* big endian format */
490 #define HFA384x_TXSTATUS_ACKERR ((u16)BIT(5))
491 #define HFA384x_TXSTATUS_FORMERR ((u16)BIT(3))
492 #define HFA384x_TXSTATUS_DISCON ((u16)BIT(2))
493 #define HFA384x_TXSTATUS_AGEDERR ((u16)BIT(1))
494 #define HFA384x_TXSTATUS_RETRYERR ((u16)BIT(0))
496 #define HFA384x_TX_MACPORT ((u16)(BIT(10) | \
498 #define HFA384x_TX_STRUCTYPE ((u16)(BIT(4) | BIT(3)))
499 #define HFA384x_TX_TXEX ((u16)BIT(2))
500 #define HFA384x_TX_TXOK ((u16)BIT(1))
506 (((u16)(v))&\
511 #define HFA384x_TX_SET(v, m, s) ((((u16)(v))<<((u16)(s)))&((u16)(m)))
524 u16 status;
530 u16 reserved1;
531 u16 reserved2;
535 u16 duration_id;
539 u16 sequence_control;
546 u16 data_length; /* IEEE? (big endian) format */
553 #define HFA384x_RXSTATUS_MACPORT ((u16)(BIT(10) | \
556 #define HFA384x_RXSTATUS_FCSERR ((u16)BIT(0))
560 #define HFA384x_RXSTATUS_MACPORT_GET(value) ((u16)((((u16)(value)) \
562 #define HFA384x_RXSTATUS_ISFCSERR(value) ((u16)(((u16)(value)) \
569 #define HFA384x_IT_HANDOVERADDR ((u16)0xF000UL)
570 #define HFA384x_IT_COMMTALLIES ((u16)0xF100UL)
571 #define HFA384x_IT_SCANRESULTS ((u16)0xF101UL)
572 #define HFA384x_IT_CHINFORESULTS ((u16)0xF102UL)
573 #define HFA384x_IT_HOSTSCANRESULTS ((u16)0xF103UL)
574 #define HFA384x_IT_LINKSTATUS ((u16)0xF200UL)
575 #define HFA384x_IT_ASSOCSTATUS ((u16)0xF201UL)
576 #define HFA384x_IT_AUTHREQ ((u16)0xF202UL)
577 #define HFA384x_IT_PSUSERCNT ((u16)0xF203UL)
578 #define HFA384x_IT_KEYIDCHANGED ((u16)0xF204UL)
579 #define HFA384x_IT_ASSOCREQ ((u16)0xF205UL)
580 #define HFA384x_IT_MICFAILURE ((u16)0xF206UL)
590 u16 txunicastframes;
591 u16 txmulticastframes;
592 u16 txfragments;
593 u16 txunicastoctets;
594 u16 txmulticastoctets;
595 u16 txdeferredtrans;
596 u16 txsingleretryframes;
597 u16 txmultipleretryframes;
598 u16 txretrylimitexceeded;
599 u16 txdiscards;
600 u16 rxunicastframes;
601 u16 rxmulticastframes;
602 u16 rxfragments;
603 u16 rxunicastoctets;
604 u16 rxmulticastoctets;
605 u16 rxfcserrors;
606 u16 rxdiscardsnobuffer;
607 u16 txdiscardswrongsa;
608 u16 rxdiscardswepundecr;
609 u16 rxmsginmsgfrag;
610 u16 rxmsginbadmsgfrag;
639 u16 chid;
640 u16 anl;
641 u16 sl;
643 u16 bcnint;
644 u16 capinfo;
647 u16 proberesp_rate;
651 u16 rsvd;
652 u16 scanreason;
658 u16 chid;
659 u16 anl;
660 u16 pnl;
661 u16 active;
668 u16 scanchannels;
674 u16 chid;
675 u16 anl;
676 u16 sl;
678 u16 bcnint;
679 u16 capinfo;
682 u16 proberesp_rate;
683 u16 atim;
687 u16 nresult;
688 u16 rsvd;
694 #define HFA384x_LINK_NOTCONNECTED ((u16)0)
695 #define HFA384x_LINK_CONNECTED ((u16)1)
696 #define HFA384x_LINK_DISCONNECTED ((u16)2)
697 #define HFA384x_LINK_AP_CHANGE ((u16)3)
698 #define HFA384x_LINK_AP_OUTOFRANGE ((u16)4)
699 #define HFA384x_LINK_AP_INRANGE ((u16)5)
700 #define HFA384x_LINK_ASSOCFAIL ((u16)6)
703 u16 linkstatus;
708 #define HFA384x_ASSOCSTATUS_STAASSOC ((u16)1)
709 #define HFA384x_ASSOCSTATUS_REASSOC ((u16)2)
710 #define HFA384x_ASSOCSTATUS_AUTHFAIL ((u16)5)
713 u16 assocstatus;
717 u16 reason;
718 u16 reserved;
725 u16 algorithm;
731 u16 usercnt;
736 u16 keyid;
754 u16 framelen;
755 u16 infotype;
792 u16 type;
793 u16 cmd;
794 u16 parm0;
795 u16 parm1;
796 u16 parm2;
801 u16 type;
802 u16 frmlen;
803 u16 rid;
808 u16 type;
809 u16 frmlen;
810 u16 rid;
815 u16 type;
816 u16 frmlen;
817 u16 offset;
818 u16 page;
823 u16 type;
824 u16 frmlen;
825 u16 offset;
826 u16 page;
839 u16 type;
844 u16 type;
845 u16 status;
846 u16 resp0;
847 u16 resp1;
848 u16 resp2;
854 u16 type;
855 u16 frmlen;
856 u16 rid;
863 u16 type;
864 u16 frmlen;
869 u16 type;
870 u16 frmlen;
874 u16 type;
875 u16 errortype;
945 u16 id;
946 u16 variant;
947 u16 bottom;
948 u16 top;
952 u16 id;
953 u16 variant;
954 u16 bottom;
955 u16 top;
959 u16 id;
960 u16 variant;
961 u16 major;
962 u16 minor;
966 u16 value[0];
970 u16 value[0];
974 u16 value[0];
986 u16 numdomains;
987 u16 domain[5];
991 u16 ch_bitmap;
995 u16 channel;
999 u16 available;
1003 u16 type;
1007 u16 ch_value[14];
1011 u16 ch_value[14];
1015 u16 ch_value[14];
1019 u16 trimidac;
1020 u16 trimqdac;
1024 u16 value[3];
1028 u16 value[3];
1032 u16 value[50];
1044 u16 value[14];
1048 u16 value[17];
1052 u16 config_bitmap;
1060 u16 value[30];
1064 u16 value[30];
1068 u16 crc;
1072 u16 len; /* in words */
1073 u16 code;
1119 u16 status;
1120 u16 resp0;
1121 u16 resp1;
1122 u16 resp2;
1133 u16 rid;
1187 u16 cmd;
1189 u16 parm0;
1190 u16 parm1;
1191 u16 parm2;
1269 u16 dltimeout;
1284 u16 link_status;
1285 u16 link_status_new;
1294 u16 presniff_wepflags;
1309 u16 mm_mods;
1364 int hfa384x_drvr_disable(hfa384x_t *hw, u16 macport);
1365 int hfa384x_drvr_enable(hfa384x_t *hw, u16 macport);
1369 int hfa384x_drvr_getconfig(hfa384x_t *hw, u16 rid, void *buf, u16 len);
1374 int hfa384x_drvr_setconfig(hfa384x_t *hw, u16 rid, void *buf, u16 len);
1376 static inline int hfa384x_drvr_getconfig16(hfa384x_t *hw, u16 rid, void *val) hfa384x_drvr_getconfig16()
1380 result = hfa384x_drvr_getconfig(hw, rid, val, sizeof(u16)); hfa384x_drvr_getconfig16()
1382 *((u16 *) val) = le16_to_cpu(*((u16 *) val)); hfa384x_drvr_getconfig16()
1386 static inline int hfa384x_drvr_setconfig16(hfa384x_t *hw, u16 rid, u16 val) hfa384x_drvr_setconfig16()
1388 u16 value = cpu_to_le16(val); hfa384x_drvr_setconfig16()
1395 u16 rid, ctlx_usercb_t usercb, void *usercb_data);
1399 u16 rid,
1401 u16 len, ctlx_usercb_t usercb, void *usercb_data);
1404 hfa384x_drvr_setconfig16_async(hfa384x_t *hw, u16 rid, u16 val) hfa384x_drvr_setconfig16_async()
1406 u16 value = cpu_to_le16(val); hfa384x_drvr_setconfig16_async()
1421 int hfa384x_cmd_enable(hfa384x_t *hw, u16 macport);
1422 int hfa384x_cmd_disable(hfa384x_t *hw, u16 macport);
1423 int hfa384x_cmd_allocate(hfa384x_t *hw, u16 len);
1424 int hfa384x_cmd_monitor(hfa384x_t *hw, u16 enable);
1427 u16 mode, u16 lowaddr, u16 highaddr, u16 codelen);
H A Dp80211mgmt.h245 u16 dwell;
265 u16 cfp_maxdur;
266 u16 cfp_durremaining;
283 u16 atim_win;
298 u16 type;
299 u16 len; /* DOES NOT include CRC !!!! */
310 u16 type;
311 u16 len;
318 u16 *bcn_int;
319 u16 *cap_info;
333 u16 type;
334 u16 len;
349 u16 type;
350 u16 len;
356 u16 *reason;
364 u16 type;
365 u16 len;
371 u16 *cap_info;
372 u16 *listen_int;
381 u16 type;
382 u16 len;
388 u16 *cap_info;
389 u16 *status;
390 u16 *aid;
398 u16 type;
399 u16 len;
405 u16 *cap_info;
406 u16 *listen_int;
416 u16 type;
417 u16 len;
423 u16 *cap_info;
424 u16 *status;
425 u16 *aid;
433 u16 type;
434 u16 len;
448 u16 type;
449 u16 len;
456 u16 *bcn_int;
457 u16 *cap_info;
469 u16 type;
470 u16 len;
476 u16 *auth_alg;
477 u16 *auth_seq;
478 u16 *status;
486 u16 type;
487 u16 len;
493 u16 *reason;
/linux-4.4.14/arch/mips/include/asm/mach-tx49xx/
H A Dmangle-port.h15 extern u16 (*ioswabw)(volatile u16 *a, u16 x);
16 extern u16 (*__mem_ioswabw)(volatile u16 *a, u16 x);
/linux-4.4.14/drivers/gpu/drm/nouveau/include/nvkm/subdev/bios/
H A Ddisp.h3 u16 nvbios_disp_table(struct nvkm_bios *,
7 u16 data;
10 u16 nvbios_disp_entry(struct nvkm_bios *, u8 idx, u8 *ver, u8 *hdr, u8 *sub);
11 u16 nvbios_disp_parse(struct nvkm_bios *, u8 idx, u8 *ver, u8 *hdr, u8 *sub,
15 u16 type;
16 u16 mask;
17 u16 script[3];
20 u16 nvbios_outp_entry(struct nvkm_bios *, u8 idx,
22 u16 nvbios_outp_parse(struct nvkm_bios *, u8 idx,
24 u16 nvbios_outp_match(struct nvkm_bios *, u16 type, u16 mask,
28 u16 match;
29 u16 clkcmp[2];
32 u16 nvbios_ocfg_entry(struct nvkm_bios *, u16 outp, u8 idx,
34 u16 nvbios_ocfg_parse(struct nvkm_bios *, u16 outp, u8 idx,
36 u16 nvbios_ocfg_match(struct nvkm_bios *, u16 outp, u16 type,
38 u16 nvbios_oclk_match(struct nvkm_bios *, u16 cmp, u32 khz);
H A Ddp.h4 u16 type;
5 u16 mask;
11 u16 nvbios_dpout_parse(struct nvkm_bios *, u8 idx,
14 u16 nvbios_dpout_match(struct nvkm_bios *, u16 type, u16 mask,
25 u16
26 nvbios_dpcfg_parse(struct nvkm_bios *, u16 outp, u8 idx,
28 u16
29 nvbios_dpcfg_match(struct nvkm_bios *, u16 outp, u8 pc, u8 vs, u8 pe,
H A Dpcir.h4 u16 vendor_id;
5 u16 device_id;
8 u16 image_rev;
13 u32 nvbios_pcirTe(struct nvkm_bios *, u32, u8 *ver, u16 *hdr);
14 u32 nvbios_pcirTp(struct nvkm_bios *, u32, u8 *ver, u16 *hdr,
H A Dbit.h6 u16 length;
7 u16 offset;
H A Dboost.h3 u16 nvbios_boostTe(struct nvkm_bios *, u8 *, u8 *, u8 *, u8 *, u8 *, u8 *);
11 u16 nvbios_boostEe(struct nvkm_bios *, int idx, u8 *, u8 *, u8 *, u8 *);
12 u16 nvbios_boostEp(struct nvkm_bios *, int idx, u8 *, u8 *, u8 *, u8 *,
14 u16 nvbios_boostEm(struct nvkm_bios *, u8, u8 *, u8 *, u8 *, u8 *,
24 u16 nvbios_boostSe(struct nvkm_bios *, int, u16, u8 *, u8 *, u8, u8);
25 u16 nvbios_boostSp(struct nvkm_bios *, int, u16, u8 *, u8 *, u8, u8,
H A Ddcb.h16 u16 hasht;
17 u16 hashm;
57 u16 dcb_table(struct nvkm_bios *, u8 *ver, u8 *hdr, u8 *ent, u8 *len);
58 u16 dcb_outp(struct nvkm_bios *, u8 idx, u8 *ver, u8 *len);
59 u16 dcb_outp_parse(struct nvkm_bios *, u8 idx, u8 *, u8 *,
61 u16 dcb_outp_match(struct nvkm_bios *, u16 type, u16 mask, u8 *, u8 *,
64 (struct nvkm_bios *, void *, int index, u16 entry));
H A Dcstep.h3 u16 nvbios_cstepTe(struct nvkm_bios *,
11 u16 nvbios_cstepEe(struct nvkm_bios *, int idx, u8 *ver, u8 *hdr);
12 u16 nvbios_cstepEp(struct nvkm_bios *, int idx, u8 *ver, u8 *hdr,
14 u16 nvbios_cstepEm(struct nvkm_bios *, u8 pstate, u8 *ver, u8 *hdr,
23 u16 nvbios_cstepXe(struct nvkm_bios *, int idx, u8 *ver, u8 *hdr);
24 u16 nvbios_cstepXp(struct nvkm_bios *, int idx, u8 *ver, u8 *hdr,
H A Dbmp.h3 static inline u16 bmp_version()
14 static inline u16 bmp_mem_init_table()
22 static inline u16 bmp_sdr_seq_table()
30 static inline u16 bmp_ddr_seq_table()
H A Dfan.h5 u16 nvbios_fan_parse(struct nvkm_bios *bios, struct nvbios_therm_fan *fan);
H A Dvmap.h6 u16 nvbios_vmap_table(struct nvkm_bios *, u8 *ver, u8 *hdr, u8 *cnt, u8 *len);
7 u16 nvbios_vmap_parse(struct nvkm_bios *, u8 *ver, u8 *hdr, u8 *cnt, u8 *len,
18 u16 nvbios_vmap_entry(struct nvkm_bios *, int idx, u8 *ver, u8 *len);
19 u16 nvbios_vmap_entry_parse(struct nvkm_bios *, int idx, u8 *ver, u8 *len,
H A Dinit.h7 u16 offset;
14 u16 repeat;
15 u16 repend;
H A Dtiming.h5 u16 nvbios_timingTe(struct nvkm_bios *,
7 u16 nvbios_timingEe(struct nvkm_bios *, int idx,
9 u16 nvbios_timingEp(struct nvkm_bios *, int idx,
H A Dmxm.h3 u16 mxm_table(struct nvkm_bios *, u8 *ver, u8 *hdr);
H A Dvolt.h24 u16 nvbios_volt_table(struct nvkm_bios *, u8 *ver, u8 *hdr, u8 *cnt, u8 *len);
25 u16 nvbios_volt_parse(struct nvkm_bios *, u8 *ver, u8 *hdr, u8 *cnt, u8 *len,
33 u16 nvbios_volt_entry(struct nvkm_bios *, int idx, u8 *ver, u8 *len);
34 u16 nvbios_volt_entry_parse(struct nvkm_bios *, int idx, u8 *ver, u8 *len,
H A Dxpio.h14 u16 dcb_xpio_table(struct nvkm_bios *, u8 idx,
16 u16 dcb_xpio_parse(struct nvkm_bios *, u8 idx,
H A Dgpio.h41 u16 dcb_gpio_table(struct nvkm_bios *, u8 *ver, u8 *hdr, u8 *cnt, u8 *len);
42 u16 dcb_gpio_entry(struct nvkm_bios *, int idx, int ent, u8 *ver, u8 *len);
43 u16 dcb_gpio_parse(struct nvkm_bios *, int idx, int ent, u8 *ver, u8 *len,
45 u16 dcb_gpio_match(struct nvkm_bios *, int idx, u8 func, u8 line,
/linux-4.4.14/drivers/scsi/bfa/
H A Dbfad_bsg.h162 u16 bfad_num;
163 u16 rsvd;
168 u16 bfad_num;
169 u16 rsvd;
176 u16 bfad_num;
177 u16 rsvd;
182 u16 bfad_num;
183 u16 vf_id;
191 u16 bfad_num;
192 u16 rsvd;
198 u16 bfad_num;
199 u16 rsvd;
205 u16 bfad_num;
206 u16 rsvd;
222 u16 pvid; /* Port vlan id */
223 u16 rsvd1;
231 u16 bfad_num;
232 u16 rsvd;
238 u16 bfad_num;
239 u16 rsvd;
245 u16 bfad_num;
246 u16 rsvd;
254 u16 bfad_num;
255 u16 rsvd;
261 u16 bfad_num;
262 u16 rsvd;
268 u16 bfad_num;
269 u16 rsvd;
275 u16 bfad_num;
276 u16 rsvd;
283 u16 bfad_num;
284 u16 maxfrsize;
289 u16 bfad_num;
290 u16 rsvd;
298 u16 bfad_num;
299 u16 vf_id;
306 u16 bfad_num;
307 u16 vf_id;
314 u16 bfad_num;
315 u16 vf_id;
322 u16 bfad_num;
323 u16 vf_id;
332 u16 bfad_num;
333 u16 vf_id;
343 u16 bfad_num;
344 u16 vf_id;
352 u16 bfad_num;
353 u16 vf_id;
364 u16 bfad_num;
365 u16 vf_id;
372 u16 bfad_num;
373 u16 vf_id;
382 u16 bfad_num;
383 u16 vf_id;
390 u16 bfad_num;
391 u16 vf_id;
398 u16 bfad_num;
399 u16 vf_id;
405 u16 bfad_num;
406 u16 vf_id;
414 u16 bfad_num;
415 u16 rsvd;
421 u16 bfad_num;
422 u16 param;
427 u16 bfad_num;
433 u16 bfad_num;
439 u16 bfad_num;
444 u16 bfad_num;
445 u16 vf_id;
453 u16 bfad_num;
454 u16 vf_id;
462 u16 bfad_num;
463 u16 vf_id;
471 u16 bfad_num;
472 u16 rsvd;
478 u16 bfad_num;
479 u16 pcifn_id;
480 u16 bw_min;
481 u16 bw_max;
489 u16 bfad_num;
490 u16 rsvd;
496 u16 bfad_num;
497 u16 instance;
503 u16 bfad_num;
510 u16 bfad_num;
511 u16 rsvd;
517 u16 bfad_num;
518 u16 rsvd;
524 u16 bfad_num;
525 u16 rsvd;
533 u16 bfad_num;
534 u16 rsvd;
542 u16 bfad_num;
543 u16 rsvd;
549 u16 bfad_num;
550 u16 rsvd;
556 u16 bfad_num;
557 u16 rsvd;
563 u16 bfad_num;
573 u16 bfad_num;
574 u16 rsvd;
580 u16 bfad_num;
581 u16 rsvd[3];
589 u16 bfad_num;
590 u16 rsvd;
600 u16 bfad_num;
601 u16 rsvd;
607 u16 bfad_num;
608 u16 rsvd;
609 u16 lpcnt;
610 u16 pat;
615 u16 bfad_num;
616 u16 rsvd;
624 u16 bfad_num;
625 u16 rsvd;
633 u16 bfad_num;
634 u16 rsvd;
640 u16 bfad_num;
641 u16 rsvd;
647 u16 bfad_num;
648 u16 rsvd;
656 u16 bfad_num;
657 u16 rsvd;
662 u16 bfad_num;
663 u16 instance;
669 u16 bfad_num;
670 u16 instance;
677 u16 bfad_num;
678 u16 rsvd;
687 u16 bfad_num;
688 u16 instance;
694 u16 bfad_num;
695 u16 pcifn_id;
701 u16 bfad_num;
702 u16 rsvd;
708 u16 bfad_num;
709 u16 rsvd;
715 u16 bfad_num;
716 u16 rsvd;
722 u16 bfad_num;
723 u16 rsvd;
729 u16 bfad_num;
730 u16 rsvd;
736 u16 bfad_num;
737 u16 rsvd;
743 u16 bfad_num;
744 u16 rsvd;
750 u16 bfad_num;
751 u16 vf_id;
757 u16 bfad_num;
758 u16 vf_id;
763 u16 bfad_num;
769 u16 bfad_num;
770 u16 vf_id;
778 u16 bfad_num;
779 u16 vf_id;
788 u16 bfad_num;
789 u16 rsvd;
797 u16 bfad_num;
798 u16 rsvd1;
808 u16 bfad_num;
809 u16 rsvd;
815 u16 vf_id;
H A Dbfa_fcbuild.h137 u16 fc_flogi_build(struct fchs_s *fchs, struct fc_logi_s *flogi,
138 u32 s_id, u16 ox_id, wwn_t port_name, wwn_t node_name,
139 u16 pdu_size, u8 set_npiv, u8 set_auth,
140 u16 local_bb_credits);
142 u16 fc_fdisc_build(struct fchs_s *buf, struct fc_logi_s *flogi, u32 s_id,
143 u16 ox_id, wwn_t port_name, wwn_t node_name,
144 u16 pdu_size);
146 u16 fc_flogi_acc_build(struct fchs_s *fchs, struct fc_logi_s *flogi,
149 u16 pdu_size,
150 u16 local_bb_credits, u8 bb_scn);
152 u16 fc_plogi_build(struct fchs_s *fchs, void *pld, u32 d_id,
153 u32 s_id, u16 ox_id, wwn_t port_name,
154 wwn_t node_name, u16 pdu_size, u16 bb_cr);
158 u16 fc_abts_build(struct fchs_s *buf, u32 d_id, u32 s_id,
159 u16 ox_id);
163 u16 fc_rrq_build(struct fchs_s *buf, struct fc_rrq_s *rrq, u32 d_id,
164 u32 s_id, u16 ox_id, u16 rrq_oxid);
167 u16 fc_rspnid_build(struct fchs_s *fchs, void *pld, u32 s_id,
168 u16 ox_id, u8 *name);
169 u16 fc_rsnn_nn_build(struct fchs_s *fchs, void *pld, u32 s_id,
172 u16 fc_rftid_build(struct fchs_s *fchs, void *pld, u32 s_id,
173 u16 ox_id, enum bfa_lport_role role);
175 u16 fc_rftid_build_sol(struct fchs_s *fchs, void *pyld, u32 s_id,
176 u16 ox_id, u8 *fc4_bitmap,
179 u16 fc_rffid_build(struct fchs_s *fchs, void *pyld, u32 s_id,
180 u16 ox_id, u8 fc4_type, u8 fc4_ftrs);
182 u16 fc_gidpn_build(struct fchs_s *fchs, void *pyld, u32 s_id,
183 u16 ox_id, wwn_t port_name);
185 u16 fc_gpnid_build(struct fchs_s *fchs, void *pld, u32 s_id,
186 u16 ox_id, u32 port_id);
188 u16 fc_gs_rjt_build(struct fchs_s *fchs, struct ct_hdr_s *cthdr,
189 u32 d_id, u32 s_id, u16 ox_id,
192 u16 fc_scr_build(struct fchs_s *fchs, struct fc_scr_s *scr,
193 u8 set_br_reg, u32 s_id, u16 ox_id);
195 u16 fc_plogi_acc_build(struct fchs_s *fchs, void *pld, u32 d_id,
196 u32 s_id, u16 ox_id,
198 u16 pdu_size, u16 bb_cr);
200 u16 fc_adisc_build(struct fchs_s *fchs, struct fc_adisc_s *adisc,
210 u16 fc_adisc_acc_build(struct fchs_s *fchs, struct fc_adisc_s *adisc,
213 u16 fc_ls_rjt_build(struct fchs_s *fchs, struct fc_ls_rjt_s *ls_rjt,
216 u16 fc_ls_acc_build(struct fchs_s *fchs, struct fc_els_cmd_s *els_cmd,
218 u16 fc_prli_build(struct fchs_s *fchs, void *pld, u32 d_id,
219 u32 s_id, u16 ox_id);
223 u16 fc_prli_acc_build(struct fchs_s *fchs, void *pld, u32 d_id,
227 u16 fc_rnid_build(struct fchs_s *fchs, struct fc_rnid_cmd_s *rnid,
228 u32 d_id, u32 s_id, u16 ox_id,
231 u16 fc_rnid_acc_build(struct fchs_s *fchs,
237 u16 fc_rpsc2_build(struct fchs_s *fchs, struct fc_rpsc2_cmd_s *rps2c,
238 u32 d_id, u32 s_id, u32 *pid_list, u16 npids);
239 u16 fc_rpsc_build(struct fchs_s *fchs, struct fc_rpsc_cmd_s *rpsc,
240 u32 d_id, u32 s_id, u16 ox_id);
241 u16 fc_rpsc_acc_build(struct fchs_s *fchs,
244 u16 fc_gid_ft_build(struct fchs_s *fchs, void *pld, u32 s_id,
247 u16 fc_rpnid_build(struct fchs_s *fchs, void *pyld, u32 s_id,
250 u16 fc_rnnid_build(struct fchs_s *fchs, void *pyld, u32 s_id,
253 u16 fc_rcsid_build(struct fchs_s *fchs, void *pyld, u32 s_id,
256 u16 fc_rptid_build(struct fchs_s *fchs, void *pyld, u32 s_id,
259 u16 fc_ganxt_build(struct fchs_s *fchs, void *pyld, u32 s_id,
262 u16 fc_logo_build(struct fchs_s *fchs, struct fc_logo_s *logo, u32 d_id,
263 u32 s_id, u16 ox_id, wwn_t port_name);
265 u16 fc_logo_acc_build(struct fchs_s *fchs, void *pld, u32 d_id,
268 u16 fc_fdmi_reqhdr_build(struct fchs_s *fchs, void *pyld, u32 s_id,
269 u16 cmd_code);
270 u16 fc_gmal_req_build(struct fchs_s *fchs, void *pyld, u32 s_id, wwn_t wwn);
271 u16 fc_gfn_req_build(struct fchs_s *fchs, void *pyld, u32 s_id, wwn_t wwn);
288 u16 fc_ba_acc_build(struct fchs_s *fchs, struct fc_ba_acc_s *ba_acc, u32 d_id,
289 u32 s_id, __be16 ox_id, u16 rx_id);
293 u16 fc_tprlo_acc_build(struct fchs_s *fchs, struct fc_tprlo_acc_s *tprlo_acc,
296 u16 fc_prlo_acc_build(struct fchs_s *fchs, struct fc_prlo_acc_s *prlo_acc,
299 u16 fc_logo_rsp_parse(struct fchs_s *fchs, int len);
301 u16 fc_pdisc_build(struct fchs_s *fchs, u32 d_id, u32 s_id,
302 u16 ox_id, wwn_t port_name, wwn_t node_name,
303 u16 pdu_size);
305 u16 fc_pdisc_rsp_parse(struct fchs_s *fchs, int len, wwn_t port_name);
307 u16 fc_prlo_build(struct fchs_s *fchs, u32 d_id, u32 s_id,
308 u16 ox_id, int num_pages);
310 u16 fc_prlo_rsp_parse(struct fchs_s *fchs, int len);
312 u16 fc_tprlo_build(struct fchs_s *fchs, u32 d_id, u32 s_id,
313 u16 ox_id, int num_pages, enum fc_tprlo_type tprlo_type,
316 u16 fc_tprlo_rsp_parse(struct fchs_s *fchs, int len);
318 u16 fc_ba_rjt_build(struct fchs_s *fchs, u32 d_id, u32 s_id,
321 u16 fc_gnnid_build(struct fchs_s *fchs, void *pyld, u32 s_id, u16 ox_id,
324 u16 fc_ct_rsp_parse(struct ct_hdr_s *cthdr);
326 u16 fc_rscn_build(struct fchs_s *fchs, struct fc_rscn_pl_s *rscn, u32 s_id,
327 u16 ox_id);
/linux-4.4.14/drivers/staging/wilc1000/
H A Dwilc_wlan_cfg.h14 u16 id;
15 u16 val;
19 u16 id;
20 u16 val;
33 int wilc_wlan_cfg_set_wid(u8 *frame, u32 offset, u16 id, u8 *buf, int size);
34 int wilc_wlan_cfg_get_wid(u8 *frame, u32 offset, u16 id);
35 int wilc_wlan_cfg_get_wid_value(u16 wid, u8 *buffer, u32 buffer_size);
H A Dcoreconfigurator.h50 #define MAKE_WORD16(lsb, msb) ((((u16)(msb) << 8) & 0xFF00) | (lsb))
74 u16 id;
88 u16 u16CapInfo;
92 u16 u16BeaconPeriod;
101 u16 u16IEsLen;
108 u16 u16capability;
109 u16 u16ConnectStatus;
110 u16 u16AssocID;
112 u16 u16RespIEsLen;
120 u16 u16RespIEsLen;
121 u16 u16ConnectStatus;
125 u16 u16reason;
/linux-4.4.14/include/linux/spi/
H A Dad7877.h9 u16 model; /* 7877 */
10 u16 vref_delay_usecs; /* 0 for external vref; etc */
11 u16 x_plate_ohms;
12 u16 y_plate_ohms;
14 u16 x_min, x_max;
15 u16 y_min, y_max;
16 u16 pressure_min, pressure_max;
H A Dads7846.h15 u16 model; /* 7843, 7845, 7846, 7873. */
16 u16 vref_delay_usecs; /* 0 for external vref; etc */
17 u16 vref_mv; /* external vref value, milliVolts
28 u16 settle_delay_usecs;
34 u16 penirq_recheck_delay_usecs;
36 u16 x_plate_ohms;
37 u16 y_plate_ohms;
39 u16 x_min, x_max;
40 u16 y_min, y_max;
41 u16 pressure_min, pressure_max;
43 u16 debounce_max; /* max number of additional readings
45 u16 debounce_tol; /* tolerance used for filtering */
46 u16 debounce_rep; /* additional consecutive good readings
H A Dsh_msiof.h7 u16 num_chipselect;
H A Dad7879.h9 u16 model; /* 7879 */
10 u16 x_plate_ohms;
11 u16 x_min, x_max;
12 u16 y_min, y_max;
13 u16 pressure_min, pressure_max;
/linux-4.4.14/drivers/staging/rtl8192e/
H A Drtl819x_BA.h31 u16 ShortData;
33 u16 FragNum:4;
34 u16 SeqNum:12;
40 u16 shortData;
42 u16 AMSDU_Support:1;
43 u16 BAPolicy:1;
44 u16 TID:4;
45 u16 BufferSize:10;
51 u16 shortData;
53 u16 Reserved:11;
54 u16 Initiator:1;
55 u16 TID:4;
64 u16 BaTimeoutValue;
H A Drtl819x_TS.h41 u16 TxCurSeq;
54 u16 RxIndicateSeq;
55 u16 RxTimeoutIndicateSeq;
59 u16 RxLastSeqNum;
/linux-4.4.14/drivers/staging/rtl8192u/ieee80211/
H A Drtl819x_BA.h30 u16 ShortData;
32 u16 FragNum:4;
33 u16 SeqNum:12;
39 u16 shortData;
41 u16 AMSDU_Support:1;
42 u16 BAPolicy:1;
43 u16 TID:4;
44 u16 BufferSize:10;
50 u16 shortData;
52 u16 Reserved:11;
53 u16 Initiator:1;
54 u16 TID:4;
63 u16 BaTimeoutValue;
H A Drtl819x_TS.h30 u16 TxCurSeq;
43 u16 RxIndicateSeq;
44 u16 RxTimeoutIndicateSeq;
48 u16 RxLastSeqNum;
/linux-4.4.14/drivers/acpi/acpica/
H A Damlcode.h51 #define AML_NULL_CHAR (u16) 0x00
53 #define AML_ZERO_OP (u16) 0x00
54 #define AML_ONE_OP (u16) 0x01
55 #define AML_UNASSIGNED (u16) 0x02
56 #define AML_ALIAS_OP (u16) 0x06
57 #define AML_NAME_OP (u16) 0x08
58 #define AML_BYTE_OP (u16) 0x0a
59 #define AML_WORD_OP (u16) 0x0b
60 #define AML_DWORD_OP (u16) 0x0c
61 #define AML_STRING_OP (u16) 0x0d
62 #define AML_QWORD_OP (u16) 0x0e /* ACPI 2.0 */
63 #define AML_SCOPE_OP (u16) 0x10
64 #define AML_BUFFER_OP (u16) 0x11
65 #define AML_PACKAGE_OP (u16) 0x12
66 #define AML_VAR_PACKAGE_OP (u16) 0x13 /* ACPI 2.0 */
67 #define AML_METHOD_OP (u16) 0x14
68 #define AML_EXTERNAL_OP (u16) 0x15 /* ACPI 6.0 */
69 #define AML_DUAL_NAME_PREFIX (u16) 0x2e
70 #define AML_MULTI_NAME_PREFIX_OP (u16) 0x2f
71 #define AML_NAME_CHAR_SUBSEQ (u16) 0x30
72 #define AML_NAME_CHAR_FIRST (u16) 0x41
73 #define AML_EXTENDED_OP_PREFIX (u16) 0x5b
74 #define AML_ROOT_PREFIX (u16) 0x5c
75 #define AML_PARENT_PREFIX (u16) 0x5e
76 #define AML_LOCAL_OP (u16) 0x60
77 #define AML_LOCAL0 (u16) 0x60
78 #define AML_LOCAL1 (u16) 0x61
79 #define AML_LOCAL2 (u16) 0x62
80 #define AML_LOCAL3 (u16) 0x63
81 #define AML_LOCAL4 (u16) 0x64
82 #define AML_LOCAL5 (u16) 0x65
83 #define AML_LOCAL6 (u16) 0x66
84 #define AML_LOCAL7 (u16) 0x67
85 #define AML_ARG_OP (u16) 0x68
86 #define AML_ARG0 (u16) 0x68
87 #define AML_ARG1 (u16) 0x69
88 #define AML_ARG2 (u16) 0x6a
89 #define AML_ARG3 (u16) 0x6b
90 #define AML_ARG4 (u16) 0x6c
91 #define AML_ARG5 (u16) 0x6d
92 #define AML_ARG6 (u16) 0x6e
93 #define AML_STORE_OP (u16) 0x70
94 #define AML_REF_OF_OP (u16) 0x71
95 #define AML_ADD_OP (u16) 0x72
96 #define AML_CONCAT_OP (u16) 0x73
97 #define AML_SUBTRACT_OP (u16) 0x74
98 #define AML_INCREMENT_OP (u16) 0x75
99 #define AML_DECREMENT_OP (u16) 0x76
100 #define AML_MULTIPLY_OP (u16) 0x77
101 #define AML_DIVIDE_OP (u16) 0x78
102 #define AML_SHIFT_LEFT_OP (u16) 0x79
103 #define AML_SHIFT_RIGHT_OP (u16) 0x7a
104 #define AML_BIT_AND_OP (u16) 0x7b
105 #define AML_BIT_NAND_OP (u16) 0x7c
106 #define AML_BIT_OR_OP (u16) 0x7d
107 #define AML_BIT_NOR_OP (u16) 0x7e
108 #define AML_BIT_XOR_OP (u16) 0x7f
109 #define AML_BIT_NOT_OP (u16) 0x80
110 #define AML_FIND_SET_LEFT_BIT_OP (u16) 0x81
111 #define AML_FIND_SET_RIGHT_BIT_OP (u16) 0x82
112 #define AML_DEREF_OF_OP (u16) 0x83
113 #define AML_CONCAT_RES_OP (u16) 0x84 /* ACPI 2.0 */
114 #define AML_MOD_OP (u16) 0x85 /* ACPI 2.0 */
115 #define AML_NOTIFY_OP (u16) 0x86
116 #define AML_SIZE_OF_OP (u16) 0x87
117 #define AML_INDEX_OP (u16) 0x88
118 #define AML_MATCH_OP (u16) 0x89
119 #define AML_CREATE_DWORD_FIELD_OP (u16) 0x8a
120 #define AML_CREATE_WORD_FIELD_OP (u16) 0x8b
121 #define AML_CREATE_BYTE_FIELD_OP (u16) 0x8c
122 #define AML_CREATE_BIT_FIELD_OP (u16) 0x8d
123 #define AML_TYPE_OP (u16) 0x8e
124 #define AML_CREATE_QWORD_FIELD_OP (u16) 0x8f /* ACPI 2.0 */
125 #define AML_LAND_OP (u16) 0x90
126 #define AML_LOR_OP (u16) 0x91
127 #define AML_LNOT_OP (u16) 0x92
128 #define AML_LEQUAL_OP (u16) 0x93
129 #define AML_LGREATER_OP (u16) 0x94
130 #define AML_LLESS_OP (u16) 0x95
131 #define AML_TO_BUFFER_OP (u16) 0x96 /* ACPI 2.0 */
132 #define AML_TO_DECSTRING_OP (u16) 0x97 /* ACPI 2.0 */
133 #define AML_TO_HEXSTRING_OP (u16) 0x98 /* ACPI 2.0 */
134 #define AML_TO_INTEGER_OP (u16) 0x99 /* ACPI 2.0 */
135 #define AML_TO_STRING_OP (u16) 0x9c /* ACPI 2.0 */
136 #define AML_COPY_OP (u16) 0x9d /* ACPI 2.0 */
137 #define AML_MID_OP (u16) 0x9e /* ACPI 2.0 */
138 #define AML_CONTINUE_OP (u16) 0x9f /* ACPI 2.0 */
139 #define AML_IF_OP (u16) 0xa0
140 #define AML_ELSE_OP (u16) 0xa1
141 #define AML_WHILE_OP (u16) 0xa2
142 #define AML_NOOP_OP (u16) 0xa3
143 #define AML_RETURN_OP (u16) 0xa4
144 #define AML_BREAK_OP (u16) 0xa5
145 #define AML_BREAK_POINT_OP (u16) 0xcc
146 #define AML_ONES_OP (u16) 0xff
150 #define AML_EXTENDED_OPCODE (u16) 0x5b00 /* prefix for 2-byte opcodes */
152 #define AML_MUTEX_OP (u16) 0x5b01
153 #define AML_EVENT_OP (u16) 0x5b02
154 #define AML_SHIFT_RIGHT_BIT_OP (u16) 0x5b10
155 #define AML_SHIFT_LEFT_BIT_OP (u16) 0x5b11
156 #define AML_COND_REF_OF_OP (u16) 0x5b12
157 #define AML_CREATE_FIELD_OP (u16) 0x5b13
158 #define AML_LOAD_TABLE_OP (u16) 0x5b1f /* ACPI 2.0 */
159 #define AML_LOAD_OP (u16) 0x5b20
160 #define AML_STALL_OP (u16) 0x5b21
161 #define AML_SLEEP_OP (u16) 0x5b22
162 #define AML_ACQUIRE_OP (u16) 0x5b23
163 #define AML_SIGNAL_OP (u16) 0x5b24
164 #define AML_WAIT_OP (u16) 0x5b25
165 #define AML_RESET_OP (u16) 0x5b26
166 #define AML_RELEASE_OP (u16) 0x5b27
167 #define AML_FROM_BCD_OP (u16) 0x5b28
168 #define AML_TO_BCD_OP (u16) 0x5b29
169 #define AML_UNLOAD_OP (u16) 0x5b2a
170 #define AML_REVISION_OP (u16) 0x5b30
171 #define AML_DEBUG_OP (u16) 0x5b31
172 #define AML_FATAL_OP (u16) 0x5b32
173 #define AML_TIMER_OP (u16) 0x5b33 /* ACPI 3.0 */
174 #define AML_REGION_OP (u16) 0x5b80
175 #define AML_FIELD_OP (u16) 0x5b81
176 #define AML_DEVICE_OP (u16) 0x5b82
177 #define AML_PROCESSOR_OP (u16) 0x5b83
178 #define AML_POWER_RES_OP (u16) 0x5b84
179 #define AML_THERMAL_ZONE_OP (u16) 0x5b85
180 #define AML_INDEX_FIELD_OP (u16) 0x5b86
181 #define AML_BANK_FIELD_OP (u16) 0x5b87
182 #define AML_DATA_REGION_OP (u16) 0x5b88 /* ACPI 2.0 */
188 #define AML_LGREATEREQUAL_OP (u16) 0x9295
189 #define AML_LLESSEQUAL_OP (u16) 0x9294
190 #define AML_LNOTEQUAL_OP (u16) 0x9293
205 #define AML_INT_NAMEPATH_OP (u16) 0x002d
206 #define AML_INT_NAMEDFIELD_OP (u16) 0x0030
207 #define AML_INT_RESERVEDFIELD_OP (u16) 0x0031
208 #define AML_INT_ACCESSFIELD_OP (u16) 0x0032
209 #define AML_INT_BYTELIST_OP (u16) 0x0033
210 #define AML_INT_METHODCALL_OP (u16) 0x0035
211 #define AML_INT_RETURN_VALUE_OP (u16) 0x0036
212 #define AML_INT_EVAL_SUBTREE_OP (u16) 0x0037
213 #define AML_INT_CONNECTION_OP (u16) 0x0038
214 #define AML_INT_EXTACCESSFIELD_OP (u16) 0x0039
H A Damlresrc.h149 AML_RESOURCE_SMALL_HEADER_COMMON u16 irq_mask;
154 AML_RESOURCE_SMALL_HEADER_COMMON u16 irq_mask;
174 u16 minimum;
175 u16 maximum;
181 AML_RESOURCE_SMALL_HEADER_COMMON u16 address;
193 AML_RESOURCE_SMALL_HEADER_COMMON u16 request_lines;
194 u16 channels;
203 u16 resource_length;
216 u16 minimum;
217 u16 maximum;
218 u16 alignment;
219 u16 address_length;
281 AML_RESOURCE_ADDRESS_COMMON u16 granularity;
282 u16 minimum;
283 u16 maximum;
284 u16 translation_offset;
285 u16 address_length;
308 u16 flags;
309 u16 int_flags;
311 u16 drive_strength;
312 u16 debounce_timeout;
313 u16 pin_table_offset;
315 u16 res_source_offset;
316 u16 vendor_offset;
317 u16 vendor_length;
341 u16 type_specific_flags; \
343 u16 type_data_length; \
359 u16 slave_address;
377 u16 device_selection;
392 u16 rx_fifo_size;
393 u16 tx_fifo_size;
454 u16 word_item;
463 u32 pin_count, u16 *pin_list, char *device_name);
/linux-4.4.14/drivers/staging/most/hdm-dim2/
H A Ddim2_hal.h42 u16 done_buffers; /* Number of completed buffers */
62 u16 dbr_addr;
63 u16 dbr_size;
64 u16 packet_length; /*< Isochronous packet length in bytes. */
65 u16 bytes_per_frame; /*< Synchronous bytes per frame. */
66 u16 done_sw_buffers_number; /*< Done software buffers number. */
76 u16 DIM_NormCtrlAsyncBufferSize(u16 buf_size);
78 u16 DIM_NormIsocBufferSize(u16 buf_size, u16 packet_length);
80 u16 DIM_NormSyncBufferSize(u16 buf_size, u16 bytes_per_frame);
82 u8 DIM_InitControl(struct dim_channel *ch, u8 is_tx, u16 ch_address,
83 u16 max_buffer_size);
85 u8 DIM_InitAsync(struct dim_channel *ch, u8 is_tx, u16 ch_address,
86 u16 max_buffer_size);
88 u8 DIM_InitIsoc(struct dim_channel *ch, u8 is_tx, u16 ch_address,
89 u16 packet_length);
91 u8 DIM_InitSync(struct dim_channel *ch, u8 is_tx, u16 ch_address,
92 u16 bytes_per_frame);
104 u16 buffer_size);
106 bool DIM_DetachBuffers(struct dim_channel *ch, u16 buffers_number);
/linux-4.4.14/drivers/net/phy/
H A Dbcm-phy-lib.h19 int bcm_phy_write_exp(struct phy_device *phydev, u16 reg, u16 val);
20 int bcm_phy_read_exp(struct phy_device *phydev, u16 reg);
23 u16 reg, u16 chl, u16 value);
25 u16 reg, u16 chl);
27 int bcm_phy_write_shadow(struct phy_device *phydev, u16 shadow,
28 u16 val);
29 int bcm_phy_read_shadow(struct phy_device *phydev, u16 shadow);
/linux-4.4.14/sound/pci/au88x0/
H A Dau88x0_eq.h14 u16 LeftCoefs[50]; //0x4
15 u16 RightCoefs[50]; // 0x68
16 u16 LeftGains[10]; //0xd0
17 u16 RightGains[10]; //0xe4
27 u16 this08; /* Bad codec flag ? SetBypassGain: bypass gain */
28 u16 this0a;
29 u16 this0c; /* SetBypassGain: bypass gain when this28 is not set. */
30 u16 this0e;
33 u16 this14_array[10]; /* SetLeftGainsTarget: Left (and right?) EQ gains */
39 /* 50 u16 word each channel. */
40 u16 this130[20]; /* Left and Right gains */
/linux-4.4.14/drivers/net/wireless/
H A Dwl3501.h261 u16 cfp_max_duration;
262 u16 cfp_dur_remaining;
267 u16 atim_window;
271 u16 tx_cnt;
273 u16 sfd;
276 u16 len;
277 u16 crc16;
278 u16 frame_ctrl;
279 u16 duration_id;
283 u16 seq_ctrl;
288 u16 rx_next_blk;
289 u16 rc_next_frame_blk;
297 u16 len;
298 u16 crc16;
299 u16 frame_ctrl;
300 u16 duration;
304 u16 seq;
309 u16 next_blk;
312 u16 beacon_period;
313 u16 dtim_period;
314 u16 probe_delay;
315 u16 cap_info;
325 u16 next_blk;
328 u16 timeout;
329 u16 cap_info;
330 u16 listen_interval;
335 u16 next_blk;
338 u16 status;
342 u16 next_blk;
348 u16 next_blk;
351 u16 type;
352 u16 timeout;
357 u16 next_blk;
360 u16 type;
361 u16 status;
366 u16 next_blk;
369 u16 mib_attrib;
373 u16 next_blk;
376 u16 mib_status;
377 u16 mib_attrib;
382 u16 next_blk;
386 u16 reserved2;
387 u16 timeout;
388 u16 probe_delay;
391 u16 beacon_period;
392 u16 dtim_period;
393 u16 cap_info;
404 u16 next_blk;
407 u16 status;
411 u16 next_blk;
419 u16 next_blk;
422 u16 status;
426 u16 next_blk;
429 u16 probe_delay;
430 u16 min_chan_time;
431 u16 max_chan_time;
439 u16 next_blk;
442 u16 status;
445 u16 beacon_period;
446 u16 dtim_period;
447 u16 cap_info;
459 u16 next_blk;
462 u16 status;
466 u16 next_blk;
469 u16 data;
470 u16 size;
478 u16 next_blk;
481 u16 data;
482 u16 size;
491 u16 next_blk;
494 u16 data;
501 u16 next_blk;
542 u16 sfd;
545 u16 len;
546 u16 crc16;
581 u16 tx_buffer_size;
582 u16 tx_buffer_head;
583 u16 tx_buffer_tail;
584 u16 tx_buffer_cnt;
585 u16 esbq_req_start;
586 u16 esbq_req_end;
587 u16 esbq_req_head;
588 u16 esbq_req_tail;
589 u16 esbq_confirm_start;
590 u16 esbq_confirm_end;
591 u16 esbq_confirm;
601 u16 start_seg;
602 u16 bss_cnt;
603 u16 join_sta_bss;
/linux-4.4.14/include/video/
H A Domapvrfb.h30 u16 xres;
31 u16 yres;
32 u16 xoffset;
33 u16 yoffset;
42 extern void omap_vrfb_adjust_size(u16 *width, u16 *height,
44 extern u32 omap_vrfb_min_phys_size(u16 width, u16 height, u8 bytespp);
45 extern u16 omap_vrfb_max_height(u32 phys_size, u16 width, u8 bytespp);
47 u16 width, u16 height,
49 extern int omap_vrfb_map_angle(struct vrfb *vrfb, u16 height, u8 rot);
56 static inline void omap_vrfb_adjust_size(u16 *width, u16 *height, omap_vrfb_adjust_size()
58 static inline u32 omap_vrfb_min_phys_size(u16 width, u16 height, u8 bytespp) omap_vrfb_min_phys_size()
60 static inline u16 omap_vrfb_max_height(u32 phys_size, u16 width, u8 bytespp) omap_vrfb_max_height()
63 u16 width, u16 height, unsigned bytespp, bool yuv_mode) {} omap_vrfb_map_angle()
64 static inline int omap_vrfb_map_angle(struct vrfb *vrfb, u16 height, u8 rot) omap_vrfb_map_angle()
H A Duvesafb.h9 u16 horiz_total;
10 u16 horiz_start;
11 u16 horiz_end;
12 u16 vert_total;
13 u16 vert_start;
14 u16 vert_end;
17 u16 refresh_rate;
33 u16 mode_attr;
36 u16 win_granularity;
37 u16 win_size;
38 u16 winA_seg;
39 u16 winB_seg;
41 u16 bytes_per_scan_line;
44 u16 x_res;
45 u16 y_res;
73 u16 lin_bytes_per_scan_line;
85 u16 mode_id;
124 u16 *pmi_base; /* protected mode interface location */
H A Dbroadsheetfb.h49 void (*write_reg)(struct broadsheetfb_par *, u16 reg, u16 val);
50 u16 (*read_reg)(struct broadsheetfb_par *, u16 reg);
67 void (*set_hdb)(struct broadsheetfb_par *, u16);
68 u16 (*get_hdb)(struct broadsheetfb_par *);
71 void (*mmio_write)(struct broadsheetfb_par *, int type, u16);
72 u16 (*mmio_read)(struct broadsheetfb_par *);
/linux-4.4.14/arch/mips/include/asm/
H A Dspinlock_types.h20 u16 ticket;
21 u16 serving_now;
23 u16 serving_now;
24 u16 ticket;
/linux-4.4.14/arch/sh/include/cpu-common/cpu/
H A Drtc.h4 #define rtc_reg_size sizeof(u16)
/linux-4.4.14/arch/sh/include/cpu-sh2a/cpu/
H A Drtc.h4 #define rtc_reg_size sizeof(u16)
/linux-4.4.14/arch/sparc/include/asm/
H A Dvga.h18 static inline void scr_writew(u16 val, u16 *addr) scr_writew()
25 static inline u16 scr_readw(const u16 *addr) scr_readw()
H A Dvio.h27 u16 stype_env;
48 u16 major;
49 u16 minor;
65 u16 options;
69 u16 resv;
98 u16 __pad2;
113 u16 __pad1;
156 u16 resv1;
171 u16 sector_size;
172 u16 num_partitions;
175 u16 id;
176 u16 perm_flags;
184 u16 num_cyl; /* Num data cylinders */
185 u16 alt_cyl; /* Num alternate cylinders */
186 u16 beg_cyl; /* Cyl off of fixed head area */
187 u16 num_hd; /* Num heads */
188 u16 num_sec; /* Num sectors */
189 u16 ifact; /* Interleave factor */
190 u16 apc; /* Alts per cylinder (SCSI) */
191 u16 rpm; /* Revolutions per minute */
192 u16 phy_cyl; /* Num physical cylinders */
193 u16 wr_skip; /* Num sects to skip, writes */
194 u16 rd_skip; /* Num sects to skip, writes */
198 u16 resv;
199 u16 type;
216 u16 ack_freq;
223 u16 resv1;
226 u16 cflags;
228 u16 ipv4_lso_maxlen;
260 u16 ipv4_lso_mss;
352 u16 major;
353 u16 minor;
424 u16 major, u16 minor) vio_version_before()
433 u16 major, u16 minor) vio_version_after()
442 u16 major, u16 minor) vio_version_after_eq()
/linux-4.4.14/arch/powerpc/boot/
H A Dswab.h4 static inline u16 swab16(u16 x) swab16()
6 return ((x & (u16)0x00ffU) << 8) | swab16()
7 ((x & (u16)0xff00U) >> 8); swab16()
H A Dcpm-serial.c19 u16 psmr;
21 u16 todr;
22 u16 dsr;
23 u16 scce;
25 u16 sccm;
33 u16 smcmr;
42 u16 rbase;
43 u16 tbase;
46 u16 mrblr;
49 u16 rbptr;
53 u16 tbptr;
55 u16 maxidl;
56 u16 idlc;
57 u16 brkln;
58 u16 brkec;
59 u16 brkcr;
60 u16 rmask;
65 u16 sc; /* Status and Control */
66 u16 len; /* Data length in buffer */
275 u16 *smc_base = (u16 *)param; cpm_console_init()
276 u16 pram_offset; cpm_console_init()
/linux-4.4.14/arch/arm/include/asm/
H A Dspinlock_types.h15 u16 next;
16 u16 owner;
18 u16 owner;
19 u16 next;
H A Dbitrev.h10 static __always_inline __attribute_const__ u16 __arch_bitrev16(u16 x) __arch_bitrev16()
/linux-4.4.14/drivers/net/wireless/brcm80211/brcmsmac/phy/
H A Dphy_int.h266 u16 crsminpwrthld_40_stored;
267 u16 crsminpwrthld_20L_stored;
268 u16 crsminpwrthld_20U_stored;
269 u16 init_gain_code_core1_stored;
270 u16 init_gain_code_core2_stored;
271 u16 init_gain_codeb_core1_stored;
272 u16 init_gain_codeb_core2_stored;
273 u16 init_gain_table_stored[4];
275 u16 clip1_hi_gain_code_core1_stored;
276 u16 clip1_hi_gain_code_core2_stored;
277 u16 clip1_hi_gain_codeb_core1_stored;
278 u16 clip1_hi_gain_codeb_core2_stored;
279 u16 nb_clip_thresh_core1_stored;
280 u16 nb_clip_thresh_core2_stored;
281 u16 init_ofdmlna2gainchange_stored[4];
282 u16 init_ccklna2gainchange_stored[4];
283 u16 clip1_lo_gain_code_core1_stored;
284 u16 clip1_lo_gain_code_core2_stored;
285 u16 clip1_lo_gain_codeb_core1_stored;
286 u16 clip1_lo_gain_codeb_core2_stored;
287 u16 w1_clip_thresh_core1_stored;
288 u16 w1_clip_thresh_core2_stored;
289 u16 radio_2056_core1_rssi_gain_stored;
290 u16 radio_2056_core2_rssi_gain_stored;
291 u16 energy_drop_timeout_len_stored;
293 u16 ed_crs40_assertthld0_stored;
294 u16 ed_crs40_assertthld1_stored;
295 u16 ed_crs40_deassertthld0_stored;
296 u16 ed_crs40_deassertthld1_stored;
297 u16 ed_crs20L_assertthld0_stored;
298 u16 ed_crs20L_assertthld1_stored;
299 u16 ed_crs20L_deassertthld0_stored;
300 u16 ed_crs20L_deassertthld1_stored;
301 u16 ed_crs20U_assertthld0_stored;
302 u16 ed_crs20U_assertthld1_stored;
303 u16 ed_crs20U_deassertthld0_stored;
304 u16 ed_crs20U_deassertthld1_stored;
306 u16 badplcp_ma;
307 u16 badplcp_ma_previous;
308 u16 badplcp_ma_total;
309 u16 badplcp_ma_list[MA_WINDOW_SZ];
314 u16 init_gain_core1;
315 u16 init_gain_core2;
316 u16 init_gainb_core1;
317 u16 init_gainb_core2;
318 u16 init_gain_rfseq[4];
320 u16 crsminpwr0;
321 u16 crsminpwrl0;
322 u16 crsminpwru0;
326 u16 radio_2057_core1_rssi_wb1a_gc_stored;
327 u16 radio_2057_core2_rssi_wb1a_gc_stored;
328 u16 radio_2057_core1_rssi_wb1g_gc_stored;
329 u16 radio_2057_core2_rssi_wb1g_gc_stored;
330 u16 radio_2057_core1_rssi_wb2_gc_stored;
331 u16 radio_2057_core2_rssi_wb2_gc_stored;
332 u16 radio_2057_core1_rssi_nb_gc_stored;
333 u16 radio_2057_core2_rssi_nb_gc_stored;
337 u16 rc_cal_ovr;
338 u16 phycrsth1;
339 u16 phycrsth2;
340 u16 init_n1p1_gain;
341 u16 p1_p2_gain;
342 u16 n1_n2_gain;
343 u16 n1_p1_gain;
344 u16 div_search_gain;
345 u16 div_p1_p2_gain;
346 u16 div_search_gn_change;
347 u16 table_7_2;
348 u16 table_7_3;
349 u16 cckshbits_gnref;
350 u16 clip_thresh;
351 u16 clip2_thresh;
352 u16 clip3_thresh;
353 u16 clip_p2_thresh;
354 u16 clip_pwdn_thresh;
355 u16 clip_n1p1_thresh;
356 u16 clip_n1_pwdn_thresh;
357 u16 bbconfig;
358 u16 cthr_sthr_shdin;
359 u16 energy;
360 u16 clip_p1_p2_thresh;
361 u16 threshold;
362 u16 reg15;
363 u16 reg16;
364 u16 reg17;
365 u16 div_srch_idx;
366 u16 div_srch_p1_p2;
367 u16 div_srch_gn_back;
368 u16 ant_dwell;
369 u16 ant_wr_settle;
388 u16 AfectrlOverride;
389 u16 AfeCtrlDacGain;
390 u16 rad_gain;
392 u16 iqcomp_a;
393 u16 iqcomp_b;
394 u16 locomp;
399 u16 txcal_coeffs_2G[8];
400 u16 txcal_radio_regs_2G[8];
403 u16 txcal_coeffs_5G[8];
404 u16 txcal_radio_regs_5G[8];
438 u16 txlpf[2];
439 u16 txgm[2];
440 u16 pga[2];
441 u16 pad[2];
442 u16 ipa[2];
455 u16 rssical_radio_regs_2G[2];
456 u16 rssical_phyregs_2G[12];
458 u16 rssical_radio_regs_5G[2];
459 u16 rssical_phyregs_5G[12];
464 u16 txiqlocal_a;
465 u16 txiqlocal_b;
466 u16 txiqlocal_didq;
472 u16 txiqlocal_bestcoeffs[11];
473 u16 txiqlocal_bestcoeffs_valid;
476 u16 analog_gain_ref;
477 u16 lut_begin;
478 u16 lut_end;
479 u16 lut_step;
480 u16 rxcompdbm;
481 u16 papdctrl;
482 u16 sslpnCalibClkEnCtrl;
484 u16 rxiqcal_coeff_a0;
485 u16 rxiqcal_coeff_b0;
497 u16 vid;
498 u16 did;
525 u16 radioid;
537 void (*chanset)(struct brcms_phy *, u16 chanspec);
540 void (*txiqccget)(struct brcms_phy *, u16 *, u16 *);
541 void (*txiqccset)(struct brcms_phy *, u16, u16);
542 u16 (*txloccget)(struct brcms_phy *);
567 u16 radio_chanspec;
569 u16 bw;
614 u16 phy_wreg;
615 u16 phy_wreg_limit;
634 u16 hwpwr_txcur;
646 u16 extlna_type;
649 u16 crsglitch_prev;
670 u16 radiopwr;
671 u16 bb_atten;
672 u16 txctl1;
674 u16 mintxbias;
675 u16 mintxmag;
679 u16 gain_table[TX_GAIN_TABLE_LENGTH];
685 u16 rc_cal;
697 u16 tx_vos;
698 u16 global_tx_bb_dc_bias_loft;
704 u16 *rf_attn_list;
705 u16 *bb_attn_list;
706 u16 padmix_mask;
707 u16 padmix_reg;
708 u16 *txmag_list;
718 u16 freqtrack_saved_regs[2];
733 u16 nphy_txiqlocal_bestc[11];
737 u16 cck2gpo;
758 u16 mcs2gpo[8];
759 u16 mcs5gpo[8];
760 u16 mcs5glpo[8];
761 u16 mcs5ghpo[8];
776 u16 old_bphy_test;
777 u16 old_bphy_testcontrol;
788 u16 mphase_txcal_bestcoeffs[11];
789 u16 nphy_txiqlocal_chanspec;
790 u16 nphy_iqcal_chanspec_2G;
791 u16 nphy_iqcal_chanspec_5G;
792 u16 nphy_rssical_chanspec_2G;
793 u16 nphy_rssical_chanspec_5G;
805 u16 nphy_papd_tx_gain_at_last_cal[2];
815 u16 classifier_state;
816 u16 clip_state[2];
821 u16 rfctrlIntc1_save;
822 u16 rfctrlIntc2_save;
824 u16 tx_rx_cal_radio_saveregs[22];
825 u16 tx_rx_cal_phy_saveregs[15];
830 u16 nphy_cal_orig_tx_gain[2];
832 u16 nphy_txcal_bbmult;
833 u16 nphy_gmval;
835 u16 nphy_saved_bbconf;
840 u16 nphy_rccal_value;
841 u16 nphy_crsminpwr[3];
848 u16 radar_percal_mask;
851 u16 nphy_fineclockgatecontrol;
855 u16 crsminpwr0;
856 u16 crsminpwrl0;
857 u16 crsminpwru0;
859 u16 init_gain_core1;
860 u16 init_gain_core2;
861 u16 init_gainb_core1;
862 u16 init_gainb_core2;
864 u16 init_gain_rfseq[4];
870 u16 tbl_data_hi;
871 u16 tbl_data_lo;
872 u16 tbl_addr;
892 u16 address;
900 u16 address;
906 u16 address;
913 u16 read_phy_reg(struct brcms_phy *pi, u16 addr);
914 void write_phy_reg(struct brcms_phy *pi, u16 addr, u16 val);
915 void and_phy_reg(struct brcms_phy *pi, u16 addr, u16 val);
916 void or_phy_reg(struct brcms_phy *pi, u16 addr, u16 val);
917 void mod_phy_reg(struct brcms_phy *pi, u16 addr, u16 mask, u16 val);
919 u16 read_radio_reg(struct brcms_phy *pi, u16 addr);
920 void or_radio_reg(struct brcms_phy *pi, u16 addr, u16 val);
921 void and_radio_reg(struct brcms_phy *pi, u16 addr, u16 val);
922 void mod_radio_reg(struct brcms_phy *pi, u16 addr, u16 mask, u16 val);
923 void xor_radio_reg(struct brcms_phy *pi, u16 addr, u16 mask);
925 void write_radio_reg(struct brcms_phy *pi, u16 addr, u16 val);
934 u16 tblAddr, u16 tblDataHi, u16 tblDatalo);
937 u16 tblAddr, u16 tblDataHi, u16 tblDatalo);
939 u16 tblAddr, u16 tblDataHi, u16 tblDataLo);
952 u16 core_offset);
973 void wlc_phy_chanspec_set_nphy(struct brcms_phy *pi, u16 chanspec);
974 void wlc_phy_chanspec_set_lcnphy(struct brcms_phy *pi, u16 chanspec);
975 void wlc_phy_chanspec_set_fixup_lcnphy(struct brcms_phy *pi, u16 chanspec);
978 int wlc_phy_chanspec_bandrange_get(struct brcms_phy *, u16 chanspec);
980 void wlc_lcnphy_set_tx_pwr_ctrl(struct brcms_phy *pi, u16 mode);
990 void wlc_lcnphy_start_tx_tone(struct brcms_phy *pi, s32 f_kHz, u16 max_val,
1000 u16 wlc_lcnphy_tempsense(struct brcms_phy *pi, bool mode);
1026 void wlc_lcnphy_set_tx_iqcc(struct brcms_phy *pi, u16 a, u16 b);
1027 void wlc_lcnphy_set_tx_locc(struct brcms_phy *pi, u16 didq);
1028 void wlc_lcnphy_get_tx_iqcc(struct brcms_phy *pi, u16 *a, u16 *b);
1029 u16 wlc_lcnphy_get_tx_locc(struct brcms_phy *pi);
1091 u16 wlc_phy_classifier_nphy(struct brcms_phy *pi, u16 mask, u16 val);
1094 u16 num_samps, u8 wait_time, u8 wait_for_crs);
1107 u16 wlc_phy_txpwr_idx_get_nphy(struct brcms_phy *pi);
1123 int wlc_phy_tx_tone_nphy(struct brcms_phy *pi, u32 f_kHz, u16 max_val, u8 mode,
1139 s8 wlc_phy_upd_rssi_offset(struct brcms_phy *pi, s8 rssi, u16 chanspec);
H A Dphy_lcn.h26 u16 lcnphy_cal_temper;
54 u16 lcnphy_rawtempsense;
64 u16 lcnphy_tssi_tx_cnt;
65 u16 lcnphy_tssi_idx;
66 u16 lcnphy_tssi_npt;
68 u16 lcnphy_target_tx_freq;
70 u16 lcnphy_noise_samples;
84 u16 lcnphy_Med_Low_Gain_db;
85 u16 lcnphy_Very_Low_Gain_db;
98 u16 lcnphy_extstxctrl4;
99 u16 lcnphy_extstxctrl0;
100 u16 lcnphy_extstxctrl1;
111 u16 lcnphy_logen_buf_1;
112 u16 lcnphy_local_ovr_2;
113 u16 lcnphy_local_oval_6;
114 u16 lcnphy_local_oval_5;
115 u16 lcnphy_logen_mixer_1;
/linux-4.4.14/drivers/media/tuners/
H A Dtda18212.h28 u16 if_dvbt_6;
29 u16 if_dvbt_7;
30 u16 if_dvbt_8;
31 u16 if_dvbt2_5;
32 u16 if_dvbt2_6;
33 u16 if_dvbt2_7;
34 u16 if_dvbt2_8;
35 u16 if_dvbc;
36 u16 if_atsc_vsb;
37 u16 if_atsc_qam;
/linux-4.4.14/include/linux/power/
H A Dmax17042_battery.h145 u16 data;
153 u16 tgain; /* 0x2C */
154 u16 toff; /* 0x2D */
155 u16 cgain; /* 0x2E */
156 u16 coff; /* 0x2F */
159 u16 valrt_thresh; /* 0x01 */
160 u16 talrt_thresh; /* 0x02 */
161 u16 soc_alrt_thresh; /* 0x03 */
162 u16 config; /* 0x01D */
163 u16 shdntimer; /* 0x03F */
166 u16 full_soc_thresh; /* 0x13 */
167 u16 design_cap; /* 0x18 */
168 u16 ichgt_term; /* 0x1E */
171 u16 at_rate; /* 0x04 */
172 u16 learn_cfg; /* 0x28 */
173 u16 filter_cfg; /* 0x29 */
174 u16 relax_cfg; /* 0x2A */
175 u16 misc_cfg; /* 0x2B */
176 u16 masksoc; /* 0x32 */
179 u16 fullcap; /* 0x10 */
180 u16 fullcapnom; /* 0x23 */
181 u16 socempty; /* 0x33 */
182 u16 lavg_empty; /* 0x36 */
183 u16 dqacc; /* 0x45 */
184 u16 dpacc; /* 0x46 */
185 u16 qrtbl00; /* 0x12 */
186 u16 qrtbl10; /* 0x22 */
187 u16 qrtbl20; /* 0x32 */
188 u16 qrtbl30; /* 0x42 */
191 u16 cell_technology;
194 u16 vempty; /* 0x12 */
195 u16 temp_nom; /* 0x24 */
196 u16 temp_lim; /* 0x25 */
197 u16 fctc; /* 0x37 */
198 u16 rcomp0; /* 0x38 */
199 u16 tcompc0; /* 0x39 */
200 u16 empty_tempco; /* 0x3A */
201 u16 kempty0; /* 0x3B */
202 u16 cell_char_tbl[MAX17042_CHARACTERIZATION_DATA_SIZE];
/linux-4.4.14/drivers/net/ethernet/intel/igb/
H A De1000_nvm.h33 s32 igb_read_nvm_eerd(struct e1000_hw *hw, u16 offset, u16 words, u16 *data);
34 s32 igb_read_nvm_spi(struct e1000_hw *hw, u16 offset, u16 words, u16 *data);
35 s32 igb_write_nvm_spi(struct e1000_hw *hw, u16 offset, u16 words, u16 *data);
41 u16 eep_major;
42 u16 eep_minor;
43 u16 eep_build;
50 u16 or_major;
51 u16 or_build;
52 u16 or_patch;
H A De1000_hw.h272 u16 vlan_id;
274 u16 reserved2;
297 u16 reserved1;
298 u16 reserved2;
299 u16 command_length;
321 s32 (*get_speed_and_duplex)(struct e1000_hw *, u16 *, u16 *);
322 s32 (*acquire_swfw_sync)(struct e1000_hw *, u16);
323 void (*release_swfw_sync)(struct e1000_hw *, u16);
339 s32 (*read_reg)(struct e1000_hw *, u32, u16 *);
344 s32 (*write_reg)(struct e1000_hw *, u32, u16);
351 s32 (*read)(struct e1000_hw *, u16, u16, u16 *);
353 s32 (*write)(struct e1000_hw *, u16, u16, u16 *);
356 s32 (*valid_led_default)(struct e1000_hw *, u16 *);
395 u16 mta_reg_count;
396 u16 uta_reg_count;
401 u16 rar_entry_count;
439 u16 autoneg_advertised;
440 u16 autoneg_mask;
441 u16 cable_length;
442 u16 max_cable_length;
443 u16 min_cable_length;
463 u16 word_size;
464 u16 delay_usec;
465 u16 address_bits;
466 u16 opcode_bits;
467 u16 page_size;
477 u16 func;
478 u16 pci_cmd_word;
484 u16 pause_time; /* Flow control pause timer */
493 s32 (*read)(struct e1000_hw *, u32 *, u16, u16);
494 s32 (*write)(struct e1000_hw *, u32 *, u16, u16);
495 s32 (*read_posted)(struct e1000_hw *, u32 *, u16, u16);
496 s32 (*write_posted)(struct e1000_hw *, u32 *, u16, u16);
497 s32 (*check_for_msg)(struct e1000_hw *, u16);
498 s32 (*check_for_ack)(struct e1000_hw *, u16);
499 s32 (*check_for_rst)(struct e1000_hw *, u16);
516 u16 size;
550 u16 device_id;
551 u16 subsystem_vendor_id;
552 u16 subsystem_device_id;
553 u16 vendor_id;
563 s32 igb_read_pcie_cap_reg(struct e1000_hw *hw, u32 reg, u16 *value);
564 s32 igb_write_pcie_cap_reg(struct e1000_hw *hw, u32 reg, u16 *value);
566 void igb_read_pci_cfg(struct e1000_hw *hw, u32 reg, u16 *value);
567 void igb_write_pci_cfg(struct e1000_hw *hw, u32 reg, u16 *value);
/linux-4.4.14/drivers/scsi/
H A Dgdth_ioctl.h51 u16 OpCode; /* the command (READ,..) */
54 u16 DeviceNo; /* number of cache drive */
62 u16 DeviceNo; /* number of cache drive */
70 u16 param_size; /* size of p_param buffer */
76 u16 reserved;
86 u16 reserved;
105 u16 reserved;
126 u16 Status; /* command result */
137 u16 size; /* size of structure */
141 u16 ionode;
142 u16 service;
146 u16 ionode;
147 u16 service;
148 u16 status;
153 u16 ionode;
154 u16 service;
155 u16 status;
157 u16 hostdrive;
172 u16 same_count;
173 u16 event_source;
174 u16 event_idx;
185 u16 ioctl; /* IOCTL */
186 u16 ionode; /* controller number */
187 u16 service; /* controller service */
188 u16 timeout; /* timeout */
197 u16 drives[MAX_HDRIVES];/* drives */
216 u16 hdr_no; /* host drive number */
231 u16 version; /* driver version */
235 u16 info; /* slot etc. */
236 u16 oem_id; /* OEM ID */
237 u16 bios_ver; /* not used */
238 u16 access; /* not used */
239 u16 ext_type; /* extended type */
240 u16 device_id; /* device ID */
241 u16 sub_device_id; /* sub device ID */
246 u16 revision; /* revision */
249 u16 count; /* controller count */
267 u16 ionode; /* controller number */
268 u16 timeout; /* timeout */
270 u16 status; /* status */
278 u16 ionode; /* controller number */
281 u16 drives[MAX_HDRIVES]; /* drives */
286 u16 ionode; /* controller number */
295 u16 revision; /* revision */
300 u16 ionode; /* controller number */
302 u16 info; /* slot etc. */
303 u16 oem_id; /* OEM ID */
304 u16 bios_ver; /* not used */
305 u16 access; /* not used */
306 u16 ext_type; /* extended type */
307 u16 device_id; /* device ID */
308 u16 sub_device_id; /* sub device ID */
313 u16 ionode;
321 u16 ionode; /* controller number */
323 u16 hdr_no; /* drive no. */
334 u16 ionode; /* controller number */
335 u16 number; /* bus/host drive number */
336 u16 status; /* status */
/linux-4.4.14/sound/pci/asihpi/
H A Dhpifunc.c20 u32 hpi_indexes_to_handle(const char c_object, const u16 adapter_index, hpi_indexes_to_handle()
21 const u16 object_index) hpi_indexes_to_handle()
33 static u16 hpi_handle_indexes(const u32 h, u16 *p1, u16 *p2) hpi_handle_indexes()
41 *p1 = (u16)uhandle.h.adapter_index; hpi_handle_indexes()
43 *p2 = (u16)uhandle.h.obj_index; hpi_handle_indexes()
48 void hpi_handle_to_indexes(const u32 handle, u16 *pw_adapter_index, hpi_handle_to_indexes()
49 u16 *pw_object_index) hpi_handle_to_indexes()
96 u16 hpi_subsys_get_version_ex(u32 *pversion_ex) hpi_subsys_get_version_ex()
108 u16 hpi_subsys_get_num_adapters(int *pn_num_adapters) hpi_subsys_get_num_adapters()
119 u16 hpi_subsys_get_adapter(int iterator, u32 *padapter_index, hpi_subsys_get_adapter()
120 u16 *pw_adapter_type) hpi_subsys_get_adapter()
126 hm.obj_index = (u16)iterator; hpi_subsys_get_adapter()
134 u16 hpi_adapter_open(u16 adapter_index) hpi_adapter_open()
148 u16 hpi_adapter_close(u16 adapter_index) hpi_adapter_close()
161 u16 hpi_adapter_set_mode(u16 adapter_index, u32 adapter_mode) hpi_adapter_set_mode()
167 u16 hpi_adapter_set_mode_ex(u16 adapter_index, u32 adapter_mode, hpi_adapter_set_mode_ex()
168 u16 query_or_set) hpi_adapter_set_mode_ex()
182 u16 hpi_adapter_get_mode(u16 adapter_index, u32 *padapter_mode) hpi_adapter_get_mode()
195 u16 hpi_adapter_get_info(u16 adapter_index, u16 *pw_num_outstreams, hpi_adapter_get_info()
196 u16 *pw_num_instreams, u16 *pw_version, u32 *pserial_number, hpi_adapter_get_info()
197 u16 *pw_adapter_type) hpi_adapter_get_info()
215 u16 hpi_adapter_get_module_by_index(u16 adapter_index, u16 module_index, hpi_adapter_get_module_by_index()
216 u16 *pw_num_outputs, u16 *pw_num_inputs, u16 *pw_version, hpi_adapter_get_module_by_index()
217 u32 *pserial_number, u16 *pw_module_type, u32 *ph_module) hpi_adapter_get_module_by_index()
239 u16 hpi_adapter_set_property(u16 adapter_index, u16 property, u16 parameter1, hpi_adapter_set_property()
240 u16 parameter2) hpi_adapter_set_property()
256 u16 hpi_adapter_get_property(u16 adapter_index, u16 property, hpi_adapter_get_property()
257 u16 *pw_parameter1, u16 *pw_parameter2) hpi_adapter_get_property()
277 u16 hpi_adapter_enumerate_property(u16 adapter_index, u16 index, hpi_adapter_enumerate_property()
278 u16 what_to_enumerate, u16 property_index, u32 *psetting) hpi_adapter_enumerate_property()
283 u16 hpi_format_create(struct hpi_format *p_format, u16 channels, u16 format, hpi_format_create()
286 u16 err = 0; hpi_format_create()
378 u16 hpi_stream_estimate_buffer_size(struct hpi_format *p_format, hpi_stream_estimate_buffer_size()
384 u16 channels; hpi_stream_estimate_buffer_size()
424 u16 hpi_outstream_open(u16 adapter_index, u16 outstream_index, hpi_outstream_open()
445 u16 hpi_outstream_close(u32 h_outstream) hpi_outstream_close()
470 u16 hpi_outstream_get_info_ex(u32 h_outstream, u16 *pw_state, hpi_outstream_get_info_ex()
497 u16 hpi_outstream_write_buf(u32 h_outstream, const u8 *pb_data, hpi_outstream_write_buf()
516 u16 hpi_outstream_start(u32 h_outstream) hpi_outstream_start()
530 u16 hpi_outstream_wait_start(u32 h_outstream) hpi_outstream_wait_start()
544 u16 hpi_outstream_stop(u32 h_outstream) hpi_outstream_stop()
558 u16 hpi_outstream_sinegen(u32 h_outstream) hpi_outstream_sinegen()
572 u16 hpi_outstream_reset(u32 h_outstream) hpi_outstream_reset()
586 u16 hpi_outstream_query_format(u32 h_outstream, struct hpi_format *p_format) hpi_outstream_query_format()
603 u16 hpi_outstream_set_format(u32 h_outstream, struct hpi_format *p_format) hpi_outstream_set_format()
620 u16 hpi_outstream_set_velocity(u32 h_outstream, short velocity) hpi_outstream_set_velocity()
636 u16 hpi_outstream_set_punch_in_out(u32 h_outstream, u32 punch_in_sample, hpi_outstream_set_punch_in_out()
655 u16 hpi_outstream_ancillary_reset(u32 h_outstream, u16 mode) hpi_outstream_ancillary_reset()
669 u16 hpi_outstream_ancillary_get_info(u32 h_outstream, u32 *pframes_available) hpi_outstream_ancillary_get_info()
688 u16 hpi_outstream_ancillary_read(u32 h_outstream, hpi_outstream_ancillary_read()
711 u16 hpi_outstream_set_time_scale(u32 h_outstream, u32 time_scale) hpi_outstream_set_time_scale()
728 u16 hpi_outstream_host_buffer_allocate(u32 h_outstream, u32 size_in_bytes) hpi_outstream_host_buffer_allocate()
742 u16 hpi_outstream_host_buffer_get_info(u32 h_outstream, u8 **pp_buffer, hpi_outstream_host_buffer_get_info()
763 u16 hpi_outstream_host_buffer_free(u32 h_outstream) hpi_outstream_host_buffer_free()
776 u16 hpi_outstream_group_add(u32 h_outstream, u32 h_stream) hpi_outstream_group_add()
780 u16 adapter; hpi_outstream_group_add()
809 u16 hpi_outstream_group_get_map(u32 h_outstream, u32 *poutstream_map, hpi_outstream_group_get_map()
829 u16 hpi_outstream_group_reset(u32 h_outstream) hpi_outstream_group_reset()
842 u16 hpi_instream_open(u16 adapter_index, u16 instream_index, u32 *ph_instream) hpi_instream_open()
864 u16 hpi_instream_close(u32 h_instream) hpi_instream_close()
888 u16 hpi_instream_query_format(u32 h_instream, hpi_instream_query_format()
905 u16 hpi_instream_set_format(u32 h_instream, const struct hpi_format *p_format) hpi_instream_set_format()
921 u16 hpi_instream_read_buf(u32 h_instream, u8 *pb_data, u32 bytes_to_read) hpi_instream_read_buf()
938 u16 hpi_instream_start(u32 h_instream) hpi_instream_start()
953 u16 hpi_instream_wait_start(u32 h_instream) hpi_instream_wait_start()
968 u16 hpi_instream_stop(u32 h_instream) hpi_instream_stop()
983 u16 hpi_instream_reset(u32 h_instream) hpi_instream_reset()
998 u16 hpi_instream_get_info_ex(u32 h_instream, u16 *pw_state, u32 *pbuffer_size, hpi_instream_get_info_ex()
1025 u16 hpi_instream_ancillary_reset(u32 h_instream, u16 bytes_per_frame, hpi_instream_ancillary_reset()
1026 u16 mode, u16 alignment, u16 idle_bit) hpi_instream_ancillary_reset()
1041 u16 hpi_instream_ancillary_get_info(u32 h_instream, u32 *pframe_space) hpi_instream_ancillary_get_info()
1058 u16 hpi_instream_ancillary_write(u32 h_instream, hpi_instream_ancillary_write()
1081 u16 hpi_instream_host_buffer_allocate(u32 h_instream, u32 size_in_bytes) hpi_instream_host_buffer_allocate()
1096 u16 hpi_instream_host_buffer_get_info(u32 h_instream, u8 **pp_buffer, hpi_instream_host_buffer_get_info()
1117 u16 hpi_instream_host_buffer_free(u32 h_instream) hpi_instream_host_buffer_free()
1131 u16 hpi_instream_group_add(u32 h_instream, u32 h_stream) hpi_instream_group_add()
1135 u16 adapter; hpi_instream_group_add()
1167 u16 hpi_instream_group_get_map(u32 h_instream, u32 *poutstream_map, hpi_instream_group_get_map()
1187 u16 hpi_instream_group_reset(u32 h_instream) hpi_instream_group_reset()
1200 u16 hpi_mixer_open(u16 adapter_index, u32 *ph_mixer) hpi_mixer_open()
1218 u16 hpi_mixer_close(u32 h_mixer) hpi_mixer_close()
1231 u16 hpi_mixer_get_control(u32 h_mixer, u16 src_node_type, hpi_mixer_get_control()
1232 u16 src_node_type_index, u16 dst_node_type, u16 dst_node_type_index, hpi_mixer_get_control()
1233 u16 control_type, u32 *ph_control) hpi_mixer_get_control()
1258 u16 hpi_mixer_get_control_by_index(u32 h_mixer, u16 control_index, hpi_mixer_get_control_by_index()
1259 u16 *pw_src_node_type, u16 *pw_src_node_index, u16 *pw_dst_node_type, hpi_mixer_get_control_by_index()
1260 u16 *pw_dst_node_index, u16 *pw_control_type, u32 *ph_control) hpi_mixer_get_control_by_index()
1292 u16 hpi_mixer_store(u32 h_mixer, enum HPI_MIXER_STORE_COMMAND command, hpi_mixer_store()
1293 u16 index) hpi_mixer_store()
1307 u16 hpi_control_param_set(const u32 h_control, const u16 attrib, hpi_control_param_set()
1324 static u16 hpi_control_log_set2(u32 h_control, u16 attrib, short sv0, hpi_control_log_set2()
1342 u16 hpi_control_param_get(const u32 h_control, const u16 attrib, u32 param1, hpi_control_param_get()
1369 static u16 hpi_control_log_get2(u32 h_control, u16 attrib, short *sv0, hpi_control_log_get2()
1388 u16 hpi_control_query(const u32 h_control, const u16 attrib, const u32 index, hpi_control_query()
1409 static u16 hpi_control_get_string(const u32 h_control, const u16 attribute, hpi_control_get_string()
1415 u16 err = 0; hpi_control_get_string()
1468 u16 hpi_aesebu_receiver_query_format(const u32 h_aes_rx, const u32 index, hpi_aesebu_receiver_query_format()
1469 u16 *pw_format) hpi_aesebu_receiver_query_format()
1472 u16 err; hpi_aesebu_receiver_query_format()
1475 *pw_format = (u16)qr; hpi_aesebu_receiver_query_format()
1479 u16 hpi_aesebu_receiver_set_format(u32 h_control, u16 format) hpi_aesebu_receiver_set_format()
1485 u16 hpi_aesebu_receiver_get_format(u32 h_control, u16 *pw_format) hpi_aesebu_receiver_get_format()
1487 u16 err; hpi_aesebu_receiver_get_format()
1492 *pw_format = (u16)param; hpi_aesebu_receiver_get_format()
1497 u16 hpi_aesebu_receiver_get_sample_rate(u32 h_control, u32 *psample_rate) hpi_aesebu_receiver_get_sample_rate()
1503 u16 hpi_aesebu_receiver_get_user_data(u32 h_control, u16 index, u16 *pw_data) hpi_aesebu_receiver_get_user_data()
1517 *pw_data = (u16)hr.u.c.param2; hpi_aesebu_receiver_get_user_data()
1521 u16 hpi_aesebu_receiver_get_channel_status(u32 h_control, u16 index, hpi_aesebu_receiver_get_channel_status()
1522 u16 *pw_data) hpi_aesebu_receiver_get_channel_status()
1536 *pw_data = (u16)hr.u.c.param2; hpi_aesebu_receiver_get_channel_status()
1540 u16 hpi_aesebu_receiver_get_error_status(u32 h_control, u16 *pw_error_data) hpi_aesebu_receiver_get_error_status()
1543 u16 err = 0; hpi_aesebu_receiver_get_error_status()
1548 *pw_error_data = (u16)error_data; hpi_aesebu_receiver_get_error_status()
1552 u16 hpi_aesebu_transmitter_set_sample_rate(u32 h_control, u32 sample_rate) hpi_aesebu_transmitter_set_sample_rate()
1558 u16 hpi_aesebu_transmitter_set_user_data(u32 h_control, u16 index, u16 data) hpi_aesebu_transmitter_set_user_data()
1564 u16 hpi_aesebu_transmitter_set_channel_status(u32 h_control, u16 index, hpi_aesebu_transmitter_set_channel_status()
1565 u16 data) hpi_aesebu_transmitter_set_channel_status()
1571 u16 hpi_aesebu_transmitter_get_channel_status(u32 h_control, u16 index, hpi_aesebu_transmitter_get_channel_status()
1572 u16 *pw_data) hpi_aesebu_transmitter_get_channel_status()
1577 u16 hpi_aesebu_transmitter_query_format(const u32 h_aes_tx, const u32 index, hpi_aesebu_transmitter_query_format()
1578 u16 *pw_format) hpi_aesebu_transmitter_query_format()
1581 u16 err; hpi_aesebu_transmitter_query_format()
1584 *pw_format = (u16)qr; hpi_aesebu_transmitter_query_format()
1588 u16 hpi_aesebu_transmitter_set_format(u32 h_control, u16 output_format) hpi_aesebu_transmitter_set_format()
1594 u16 hpi_aesebu_transmitter_get_format(u32 h_control, u16 *pw_output_format) hpi_aesebu_transmitter_get_format()
1596 u16 err; hpi_aesebu_transmitter_get_format()
1601 *pw_output_format = (u16)param; hpi_aesebu_transmitter_get_format()
1606 u16 hpi_bitstream_set_clock_edge(u32 h_control, u16 edge_type) hpi_bitstream_set_clock_edge()
1612 u16 hpi_bitstream_set_data_polarity(u32 h_control, u16 polarity) hpi_bitstream_set_data_polarity()
1618 u16 hpi_bitstream_get_activity(u32 h_control, u16 *pw_clk_activity, hpi_bitstream_get_activity()
1619 u16 *pw_data_activity) hpi_bitstream_get_activity()
1630 *pw_clk_activity = (u16)hr.u.c.param1; hpi_bitstream_get_activity()
1632 *pw_data_activity = (u16)hr.u.c.param2; hpi_bitstream_get_activity()
1636 u16 hpi_channel_mode_query_mode(const u32 h_mode, const u32 index, hpi_channel_mode_query_mode()
1637 u16 *pw_mode) hpi_channel_mode_query_mode()
1640 u16 err; hpi_channel_mode_query_mode()
1643 *pw_mode = (u16)qr; hpi_channel_mode_query_mode()
1647 u16 hpi_channel_mode_set(u32 h_control, u16 mode) hpi_channel_mode_set()
1653 u16 hpi_channel_mode_get(u32 h_control, u16 *mode) hpi_channel_mode_get()
1656 u16 err = hpi_control_param1_get(h_control, hpi_channel_mode_get()
1659 *mode = (u16)mode32; hpi_channel_mode_get()
1663 u16 hpi_cobranet_hmi_write(u32 h_control, u32 hmi_address, u32 byte_count, hpi_cobranet_hmi_write()
1683 hm.h.size = (u16)(sizeof(hm.h) + sizeof(hm.p) + byte_count); hpi_cobranet_hmi_write()
1689 u16 hpi_cobranet_hmi_read(u32 h_control, u32 hmi_address, u32 max_byte_count, hpi_cobranet_hmi_read()
1726 u16 hpi_cobranet_hmi_get_status(u32 h_control, u32 *pstatus, hpi_cobranet_hmi_get_status()
1753 u16 hpi_cobranet_get_ip_address(u32 h_control, u32 *pdw_ip_address) hpi_cobranet_get_ip_address()
1757 u16 err; hpi_cobranet_get_ip_address()
1774 u16 hpi_cobranet_set_ip_address(u32 h_control, u32 dw_ip_address) hpi_cobranet_set_ip_address()
1777 u16 err; hpi_cobranet_set_ip_address()
1790 u16 hpi_cobranet_get_static_ip_address(u32 h_control, u32 *pdw_ip_address) hpi_cobranet_get_static_ip_address()
1794 u16 err; hpi_cobranet_get_static_ip_address()
1810 u16 hpi_cobranet_set_static_ip_address(u32 h_control, u32 dw_ip_address) hpi_cobranet_set_static_ip_address()
1813 u16 err; hpi_cobranet_set_static_ip_address()
1826 u16 hpi_cobranet_get_macaddress(u32 h_control, u32 *p_mac_msbs, hpi_cobranet_get_macaddress()
1830 u16 err; hpi_cobranet_get_macaddress()
1861 u16 hpi_compander_set_enable(u32 h_control, u32 enable) hpi_compander_set_enable()
1867 u16 hpi_compander_get_enable(u32 h_control, u32 *enable) hpi_compander_get_enable()
1872 u16 hpi_compander_set_makeup_gain(u32 h_control, short makeup_gain0_01dB) hpi_compander_set_makeup_gain()
1878 u16 hpi_compander_get_makeup_gain(u32 h_control, short *makeup_gain0_01dB) hpi_compander_get_makeup_gain()
1884 u16 hpi_compander_set_attack_time_constant(u32 h_control, unsigned int index, hpi_compander_set_attack_time_constant()
1891 u16 hpi_compander_get_attack_time_constant(u32 h_control, unsigned int index, hpi_compander_get_attack_time_constant()
1898 u16 hpi_compander_set_decay_time_constant(u32 h_control, unsigned int index, hpi_compander_set_decay_time_constant()
1905 u16 hpi_compander_get_decay_time_constant(u32 h_control, unsigned int index, hpi_compander_get_decay_time_constant()
1913 u16 hpi_compander_set_threshold(u32 h_control, unsigned int index, hpi_compander_set_threshold()
1932 u16 hpi_compander_get_threshold(u32 h_control, unsigned int index, hpi_compander_get_threshold()
1951 u16 hpi_compander_set_ratio(u32 h_control, u32 index, u32 ratio100) hpi_compander_set_ratio()
1957 u16 hpi_compander_get_ratio(u32 h_control, u32 index, u32 *ratio100) hpi_compander_get_ratio()
1963 u16 hpi_level_query_range(u32 h_control, short *min_gain_01dB, hpi_level_query_range()
1990 u16 hpi_level_set_gain(u32 h_control, short an_gain0_01dB[HPI_MAX_CHANNELS] hpi_level_set_gain()
1997 u16 hpi_level_get_gain(u32 h_control, short an_gain0_01dB[HPI_MAX_CHANNELS] hpi_level_get_gain()
2004 u16 hpi_meter_query_channels(const u32 h_meter, u32 *p_channels) hpi_meter_query_channels()
2010 u16 hpi_meter_get_peak(u32 h_control, short an_peakdB[HPI_MAX_CHANNELS] hpi_meter_get_peak()
2036 u16 hpi_meter_get_rms(u32 h_control, short an_rmsdB[HPI_MAX_CHANNELS] hpi_meter_get_rms()
2062 u16 hpi_meter_set_rms_ballistics(u32 h_control, u16 attack, u16 decay) hpi_meter_set_rms_ballistics()
2068 u16 hpi_meter_get_rms_ballistics(u32 h_control, u16 *pn_attack, u16 *pn_decay) hpi_meter_get_rms_ballistics()
2072 u16 error; hpi_meter_get_rms_ballistics()
2085 u16 hpi_meter_set_peak_ballistics(u32 h_control, u16 attack, u16 decay) hpi_meter_set_peak_ballistics()
2091 u16 hpi_meter_get_peak_ballistics(u32 h_control, u16 *pn_attack, hpi_meter_get_peak_ballistics()
2092 u16 *pn_decay) hpi_meter_get_peak_ballistics()
2096 u16 error; hpi_meter_get_peak_ballistics()
2109 u16 hpi_microphone_set_phantom_power(u32 h_control, u16 on_off) hpi_microphone_set_phantom_power()
2115 u16 hpi_microphone_get_phantom_power(u32 h_control, u16 *pw_on_off) hpi_microphone_get_phantom_power()
2117 u16 error = 0; hpi_microphone_get_phantom_power()
2122 *pw_on_off = (u16)on_off; hpi_microphone_get_phantom_power()
2126 u16 hpi_multiplexer_set_source(u32 h_control, u16 source_node_type, hpi_multiplexer_set_source()
2127 u16 source_node_index) hpi_multiplexer_set_source()
2133 u16 hpi_multiplexer_get_source(u32 h_control, u16 *source_node_type, hpi_multiplexer_get_source()
2134 u16 *source_node_index) hpi_multiplexer_get_source()
2137 u16 err = hpi_control_param2_get(h_control, hpi_multiplexer_get_source()
2141 *source_node_type = (u16)node; hpi_multiplexer_get_source()
2143 *source_node_index = (u16)index; hpi_multiplexer_get_source()
2147 u16 hpi_multiplexer_query_source(u32 h_control, u16 index, hpi_multiplexer_query_source()
2148 u16 *source_node_type, u16 *source_node_index) hpi_multiplexer_query_source()
2162 *source_node_type = (u16)hr.u.c.param1; hpi_multiplexer_query_source()
2164 *source_node_index = (u16)hr.u.c.param2; hpi_multiplexer_query_source()
2168 u16 hpi_parametric_eq_get_info(u32 h_control, u16 *pw_number_of_bands, hpi_parametric_eq_get_info()
2169 u16 *pw_on_off) hpi_parametric_eq_get_info()
2173 u16 error = 0; hpi_parametric_eq_get_info()
2178 *pw_number_of_bands = (u16)oB; hpi_parametric_eq_get_info()
2180 *pw_on_off = (u16)oO; hpi_parametric_eq_get_info()
2184 u16 hpi_parametric_eq_set_state(u32 h_control, u16 on_off) hpi_parametric_eq_set_state()
2190 u16 hpi_parametric_eq_get_band(u32 h_control, u16 index, u16 *pn_type, hpi_parametric_eq_get_band()
2208 *pn_type = (u16)(hr.u.c.param2 >> 16); hpi_parametric_eq_get_band()
2217 u16 hpi_parametric_eq_set_band(u32 h_control, u16 index, u16 type, hpi_parametric_eq_set_band()
2239 u16 hpi_parametric_eq_get_coeffs(u32 h_control, u16 index, short coeffs[5] hpi_parametric_eq_get_coeffs()
2263 u16 hpi_sample_clock_query_source(const u32 h_clock, const u32 index, hpi_sample_clock_query_source()
2264 u16 *pw_source) hpi_sample_clock_query_source()
2267 u16 err; hpi_sample_clock_query_source()
2271 *pw_source = (u16)qr; hpi_sample_clock_query_source()
2275 u16 hpi_sample_clock_set_source(u32 h_control, u16 source) hpi_sample_clock_set_source()
2281 u16 hpi_sample_clock_get_source(u32 h_control, u16 *pw_source) hpi_sample_clock_get_source()
2283 u16 err = 0; hpi_sample_clock_get_source()
2289 *pw_source = (u16)source; hpi_sample_clock_get_source()
2293 u16 hpi_sample_clock_query_source_index(const u32 h_clock, const u32 index, hpi_sample_clock_query_source_index()
2294 const u32 source, u16 *pw_source_index) hpi_sample_clock_query_source_index()
2297 u16 err; hpi_sample_clock_query_source_index()
2301 *pw_source_index = (u16)qr; hpi_sample_clock_query_source_index()
2305 u16 hpi_sample_clock_set_source_index(u32 h_control, u16 source_index) hpi_sample_clock_set_source_index()
2311 u16 hpi_sample_clock_get_source_index(u32 h_control, u16 *pw_source_index) hpi_sample_clock_get_source_index()
2313 u16 err = 0; hpi_sample_clock_get_source_index()
2319 *pw_source_index = (u16)source_index; hpi_sample_clock_get_source_index()
2323 u16 hpi_sample_clock_query_local_rate(const u32 h_clock, const u32 index, hpi_sample_clock_query_local_rate()
2326 u16 err; hpi_sample_clock_query_local_rate()
2333 u16 hpi_sample_clock_set_local_rate(u32 h_control, u32 sample_rate) hpi_sample_clock_set_local_rate()
2339 u16 hpi_sample_clock_get_local_rate(u32 h_control, u32 *psample_rate) hpi_sample_clock_get_local_rate()
2341 u16 err = 0; hpi_sample_clock_get_local_rate()
2351 u16 hpi_sample_clock_get_sample_rate(u32 h_control, u32 *psample_rate) hpi_sample_clock_get_sample_rate()
2353 u16 err = 0; hpi_sample_clock_get_sample_rate()
2363 u16 hpi_sample_clock_set_auto(u32 h_control, u32 enable) hpi_sample_clock_set_auto()
2369 u16 hpi_sample_clock_get_auto(u32 h_control, u32 *penable) hpi_sample_clock_get_auto()
2375 u16 hpi_sample_clock_set_local_rate_lock(u32 h_control, u32 lock) hpi_sample_clock_set_local_rate_lock()
2381 u16 hpi_sample_clock_get_local_rate_lock(u32 h_control, u32 *plock) hpi_sample_clock_get_local_rate_lock()
2387 u16 hpi_tone_detector_get_frequency(u32 h_control, u32 index, u32 *frequency) hpi_tone_detector_get_frequency()
2393 u16 hpi_tone_detector_get_state(u32 h_control, u32 *state) hpi_tone_detector_get_state()
2399 u16 hpi_tone_detector_set_enable(u32 h_control, u32 enable) hpi_tone_detector_set_enable()
2405 u16 hpi_tone_detector_get_enable(u32 h_control, u32 *enable) hpi_tone_detector_get_enable()
2410 u16 hpi_tone_detector_set_event_enable(u32 h_control, u32 event_enable) hpi_tone_detector_set_event_enable()
2416 u16 hpi_tone_detector_get_event_enable(u32 h_control, u32 *event_enable) hpi_tone_detector_get_event_enable()
2422 u16 hpi_tone_detector_set_threshold(u32 h_control, int threshold) hpi_tone_detector_set_threshold()
2428 u16 hpi_tone_detector_get_threshold(u32 h_control, int *threshold) hpi_tone_detector_get_threshold()
2434 u16 hpi_silence_detector_get_state(u32 h_control, u32 *state) hpi_silence_detector_get_state()
2440 u16 hpi_silence_detector_set_enable(u32 h_control, u32 enable) hpi_silence_detector_set_enable()
2446 u16 hpi_silence_detector_get_enable(u32 h_control, u32 *enable) hpi_silence_detector_get_enable()
2451 u16 hpi_silence_detector_set_event_enable(u32 h_control, u32 event_enable) hpi_silence_detector_set_event_enable()
2457 u16 hpi_silence_detector_get_event_enable(u32 h_control, u32 *event_enable) hpi_silence_detector_get_event_enable()
2463 u16 hpi_silence_detector_set_delay(u32 h_control, u32 delay) hpi_silence_detector_set_delay()
2469 u16 hpi_silence_detector_get_delay(u32 h_control, u32 *delay) hpi_silence_detector_get_delay()
2475 u16 hpi_silence_detector_set_threshold(u32 h_control, int threshold) hpi_silence_detector_set_threshold()
2481 u16 hpi_silence_detector_get_threshold(u32 h_control, int *threshold) hpi_silence_detector_get_threshold()
2487 u16 hpi_tuner_query_band(const u32 h_tuner, const u32 index, u16 *pw_band) hpi_tuner_query_band()
2490 u16 err; hpi_tuner_query_band()
2493 *pw_band = (u16)qr; hpi_tuner_query_band()
2497 u16 hpi_tuner_set_band(u32 h_control, u16 band) hpi_tuner_set_band()
2502 u16 hpi_tuner_get_band(u32 h_control, u16 *pw_band) hpi_tuner_get_band()
2505 u16 error = 0; hpi_tuner_get_band()
2509 *pw_band = (u16)band; hpi_tuner_get_band()
2513 u16 hpi_tuner_query_frequency(const u32 h_tuner, const u32 index, hpi_tuner_query_frequency()
2514 const u16 band, u32 *pfreq) hpi_tuner_query_frequency()
2519 u16 hpi_tuner_set_frequency(u32 h_control, u32 freq_ink_hz) hpi_tuner_set_frequency()
2525 u16 hpi_tuner_get_frequency(u32 h_control, u32 *pw_freq_ink_hz) hpi_tuner_get_frequency()
2531 u16 hpi_tuner_query_gain(const u32 h_tuner, const u32 index, u16 *pw_gain) hpi_tuner_query_gain()
2534 u16 err; hpi_tuner_query_gain()
2537 *pw_gain = (u16)qr; hpi_tuner_query_gain()
2541 u16 hpi_tuner_set_gain(u32 h_control, short gain) hpi_tuner_set_gain()
2546 u16 hpi_tuner_get_gain(u32 h_control, short *pn_gain) hpi_tuner_get_gain()
2549 u16 error = 0; hpi_tuner_get_gain()
2553 *pn_gain = (u16)gain; hpi_tuner_get_gain()
2557 u16 hpi_tuner_get_rf_level(u32 h_control, short *pw_level) hpi_tuner_get_rf_level()
2573 u16 hpi_tuner_get_raw_rf_level(u32 h_control, short *pw_level) hpi_tuner_get_raw_rf_level()
2589 u16 hpi_tuner_query_deemphasis(const u32 h_tuner, const u32 index, hpi_tuner_query_deemphasis()
2590 const u16 band, u32 *pdeemphasis) hpi_tuner_query_deemphasis()
2596 u16 hpi_tuner_set_deemphasis(u32 h_control, u32 deemphasis) hpi_tuner_set_deemphasis()
2602 u16 hpi_tuner_get_deemphasis(u32 h_control, u32 *pdeemphasis) hpi_tuner_get_deemphasis()
2608 u16 hpi_tuner_query_program(const u32 h_tuner, u32 *pbitmap_program) hpi_tuner_query_program()
2614 u16 hpi_tuner_set_program(u32 h_control, u32 program) hpi_tuner_set_program()
2620 u16 hpi_tuner_get_program(u32 h_control, u32 *pprogram) hpi_tuner_get_program()
2625 u16 hpi_tuner_get_hd_radio_dsp_version(u32 h_control, char *psz_dsp_version, hpi_tuner_get_hd_radio_dsp_version()
2632 u16 hpi_tuner_get_hd_radio_sdk_version(u32 h_control, char *psz_sdk_version, hpi_tuner_get_hd_radio_sdk_version()
2639 u16 hpi_tuner_get_status(u32 h_control, u16 *pw_status_mask, u16 *pw_status) hpi_tuner_get_status()
2642 u16 error = 0; hpi_tuner_get_status()
2647 *pw_status_mask = (u16)(status >> 16); hpi_tuner_get_status()
2648 *pw_status = (u16)(status & 0xFFFF); hpi_tuner_get_status()
2657 u16 hpi_tuner_set_mode(u32 h_control, u32 mode, u32 value) hpi_tuner_set_mode()
2662 u16 hpi_tuner_get_mode(u32 h_control, u32 mode, u32 *pn_value) hpi_tuner_get_mode()
2668 u16 hpi_tuner_get_hd_radio_signal_quality(u32 h_control, u32 *pquality) hpi_tuner_get_hd_radio_signal_quality()
2674 u16 hpi_tuner_get_hd_radio_signal_blend(u32 h_control, u32 *pblend) hpi_tuner_get_hd_radio_signal_blend()
2680 u16 hpi_tuner_set_hd_radio_signal_blend(u32 h_control, const u32 blend) hpi_tuner_set_hd_radio_signal_blend()
2686 u16 hpi_tuner_get_rds(u32 h_control, char *p_data) hpi_tuner_get_rds()
2705 u16 hpi_pad_get_channel_name(u32 h_control, char *psz_string, hpi_pad_get_channel_name()
2712 u16 hpi_pad_get_artist(u32 h_control, char *psz_string, const u32 data_length) hpi_pad_get_artist()
2718 u16 hpi_pad_get_title(u32 h_control, char *psz_string, const u32 data_length) hpi_pad_get_title()
2724 u16 hpi_pad_get_comment(u32 h_control, char *psz_string, hpi_pad_get_comment()
2731 u16 hpi_pad_get_program_type(u32 h_control, u32 *ppTY) hpi_pad_get_program_type()
2736 u16 hpi_pad_get_rdsPI(u32 h_control, u32 *ppI) hpi_pad_get_rdsPI()
2741 u16 hpi_volume_query_channels(const u32 h_volume, u32 *p_channels) hpi_volume_query_channels()
2747 u16 hpi_volume_set_gain(u32 h_control, short an_log_gain[HPI_MAX_CHANNELS] hpi_volume_set_gain()
2754 u16 hpi_volume_get_gain(u32 h_control, short an_log_gain[HPI_MAX_CHANNELS] hpi_volume_get_gain()
2761 u16 hpi_volume_set_mute(u32 h_control, u32 mute) hpi_volume_set_mute()
2766 u16 hpi_volume_get_mute(u32 h_control, u32 *mute) hpi_volume_get_mute()
2771 u16 hpi_volume_query_range(u32 h_control, short *min_gain_01dB, hpi_volume_query_range()
2798 u16 hpi_volume_auto_fade_profile(u32 h_control, hpi_volume_auto_fade_profile()
2800 u16 profile) hpi_volume_auto_fade_profile()
2822 u16 hpi_volume_auto_fade(u32 h_control, hpi_volume_auto_fade()
2829 u16 hpi_volume_query_auto_fade_profile(const u32 h_volume, const u32 i, hpi_volume_query_auto_fade_profile()
2830 u16 *profile) hpi_volume_query_auto_fade_profile()
2832 u16 e; hpi_volume_query_auto_fade_profile()
2835 *profile = (u16)u; hpi_volume_query_auto_fade_profile()
2839 u16 hpi_vox_set_threshold(u32 h_control, short an_gain0_01dB) hpi_vox_set_threshold()
2856 u16 hpi_vox_get_threshold(u32 h_control, short *an_gain0_01dB) hpi_vox_get_threshold()
H A Dhpimsginit.c28 static u16 msg_size[HPI_OBJ_MAXINDEX + 1] = HPI_MESSAGE_SIZE_BY_OBJECT;
30 static u16 res_size[HPI_OBJ_MAXINDEX + 1] = HPI_RESPONSE_SIZE_BY_OBJECT;
32 static u16 gwSSX2_bypass;
37 static void hpi_init_message(struct hpi_message *phm, u16 object, hpi_init_message()
38 u16 function) hpi_init_message()
40 u16 size; hpi_init_message()
64 void hpi_init_response(struct hpi_response *phr, u16 object, u16 function, hpi_init_response()
65 u16 error) hpi_init_response()
67 u16 size; hpi_init_response()
85 struct hpi_response *phr, u16 object, u16 function) hpi_init_message_response()
94 static void hpi_init_messageV1(struct hpi_message_header *phm, u16 size, hpi_init_messageV1()
95 u16 object, u16 function) hpi_init_messageV1()
108 void hpi_init_responseV1(struct hpi_response_header *phr, u16 size, hpi_init_responseV1()
109 u16 object, u16 function) hpi_init_responseV1()
120 void hpi_init_message_responseV1(struct hpi_message_header *phm, u16 msg_size, hpi_init_message_responseV1()
121 struct hpi_response_header *phr, u16 res_size, u16 object, hpi_init_message_responseV1()
122 u16 function) hpi_init_message_responseV1()
H A Dhpimsginit.h33 void hpi_init_response(struct hpi_response *phr, u16 object, u16 function,
34 u16 error);
37 struct hpi_response *phr, u16 object, u16 function);
39 void hpi_init_responseV1(struct hpi_response_header *phr, u16 size,
40 u16 object, u16 function);
42 void hpi_init_message_responseV1(struct hpi_message_header *phm, u16 msg_size,
43 struct hpi_response_header *phr, u16 res_size, u16 object,
44 u16 function);
H A Dhpi.h1129 u16 mode_legacy;
1131 u16 unused; /**< Unused */
1132 u16 channels; /**< 1,2..., (or ancillary mode or idle bit */
1133 u16 format; /**< HPI_FORMAT_PCM16, _MPEG etc. see #HPI_FORMATS. */
1144 u16 event_type; /**< type of event. \sa async_event */
1145 u16 sequence; /**< Sequence number, allows lost event detection */
1150 u16 index; /**< GPIO bit index. */
1153 u16 node_index; /**< what node is the control on ? */
1154 u16 node_type; /**< what type of node is the control on ? */
1168 u16 hpi_stream_estimate_buffer_size(struct hpi_format *pF,
1175 u16 hpi_subsys_get_version_ex(u32 *pversion_ex);
1177 u16 hpi_subsys_get_num_adapters(int *pn_num_adapters);
1179 u16 hpi_subsys_get_adapter(int iterator, u32 *padapter_index,
1180 u16 *pw_adapter_type);
1186 u16 hpi_adapter_open(u16 adapter_index);
1188 u16 hpi_adapter_close(u16 adapter_index);
1190 u16 hpi_adapter_get_info(u16 adapter_index, u16 *pw_num_outstreams,
1191 u16 *pw_num_instreams, u16 *pw_version, u32 *pserial_number,
1192 u16 *pw_adapter_type);
1194 u16 hpi_adapter_get_module_by_index(u16 adapter_index, u16 module_index,
1195 u16 *pw_num_outputs, u16 *pw_num_inputs, u16 *pw_version,
1196 u32 *pserial_number, u16 *pw_module_type, u32 *ph_module);
1198 u16 hpi_adapter_set_mode(u16 adapter_index, u32 adapter_mode);
1200 u16 hpi_adapter_set_mode_ex(u16 adapter_index, u32 adapter_mode,
1201 u16 query_or_set);
1203 u16 hpi_adapter_get_mode(u16 adapter_index, u32 *padapter_mode);
1205 u16 hpi_adapter_get_assert2(u16 adapter_index, u16 *p_assert_count,
1207 u32 *p_dsp_string_addr, u16 *p_processor_id);
1209 u16 hpi_adapter_test_assert(u16 adapter_index, u16 assert_id);
1211 u16 hpi_adapter_enable_capability(u16 adapter_index, u16 capability, u32 key);
1213 u16 hpi_adapter_self_test(u16 adapter_index);
1215 u16 hpi_adapter_debug_read(u16 adapter_index, u32 dsp_address, char *p_bytes,
1218 u16 hpi_adapter_set_property(u16 adapter_index, u16 property, u16 paramter1,
1219 u16 paramter2);
1221 u16 hpi_adapter_get_property(u16 adapter_index, u16 property,
1222 u16 *pw_paramter1, u16 *pw_paramter2);
1224 u16 hpi_adapter_enumerate_property(u16 adapter_index, u16 index,
1225 u16 what_to_enumerate, u16 property_index, u32 *psetting);
1229 u16 hpi_outstream_open(u16 adapter_index, u16 outstream_index,
1232 u16 hpi_outstream_close(u32 h_outstream);
1234 u16 hpi_outstream_get_info_ex(u32 h_outstream, u16 *pw_state,
1238 u16 hpi_outstream_write_buf(u32 h_outstream, const u8 *pb_write_buf,
1241 u16 hpi_outstream_start(u32 h_outstream);
1243 u16 hpi_outstream_wait_start(u32 h_outstream);
1245 u16 hpi_outstream_stop(u32 h_outstream);
1247 u16 hpi_outstream_sinegen(u32 h_outstream);
1249 u16 hpi_outstream_reset(u32 h_outstream);
1251 u16 hpi_outstream_query_format(u32 h_outstream, struct hpi_format *p_format);
1253 u16 hpi_outstream_set_format(u32 h_outstream, struct hpi_format *p_format);
1255 u16 hpi_outstream_set_punch_in_out(u32 h_outstream, u32 punch_in_sample,
1258 u16 hpi_outstream_set_velocity(u32 h_outstream, short velocity);
1260 u16 hpi_outstream_ancillary_reset(u32 h_outstream, u16 mode);
1262 u16 hpi_outstream_ancillary_get_info(u32 h_outstream, u32 *pframes_available);
1264 u16 hpi_outstream_ancillary_read(u32 h_outstream,
1269 u16 hpi_outstream_set_time_scale(u32 h_outstream, u32 time_scaleX10000);
1271 u16 hpi_outstream_host_buffer_allocate(u32 h_outstream, u32 size_in_bytes);
1273 u16 hpi_outstream_host_buffer_free(u32 h_outstream);
1275 u16 hpi_outstream_group_add(u32 h_outstream, u32 h_stream);
1277 u16 hpi_outstream_group_get_map(u32 h_outstream, u32 *poutstream_map,
1280 u16 hpi_outstream_group_reset(u32 h_outstream);
1285 u16 hpi_instream_open(u16 adapter_index, u16 instream_index,
1288 u16 hpi_instream_close(u32 h_instream);
1290 u16 hpi_instream_query_format(u32 h_instream,
1293 u16 hpi_instream_set_format(u32 h_instream,
1296 u16 hpi_instream_read_buf(u32 h_instream, u8 *pb_read_buf, u32 bytes_to_read);
1298 u16 hpi_instream_start(u32 h_instream);
1300 u16 hpi_instream_wait_start(u32 h_instream);
1302 u16 hpi_instream_stop(u32 h_instream);
1304 u16 hpi_instream_reset(u32 h_instream);
1306 u16 hpi_instream_get_info_ex(u32 h_instream, u16 *pw_state, u32 *pbuffer_size,
1310 u16 hpi_instream_ancillary_reset(u32 h_instream, u16 bytes_per_frame,
1311 u16 mode, u16 alignment, u16 idle_bit);
1313 u16 hpi_instream_ancillary_get_info(u32 h_instream, u32 *pframe_space);
1315 u16 hpi_instream_ancillary_write(u32 h_instream,
1320 u16 hpi_instream_host_buffer_allocate(u32 h_instream, u32 size_in_bytes);
1322 u16 hpi_instream_host_buffer_free(u32 h_instream);
1324 u16 hpi_instream_group_add(u32 h_instream, u32 h_stream);
1326 u16 hpi_instream_group_get_map(u32 h_instream, u32 *poutstream_map,
1329 u16 hpi_instream_group_reset(u32 h_instream);
1334 u16 hpi_mixer_open(u16 adapter_index, u32 *ph_mixer);
1336 u16 hpi_mixer_close(u32 h_mixer);
1338 u16 hpi_mixer_get_control(u32 h_mixer, u16 src_node_type,
1339 u16 src_node_type_index, u16 dst_node_type, u16 dst_node_type_index,
1340 u16 control_type, u32 *ph_control);
1342 u16 hpi_mixer_get_control_by_index(u32 h_mixer, u16 control_index,
1343 u16 *pw_src_node_type, u16 *pw_src_node_index, u16 *pw_dst_node_type,
1344 u16 *pw_dst_node_index, u16 *pw_control_type, u32 *ph_control);
1346 u16 hpi_mixer_store(u32 h_mixer, enum HPI_MIXER_STORE_COMMAND command,
1347 u16 index);
1354 u16 hpi_volume_set_gain(u32 h_control, short an_gain0_01dB[HPI_MAX_CHANNELS]
1357 u16 hpi_volume_get_gain(u32 h_control,
1361 u16 hpi_volume_set_mute(u32 h_control, u32 mute);
1363 u16 hpi_volume_get_mute(u32 h_control, u32 *mute);
1366 u16 hpi_volume_query_range(u32 h_control, short *min_gain_01dB,
1369 u16 hpi_volume_query_channels(const u32 h_control, u32 *p_channels);
1371 u16 hpi_volume_auto_fade(u32 h_control,
1374 u16 hpi_volume_auto_fade_profile(u32 h_control,
1376 u16 profile);
1378 u16 hpi_volume_query_auto_fade_profile(const u32 h_control, const u32 i,
1379 u16 *profile);
1384 u16 hpi_level_query_range(u32 h_control, short *min_gain_01dB,
1387 u16 hpi_level_set_gain(u32 h_control, short an_gain0_01dB[HPI_MAX_CHANNELS]
1390 u16 hpi_level_get_gain(u32 h_control,
1397 u16 hpi_meter_query_channels(const u32 h_meter, u32 *p_channels);
1399 u16 hpi_meter_get_peak(u32 h_control,
1403 u16 hpi_meter_get_rms(u32 h_control, short an_peak0_01dB_out[HPI_MAX_CHANNELS]
1406 u16 hpi_meter_set_peak_ballistics(u32 h_control, u16 attack, u16 decay);
1408 u16 hpi_meter_set_rms_ballistics(u32 h_control, u16 attack, u16 decay);
1410 u16 hpi_meter_get_peak_ballistics(u32 h_control, u16 *attack, u16 *decay);
1412 u16 hpi_meter_get_rms_ballistics(u32 h_control, u16 *attack, u16 *decay);
1417 u16 hpi_channel_mode_query_mode(const u32 h_mode, const u32 index,
1418 u16 *pw_mode);
1420 u16 hpi_channel_mode_set(u32 h_control, u16 mode);
1422 u16 hpi_channel_mode_get(u32 h_control, u16 *mode);
1427 u16 hpi_tuner_query_band(const u32 h_tuner, const u32 index, u16 *pw_band);
1429 u16 hpi_tuner_set_band(u32 h_control, u16 band);
1431 u16 hpi_tuner_get_band(u32 h_control, u16 *pw_band);
1433 u16 hpi_tuner_query_frequency(const u32 h_tuner, const u32 index,
1434 const u16 band, u32 *pfreq);
1436 u16 hpi_tuner_set_frequency(u32 h_control, u32 freq_ink_hz);
1438 u16 hpi_tuner_get_frequency(u32 h_control, u32 *pw_freq_ink_hz);
1440 u16 hpi_tuner_get_rf_level(u32 h_control, short *pw_level);
1442 u16 hpi_tuner_get_raw_rf_level(u32 h_control, short *pw_level);
1444 u16 hpi_tuner_query_gain(const u32 h_tuner, const u32 index, u16 *pw_gain);
1446 u16 hpi_tuner_set_gain(u32 h_control, short gain);
1448 u16 hpi_tuner_get_gain(u32 h_control, short *pn_gain);
1450 u16 hpi_tuner_get_status(u32 h_control, u16 *pw_status_mask, u16 *pw_status);
1452 u16 hpi_tuner_set_mode(u32 h_control, u32 mode, u32 value);
1454 u16 hpi_tuner_get_mode(u32 h_control, u32 mode, u32 *pn_value);
1456 u16 hpi_tuner_get_rds(u32 h_control, char *p_rds_data);
1458 u16 hpi_tuner_query_deemphasis(const u32 h_tuner, const u32 index,
1459 const u16 band, u32 *pdeemphasis);
1461 u16 hpi_tuner_set_deemphasis(u32 h_control, u32 deemphasis);
1462 u16 hpi_tuner_get_deemphasis(u32 h_control, u32 *pdeemphasis);
1464 u16 hpi_tuner_query_program(const u32 h_tuner, u32 *pbitmap_program);
1466 u16 hpi_tuner_set_program(u32 h_control, u32 program);
1468 u16 hpi_tuner_get_program(u32 h_control, u32 *pprogram);
1470 u16 hpi_tuner_get_hd_radio_dsp_version(u32 h_control, char *psz_dsp_version,
1473 u16 hpi_tuner_get_hd_radio_sdk_version(u32 h_control, char *psz_sdk_version,
1476 u16 hpi_tuner_get_hd_radio_signal_quality(u32 h_control, u32 *pquality);
1478 u16 hpi_tuner_get_hd_radio_signal_blend(u32 h_control, u32 *pblend);
1480 u16 hpi_tuner_set_hd_radio_signal_blend(u32 h_control, const u32 blend);
1486 u16 hpi_pad_get_channel_name(u32 h_control, char *psz_string,
1489 u16 hpi_pad_get_artist(u32 h_control, char *psz_string,
1492 u16 hpi_pad_get_title(u32 h_control, char *psz_string,
1495 u16 hpi_pad_get_comment(u32 h_control, char *psz_string,
1498 u16 hpi_pad_get_program_type(u32 h_control, u32 *ppTY);
1500 u16 hpi_pad_get_rdsPI(u32 h_control, u32 *ppI);
1502 u16 hpi_pad_get_program_type_string(u32 h_control, const u32 data_type,
1508 u16 hpi_aesebu_receiver_query_format(const u32 h_aes_rx, const u32 index,
1509 u16 *pw_format);
1511 u16 hpi_aesebu_receiver_set_format(u32 h_control, u16 source);
1513 u16 hpi_aesebu_receiver_get_format(u32 h_control, u16 *pw_source);
1515 u16 hpi_aesebu_receiver_get_sample_rate(u32 h_control, u32 *psample_rate);
1517 u16 hpi_aesebu_receiver_get_user_data(u32 h_control, u16 index, u16 *pw_data);
1519 u16 hpi_aesebu_receiver_get_channel_status(u32 h_control, u16 index,
1520 u16 *pw_data);
1522 u16 hpi_aesebu_receiver_get_error_status(u32 h_control, u16 *pw_error_data);
1527 u16 hpi_aesebu_transmitter_set_sample_rate(u32 h_control, u32 sample_rate);
1529 u16 hpi_aesebu_transmitter_set_user_data(u32 h_control, u16 index, u16 data);
1531 u16 hpi_aesebu_transmitter_set_channel_status(u32 h_control, u16 index,
1532 u16 data);
1534 u16 hpi_aesebu_transmitter_get_channel_status(u32 h_control, u16 index,
1535 u16 *pw_data);
1537 u16 hpi_aesebu_transmitter_query_format(const u32 h_aes_tx, const u32 index,
1538 u16 *pw_format);
1540 u16 hpi_aesebu_transmitter_set_format(u32 h_control, u16 output_format);
1542 u16 hpi_aesebu_transmitter_get_format(u32 h_control, u16 *pw_output_format);
1547 u16 hpi_multiplexer_set_source(u32 h_control, u16 source_node_type,
1548 u16 source_node_index);
1550 u16 hpi_multiplexer_get_source(u32 h_control, u16 *source_node_type,
1551 u16 *source_node_index);
1553 u16 hpi_multiplexer_query_source(u32 h_control, u16 index,
1554 u16 *source_node_type, u16 *source_node_index);
1559 u16 hpi_vox_set_threshold(u32 h_control, short an_gain0_01dB);
1561 u16 hpi_vox_get_threshold(u32 h_control, short *an_gain0_01dB);
1566 u16 hpi_bitstream_set_clock_edge(u32 h_control, u16 edge_type);
1568 u16 hpi_bitstream_set_data_polarity(u32 h_control, u16 polarity);
1570 u16 hpi_bitstream_get_activity(u32 h_control, u16 *pw_clk_activity,
1571 u16 *pw_data_activity);
1577 u16 hpi_sample_clock_query_source(const u32 h_clock, const u32 index,
1578 u16 *pw_source);
1580 u16 hpi_sample_clock_set_source(u32 h_control, u16 source);
1582 u16 hpi_sample_clock_get_source(u32 h_control, u16 *pw_source);
1584 u16 hpi_sample_clock_query_source_index(const u32 h_clock, const u32 index,
1585 const u32 source, u16 *pw_source_index);
1587 u16 hpi_sample_clock_set_source_index(u32 h_control, u16 source_index);
1589 u16 hpi_sample_clock_get_source_index(u32 h_control, u16 *pw_source_index);
1591 u16 hpi_sample_clock_get_sample_rate(u32 h_control, u32 *psample_rate);
1593 u16 hpi_sample_clock_query_local_rate(const u32 h_clock, const u32 index,
1596 u16 hpi_sample_clock_set_local_rate(u32 h_control, u32 sample_rate);
1598 u16 hpi_sample_clock_get_local_rate(u32 h_control, u32 *psample_rate);
1600 u16 hpi_sample_clock_set_auto(u32 h_control, u32 enable);
1602 u16 hpi_sample_clock_get_auto(u32 h_control, u32 *penable);
1604 u16 hpi_sample_clock_set_local_rate_lock(u32 h_control, u32 lock);
1606 u16 hpi_sample_clock_get_local_rate_lock(u32 h_control, u32 *plock);
1611 u16 hpi_microphone_set_phantom_power(u32 h_control, u16 on_off);
1613 u16 hpi_microphone_get_phantom_power(u32 h_control, u16 *pw_on_off);
1618 u16 hpi_parametric_eq_get_info(u32 h_control, u16 *pw_number_of_bands,
1619 u16 *pw_enabled);
1621 u16 hpi_parametric_eq_set_state(u32 h_control, u16 on_off);
1623 u16 hpi_parametric_eq_set_band(u32 h_control, u16 index, u16 type,
1626 u16 hpi_parametric_eq_get_band(u32 h_control, u16 index, u16 *pn_type,
1629 u16 hpi_parametric_eq_get_coeffs(u32 h_control, u16 index, short coeffs[5]
1636 u16 hpi_compander_set_enable(u32 h_control, u32 on);
1638 u16 hpi_compander_get_enable(u32 h_control, u32 *pon);
1640 u16 hpi_compander_set_makeup_gain(u32 h_control, short makeup_gain0_01dB);
1642 u16 hpi_compander_get_makeup_gain(u32 h_control, short *pn_makeup_gain0_01dB);
1644 u16 hpi_compander_set_attack_time_constant(u32 h_control, u32 index,
1647 u16 hpi_compander_get_attack_time_constant(u32 h_control, u32 index,
1650 u16 hpi_compander_set_decay_time_constant(u32 h_control, u32 index,
1653 u16 hpi_compander_get_decay_time_constant(u32 h_control, u32 index,
1656 u16 hpi_compander_set_threshold(u32 h_control, u32 index,
1659 u16 hpi_compander_get_threshold(u32 h_control, u32 index,
1662 u16 hpi_compander_set_ratio(u32 h_control, u32 index, u32 ratio100);
1664 u16 hpi_compander_get_ratio(u32 h_control, u32 index, u32 *pw_ratio100);
1669 u16 hpi_cobranet_hmi_write(u32 h_control, u32 hmi_address, u32 byte_count,
1672 u16 hpi_cobranet_hmi_read(u32 h_control, u32 hmi_address, u32 max_byte_count,
1675 u16 hpi_cobranet_hmi_get_status(u32 h_control, u32 *pstatus,
1678 u16 hpi_cobranet_get_ip_address(u32 h_control, u32 *pdw_ip_address);
1680 u16 hpi_cobranet_set_ip_address(u32 h_control, u32 dw_ip_address);
1682 u16 hpi_cobranet_get_static_ip_address(u32 h_control, u32 *pdw_ip_address);
1684 u16 hpi_cobranet_set_static_ip_address(u32 h_control, u32 dw_ip_address);
1686 u16 hpi_cobranet_get_macaddress(u32 h_control, u32 *p_mac_msbs,
1692 u16 hpi_tone_detector_get_state(u32 hC, u32 *state);
1694 u16 hpi_tone_detector_set_enable(u32 hC, u32 enable);
1696 u16 hpi_tone_detector_get_enable(u32 hC, u32 *enable);
1698 u16 hpi_tone_detector_set_event_enable(u32 hC, u32 event_enable);
1700 u16 hpi_tone_detector_get_event_enable(u32 hC, u32 *event_enable);
1702 u16 hpi_tone_detector_set_threshold(u32 hC, int threshold);
1704 u16 hpi_tone_detector_get_threshold(u32 hC, int *threshold);
1706 u16 hpi_tone_detector_get_frequency(u32 hC, u32 index, u32 *frequency);
1711 u16 hpi_silence_detector_get_state(u32 hC, u32 *state);
1713 u16 hpi_silence_detector_set_enable(u32 hC, u32 enable);
1715 u16 hpi_silence_detector_get_enable(u32 hC, u32 *enable);
1717 u16 hpi_silence_detector_set_event_enable(u32 hC, u32 event_enable);
1719 u16 hpi_silence_detector_get_event_enable(u32 hC, u32 *event_enable);
1721 u16 hpi_silence_detector_set_delay(u32 hC, u32 delay);
1723 u16 hpi_silence_detector_get_delay(u32 hC, u32 *delay);
1725 u16 hpi_silence_detector_set_threshold(u32 hC, int threshold);
1727 u16 hpi_silence_detector_get_threshold(u32 hC, int *threshold);
1732 u16 hpi_format_create(struct hpi_format *p_format, u16 channels, u16 format,
H A Dhpi_internal.h45 u16 hpios_locked_mem_alloc(struct consistent_dma_area *p_locked_mem_handle,
58 u16 hpios_locked_mem_free(struct consistent_dma_area *locked_mem_handle);
64 u16 hpios_locked_mem_get_phys_addr(struct consistent_dma_area
71 u16 hpios_locked_mem_get_virt_addr(struct consistent_dma_area
77 u16 hpios_locked_mem_valid(struct consistent_dma_area *locked_mem_handle);
570 u16 bus_type; /* HPI_BUS_PNPISA, _PCI, _USB etc */
571 u16 padding;
580 u16 channels; /**< 1,2..., (or ancillary mode or idle bit */
581 u16 format; /**< HPI_FORMAT_PCM16, _MPEG etc. see \ref HPI_FORMATS. */
634 u16 object_type;
636 u16 stream_index; /**< outstream or instream index. */
651 u16 num_adapters;
652 u16 adapter_index;
653 u16 adapter_type;
654 u16 pad16;
664 u16 query_or_set;
667 u16 index;
670 u16 index;
671 u16 what;
672 u16 property_index;
675 u16 property;
676 u16 parameter1;
677 u16 parameter2;
681 u16 key1;
682 u16 key2;
686 u16 value;
696 u16 adapter_type;
697 u16 adapter_index;
698 u16 num_instreams;
699 u16 num_outstreams;
700 u16 num_mixers;
701 u16 version;
709 u16 count;
710 u16 dsp_index;
719 u16 parameter1;
720 u16 parameter2;
731 u16 velocity;
754 u16 state; /* HPI_STATE_PLAYING, _STATE_STOPPED */
755 u16 padding;
761 u16 state;
762 u16 outstream_index;
763 u16 instream_index;
764 u16 padding;
783 u16 control_index;
784 u16 control_type; /* = HPI_CONTROL_METER _VOLUME etc */
785 u16 padding1; /* Maintain alignment of subsequent fields */
786 u16 node_type1; /* = HPI_SOURCENODE_LINEIN etc */
787 u16 node_index1; /* = 0..N */
788 u16 node_type2;
789 u16 node_index2;
790 u16 padding2; /* round to 4 bytes */
794 u16 src_node_type; /* = HPI_SOURCENODE_LINEIN etc */
795 u16 src_node_index; /* = 0..N */
796 u16 dst_node_type;
797 u16 dst_node_index;
799 u16 control_index;
801 u16 dsp_index;
806 u16 starting_index;
807 u16 flags;
812 u16 command;
813 u16 index;
821 u16 more_to_do; /* indicates if there is more to do */
831 u16 attribute; /* control attribute or property */
832 u16 saved_index;
839 u16 attribute; /* control attribute or property */
840 u16 saved_index; /* only used in ctrl save/restore */
886 u16 value;
887 u16 mask;
905 u16 address;
906 u16 data;
910 u16 size_in_bytes;
911 u16 data;
915 u16 bit_index;
916 u16 bit_data;
920 u16 number_input_bits;
921 u16 number_output_bits;
922 u16 bit_data[4];
927 u16 maximum_events;
928 u16 padding;
934 u16 count;
938 u16 number_returned;
939 u16 padding;
954 u16 hours;
955 u16 minutes;
956 u16 seconds;
957 u16 milli_seconds;
961 u16 size_in_bytes;
962 u16 hours;
963 u16 minutes;
964 u16 seconds;
965 u16 milli_seconds;
966 u16 padding;
970 u16 bin_index;
971 u16 padding;
975 u16 max_profiles;
983 u16 profile_interval;
999 u16 size; /* total size in bytes */
1002 u16 object; /* HPI_OBJ_* */
1003 u16 function; /* HPI_SUBSYS_xxx, HPI_ADAPTER_xxx */
1004 u16 adapter_index; /* the adapter index */
1005 u16 obj_index; /* */
1010 u16 size; /* total size in bytes */
1013 u16 object; /* HPI_OBJ_* */
1014 u16 function; /* HPI_SUBSYS_xxx, HPI_ADAPTER_xxx */
1015 u16 adapter_index; /* the adapter index */
1016 u16 obj_index; /* */
1061 u16 size;
1064 u16 object; /* HPI_OBJ_* */
1065 u16 function; /* HPI_SUBSYS_xxx, HPI_ADAPTER_xxx */
1066 u16 error; /* HPI_ERROR_xxx */
1067 u16 specific_error; /* adapter specific error */
1072 u16 size;
1075 u16 object; /* HPI_OBJ_* */
1076 u16 function; /* HPI_SUBSYS_xxx, HPI_ADAPTER_xxx */
1077 u16 error; /* HPI_ERROR_xxx */
1078 u16 specific_error; /* adapter specific error */
1143 u16 attribute;
1144 u16 padding;
1180 u16 adapter_index; /* the adapter index */
1181 u16 obj_index; /* object index */
1255 /** indicates a cached u16 value is invalid. */
1270 u16 control_index;
1288 u16 mode;
1294 u16 source_node_type;
1295 u16 source_node_index;
1308 u16 band;
1326 u16 state;
1338 u16 source;
1339 u16 source_index;
1345 u16 phantom_state;
1396 void hpi_handle_to_indexes(const u32 handle, u16 *pw_adapter_index,
1397 u16 *pw_object_index);
1399 u32 hpi_indexes_to_handle(const char c_object, const u16 adapter_index,
1400 const u16 object_index);
1408 u16 hpi_subsys_create_adapter(const struct hpi_resource *p_resource,
1409 u16 *pw_adapter_index);
1411 u16 hpi_outstream_host_buffer_get_info(u32 h_outstream, u8 **pp_buffer,
1414 u16 hpi_instream_host_buffer_get_info(u32 h_instream, u8 **pp_buffer,
1417 u16 hpi_adapter_restart(u16 adapter_index);
H A Dhpicmn.h32 u16 type; /* 0x6644 == ASI6644 etc */
33 u16 index;
37 u16 dsp_crashed;
38 u16 has_control_cache;
47 u16 init;
48 u16 adap_idx;
57 struct hpi_adapter_obj *hpi_find_adapter(u16 adapter_index);
59 u16 hpi_add_adapter(struct hpi_adapter_obj *pao);
80 u16 hpi_validate_response(struct hpi_message *phm, struct hpi_response *phr);
/linux-4.4.14/drivers/staging/gdm724x/
H A Dhci_packet.h39 u16 cmd_evt;
40 u16 len;
51 u16 cmd_evt;
52 u16 len;
59 u16 cmd_evt;
60 u16 len;
68 u16 cmd_evt;
69 u16 len;
70 u16 num_packet;
71 u16 reserved;
76 u16 cmd_evt;
77 u16 len;
87 u16 cmd_evt;
88 u16 len;
H A Dgdm_endian.c25 u16 gdm_cpu_to_dev16(struct gdm_endian *ed, u16 x) gdm_cpu_to_dev16()
33 u16 gdm_dev16_to_cpu(struct gdm_endian *ed, u16 x) gdm_dev16_to_cpu()
H A Dgdm_endian.h33 u16 gdm_cpu_to_dev16(struct gdm_endian *ed, u16 x);
34 u16 gdm_dev16_to_cpu(struct gdm_endian *ed, u16 x);
/linux-4.4.14/drivers/gpu/drm/nouveau/nvkm/subdev/pci/
H A Dpriv.h11 u32 (*rd32)(struct nvkm_pci *, u16 addr);
12 void (*wr08)(struct nvkm_pci *, u16 addr, u8 data);
13 void (*wr32)(struct nvkm_pci *, u16 addr, u32 data);
17 u32 nv40_pci_rd32(struct nvkm_pci *, u16);
18 void nv40_pci_wr08(struct nvkm_pci *, u16, u8);
19 void nv40_pci_wr32(struct nvkm_pci *, u16, u32);
/linux-4.4.14/arch/powerpc/include/asm/
H A Dimmap_cpm2.h21 u16 sc_swsr;
46 u16 sc_ceer;
47 u16 sc_cemr;
101 u16 memc_mptpr;
128 u16 sit_tmcntsc;
134 u16 sit_piscr;
142 #define PISCR_PIRQ_MASK ((u16)0xff00)
143 #define PISCR_PS ((u16)0x0080)
144 #define PISCR_PIE ((u16)0x0004)
145 #define PISCR_PTF ((u16)0x0002)
146 #define PISCR_PTE ((u16)0x0001)
283 u16 ic_sicr;
347 u16 cpmt_tmr1;
348 u16 cpmt_tmr2;
349 u16 cpmt_trr1;
350 u16 cpmt_trr2;
351 u16 cpmt_tcr1;
352 u16 cpmt_tcr2;
353 u16 cpmt_tcn1;
354 u16 cpmt_tcn2;
355 u16 cpmt_tmr3;
356 u16 cpmt_tmr4;
357 u16 cpmt_trr3;
358 u16 cpmt_trr4;
359 u16 cpmt_tcr3;
360 u16 cpmt_tcr4;
361 u16 cpmt_tcn3;
362 u16 cpmt_tcn4;
363 u16 cpmt_ter1;
364 u16 cpmt_ter2;
365 u16 cpmt_ter3;
366 u16 cpmt_ter4;
401 u16 fcc_ftodr;
403 u16 fcc_fdsr;
405 u16 fcc_fcce;
407 u16 fcc_fccm;
428 u16 tc_tcmode;
429 u16 tc_cdsmr;
430 u16 tc_tcer;
431 u16 tc_rcc;
432 u16 tc_tcmr;
433 u16 tc_fcc;
434 u16 tc_ccc;
435 u16 tc_icc;
436 u16 tc_tcc;
437 u16 tc_ecc;
462 u16 scc_psmr;
464 u16 scc_todr;
465 u16 scc_dsr;
466 u16 scc_scce;
468 u16 scc_sccm;
476 u16 smc_smcmr;
487 u16 spi_spmode;
508 u16 cmx_uar;
515 u16 si_amr;
516 u16 si_bmr;
517 u16 si_cmr;
518 u16 si_dmr;
525 u16 si_rsr;
529 u16 mcc_mcce;
531 u16 mcc_mccm;
541 u16 cp_rter;
543 u16 cp_rtmr;
544 u16 cp_rtscr;
598 u16 tc_tcgsr;
599 u16 tc_tcger;
633 u16 im_si1txram[256];
635 u16 im_si1rxram[256];
637 u16 im_si2txram[256];
639 u16 im_si2rxram[256];
H A Dmpc52xx_psc.h159 u16 status;
160 u16 clock_select;
164 u16 reserved1;
169 u16 buffer_16;
183 u16 isr;
184 u16 imr;
188 u16 reserved4;
221 u16 rfnum; /* PSC + 0x58 */
222 u16 reserved18;
223 u16 tfnum; /* PSC + 0x5c */
224 u16 reserved19;
226 u16 rfstat; /* PSC + 0x64 */
227 u16 reserved20;
230 u16 rfalarm; /* PSC + 0x6e */
231 u16 reserved22;
232 u16 rfrptr; /* PSC + 0x72 */
233 u16 reserved23;
234 u16 rfwptr; /* PSC + 0x76 */
235 u16 reserved24;
236 u16 rflrfptr; /* PSC + 0x7a */
237 u16 reserved25;
238 u16 rflwfptr; /* PSC + 0x7e */
240 u16 tfstat; /* PSC + 0x84 */
241 u16 reserved26;
244 u16 tfalarm; /* PSC + 0x8e */
245 u16 reserved28;
246 u16 tfrptr; /* PSC + 0x92 */
247 u16 reserved29;
248 u16 tfwptr; /* PSC + 0x96 */
249 u16 reserved30;
250 u16 tflrfptr; /* PSC + 0x9a */
251 u16 reserved31;
252 u16 tflwfptr; /* PSC + 0x9e */
278 u16 txdata_16;
295 u16 rxdata_16;
309 u16 status; /* PSC + 0x08 */
318 u16 buffer_16;
328 u16 isr; /* PSC + 0x20 */
330 u16 imr; /* PSC + 0x24 */
/linux-4.4.14/include/linux/i2c/
H A Dbfin_twi.h19 u16 clkdiv;
20 u16 dummy1;
21 u16 control;
22 u16 dummy2;
23 u16 slave_ctl;
24 u16 dummy3;
25 u16 slave_stat;
26 u16 dummy4;
27 u16 slave_addr;
28 u16 dummy5;
29 u16 master_ctl;
30 u16 dummy6;
31 u16 master_stat;
32 u16 dummy7;
33 u16 master_addr;
34 u16 dummy8;
35 u16 int_stat;
36 u16 dummy9;
37 u16 int_mask;
38 u16 dummy10;
39 u16 fifo_ctl;
40 u16 dummy11;
41 u16 fifo_stat;
42 u16 dummy12;
44 u16 xmt_data8;
45 u16 dummy13;
46 u16 xmt_data16;
47 u16 dummy14;
48 u16 rcv_data8;
49 u16 dummy15;
50 u16 rcv_data16;
51 u16 dummy16;
70 u16 saved_clkdiv;
71 u16 saved_control;
H A Dtsc2007.h7 u16 model; /* 2007. */
8 u16 x_plate_ohms; /* must be non-zero value */
9 u16 max_rt; /* max. resistance above which samples are ignored */
/linux-4.4.14/drivers/media/dvb-frontends/
H A Ddib7000p.h12 int (*update_lna) (struct dvb_frontend *, u16 agc_global);
19 u16 gpio_dir;
21 u16 gpio_val;
27 u16 gpio_pwm_pos;
29 u16 pwm_freq_div;
41 u16 diversity_delay;
50 int (*set_wbd_ref)(struct dvb_frontend *demod, u16 value);
52 u16 *agc_global, u16 *agc1, u16 *agc2, u16 *wbd);
53 int (*set_agc1_min)(struct dvb_frontend *fe, u16 v);
60 int (*pid_filter)(struct dvb_frontend *fe, u8 id, u16 pid, u8 onoff);
H A Ddrxk_hard.h178 u16 threshold;
184 u16 output_level; /* range dependent on AGC */
185 u16 min_output_level; /* range dependent on AGC */
186 u16 max_output_level; /* range dependent on AGC */
187 u16 speed; /* range dependent on AGC */
188 u16 top; /* rf-agc take over point */
189 u16 cut_off_current; /* rf-agc is accelerated if output current
191 u16 ingain_tgt_max;
192 u16 fast_clip_ctrl_delay;
196 u16 reference; /* pre SAW reference value, range 0 .. 31 */
201 u16 cmd; /* Command number */
202 u16 subcmd; /* Sub-command parameter*/
203 u16 param0; /* General purpous param */
204 u16 param1; /* General purpous param */
205 u16 param2; /* General purpous param */
206 u16 param3; /* General purpous param */
207 u16 param4; /* General purpous param */
236 u16 m_osc_clock_freq;
237 u16 m_hi_cfg_timing_div;
238 u16 m_hi_cfg_bridge_delay;
239 u16 m_hi_cfg_wake_up_key;
240 u16 m_hi_cfg_timeout;
241 u16 m_hi_cfg_ctrl;
248 u16 m_vsb_pga_cfg; /* settings for VSB PGA */
297 u16 m_atv_top_noise_th;
306 u16 m_qam_pga_cfg; /* settings for QAM PGA */
309 u16 m_fec_rs_plen;
310 u16 m_fec_rs_prescale;
314 u16 m_gpio;
315 u16 m_gpio_cfg;
321 u16 m_agcfast_clip_ctrl_delay;
323 u16 m_adcCompCoef[64];
324 u16 m_adc_state;
345 u16 uio_mask; /* Bits used by UIO */
351 u16 antenna_gpio;
H A Ddib0090.h27 u16 pll_int_loop_filt;
31 u16 max_freq; /* for every frequency less than or equal to that field: this information is correct */
32 u16 slope_cold;
33 u16 offset_cold;
34 u16 slope_hot;
35 u16 offset_hot;
61 u16 wbd_vhf_offset;
62 u16 wbd_cband_offset;
72 u16 force_cband_input;
83 extern u16 dib0090_get_wbd_target(struct dvb_frontend *tuner);
84 extern u16 dib0090_get_wbd_offset(struct dvb_frontend *fe);
88 extern void dib0090_get_current_gain(struct dvb_frontend *fe, u16 * rf, u16 * bb, u16 * rf_gain_limit, u16 * rflt);
119 static inline u16 dib0090_get_wbd_target(struct dvb_frontend *tuner) dib0090_get_wbd_target()
125 static inline u16 dib0090_get_wbd_offset(struct dvb_frontend *fe) dib0090_get_wbd_offset()
149 static inline void dib0090_get_current_gain(struct dvb_frontend *fe, u16 * rf, u16 * bb, u16 * rf_gain_limit, u16 * rflt) dib0090_get_current_gain()
H A Ddibx000_common.h17 u16 device_rev;
30 u16 base_reg;
40 u16 device_rev, struct i2c_adapter *i2c_adap,
48 extern int dibx000_i2c_set_speed(struct i2c_adapter *i2c_adap, u16 speed);
69 u16 setup;
71 u16 inv_gain;
72 u16 time_stabiliz;
75 u16 thlock;
78 u16 wbd_ref;
82 u16 agc1_max;
83 u16 agc1_min;
84 u16 agc2_max;
85 u16 agc2_min;
109 u16 min;
110 u16 max;
111 u16 min_thres;
112 u16 max_thres;
132 u16 sad_cfg;
212 u16 tps[9];
265 u16 f_mhz;
H A Dau8522.h35 u16 vsb8_strong;
36 u16 qam64_strong;
37 u16 qam256_strong;
39 u16 gpio_output;
41 u16 gpio_output_enable;
42 u16 gpio_output_disable;
44 u16 gpio_leds;
H A Ddib7000m.h14 int (*update_lna) (struct dvb_frontend *, u16 agc_global);
22 u16 gpio_dir;
24 u16 gpio_val;
30 u16 gpio_pwm_pos;
32 u16 pwm_freq_div;
50 extern int dib7000m_pid_filter(struct dvb_frontend *, u8 id, u16 pid, u8 onoff);
70 u16 pid, u8 onoff) dib7000m_pid_filter()
H A Ddib8000.h10 int (*update_lna) (struct dvb_frontend *, u16 agc_global);
17 u16 gpio_dir;
19 u16 gpio_val;
25 u16 gpio_pwm_pos;
26 u16 pwm_freq_div;
30 u16 drives;
31 u16 diversity_delay;
43 int (*set_wbd_ref)(struct dvb_frontend *fe, u16 value);
62 int (*pid_filter)(struct dvb_frontend *fe, u8 id, u16 pid, u8 onoff);
/linux-4.4.14/drivers/char/
H A Dapplicom.h34 u16 stjb_codef; /* offset 00 */
36 u16 stjb_ticuser_root; /* offset 04 */
38 u16 stjb_mode; /* offset 0A */
39 u16 stjb_time; /* offset 0C */
40 u16 stjb_stop; /* offset 0E */
41 u16 stjb_nfonc; /* offset 10 */
42 u16 stjb_ncard; /* offset 12 */
43 u16 stjb_nchan; /* offset 14 */
44 u16 stjb_nes; /* offset 16 */
45 u16 stjb_nb; /* offset 18 */
46 u16 stjb_typvar; /* offset 1A */
48 u16 stjb_ticuser_dispcyc; /* offset 20 */
49 u16 stjb_ticuser_protocol; /* offset 22 */
/linux-4.4.14/include/net/tc_act/
H A Dtc_gact.h9 u16 tcfg_ptype;
10 u16 tcfg_pval;
H A Dtc_connmark.h9 u16 zone;
/linux-4.4.14/arch/arm64/include/asm/
H A Dbitrev.h9 static __always_inline __attribute_const__ u16 __arch_bitrev16(u16 x) __arch_bitrev16()
/linux-4.4.14/drivers/net/wireless/brcm80211/brcmsmac/
H A Dbrcms_trace_brcmsmac_tx.h41 TP_PROTO(const struct device *dev, u16 framelen, u16 frameid,
42 u16 status, u16 lasttxtime, u16 sequence, u16 phyerr,
43 u16 ackphyrxsh),
48 __field(u16, framelen)
49 __field(u16, frameid)
50 __field(u16, status)
51 __field(u16, lasttxtime)
52 __field(u16, sequence)
53 __field(u16, phyerr)
54 __field(u16, ackphyrxsh)
75 u16 max_ampdu_frames, u16 ampdu_len, u16 ampdu_frames,
76 u16 dma_len),
82 __field(u16, max_ampdu_frames)
83 __field(u16, ampdu_len)
84 __field(u16, ampdu_frames)
85 __field(u16, dma_len)
H A Dd11.h62 u16 fifocontrol;
63 u16 fifodata;
64 u16 fifofree; /* only valid in xmt channel, not in rcv channel */
65 u16 PAD;
92 u16 pmqctrlstatus; /* read/write */
93 u16 PAD;
184 u16 radioregaddr; /* 0x3d8 */
185 u16 radioregdata; /* 0x3da */
194 u16 phyversion; /* 0x3e0 - 0x0 */
195 u16 phybbconfig; /* 0x3e2 - 0x1 */
196 u16 phyadcbias; /* 0x3e4 - 0x2 Bphy only */
197 u16 phyanacore; /* 0x3e6 - 0x3 pwwrdwn on aphy */
198 u16 phyrxstatus0; /* 0x3e8 - 0x4 */
199 u16 phyrxstatus1; /* 0x3ea - 0x5 */
200 u16 phycrsth; /* 0x3ec - 0x6 */
201 u16 phytxerror; /* 0x3ee - 0x7 */
202 u16 phychannel; /* 0x3f0 - 0x8 */
203 u16 PAD[1]; /* 0x3f2 - 0x9 */
204 u16 phytest; /* 0x3f4 - 0xa */
205 u16 phy4waddr; /* 0x3f6 - 0xb */
206 u16 phy4wdatahi; /* 0x3f8 - 0xc */
207 u16 phy4wdatalo; /* 0x3fa - 0xd */
208 u16 phyregaddr; /* 0x3fc - 0xe */
209 u16 phyregdata; /* 0x3fe - 0xf */
214 u16 PAD[3]; /* 0x400 - 0x406 */
215 u16 rcv_fifo_ctl; /* 0x406 */
216 u16 PAD; /* 0x408 - 0x40a */
217 u16 rcv_frm_cnt; /* 0x40a */
218 u16 PAD[4]; /* 0x40a - 0x414 */
219 u16 rssi; /* 0x414 */
220 u16 PAD[5]; /* 0x414 - 0x420 */
221 u16 rcm_ctl; /* 0x420 */
222 u16 rcm_mat_data; /* 0x422 */
223 u16 rcm_mat_mask; /* 0x424 */
224 u16 rcm_mat_dly; /* 0x426 */
225 u16 rcm_cond_mask_l; /* 0x428 */
226 u16 rcm_cond_mask_h; /* 0x42A */
227 u16 rcm_cond_dly; /* 0x42C */
228 u16 PAD[1]; /* 0x42E */
229 u16 ext_ihr_addr; /* 0x430 */
230 u16 ext_ihr_data; /* 0x432 */
231 u16 rxe_phyrs_2; /* 0x434 */
232 u16 rxe_phyrs_3; /* 0x436 */
233 u16 phy_mode; /* 0x438 */
234 u16 rcmta_ctl; /* 0x43a */
235 u16 rcmta_size; /* 0x43c */
236 u16 rcmta_addr0; /* 0x43e */
237 u16 rcmta_addr1; /* 0x440 */
238 u16 rcmta_addr2; /* 0x442 */
239 u16 PAD[30]; /* 0x444 - 0x480 */
243 u16 PAD; /* 0x480 */
244 u16 psm_maccontrol_h; /* 0x482 */
245 u16 psm_macintstatus_l; /* 0x484 */
246 u16 psm_macintstatus_h; /* 0x486 */
247 u16 psm_macintmask_l; /* 0x488 */
248 u16 psm_macintmask_h; /* 0x48A */
249 u16 PAD; /* 0x48C */
250 u16 psm_maccommand; /* 0x48E */
251 u16 psm_brc; /* 0x490 */
252 u16 psm_phy_hdr_param; /* 0x492 */
253 u16 psm_postcard; /* 0x494 */
254 u16 psm_pcard_loc_l; /* 0x496 */
255 u16 psm_pcard_loc_h; /* 0x498 */
256 u16 psm_gpio_in; /* 0x49A */
257 u16 psm_gpio_out; /* 0x49C */
258 u16 psm_gpio_oe; /* 0x49E */
260 u16 psm_bred_0; /* 0x4A0 */
261 u16 psm_bred_1; /* 0x4A2 */
262 u16 psm_bred_2; /* 0x4A4 */
263 u16 psm_bred_3; /* 0x4A6 */
264 u16 psm_brcl_0; /* 0x4A8 */
265 u16 psm_brcl_1; /* 0x4AA */
266 u16 psm_brcl_2; /* 0x4AC */
267 u16 psm_brcl_3; /* 0x4AE */
268 u16 psm_brpo_0; /* 0x4B0 */
269 u16 psm_brpo_1; /* 0x4B2 */
270 u16 psm_brpo_2; /* 0x4B4 */
271 u16 psm_brpo_3; /* 0x4B6 */
272 u16 psm_brwk_0; /* 0x4B8 */
273 u16 psm_brwk_1; /* 0x4BA */
274 u16 psm_brwk_2; /* 0x4BC */
275 u16 psm_brwk_3; /* 0x4BE */
277 u16 psm_base_0; /* 0x4C0 */
278 u16 psm_base_1; /* 0x4C2 */
279 u16 psm_base_2; /* 0x4C4 */
280 u16 psm_base_3; /* 0x4C6 */
281 u16 psm_base_4; /* 0x4C8 */
282 u16 psm_base_5; /* 0x4CA */
283 u16 psm_base_6; /* 0x4CC */
284 u16 psm_pc_reg_0; /* 0x4CE */
285 u16 psm_pc_reg_1; /* 0x4D0 */
286 u16 psm_pc_reg_2; /* 0x4D2 */
287 u16 psm_pc_reg_3; /* 0x4D4 */
288 u16 PAD[0xD]; /* 0x4D6 - 0x4DE */
289 u16 psm_corectlsts; /* 0x4f0 *//* Corerev >= 13 */
290 u16 PAD[0x7]; /* 0x4f2 - 0x4fE */
293 u16 txe_ctl; /* 0x500 */
294 u16 txe_aux; /* 0x502 */
295 u16 txe_ts_loc; /* 0x504 */
296 u16 txe_time_out; /* 0x506 */
297 u16 txe_wm_0; /* 0x508 */
298 u16 txe_wm_1; /* 0x50A */
299 u16 txe_phyctl; /* 0x50C */
300 u16 txe_status; /* 0x50E */
301 u16 txe_mmplcp0; /* 0x510 */
302 u16 txe_mmplcp1; /* 0x512 */
303 u16 txe_phyctl1; /* 0x514 */
305 u16 PAD[0x05]; /* 0x510 - 0x51E */
308 u16 xmtfifodef; /* 0x520 */
309 u16 xmtfifo_frame_cnt; /* 0x522 *//* Corerev >= 16 */
310 u16 xmtfifo_byte_cnt; /* 0x524 *//* Corerev >= 16 */
311 u16 xmtfifo_head; /* 0x526 *//* Corerev >= 16 */
312 u16 xmtfifo_rd_ptr; /* 0x528 *//* Corerev >= 16 */
313 u16 xmtfifo_wr_ptr; /* 0x52A *//* Corerev >= 16 */
314 u16 xmtfifodef1; /* 0x52C *//* Corerev >= 16 */
316 u16 PAD[0x09]; /* 0x52E - 0x53E */
318 u16 xmtfifocmd; /* 0x540 */
319 u16 xmtfifoflush; /* 0x542 */
320 u16 xmtfifothresh; /* 0x544 */
321 u16 xmtfifordy; /* 0x546 */
322 u16 xmtfifoprirdy; /* 0x548 */
323 u16 xmtfiforqpri; /* 0x54A */
324 u16 xmttplatetxptr; /* 0x54C */
325 u16 PAD; /* 0x54E */
326 u16 xmttplateptr; /* 0x550 */
327 u16 smpl_clct_strptr; /* 0x552 *//* Corerev >= 22 */
328 u16 smpl_clct_stpptr; /* 0x554 *//* Corerev >= 22 */
329 u16 smpl_clct_curptr; /* 0x556 *//* Corerev >= 22 */
330 u16 PAD[0x04]; /* 0x558 - 0x55E */
331 u16 xmttplatedatalo; /* 0x560 */
332 u16 xmttplatedatahi; /* 0x562 */
334 u16 PAD[2]; /* 0x564 - 0x566 */
336 u16 xmtsel; /* 0x568 */
337 u16 xmttxcnt; /* 0x56A */
338 u16 xmttxshmaddr; /* 0x56C */
340 u16 PAD[0x09]; /* 0x56E - 0x57E */
343 u16 PAD[0x40]; /* 0x580 - 0x5FE */
346 u16 PAD[0X02]; /* 0x600 - 0x602 */
347 u16 tsf_cfpstrt_l; /* 0x604 */
348 u16 tsf_cfpstrt_h; /* 0x606 */
349 u16 PAD[0X05]; /* 0x608 - 0x610 */
350 u16 tsf_cfppretbtt; /* 0x612 */
351 u16 PAD[0XD]; /* 0x614 - 0x62C */
352 u16 tsf_clk_frac_l; /* 0x62E */
353 u16 tsf_clk_frac_h; /* 0x630 */
354 u16 PAD[0X14]; /* 0x632 - 0x658 */
355 u16 tsf_random; /* 0x65A */
356 u16 PAD[0x05]; /* 0x65C - 0x664 */
358 u16 tsf_gpt2_stat; /* 0x666 */
359 u16 tsf_gpt2_ctr_l; /* 0x668 */
360 u16 tsf_gpt2_ctr_h; /* 0x66A */
361 u16 tsf_gpt2_val_l; /* 0x66C */
362 u16 tsf_gpt2_val_h; /* 0x66E */
363 u16 tsf_gptall_stat; /* 0x670 */
364 u16 PAD[0x07]; /* 0x672 - 0x67E */
367 u16 ifs_sifs_rx_tx_tx; /* 0x680 */
368 u16 ifs_sifs_nav_tx; /* 0x682 */
369 u16 ifs_slot; /* 0x684 */
370 u16 PAD; /* 0x686 */
371 u16 ifs_ctl; /* 0x688 */
372 u16 PAD[0x3]; /* 0x68a - 0x68F */
373 u16 ifsstat; /* 0x690 */
374 u16 ifsmedbusyctl; /* 0x692 */
375 u16 iftxdur; /* 0x694 */
376 u16 PAD[0x3]; /* 0x696 - 0x69b */
378 u16 ifs_aifsn; /* 0x69c */
379 u16 ifs_ctl1; /* 0x69e */
382 u16 scc_ctl; /* 0x6a0 */
383 u16 scc_timer_l; /* 0x6a2 */
384 u16 scc_timer_h; /* 0x6a4 */
385 u16 scc_frac; /* 0x6a6 */
386 u16 scc_fastpwrup_dly; /* 0x6a8 */
387 u16 scc_per; /* 0x6aa */
388 u16 scc_per_frac; /* 0x6ac */
389 u16 scc_cal_timer_l; /* 0x6ae */
390 u16 scc_cal_timer_h; /* 0x6b0 */
391 u16 PAD; /* 0x6b2 */
393 u16 PAD[0x26];
396 u16 nav_ctl; /* 0x700 */
397 u16 navstat; /* 0x702 */
398 u16 PAD[0x3e]; /* 0x702 - 0x77E */
401 u16 PAD[0x20]; /* 0x780 - 0x7BE */
403 u16 wepctl; /* 0x7C0 */
404 u16 wepivloc; /* 0x7C2 */
405 u16 wepivkey; /* 0x7C4 */
406 u16 wepwkey; /* 0x7C6 */
408 u16 PAD[4]; /* 0x7C8 - 0x7CE */
409 u16 pcmctl; /* 0X7D0 */
410 u16 pcmstat; /* 0X7D2 */
411 u16 PAD[6]; /* 0x7D4 - 0x7DE */
413 u16 pmqctl; /* 0x7E0 */
414 u16 pmqstatus; /* 0x7E2 */
415 u16 pmqpat0; /* 0x7E4 */
416 u16 pmqpat1; /* 0x7E6 */
417 u16 pmqpat2; /* 0x7E8 */
419 u16 pmqdat; /* 0x7EA */
420 u16 pmqdator; /* 0x7EC */
421 u16 pmqhst; /* 0x7EE */
422 u16 pmqpath0; /* 0x7F0 */
423 u16 pmqpath1; /* 0x7F2 */
424 u16 pmqpath2; /* 0x7F4 */
425 u16 pmqdath; /* 0x7F6 */
427 u16 PAD[0x04]; /* 0x7F8 - 0x7FE */
430 u16 PAD[0x380]; /* 0x800 - 0xEFE */
673 u16 service;
708 u16 length;
709 u16 crc;
785 u16 PAD; /* 0x37 */
905 u16 framelen;
906 u16 PAD;
907 u16 frameid;
908 u16 status;
909 u16 lasttxtime;
910 u16 sequence;
911 u16 phyerr;
912 u16 ackphyrxsh;
1305 u16 txop;
1306 u16 cwmin;
1307 u16 cwmax;
1308 u16 cwcur;
1309 u16 aifs;
1310 u16 bslots;
1311 u16 reggap;
1312 u16 status;
1313 u16 rsvd[8];
1320 #define MHFMAX 5 /* Number of valid hostflag half-word (u16) */
1388 u16 PAD;
1402 u16 RxFrameSize;
1403 u16 PAD;
1404 u16 PhyRxStatus_0;
1405 u16 PhyRxStatus_1;
1406 u16 PhyRxStatus_2;
1407 u16 PhyRxStatus_3;
1408 u16 PhyRxStatus_4;
1409 u16 PhyRxStatus_5;
1410 u16 RxStatus1;
1411 u16 RxStatus2;
1412 u16 RxTSFTime;
1413 u16 RxChan;
1678 u16 txallfrm; /* 0x80 */
1679 u16 txrtsfrm; /* 0x82 */
1680 u16 txctsfrm; /* 0x84 */
1681 u16 txackfrm; /* 0x86 */
1682 u16 txdnlfrm; /* 0x88 */
1683 u16 txbcnfrm; /* 0x8a */
1684 u16 txfunfl[8]; /* 0x8c - 0x9b */
1685 u16 txtplunfl; /* 0x9c */
1686 u16 txphyerr; /* 0x9e */
1687 u16 pktengrxducast; /* 0xa0 */
1688 u16 pktengrxdmcast; /* 0xa2 */
1689 u16 rxfrmtoolong; /* 0xa4 */
1690 u16 rxfrmtooshrt; /* 0xa6 */
1691 u16 rxinvmachdr; /* 0xa8 */
1692 u16 rxbadfcs; /* 0xaa */
1693 u16 rxbadplcp; /* 0xac */
1694 u16 rxcrsglitch; /* 0xae */
1695 u16 rxstrt; /* 0xb0 */
1696 u16 rxdfrmucastmbss; /* 0xb2 */
1697 u16 rxmfrmucastmbss; /* 0xb4 */
1698 u16 rxcfrmucast; /* 0xb6 */
1699 u16 rxrtsucast; /* 0xb8 */
1700 u16 rxctsucast; /* 0xba */
1701 u16 rxackucast; /* 0xbc */
1702 u16 rxdfrmocast; /* 0xbe */
1703 u16 rxmfrmocast; /* 0xc0 */
1704 u16 rxcfrmocast; /* 0xc2 */
1705 u16 rxrtsocast; /* 0xc4 */
1706 u16 rxctsocast; /* 0xc6 */
1707 u16 rxdfrmmcast; /* 0xc8 */
1708 u16 rxmfrmmcast; /* 0xca */
1709 u16 rxcfrmmcast; /* 0xcc */
1710 u16 rxbeaconmbss; /* 0xce */
1711 u16 rxdfrmucastobss; /* 0xd0 */
1712 u16 rxbeaconobss; /* 0xd2 */
1713 u16 rxrsptmout; /* 0xd4 */
1714 u16 bcntxcancl; /* 0xd6 */
1715 u16 PAD;
1716 u16 rxf0ovfl; /* 0xda */
1717 u16 rxf1ovfl; /* 0xdc */
1718 u16 rxf2ovfl; /* 0xde */
1719 u16 txsfovfl; /* 0xe0 */
1720 u16 pmqovfl; /* 0xe2 */
1721 u16 rxcgprqfrm; /* 0xe4 */
1722 u16 rxcgprsqovfl; /* 0xe6 */
1723 u16 txcgprsfail; /* 0xe8 */
1724 u16 txcgprssuc; /* 0xea */
1725 u16 prs_timeout; /* 0xec */
1726 u16 rxnack;
1727 u16 frmscons;
1728 u16 txnack;
1729 u16 txglitch_nack;
1730 u16 txburst; /* 0xf6 # tx bursts */
1731 u16 bphy_rxcrsglitch; /* bphy rx crs glitch */
1732 u16 phywatchdog; /* 0xfa # of phy watchdog events */
1733 u16 PAD;
1734 u16 bphy_badplcp; /* bphy bad plcp */
/linux-4.4.14/drivers/iio/accel/
H A Dmma9551_core.h50 u16 reg, u8 *val);
52 u16 reg, u8 val);
54 u16 reg, u8 *val);
56 u16 reg, u16 *val);
58 u16 reg, u16 val);
60 u16 reg, u16 *val);
62 u16 reg, u8 len, u16 *buf);
64 u16 reg, u8 len, u16 *buf);
66 u16 reg, u8 len, u16 *buf);
68 u16 reg, u8 mask, u8 val);
/linux-4.4.14/drivers/staging/rtl8188eu/include/
H A Dieee80211_ext.h89 u16 txopLimit;
106 (a)[1] = ((u16)(val)) >> 8; \
107 (a)[0] = ((u16)(val)) & 0xff; \
176 u16 frame_control;
177 u16 duration;
181 u16 seq_ctrl;
184 u16 auth_alg;
185 u16 auth_transaction;
186 u16 status_code;
191 u16 reason_code;
194 u16 capab_info;
195 u16 listen_interval;
200 u16 capab_info;
201 u16 status_code;
202 u16 aid;
207 u16 capab_info;
208 u16 listen_interval;
214 u16 reason_code;
218 u16 beacon_int;
219 u16 capab_info;
230 u16 beacon_int;
231 u16 capab_info;
248 u16 capab;
249 u16 timeout;
250 u16 start_seq_num;
255 u16 status;
256 u16 capab;
257 u16 timeout;
261 u16 params;
262 u16 reason_code;
269 u16 aux;
/linux-4.4.14/drivers/video/fbdev/via/
H A Dvia_modesetting.h37 u16 hor_total;
38 u16 hor_addr;
39 u16 hor_blank_start;
40 u16 hor_blank_end;
41 u16 hor_sync_start;
42 u16 hor_sync_end;
43 u16 ver_total;
44 u16 ver_addr;
45 u16 ver_blank_start;
46 u16 ver_blank_end;
47 u16 ver_sync_start;
48 u16 ver_sync_end;
/linux-4.4.14/drivers/gpu/drm/nouveau/nvkm/subdev/mxm/
H A Dmxms.h14 u16 mxms_version(struct nvkm_mxm *);
15 u16 mxms_headerlen(struct nvkm_mxm *);
16 u16 mxms_structlen(struct nvkm_mxm *);
/linux-4.4.14/sound/soc/intel/skylake/
H A Dskl-nhlt.h26 u16 fmt_tag;
27 u16 channels;
30 u16 block_align;
31 u16 bits_per_sample;
32 u16 cb_size;
38 u16 valid_bits_per_sample;
39 u16 samples_per_block;
40 u16 reserved;
80 u16 vendor_id;
81 u16 device_id;
82 u16 revision_id;
98 u16 flags;
/linux-4.4.14/drivers/scsi/bnx2i/
H A D57xx_iscsi_hsi.h24 u16 reserved0;
26 u16 reserved0;
35 u16 reserved5;
41 u16 reserved5;
48 u16 param1;
50 u16 param1;
55 u16 param2;
56 u16 param3;
58 u16 param3;
59 u16 param2;
73 u16 reserved0;
74 u16 buffer_length;
76 u16 buffer_length;
77 u16 reserved0;
80 u16 reserved3;
81 u16 flags;
91 u16 flags;
100 u16 reserved3;
112 u16 reserved0;
114 u16 reserved0;
120 u16 reserved3;
121 u16 itt;
127 u16 itt;
132 u16 reserved3;
138 u16 reserved5;
140 u16 reserved5;
154 u16 reserved0;
156 u16 reserved0;
163 u16 reserved4;
169 u16 reserved4;
173 u16 reserved6;
174 u16 itt;
180 u16 itt;
185 u16 reserved6;
208 u16 reserved0;
210 u16 reserved0;
225 u16 ud_buffer_offset;
226 u16 sd_buffer_offset;
228 u16 sd_buffer_offset;
229 u16 ud_buffer_offset;
233 u16 reserved2;
234 u16 itt;
240 u16 itt;
245 u16 reserved2;
273 u16 num_r2ts;
274 u16 num_data_outs;
276 u16 num_data_outs;
277 u16 num_r2ts;
286 u16 reserved;
287 u16 num_data_ins;
289 u16 num_data_ins;
290 u16 reserved;
347 u16 reserved4;
353 u16 reserved4;
359 u16 reserved7;
360 u16 itt;
366 u16 itt;
371 u16 reserved7;
385 u16 hdr_opaque1;
387 u16 hdr_opaque1;
394 u16 reserved0;
395 u16 itt;
401 u16 itt;
406 u16 reserved0;
417 u16 reserved4;
439 u16 reserved4;
507 u16 qe_self_seq;
509 u16 qe_self_seq;
564 u16 num_ccells_per_conn;
565 u16 num_tasks_per_conn;
567 u16 num_tasks_per_conn;
568 u16 num_ccells_per_conn;
571 u16 sq_wqes_per_page;
572 u16 sq_num_wqes;
574 u16 sq_num_wqes;
575 u16 sq_wqes_per_page;
590 u16 cq_num_wqes;
592 u16 cq_num_wqes;
607 u16 cq_num_pages;
608 u16 sq_num_pages;
610 u16 sq_num_pages;
611 u16 cq_num_pages;
614 u16 rq_buffer_size;
615 u16 rq_num_wqes;
617 u16 rq_num_wqes;
618 u16 rq_buffer_size;
628 u16 max_cq_sqn;
630 u16 max_cq_sqn;
643 u16 iscsi_conn_id;
645 u16 iscsi_conn_id;
669 u16 reserved0;
671 u16 reserved0;
688 u16 reserved0;
690 u16 reserved0;
704 u16 reserved0;
706 u16 reserved0;
758 u16 reserved0;
760 u16 reserved0;
817 u16 isid_hi;
818 u16 tsih;
820 u16 tsih;
821 u16 isid_hi;
824 u16 reserved2;
825 u16 itt;
831 u16 itt;
836 u16 reserved2;
839 u16 cid;
840 u16 reserved3;
842 u16 reserved3;
843 u16 cid;
856 u16 reserved8;
874 u16 reserved8;
932 u16 reserved3;
938 u16 reserved3;
943 u16 isid_hi;
944 u16 tsih;
946 u16 tsih;
947 u16 isid_hi;
952 u16 reserved4;
954 u16 reserved4;
960 u16 reserved6;
961 u16 itt;
967 u16 itt;
972 u16 reserved6;
989 u16 reserved0;
991 u16 reserved0;
1002 u16 reserved2;
1003 u16 itt;
1009 u16 itt;
1014 u16 reserved2;
1017 u16 cid;
1018 u16 reserved3;
1020 u16 reserved3;
1021 u16 cid;
1062 u16 reserved5;
1068 u16 reserved5;
1072 u16 time_to_wait;
1073 u16 time_to_retain;
1075 u16 time_to_retain;
1076 u16 time_to_wait;
1080 u16 reserved8;
1081 u16 itt;
1087 u16 itt;
1092 u16 reserved8;
1105 u16 reserved0;
1107 u16 reserved0;
1117 u16 reserved4;
1123 u16 reserved4;
1129 u16 reserved7;
1130 u16 itt;
1136 u16 itt;
1141 u16 reserved7;
1158 u16 reserved0;
1160 u16 reserved0;
1171 u16 reserved2;
1172 u16 itt;
1178 u16 itt;
1183 u16 reserved2;
1196 u16 reserved7;
1214 u16 reserved7;
1251 u16 reserved4;
1257 u16 reserved4;
1274 u16 reserved0;
1276 u16 reserved0;
1287 u16 reserved1;
1288 u16 itt;
1294 u16 itt;
1299 u16 reserved1;
1335 u16 reserved0;
1337 u16 reserved0;
1350 u16 reserved3;
1351 u16 itt;
1357 u16 itt;
1362 u16 reserved3;
1424 u16 reserved5;
1430 u16 reserved5;
1434 u16 reserved7;
1435 u16 itt;
1441 u16 itt;
1446 u16 reserved7;
1464 u16 reserved0;
1466 u16 reserved0;
1482 u16 reserved4;
1488 u16 reserved4;
1494 u16 reserved7;
1495 u16 itt;
1501 u16 itt;
1506 u16 reserved7;
/linux-4.4.14/arch/alpha/include/asm/
H A Dgct.h10 u16 size;
16 u16 rev;
17 u16 change_counter;
18 u16 max_child;
19 u16 reserved1;
H A Dvga.h16 static inline void scr_writew(u16 val, volatile u16 *addr) scr_writew()
19 __raw_writew(val, (volatile u16 __iomem *) addr); scr_writew()
24 static inline u16 scr_readw(volatile const u16 *addr) scr_readw()
27 return __raw_readw((volatile const u16 __iomem *) addr); scr_readw()
32 static inline void scr_memsetw(u16 *s, u16 c, unsigned int count) scr_memsetw()
35 memsetw_io((u16 __iomem *) s, c, count); scr_memsetw()
41 extern void scr_memcpyw(u16 *d, const u16 *s, unsigned int count);
H A Dio_trivial.h17 return __kernel_ldwu(*(volatile u16 __force *)a); IO_CONCAT()
27 IO_CONCAT(__IO_PREFIX,iowrite16)(u16 b, void __iomem *a) IO_CONCAT()
29 __kernel_stw(b, *(volatile u16 __force *)a); IO_CONCAT()
54 __EXTERN_INLINE u16 IO_CONCAT()
57 return __kernel_ldwu(*(const volatile u16 __force *)a); IO_CONCAT()
67 IO_CONCAT(__IO_PREFIX,writew)(u16 b, volatile void __iomem *a) IO_CONCAT()
69 __kernel_stw(b, *(volatile u16 __force *)a); IO_CONCAT()
79 __EXTERN_INLINE u16 IO_CONCAT()
94 IO_CONCAT(__IO_PREFIX,writew)(u16 b, volatile void __iomem *a) IO_CONCAT()
/linux-4.4.14/arch/x86/boot/
H A Dvesa.h17 u16 off, seg;
23 u16 version; /* 4 */
27 u16 total_memory; /* 18 */
35 u16 mode_attr; /* 0 */
37 u16 win_grain; /* 4 */
38 u16 win_size; /* 6 */
39 u16 win_seg[2]; /* 8 */
41 u16 logical_scan; /* 16 */
43 u16 h_res; /* 18 */
44 u16 v_res; /* 20 */
67 u16 offscreen_size; /* 48 */
H A Dboot.h42 static inline void outb(u8 v, u16 port) outb()
46 static inline u8 inb(u16 port) inb()
53 static inline void outw(u16 v, u16 port) outw()
57 static inline u16 inw(u16 port) inw()
59 u16 v; inw()
64 static inline void outl(u32 v, u16 port) outl()
68 static inline u32 inl(u16 port) inl()
77 const u16 DELAY_PORT = 0x80; io_delay()
83 static inline u16 ds(void) ds()
85 u16 seg; ds()
90 static inline void set_fs(u16 seg) set_fs()
94 static inline u16 fs(void) fs()
96 u16 seg; fs()
101 static inline void set_gs(u16 seg) set_gs()
105 static inline u16 gs(void) gs()
107 u16 seg; gs()
120 static inline u16 rdfs16(addr_t addr) rdfs16()
122 u16 v; rdfs16()
123 asm volatile("movw %%fs:%1,%0" : "=r" (v) : "m" (*(u16 *)addr)); rdfs16()
137 static inline void wrfs16(u16 v, addr_t addr) wrfs16()
139 asm volatile("movw %1,%%fs:%0" : "+m" (*(u16 *)addr) : "ri" (v)); wrfs16()
152 static inline u16 rdgs16(addr_t addr) rdgs16()
154 u16 v; rdgs16()
155 asm volatile("movw %%gs:%1,%0" : "=r" (v) : "m" (*(u16 *)addr)); rdgs16()
169 static inline void wrgs16(u16 v, addr_t addr) wrgs16()
171 asm volatile("movw %1,%%gs:%0" : "+m" (*(u16 *)addr) : "ri" (v)); wrgs16()
246 u16 di, hdi;
247 u16 si, hsi;
248 u16 bp, hbp;
249 u16 _sp, _hsp;
250 u16 bx, hbx;
251 u16 dx, hdx;
252 u16 cx, hcx;
253 u16 ax, hax;
254 u16 gs, fs;
255 u16 es, ds;
256 u16 flags, hflags;
346 int set_mode(u16 mode);
347 int mode_defined(u16 mode);
/linux-4.4.14/arch/x86/include/asm/
H A Dintel_scu_ipc.h17 int intel_scu_ipc_ioread8(u16 addr, u8 *data);
20 int intel_scu_ipc_ioread16(u16 addr, u16 *data);
23 int intel_scu_ipc_ioread32(u16 addr, u32 *data);
26 int intel_scu_ipc_readv(u16 *addr, u8 *data, int len);
29 int intel_scu_ipc_iowrite8(u16 addr, u8 data);
32 int intel_scu_ipc_iowrite16(u16 addr, u16 data);
35 int intel_scu_ipc_iowrite32(u16 addr, u32 data);
38 int intel_scu_ipc_writev(u16 *addr, u8 *data, int len);
41 int intel_scu_ipc_update_register(u16 addr, u8 data, u8 mask);
H A Dsuspend_64.h22 u16 ds, es, fs, gs, ss;
28 u16 gdt_pad; /* Unused */
30 u16 idt_pad;
31 u16 idt_limit;
33 u16 ldt;
34 u16 tss;
H A Dsuspend_32.h14 u16 es, fs, gs, ss;
20 u16 ldt;
21 u16 tss;
/linux-4.4.14/drivers/staging/rtl8712/
H A Drtl8712_efuse.h29 u16 r8712_efuse_get_current_size(struct _adapter *padapter);
38 u16 start_addr, u16 cnts, u8 *data);
39 u8 r8712_efuse_map_read(struct _adapter *padapter, u16 addr,
40 u16 cnts, u8 *data);
41 u8 r8712_efuse_map_write(struct _adapter *padapter, u16 addr,
42 u16 cnts, u8 *data);
H A Dusb_ops.c41 u16 wvalue; usb_read8()
42 u16 index; usb_read8()
43 u16 len; usb_read8()
50 wvalue = (u16)(addr & 0x0000ffff); usb_read8()
57 static u16 usb_read16(struct intf_hdl *pintfhdl, u32 addr) usb_read16()
61 u16 wvalue; usb_read16()
62 u16 index; usb_read16()
63 u16 len; usb_read16()
70 wvalue = (u16)(addr & 0x0000ffff); usb_read16()
74 return (u16)(le32_to_cpu(data) & 0xffff); usb_read16()
81 u16 wvalue; usb_read32()
82 u16 index; usb_read32()
83 u16 len; usb_read32()
90 wvalue = (u16)(addr & 0x0000ffff); usb_read32()
101 u16 wvalue; usb_write8()
102 u16 index; usb_write8()
103 u16 len; usb_write8()
110 wvalue = (u16)(addr & 0x0000ffff); usb_write8()
118 static void usb_write16(struct intf_hdl *pintfhdl, u32 addr, u16 val) usb_write16()
122 u16 wvalue; usb_write16()
123 u16 index; usb_write16()
124 u16 len; usb_write16()
131 wvalue = (u16)(addr & 0x0000ffff); usb_write16()
143 u16 wvalue; usb_write32()
144 u16 index; usb_write32()
145 u16 len; usb_write32()
152 wvalue = (u16)(addr & 0x0000ffff); usb_write32()
H A Dieee80211.h115 u16 key_len;
139 u16 seq_num;
140 u16 frag_num;
146 u16 frame_ctl;
147 u16 duration_id;
151 u16 seq_ctl;
156 u16 frame_ctl;
157 u16 duration_id;
161 u16 seq_ctl;
166 u16 frame_ctl;
167 u16 duration_id;
171 u16 seq_ctl;
173 u16 qc;
177 u16 frame_ctl;
178 u16 duration_id;
182 u16 seq_ctl;
183 u16 qc;
188 u16 ethertype;
191 u16 length;
416 u16 rate; /* in 100 kbps */
419 u16 len;
504 u16 active_key:2,
512 u16 flags;
531 u16 frame_ctl;
532 u16 duration_id;
536 u16 seq_ctrl;
569 u16 auth_algorithm;
570 u16 auth_sequence;
571 u16 beacon_interval;
572 u16 capability;
574 u16 listen_interval;
576 u16 association_id:14, reserved:2;
579 u16 reason;
580 u16 status;
588 u16 algorithm;
589 u16 transaction;
590 u16 status;
596 u16 beacon_interval;
597 u16 capability;
607 u16 capability;
608 u16 listen_interval;
614 u16 capability;
615 u16 status;
616 u16 aid;
622 u16 reserved;
623 u16 frag_size;
624 u16 payload_size;
726 static inline int ieee80211_get_hdrlen(u16 fc) ieee80211_get_hdrlen()
763 int r8712_get_sec_ie(u8 *in_ie, uint in_len, u8 *rsn_ie, u16 *rsn_len,
764 u8 *wpa_ie, u16 *wpa_len);
H A Drtl871x_eeprom.c34 static void up_clk(struct _adapter *padapter, u16 *x) up_clk()
41 static void down_clk(struct _adapter *padapter, u16 *x) down_clk()
48 static void shift_out_bits(struct _adapter *padapter, u16 data, u16 count) shift_out_bits()
50 u16 x, mask; shift_out_bits()
76 static u16 shift_in_bits(struct _adapter *padapter) shift_in_bits()
78 u16 x, d = 0, i; shift_in_bits()
113 static u16 wait_eeprom_cmd_done(struct _adapter *padapter) wait_eeprom_cmd_done()
116 u16 i; wait_eeprom_cmd_done()
130 u16 x; eeprom_clean()
147 void r8712_eeprom_write16(struct _adapter *padapter, u16 reg, u16 data) r8712_eeprom_write16()
195 u16 r8712_eeprom_read16(struct _adapter *padapter, u16 reg) /*ReadEEprom*/ r8712_eeprom_read16()
197 u16 x; r8712_eeprom_read16()
198 u16 data = 0; r8712_eeprom_read16()
/linux-4.4.14/arch/s390/include/asm/
H A Dappldata.h22 u16 diag;
26 u16 reserved;
27 u16 buffer_length;
35 u16 prod_fn; /* product function */
37 u16 version_nr; /* version */
38 u16 release_nr; /* release */
39 u16 mod_lvl; /* modification level */
H A Dclp.h8 u16 len;
9 u16 cmd;
13 u16 len;
14 u16 rsp;
H A Deadm.h9 u16 fmt:4;
10 u16:12; member in struct:arqb
11 u16 cmd_code;
12 u16:16; member in struct:arqb
13 u16 msb_count;
20 u16 fmt:4;
27 u16:16; member in struct:arsb
43 u16:12; member in struct:msb
44 u16 bs:4;
/linux-4.4.14/arch/s390/kernel/
H A Dcompat_linux.h90 long compat_sys_s390_chown16(const char __user *filename, u16 user, u16 group);
91 long compat_sys_s390_lchown16(const char __user *filename, u16 user, u16 group);
92 long compat_sys_s390_fchown16(unsigned int fd, u16 user, u16 group);
93 long compat_sys_s390_setregid16(u16 rgid, u16 egid);
94 long compat_sys_s390_setgid16(u16 gid);
95 long compat_sys_s390_setreuid16(u16 ruid, u16 euid);
96 long compat_sys_s390_setuid16(u16 uid);
97 long compat_sys_s390_setresuid16(u16 ruid, u16 euid, u16 suid);
98 long compat_sys_s390_getresuid16(u16 __user *ruid, u16 __user *euid, u16 __user *suid);
99 long compat_sys_s390_setresgid16(u16 rgid, u16 egid, u16 sgid);
100 long compat_sys_s390_getresgid16(u16 __user *rgid, u16 __user *egid, u16 __user *sgid);
101 long compat_sys_s390_setfsuid16(u16 uid);
102 long compat_sys_s390_setfsgid16(u16 gid);
103 long compat_sys_s390_getgroups16(int gidsetsize, u16 __user *grouplist);
104 long compat_sys_s390_setgroups16(int gidsetsize, u16 __user *grouplist);
/linux-4.4.14/arch/arm/mach-omap2/
H A Dprminst44xx.h23 extern u32 omap4_prminst_read_inst_reg(u8 part, s16 inst, u16 idx);
24 extern void omap4_prminst_write_inst_reg(u32 val, u8 part, s16 inst, u16 idx);
26 s16 inst, u16 idx);
31 u16 rstctrl_offs);
33 u16 rstctrl_offs);
35 s16 inst, u16 rstctrl_offs,
36 u16 rstst_offs);
H A Dcm.h55 int (*wait_module_ready)(u8 part, s16 prcm_mod, u16 idlest_reg,
57 int (*wait_module_idle)(u8 part, s16 prcm_mod, u16 idlest_reg,
59 void (*module_enable)(u8 mode, u8 part, u16 inst, u16 clkctrl_offs);
60 void (*module_disable)(u8 part, u16 inst, u16 clkctrl_offs);
65 int omap_cm_wait_module_ready(u8 part, s16 prcm_mod, u16 idlest_reg,
67 int omap_cm_wait_module_idle(u8 part, s16 prcm_mod, u16 idlest_reg,
69 int omap_cm_module_enable(u8 mode, u8 part, u16 inst, u16 clkctrl_offs);
70 int omap_cm_module_disable(u8 part, u16 inst, u16 clkctrl_offs);
/linux-4.4.14/drivers/net/wireless/ath/ath9k/
H A Dani.h72 u16 m1ThreshLow;
73 u16 m2ThreshLow;
74 u16 m1Thresh;
75 u16 m2Thresh;
76 u16 m2CountThr;
77 u16 m2CountThrLow;
78 u16 m1ThreshLowExt;
79 u16 m2ThreshLowExt;
80 u16 m1ThreshExt;
81 u16 m2ThreshExt;
82 u16 firstep;
83 u16 firstepLow;
84 u16 cycpwrThr1;
85 u16 cycpwrThr1Ext;
H A Deeprom.c36 int16_t ath9k_hw_interpolate(u16 target, u16 srcLeft, u16 srcRight, ath9k_hw_interpolate()
51 bool ath9k_hw_get_lower_upper_index(u8 target, u8 *pList, u16 listSize, ath9k_hw_get_lower_upper_index()
52 u16 *indexL, u16 *indexR) ath9k_hw_get_lower_upper_index()
54 u16 i; ath9k_hw_get_lower_upper_index()
61 *indexL = *indexR = (u16) (listSize - 1); ath9k_hw_get_lower_upper_index()
72 *indexR = (u16) (i + 1); ath9k_hw_get_lower_upper_index()
79 void ath9k_hw_usb_gen_fill_eeprom(struct ath_hw *ah, u16 *eep_data, ath9k_hw_usb_gen_fill_eeprom()
112 u16 *data) ath9k_hw_nvram_read_blob()
114 u16 *blob_data; ath9k_hw_nvram_read_blob()
116 if (off * sizeof(u16) > ah->eeprom_blob->size) ath9k_hw_nvram_read_blob()
119 blob_data = (u16 *)ah->eeprom_blob->data; ath9k_hw_nvram_read_blob()
124 bool ath9k_hw_nvram_read(struct ath_hw *ah, u32 off, u16 *data) ath9k_hw_nvram_read()
142 u8 *pVpdList, u16 numIntercepts, ath9k_hw_fill_vpd_table()
145 u16 i, k; ath9k_hw_fill_vpd_table()
147 u16 idxL = 0, idxR = 0; ath9k_hw_fill_vpd_table()
156 idxL = (u16) (numIntercepts - 2); ath9k_hw_fill_vpd_table()
160 k = (u16)(((currPwr - pPwrList[idxL]) * pVpdList[idxR] + ath9k_hw_fill_vpd_table()
171 u16 numChannels, ath9k_hw_get_legacy_target_powers()
173 u16 numRates, bool isExtTarget) ath9k_hw_get_legacy_target_powers()
176 u16 clo, chi; ath9k_hw_get_legacy_target_powers()
179 u16 freq; ath9k_hw_get_legacy_target_powers()
226 u16 numChannels, ath9k_hw_get_target_powers()
228 u16 numRates, bool isHt40Target) ath9k_hw_get_target_powers()
231 u16 clo, chi; ath9k_hw_get_target_powers()
234 u16 freq; ath9k_hw_get_target_powers()
278 u16 ath9k_hw_get_max_edge_power(u16 freq, struct cal_ctl_edges *pRdEdgesPower, ath9k_hw_get_max_edge_power()
281 u16 twiceMaxEdgePower = MAX_RATE_POWER; ath9k_hw_get_max_edge_power()
305 u16 ath9k_hw_get_scaled_power(struct ath_hw *ah, u16 power_limit, ath9k_hw_get_scaled_power()
308 u16 reduction = antenna_reduction; ath9k_hw_get_scaled_power()
356 u8 *bChans, u16 availPiers, ath9k_hw_get_gain_boundaries_pdadcs()
357 u16 tPdGainOverlap, ath9k_hw_get_gain_boundaries_pdadcs()
358 u16 *pPdGainBoundaries, u8 *pPDADCValues, ath9k_hw_get_gain_boundaries_pdadcs()
359 u16 numXpdGains) ath9k_hw_get_gain_boundaries_pdadcs()
363 u16 idxL = 0, idxR = 0, numPiers; ath9k_hw_get_gain_boundaries_pdadcs()
376 u16 sizeCurrVpdTable, maxIndex, tgtIndex; ath9k_hw_get_gain_boundaries_pdadcs()
473 (u8)(ath9k_hw_interpolate((u16) ath9k_hw_get_gain_boundaries_pdadcs()
489 (u16)(maxPwrT4[i] / 2); ath9k_hw_get_gain_boundaries_pdadcs()
492 (u16)((maxPwrT4[i] + minPwrT4[i + 1]) / 4); ath9k_hw_get_gain_boundaries_pdadcs()
495 min((u16)MAX_RATE_POWER, pPdGainBoundaries[i]); ath9k_hw_get_gain_boundaries_pdadcs()
H A Deeprom.h272 u16 length;
273 u16 checksum;
274 u16 version;
277 u16 regDmn[2];
281 u16 rfSilent;
282 u16 blueToothOptions;
283 u16 deviceCap;
302 u16 length;
303 u16 checksum;
304 u16 version;
307 u16 regDmn[2];
311 u16 rfSilent;
312 u16 blueToothOptions;
313 u16 deviceCap;
321 u16 spurChan;
363 u16 xpaBiasLvlFreq[3];
442 u16 length;
443 u16 checksum;
444 u16 version;
447 u16 regDmn[2];
451 u16 rfSilent;
452 u16 blueToothOptions;
453 u16 deviceCap;
634 u16 countryCode;
635 u16 regDmnEnum;
636 u16 regDmn5G;
637 u16 regDmn2G;
653 u16 cfgCtl, u8 twiceAntennaReduction,
655 u16 (*get_spur_channel)(struct ath_hw *ah, u16 i, bool is2GHz);
661 int16_t ath9k_hw_interpolate(u16 target, u16 srcLeft, u16 srcRight,
664 bool ath9k_hw_get_lower_upper_index(u8 target, u8 *pList, u16 listSize,
665 u16 *indexL, u16 *indexR);
666 bool ath9k_hw_nvram_read(struct ath_hw *ah, u32 off, u16 *data);
667 void ath9k_hw_usb_gen_fill_eeprom(struct ath_hw *ah, u16 *eep_data,
670 u8 *pVpdList, u16 numIntercepts,
675 u16 numChannels,
677 u16 numRates, bool isExtTarget);
681 u16 numChannels,
683 u16 numRates, bool isHt40Target);
684 u16 ath9k_hw_get_max_edge_power(u16 freq, struct cal_ctl_edges *pRdEdgesPower,
686 u16 ath9k_hw_get_scaled_power(struct ath_hw *ah, u16 power_limit,
694 u8 *bChans, u16 availPiers,
695 u16 tPdGainOverlap,
696 u16 *pPdGainBoundaries, u8 *pPDADCValues,
697 u16 numXpdGains);
699 static inline u16 ath9k_hw_fbin2freq(u8 fbin, bool is2GHz) ath9k_hw_fbin2freq()
704 return (u16) ((is2GHz) ? (2300 + fbin) : (4800 + 5 * fbin)); ath9k_hw_fbin2freq()
/linux-4.4.14/drivers/video/fbdev/
H A Dbt431.h17 volatile u16 addr_lo;
18 u16 pad0;
19 volatile u16 addr_hi;
20 u16 pad1;
21 volatile u16 addr_cmap;
22 u16 pad2;
23 volatile u16 addr_reg;
24 u16 pad3;
27 static inline u16 bt431_set_value(u8 val) bt431_set_value()
32 static inline u8 bt431_get_value(u16 val) bt431_get_value()
79 volatile u16 *lo = &(regs->addr_lo); bt431_select_reg()
80 volatile u16 *hi = &(regs->addr_hi); bt431_select_reg()
95 volatile u16 *r = &(regs->addr_reg); bt431_read_reg_inc()
107 volatile u16 *r = &(regs->addr_reg); bt431_write_reg_inc()
126 static inline u16 bt431_read_cmap_inc(struct bt431_regs *regs) bt431_read_cmap_inc()
132 volatile u16 *r = &(regs->addr_cmap); bt431_read_cmap_inc()
138 static inline void bt431_write_cmap_inc(struct bt431_regs *regs, u16 value) bt431_write_cmap_inc()
144 volatile u16 *r = &(regs->addr_cmap); bt431_write_cmap_inc()
150 static inline u16 bt431_read_cmap(struct bt431_regs *regs, int cr) bt431_read_cmap()
156 static inline void bt431_write_cmap(struct bt431_regs *regs, int cr, u16 value) bt431_write_cmap()
174 static inline void bt431_position_cursor(struct bt431_regs *regs, u16 x, u16 y) bt431_position_cursor()
200 u16 width, u16 height) bt431_set_font()
203 u16 fgp = fgc ? 0xffff : 0x0000; bt431_set_font()
204 u16 bgp = fgc ? 0x0000 : 0xffff; bt431_set_font()
208 u16 value; bt431_set_font()
H A Dauo_k190x.h103 void (*update_partial)(struct auok190xfb_par *par, u16 y1, u16 y2);
110 extern void auok190x_send_command_nowait(struct auok190xfb_par *par, u16 data);
111 extern int auok190x_send_command(struct auok190xfb_par *par, u16 data);
112 extern void auok190x_send_cmdargs_nowait(struct auok190xfb_par *par, u16 cmd,
113 int argc, u16 *argv);
114 extern int auok190x_send_cmdargs(struct auok190xfb_par *par, u16 cmd,
115 int argc, u16 *argv);
117 u16 cmd, int argc, u16 *argv,
118 int size, u16 *data);
119 extern int auok190x_send_cmdargs_pixels(struct auok190xfb_par *par, u16 cmd,
120 int argc, u16 *argv, int size,
121 u16 *data);
122 extern int auok190x_read_cmdargs(struct auok190xfb_par *par, u16 cmd,
123 int argc, u16 *argv);
/linux-4.4.14/drivers/net/ethernet/intel/i40e/
H A Di40e_prototype.h47 u16 *events_pending);
51 u16 buff_size,
56 void *desc, void *buffer, u16 buf_len);
64 i40e_status i40e_aq_get_rss_lut(struct i40e_hw *hw, u16 seid,
65 bool pf_lut, u8 *lut, u16 lut_size);
66 i40e_status i40e_aq_set_rss_lut(struct i40e_hw *hw, u16 seid,
67 bool pf_lut, u8 *lut, u16 lut_size);
69 u16 seid,
72 u16 seid,
81 u16 *fw_major_version, u16 *fw_minor_version,
83 u16 *api_major_version, u16 *api_minor_version,
93 i40e_status i40e_aq_set_default_vsi(struct i40e_hw *hw, u16 vsi_id,
104 i40e_status i40e_aq_set_phy_int_mask(struct i40e_hw *hw, u16 mask,
124 u16 vsi_id, bool set_filter,
127 u16 vsi_id, bool set, struct i40e_asq_cmd_details *cmd_details);
129 u16 vsi_id, bool set, struct i40e_asq_cmd_details *cmd_details);
136 i40e_status i40e_aq_add_veb(struct i40e_hw *hw, u16 uplink_seid,
137 u16 downlink_seid, u8 enabled_tc,
139 u16 *pveb_seid,
142 u16 veb_seid, u16 *switch_id, bool *floating,
143 u16 *statistic_index, u16 *vebs_used,
144 u16 *vebs_free,
146 i40e_status i40e_aq_add_macvlan(struct i40e_hw *hw, u16 vsi_id,
148 u16 count, struct i40e_asq_cmd_details *cmd_details);
149 i40e_status i40e_aq_remove_macvlan(struct i40e_hw *hw, u16 vsi_id,
151 u16 count, struct i40e_asq_cmd_details *cmd_details);
152 i40e_status i40e_aq_send_msg_to_vf(struct i40e_hw *hw, u16 vfid,
153 u32 v_opcode, u32 v_retval, u8 *msg, u16 msglen,
157 u16 buf_size, u16 *start_seid,
169 u32 offset, u16 length, void *data,
173 u32 offset, u16 length, bool last_command,
176 void *buff, u16 buff_size, u16 *data_size,
180 u32 offset, u16 length, void *data,
184 u8 mib_type, void *buff, u16 buff_size,
185 u16 *local_len, u16 *remote_len,
195 void *buff, u16 buff_size,
198 u16 udp_port, u8 protocol_index,
203 i40e_status i40e_aq_delete_element(struct i40e_hw *hw, u16 seid,
206 u16 flags, u8 *mac_addr,
209 u16 seid, u16 credit, u8 max_credit,
218 u16 seid, u16 credit, u8 max_bw,
220 i40e_status i40e_aq_config_vsi_tc_bw(struct i40e_hw *hw, u16 seid,
224 u16 seid,
229 u16 seid,
233 u16 seid,
237 u16 seid,
241 u16 seid,
245 u16 seid,
249 u16 seid,
283 i40e_status i40e_read_nvm_word(struct i40e_hw *hw, u16 offset,
284 u16 *data);
285 i40e_status i40e_read_nvm_buffer(struct i40e_hw *hw, u16 offset,
286 u16 *words, u16 *data);
289 u16 *checksum);
293 void i40e_set_pci_config_data(struct i40e_hw *hw, u16 link_status);
311 u8 *msg, u16 msglen,
316 u8 *mac_addr, u16 ethtype, u16 flags,
317 u16 vsi_seid, u16 queue, bool is_add,
321 u8 table_id, u32 start_index, u16 buff_size,
322 void *buff, u16 *ret_buff_size,
326 u16 vsi_seid);
H A Di40e_adminq.h49 u16 count; /* Number of descriptors */
50 u16 rx_buf_len; /* Admin Receive Queue buffer length */
53 u16 next_to_use;
54 u16 next_to_clean;
68 u16 flags_ena;
69 u16 flags_dis;
81 u16 msg_len;
82 u16 buf_len;
91 u16 num_arq_entries; /* receive queue depth */
92 u16 num_asq_entries; /* send queue depth */
93 u16 arq_buf_size; /* receive queue buffer size */
94 u16 asq_buf_size; /* send queue buffer size */
95 u16 fw_maj_ver; /* firmware major version */
96 u16 fw_min_ver; /* firmware minor version */
98 u16 api_maj_ver; /* api major version */
99 u16 api_min_ver; /* api minor version */
158 u16 opcode);
/linux-4.4.14/include/linux/platform_data/
H A Dgpio-omap.h166 u16 revision;
167 u16 direction;
168 u16 datain;
169 u16 dataout;
170 u16 set_dataout;
171 u16 clr_dataout;
172 u16 irqstatus;
173 u16 irqstatus2;
174 u16 irqstatus_raw0;
175 u16 irqstatus_raw1;
176 u16 irqenable;
177 u16 irqenable2;
178 u16 set_irqenable;
179 u16 clr_irqenable;
180 u16 debounce;
181 u16 debounce_en;
182 u16 ctrl;
183 u16 wkup_en;
184 u16 leveldetect0;
185 u16 leveldetect1;
186 u16 risingdetect;
187 u16 fallingdetect;
188 u16 irqctrl;
189 u16 edgectrl1;
190 u16 edgectrl2;
191 u16 pinctrl;
/linux-4.4.14/drivers/staging/rtl8723au/include/
H A Drtw_efuse.h84 u16 efuse_GetMaxSize23a(struct rtw_adapter *padapter);
85 int rtw_efuse_access23a(struct rtw_adapter *padapter, u8 bRead, u16 start_addr, u16 cnts, u8 *data);
86 int rtw_efuse_map_read23a(struct rtw_adapter *padapter, u16 addr, u16 cnts, u8 *data);
87 u8 rtw_efuse_map_write(struct rtw_adapter *padapter, u16 addr, u16 cnts, u8 *data);
88 int rtw_BT_efuse_map_read23a(struct rtw_adapter *padapter, u16 addr, u16 cnts, u8 *data);
89 u8 rtw_BT_efuse_map_write(struct rtw_adapter *padapter, u16 addr, u16 cnts, u8 *data);
91 u16 Efuse_GetCurrentSize23a(struct rtw_adapter *pAdapter, u8 efuseType);
93 void ReadEFuseByte23a(struct rtw_adapter *Adapter, u16 _offset, u8 *pbuf);
95 int efuse_OneByteRead23a(struct rtw_adapter *pAdapter, u16 addr, u8 *data);
96 int efuse_OneByteWrite23a(struct rtw_adapter *pAdapter, u16 addr, u8 data);
103 u8 Efuse_WordEnableDataWrite23a(struct rtw_adapter *pAdapter, u16 efuse_addr, u8 word_en, u8 *data);
105 u8 EFUSE_Read1Byte23a(struct rtw_adapter *pAdapter, u16 Address);
107 void EFUSE_ShadowRead23a(struct rtw_adapter *pAdapter, u8 Type, u16 Offset, u32 *Value);
H A Dusb_ops_linux.h32 u8 rtl8723au_read8(struct rtw_adapter *padapter, u16 addr);
33 u16 rtl8723au_read16(struct rtw_adapter *padapter, u16 addr);
34 u32 rtl8723au_read32(struct rtw_adapter *padapter, u16 addr);
35 int rtl8723au_write8(struct rtw_adapter *padapter, u16 addr, u8 val);
36 int rtl8723au_write16(struct rtw_adapter *padapter, u16 addr, u16 val);
37 int rtl8723au_write32(struct rtw_adapter *padapter, u16 addr, u32 val);
39 u16 addr, u16 length, u8 *pdata);
/linux-4.4.14/arch/blackfin/include/asm/
H A Dbfin_twi.h15 static inline u16 read_##reg_name(struct bfin_twi_iface *iface) \
17 static inline void write_##reg_name(struct bfin_twi_iface *iface, u16 v) \
36 static inline u16 read_RCV_DATA8(struct bfin_twi_iface *iface)
38 u16 ret;
48 static inline u16 read_RCV_DATA16(struct bfin_twi_iface *iface)
50 u16 ret;
61 static inline u16 read_FIFO_CTL(struct bfin_twi_iface *iface) read_FIFO_CTL()
66 static inline void write_FIFO_CTL(struct bfin_twi_iface *iface, u16 v) write_FIFO_CTL()
72 static inline u16 read_CONTROL(struct bfin_twi_iface *iface) read_CONTROL()
77 static inline void write_CONTROL(struct bfin_twi_iface *iface, u16 v) write_CONTROL()
H A Dbfin5xx_spi.h48 #define __BFP(m) u16 m; u16 __pad_##m
69 u16 num_chipselect;
71 u16 pin_req[7];
78 u16 ctl_reg;
80 u16 cs_chg_udelay; /* Some devices require 16-bit delays */
82 u16 idle_tx_val;
/linux-4.4.14/sound/soc/blackfin/
H A Dbf5xx-ac97.h14 u16 ac97_tag; /* slot 0 */
15 u16 ac97_addr; /* slot 1 */
16 u16 ac97_data; /* slot 2 */
17 u16 ac97_pcm_l; /*slot 3:front left*/
18 u16 ac97_pcm_r; /*slot 4:front left*/
20 u16 ac97_mdm_l1;
21 u16 ac97_center; /*slot 6:center*/
22 u16 ac97_sl; /*slot 7:surround left*/
23 u16 ac97_sr; /*slot 8:surround right*/
24 u16 ac97_lfe; /*slot 9:lfe*/
/linux-4.4.14/drivers/gpu/drm/nouveau/nvkm/subdev/bios/
H A Ddisp.c28 u16 nvbios_disp_table()
36 u16 data = nvbios_rd16(bios, U.offset); nvbios_disp_table()
58 u16 nvbios_disp_entry()
62 u16 data = nvbios_disp_table(bios, ver, &hdr, &cnt, len, sub); nvbios_disp_entry()
69 u16 nvbios_disp_parse()
73 u16 data = nvbios_disp_entry(bios, idx, ver, len, sub); nvbios_disp_parse()
81 u16 nvbios_outp_entry()
86 u16 data = nvbios_disp_parse(bios, idx, ver, len, hdr, &info); nvbios_outp_entry()
95 u16 nvbios_outp_parse()
99 u16 data = nvbios_outp_entry(bios, idx, ver, hdr, cnt, len); nvbios_outp_parse()
115 u16 nvbios_outp_match()
116 nvbios_outp_match(struct nvkm_bios *bios, u16 type, u16 mask, nvbios_outp_match()
119 u16 data, idx = 0; nvbios_outp_match()
129 u16 nvbios_ocfg_entry()
130 nvbios_ocfg_entry(struct nvkm_bios *bios, u16 outp, u8 idx, nvbios_ocfg_entry()
138 u16 nvbios_ocfg_parse()
139 nvbios_ocfg_parse(struct nvkm_bios *bios, u16 outp, u8 idx, nvbios_ocfg_parse()
142 u16 data = nvbios_ocfg_entry(bios, outp, idx, ver, hdr, cnt, len); nvbios_ocfg_parse()
151 u16 nvbios_ocfg_match()
152 nvbios_ocfg_match(struct nvkm_bios *bios, u16 outp, u16 type, nvbios_ocfg_match()
155 u16 data, idx = 0; nvbios_ocfg_match()
163 u16 nvbios_oclk_match()
164 nvbios_oclk_match(struct nvkm_bios *bios, u16 cmp, u32 khz) nvbios_oclk_match()
/linux-4.4.14/drivers/gpu/drm/i915/
H A Dintel_dsi.h51 u16 ports;
60 u16 operation_mode;
82 u16 lp_byte_clk;
85 u16 lp_rx_timeout;
86 u16 turn_arnd_val;
87 u16 rst_timer_val;
88 u16 hs_to_lp_count;
89 u16 clk_lp_to_hs_count;
90 u16 clk_hs_to_lp_count;
92 u16 init_count;
94 u16 burst_mode_ratio;
97 u16 backlight_off_delay;
98 u16 backlight_on_delay;
99 u16 panel_on_delay;
100 u16 panel_off_delay;
101 u16 panel_pwr_cycle_delay;
134 struct drm_panel *vbt_panel_init(struct intel_dsi *intel_dsi, u16 panel_id);
H A Dintel_bios.h35 u16 version; /**< decimal */
36 u16 header_size; /**< in bytes */
37 u16 vbt_size; /**< in bytes */
46 u16 version; /**< decimal */
47 u16 header_size; /**< in bytes */
48 u16 bdb_size; /**< in bytes */
62 u16 code_segment;
212 u16 handle;
213 u16 device_type;
215 u16 addin_offset;
220 u16 edid_ptr;
229 u16 extended_type;
241 u16 handle;
242 u16 device_type;
247 u16 edid_ptr;
314 u16 ssc_bits;
315 u16 ssc_freq;
316 u16 ssc_ddt;
318 u16 panel_color_depth;
327 u16 fp_timing_offset; /* offsets are from start of bdb */
329 u16 dvo_timing_offset;
331 u16 panel_pnp_id_offset;
342 u16 x_res;
343 u16 y_res;
354 u16 terminator;
358 u16 clock; /**< In 10khz */
386 u16 mfg_name;
387 u16 product_code;
410 u16 pwm_freq_hz;
425 u16 aimdb_version;
426 u16 aimdb_header_size;
427 u16 aimdb_size;
432 u16 aimdb_size;
436 u16 fp_timing_offset;
438 u16 dvo_timing_offset;
440 u16 text_fitting_offset;
442 u16 graphics_fitting_offset;
456 u16 als_low_trip;
457 u16 als_high_trip;
483 u16 boot_mode_x;
484 u16 boot_mode_y;
488 u16 enable_lfp_primary:1;
489 u16 selective_mode_pruning:1;
490 u16 dual_frequency:1;
491 u16 render_clock_freq:1; /* 0: high freq; 1: low freq */
492 u16 nt_clone_support:1;
493 u16 power_scheme_ui:1; /* 0: CUI; 1: 3rd party */
494 u16 sprite_display_assign:1; /* 0: secondary; 1: primary */
495 u16 cui_aspect_scaling:1;
496 u16 preserve_aspect_ratio:1;
497 u16 sdvo_device_power_down:1;
498 u16 crt_hotplug:1;
499 u16 lvds_config:2;
500 u16 tv_hotplug:1;
501 u16 hdmi_config:2;
505 u16 legacy_crt_max_x;
506 u16 legacy_crt_max_y;
512 u16 rmpm_enabled:1;
513 u16 s2ddt_enabled:1;
514 u16 dpst_enabled:1;
515 u16 bltclt_enabled:1;
516 u16 adb_enabled:1;
517 u16 drrs_enabled:1;
518 u16 grs_enabled:1;
519 u16 gpmt_enabled:1;
520 u16 tbt_enabled:1;
521 u16 psr_enabled:1;
522 u16 ips_enabled:1;
523 u16 reserved3:4;
524 u16 pc_feature_valid:1;
545 u16 t1_t3;
546 u16 t8;
547 u16 t9;
548 u16 t10;
549 u16 t11_t12;
566 u16 edp_s3d_feature;
567 u16 edp_t3_optimization;
583 u16 tp1_wakeup_time;
584 u16 tp2_tp3_wakeup_time;
794 u16 panel_id;
832 u16 dual_link:2;
833 u16 lane_cnt:2;
834 u16 pixel_overlap:3;
835 u16 rsvd3:9;
837 u16 rsvd4;
852 u16 dphy_param_valid:1;
853 u16 eot_pkt_disabled:1;
854 u16 enable_clk_stop:1;
855 u16 rsvd7:13;
888 u16 tclk_prepare_clkzero;
894 u16 ths_prepare_hszero;
920 u16 panel_on_delay;
921 u16 bl_enable_delay;
922 u16 bl_disable_delay;
923 u16 panel_off_delay;
924 u16 panel_power_cycle_delay;
/linux-4.4.14/drivers/scsi/aic94xx/
H A Daic94xx_reg.h65 u16 asd_read_reg_word(struct asd_ha_struct *asd_ha, u32 reg);
69 void asd_write_reg_word(struct asd_ha_struct *asd_ha, u32 reg, u16 val);
88 ASD_READ_OCM(u16,word, w);
101 ASD_WRITE_OCM(u16,word, w);
106 u16 ddb_site_no, \
107 u16 offs) \
115 ASD_DDBSITE_READ(u16, word);
118 u16 ddb_site_no, asd_ddbsite_read_byte()
119 u16 offs) asd_ddbsite_read_byte()
132 u16 ddb_site_no, \
133 u16 offs, type val) \
141 ASD_DDBSITE_WRITE(u16, word);
144 u16 ddb_site_no, asd_ddbsite_write_byte()
145 u16 offs, u8 val) asd_ddbsite_write_byte()
147 u16 base = offs & ~1; asd_ddbsite_write_byte()
148 u16 rval = asd_ddbsite_read_word(asd_ha, ddb_site_no, base); asd_ddbsite_write_byte()
159 u16 scb_site_no, \
160 u16 offs) \
168 ASD_SCBSITE_READ(u16, word);
171 u16 scb_site_no, asd_scbsite_read_byte()
172 u16 offs) asd_scbsite_read_byte()
185 u16 scb_site_no, \
186 u16 offs, type val) \
194 ASD_SCBSITE_WRITE(u16, word);
197 u16 scb_site_no, asd_scbsite_write_byte()
198 u16 offs, u8 val) asd_scbsite_write_byte()
200 u16 base = offs & ~1; asd_scbsite_write_byte()
201 u16 rval = asd_scbsite_read_word(asd_ha, scb_site_no, base); asd_scbsite_write_byte()
225 u16 ddb_site_no, u16 offs, asd_ddbsite_update_word()
226 u16 oldval, u16 newval) asd_ddbsite_update_word()
229 u16 oval = asd_ddbsite_read_word(asd_ha, ddb_site_no, offs); asd_ddbsite_update_word()
246 u16 ddb_site_no, u16 offs, asd_ddbsite_update_byte()
249 u16 base = offs & ~1; asd_ddbsite_update_byte()
250 u16 oval; asd_ddbsite_update_byte()
251 u16 nval = asd_ddbsite_read_word(asd_ha, ddb_site_no, base); asd_ddbsite_update_byte()
/linux-4.4.14/drivers/staging/rtl8192u/
H A Dr819xU_cmdpkt.h40 u16 pkt_id;
43 u16 seq_num;
50 u16 pkt_length;
53 u16 reserve3;
54 u16 duration;
62 u16 reserve;
71 u16 reserve1;
94 u16 reserve1;
99 u16 txfail; /* Tx fail count */
100 u16 txok; /* Tx ok count */
103 u16 txmcok; /* Tx multicast */
104 u16 txretry; /* Tx retry count */
107 u16 txucok; /* Tx unicast */
108 u16 txbcok; /* Tx broadcast */
111 u16 txbcfail;
112 u16 txmcfail;
115 u16 reserve2;
116 u16 txucfail;
124 u16 reserve3_23;
134 u16 reserve1;
149 u16 reserved1;
152 u16 cck[4];
155 u16 ofdm[8];
162 u16 ht_mcs[4][16];
/linux-4.4.14/arch/tile/include/asm/
H A Dvga.h24 static inline void scr_writew(u16 val, volatile u16 *addr) scr_writew()
26 __raw_writew(val, (volatile u16 __iomem *) addr); scr_writew()
29 static inline u16 scr_readw(volatile const u16 *addr) scr_readw()
31 return __raw_readw((volatile const u16 __iomem *) addr); scr_readw()
/linux-4.4.14/drivers/net/wireless/mwifiex/
H A Dioctl.h78 u16 length;
96 u16 rts_threshold;
97 u16 frag_threshold;
103 u16 beacon_period;
104 u16 auth_mode;
105 u16 protocol;
106 u16 key_mgmt;
107 u16 key_mgmt_operation;
173 u16 tid;
181 u16 tid;
207 u16 ps_mode;
225 u16 timeout_cmd_id;
226 u16 timeout_cmd_act;
227 u16 last_cmd_id[DBG_CMD_NUM];
228 u16 last_cmd_act[DBG_CMD_NUM];
229 u16 last_cmd_index;
230 u16 last_cmd_resp_id[DBG_CMD_NUM];
231 u16 last_cmd_resp_index;
232 u16 last_event[DBG_CMD_NUM];
233 u16 last_event_index;
280 u16 auto_ds;
281 u16 idle_time;
302 u16 tx_htcap;
303 u16 tx_htinfo;
304 u16 misc_config; /* Needed for 802.11AC cards only */
308 u16 enable;
309 u16 curr_buf_size;
382 u16 action;
383 u16 events;
392 u16 repeat;
393 u16 offset;
407 u16 num_entries;
442 u16 offset;
447 u16 max_coalescing_delay;
454 u16 num_of_rules;
459 u16 tdls_action;
461 u16 capability;
H A Dpcie.h107 u16 cmd_addr_lo;
108 u16 cmd_addr_hi;
109 u16 fw_status;
110 u16 cmd_size;
111 u16 cmdrsp_addr_lo;
112 u16 cmdrsp_addr_hi;
113 u16 tx_rdptr;
114 u16 tx_wrptr;
115 u16 rx_rdptr;
116 u16 rx_wrptr;
117 u16 evt_rdptr;
118 u16 evt_wrptr;
119 u16 drv_rdy;
120 u16 tx_start_ptr;
135 u16 fw_dump_ctrl;
136 u16 fw_dump_start;
137 u16 fw_dump_end;
239 u16 blksz_fw_dl;
240 u16 tx_buf_size;
274 u16 len;
275 u16 flags;
280 u16 len;
281 u16 flags;
285 u16 flags;
286 u16 offset;
287 u16 frag_len;
288 u16 len;
/linux-4.4.14/drivers/rapidio/
H A Drio.h22 extern u32 rio_mport_get_feature(struct rio_mport *mport, int local, u16 destid,
25 u16 destid, u8 hopcount);
26 extern u32 rio_mport_get_efb(struct rio_mport *port, int local, u16 destid,
28 extern int rio_mport_chk_dev_access(struct rio_mport *mport, u16 destid,
31 extern int rio_lock_device(struct rio_mport *port, u16 destid,
33 extern int rio_unlock_device(struct rio_mport *port, u16 destid, u8 hopcount);
35 u16 table, u16 route_destid, u8 route_port, int lock);
36 extern int rio_route_get_entry(struct rio_dev *rdev, u16 table,
37 u16 route_destid, u8 *route_port, int lock);
38 extern int rio_route_clr_table(struct rio_dev *rdev, u16 table, int lock);
42 extern int rio_enable_rx_tx_port(struct rio_mport *port, int local, u16 destid,
/linux-4.4.14/drivers/input/touchscreen/
H A Dad7879.h18 u16 bustype;
20 int (*multi_read)(struct device *dev, u8 first_reg, u8 count, u16 *buf);
21 int (*write)(struct device *dev, u8 reg, u16 val);
/linux-4.4.14/drivers/media/usb/gspca/gl860/
H A Dgl860.h46 u16 backlight;
47 u16 brightness;
48 u16 sharpness;
49 u16 contrast;
50 u16 gamma;
51 u16 hue;
52 u16 saturation;
53 u16 whitebal;
82 u16 val;
83 u16 idx;
97 unsigned char pref, u32 req, u16 val, u16 index,
/linux-4.4.14/drivers/net/wireless/brcm80211/brcmfmac/
H A Dcommonring.h20 u16 r_ptr;
21 u16 w_ptr;
22 u16 f_ptr;
23 u16 depth;
24 u16 item_len;
51 void brcmf_commonring_config(struct brcmf_commonring *commonring, u16 depth,
52 u16 item_len, void *buf_addr);
59 u16 n_items, u16 *alloced);
62 u16 n_items);
64 u16 *n_items);
66 u16 n_items);
/linux-4.4.14/net/bluetooth/
H A Dmgmt_util.h25 u16 opcode;
34 int mgmt_send_event(u16 event, struct hci_dev *hdev, unsigned short channel,
35 void *data, u16 data_len, int flag, struct sock *skip_sk);
36 int mgmt_cmd_status(struct sock *sk, u16 index, u16 cmd, u8 status);
37 int mgmt_cmd_complete(struct sock *sk, u16 index, u16 cmd, u8 status,
40 struct mgmt_pending_cmd *mgmt_pending_find(unsigned short channel, u16 opcode,
43 u16 opcode,
46 void mgmt_pending_foreach(u16 opcode, struct hci_dev *hdev,
49 struct mgmt_pending_cmd *mgmt_pending_add(struct sock *sk, u16 opcode,
51 void *data, u16 len);
/linux-4.4.14/include/linux/iio/dac/
H A Dad5504.h13 u16 vref_mv;
H A Dmax517.h12 u16 vref_mv[8];
H A Dmcp4725.h13 u16 vref_mv;
H A Dad5791.h20 u16 vref_pos_mv;
21 u16 vref_neg_mv;
/linux-4.4.14/tools/perf/arch/x86/util/
H A Dtsc.h7 u16 time_shift;
/linux-4.4.14/drivers/usb/c67x00/
H A Dc67x00-ll-hpi.c34 u16 regs[COMM_REGS];
84 static inline u16 hpi_read_reg(struct c67x00_device *dev, int reg) hpi_read_reg()
90 static inline void hpi_write_reg(struct c67x00_device *dev, int reg, u16 value) hpi_write_reg()
96 static inline u16 hpi_read_word_nolock(struct c67x00_device *dev, u16 reg) hpi_read_word_nolock()
102 static u16 hpi_read_word(struct c67x00_device *dev, u16 reg) hpi_read_word()
104 u16 value; hpi_read_word()
114 static void hpi_write_word_nolock(struct c67x00_device *dev, u16 reg, u16 value) hpi_write_word_nolock()
120 static void hpi_write_word(struct c67x00_device *dev, u16 reg, u16 value) hpi_write_word()
132 static void hpi_write_words_le16(struct c67x00_device *dev, u16 addr, hpi_write_words_le16()
133 __le16 *data, u16 count) hpi_write_words_le16()
150 static void hpi_read_words_le16(struct c67x00_device *dev, u16 addr, hpi_read_words_le16()
151 __le16 *data, u16 count) hpi_read_words_le16()
164 static void hpi_set_bits(struct c67x00_device *dev, u16 reg, u16 mask) hpi_set_bits()
166 u16 value; hpi_set_bits()
175 static void hpi_clear_bits(struct c67x00_device *dev, u16 reg, u16 mask) hpi_clear_bits()
177 u16 value; hpi_clear_bits()
186 static u16 hpi_recv_mbox(struct c67x00_device *dev) hpi_recv_mbox()
188 u16 value; hpi_recv_mbox()
198 static u16 hpi_send_mbox(struct c67x00_device *dev, u16 value) hpi_send_mbox()
209 u16 c67x00_ll_hpi_status(struct c67x00_device *dev) c67x00_ll_hpi_status()
211 u16 value; c67x00_ll_hpi_status()
252 u16 res; ll_recv_msg()
263 u16 c67x00_ll_fetch_siemsg(struct c67x00_device *dev, int sie_num) c67x00_ll_fetch_siemsg()
265 u16 val; c67x00_ll_fetch_siemsg()
274 u16 c67x00_ll_get_usb_ctl(struct c67x00_sie *sie) c67x00_ll_get_usb_ctl()
282 void c67x00_ll_usb_clear_status(struct c67x00_sie *sie, u16 bits) c67x00_ll_usb_clear_status()
287 u16 c67x00_ll_usb_get_status(struct c67x00_sie *sie) c67x00_ll_usb_get_status()
294 static int c67x00_comm_exec_int(struct c67x00_device *dev, u16 nr, c67x00_comm_exec_int()
313 void c67x00_ll_set_husb_eot(struct c67x00_device *dev, u16 value) c67x00_ll_set_husb_eot()
342 void c67x00_ll_husb_set_current_td(struct c67x00_sie *sie, u16 addr) c67x00_ll_husb_set_current_td()
347 u16 c67x00_ll_husb_get_current_td(struct c67x00_sie *sie) c67x00_ll_husb_get_current_td()
352 u16 c67x00_ll_husb_get_frame(struct c67x00_sie *sie) c67x00_ll_husb_get_frame()
387 void c67x00_ll_irq(struct c67x00_device *dev, u16 int_status) c67x00_ll_irq()
416 void c67x00_ll_write_mem_le16(struct c67x00_device *dev, u16 addr, c67x00_ll_write_mem_le16()
430 u16 tmp; c67x00_ll_write_mem_le16()
444 u16 tmp; c67x00_ll_write_mem_le16()
455 void c67x00_ll_read_mem_le16(struct c67x00_device *dev, u16 addr, c67x00_ll_read_mem_le16()
462 u16 tmp; c67x00_ll_read_mem_le16()
475 u16 tmp; c67x00_ll_read_mem_le16()
/linux-4.4.14/drivers/scsi/fnic/
H A Dcq_exch_desc.h25 u16 completed_index;
26 u16 q_number;
27 u16 exchange_id;
49 u16 *q_number, cq_exch_wq_desc_dec()
50 u16 *completed_index, cq_exch_wq_desc_dec()
59 u16 completed_index_eop_sop_prt;
60 u16 q_number;
61 u16 exchange_id;
62 u16 tmpl;
63 u16 bytes_written;
64 u16 vlan;
89 u16 *q_number, cq_fcp_rq_desc_dec()
90 u16 *completed_index, cq_fcp_rq_desc_dec()
94 u16 *exchange_id, cq_fcp_rq_desc_dec()
95 u16 *tmpl, cq_fcp_rq_desc_dec()
104 u16 *vlan) cq_fcp_rq_desc_dec()
137 u16 exchange_id;
138 u16 q_number;
141 u16 tmpl;
165 u16 *q_number, cq_sgl_desc_dec()
166 u16 *exchange_id, cq_sgl_desc_dec()
169 u16 *tmpl, cq_sgl_desc_dec()
/linux-4.4.14/drivers/dma/ppc4xx/
H A Ddma.h132 u16 cpfhp;
133 u16 cpftp;
134 u16 csfhp;
135 u16 csftp;
176 u16 iiflh;
177 u16 iiflt;
178 u16 iiplh;
179 u16 iiplt;
180 u16 ioflh;
181 u16 ioflt;
182 u16 ioplh;
183 u16 ioplt;
188 u16 mfac0;
189 u16 mfac1;
190 u16 mfac2;
191 u16 mfac3;
192 u16 mfac4;
193 u16 mfac5;
194 u16 mfac6;
195 u16 mfac7;
196 u16 ifcfh;
197 u16 ifcht;
/linux-4.4.14/drivers/gpu/drm/gma500/
H A Doaktrail.h23 u16 pixel_clock;
56 u16 pixel_clock;
62 u16 hsync_offset_hi:2;
63 u16 hsync_pulse_width_lo:8;
64 u16 hsync_pulse_width_hi:2;
65 u16 hsync_positive:1;
66 u16 rsvd_1:3;
68 u16 vactive_hi:4;
69 u16 vblank_lo:8;
70 u16 vblank_hi:4;
71 u16 vsync_offset_lo:4;
72 u16 vsync_offset_hi:2;
73 u16 vsync_pulse_width_lo:4;
74 u16 vsync_pulse_width_hi:2;
75 u16 vsync_positive:1;
76 u16 rsvd_2:3;
87 u16 Panel_Backlight_Inverter_Descriptor;/* 16 bits, as follows */
90 u16 Panel_MIPI_Display_Descriptor;
116 u16 Panel_Backlight_Inverter_Descriptor;/*16 bits, as follows*/
120 u16 Panel_MIPI_Display_Descriptor;
140 u16 NumberOfLanes:2; /*Num of Lanes, 2 bits,0 = 1 lane,*/
142 u16 MaxLaneFreq:3; /* 0: 100MHz, 1: 200MHz, 2: 300MHz, */
144 u16 SupportedVideoTransferMode:2; /*0: Non-burst only */
147 u16 HSClkBehavior:1; /*0: Continuous, 1: Non-continuous*/
148 u16 DuoDisplaySupport:1; /*1 bit,0: No, 1: Yes*/
149 u16 ECC_ChecksumCapabilities:1;/*1 bit,0: No, 1: Yes*/
150 u16 BidirectionalCommunication:1;/*1 bit,0: No, 1: Yes */
151 u16 Rsvd:5;/*5 bits,00000b */
153 u16 panel_receiver;
192 u16 Panel_MIPI_Display_Descriptor;
193 u16 Panel_MIPI_Receiver_Descriptor;
194 u16 Panel_Backlight_Inverter_Descriptor;
208 u16 Panel_Backlight_Inverter_Descriptor;
209 u16 Panel_MIPI_Display_Descriptor;
H A Dintel_bios.h30 u16 version; /**< decimal */
31 u16 header_size; /**< in bytes */
32 u16 vbt_size; /**< in bytes */
42 u16 version; /**< decimal */
43 u16 header_size; /**< in bytes */
44 u16 bdb_size; /**< in bytes */
58 u16 code_segment;
197 u16 handle;
198 u16 device_type;
200 u16 addin_offset;
205 u16 edid_ptr;
214 u16 extended_type;
266 u16 freq;
275 u16 fp_timing_offset; /* offsets are from start of bdb */
277 u16 dvo_timing_offset;
279 u16 panel_pnp_id_offset;
290 u16 x_res;
291 u16 y_res;
302 u16 terminator;
306 u16 clock; /**< In 10khz */
334 u16 mfg_name;
335 u16 product_code;
354 u16 aimdb_version;
355 u16 aimdb_header_size;
356 u16 aimdb_size;
361 u16 aimdb_size;
365 u16 fp_timing_offset;
367 u16 dvo_timing_offset;
369 u16 text_fitting_offset;
371 u16 graphics_fitting_offset;
385 u16 als_low_trip;
386 u16 als_high_trip;
411 u16 boot_mode_x;
412 u16 boot_mode_y;
416 u16 enable_lfp_primary:1;
417 u16 selective_mode_pruning:1;
418 u16 dual_frequency:1;
419 u16 render_clock_freq:1; /* 0: high freq; 1: low freq */
420 u16 nt_clone_support:1;
421 u16 power_scheme_ui:1; /* 0: CUI; 1: 3rd party */
422 u16 sprite_display_assign:1; /* 0: secondary; 1: primary */
423 u16 cui_aspect_scaling:1;
424 u16 preserve_aspect_ratio:1;
425 u16 sdvo_device_power_down:1;
426 u16 crt_hotplug:1;
427 u16 lvds_config:2;
428 u16 tv_hotplug:1;
429 u16 hdmi_config:2;
433 u16 legacy_crt_max_x;
434 u16 legacy_crt_max_y;
459 u16 t1_t3;
460 u16 t8;
461 u16 t9;
462 u16 t10;
463 u16 t11_t12;
/linux-4.4.14/drivers/net/ethernet/intel/i40evf/
H A Di40e_prototype.h47 u16 *events_pending);
51 u16 buff_size,
57 void *desc, void *buffer, u16 buf_len);
66 i40e_status i40evf_aq_get_rss_lut(struct i40e_hw *hw, u16 seid,
67 bool pf_lut, u8 *lut, u16 lut_size);
68 i40e_status i40evf_aq_set_rss_lut(struct i40e_hw *hw, u16 seid,
69 bool pf_lut, u8 *lut, u16 lut_size);
71 u16 seid,
74 u16 seid,
95 u8 *msg, u16 msglen,
100 u8 *mac_addr, u16 ethtype, u16 flags,
101 u16 vsi_seid, u16 queue, bool is_add,
105 u16 vsi_seid);
H A Di40e_adminq.h49 u16 count; /* Number of descriptors */
50 u16 rx_buf_len; /* Admin Receive Queue buffer length */
53 u16 next_to_use;
54 u16 next_to_clean;
68 u16 flags_ena;
69 u16 flags_dis;
81 u16 msg_len;
82 u16 buf_len;
91 u16 num_arq_entries; /* receive queue depth */
92 u16 num_asq_entries; /* send queue depth */
93 u16 arq_buf_size; /* receive queue buffer size */
94 u16 asq_buf_size; /* send queue buffer size */
95 u16 fw_maj_ver; /* firmware major version */
96 u16 fw_min_ver; /* firmware minor version */
98 u16 api_maj_ver; /* api major version */
99 u16 api_min_ver; /* api minor version */
158 u16 opcode);
/linux-4.4.14/arch/arm/plat-omap/
H A Ddebug-leds.c30 u16 smc91x[8];
32 u16 fpga_rev;
33 u16 board_rev;
34 u16 gpio_outputs;
35 u16 leds;
37 u16 misc_inputs;
38 u16 lan_status;
39 u16 lan_reset;
40 u16 reserved0;
42 u16 ps2_data;
43 u16 ps2_ctrl;
49 static u16 fpga_led_state;
53 u16 mask;
86 u16 reg; dbg_led_set()
99 u16 reg; dbg_led_get()
/linux-4.4.14/drivers/net/ethernet/qlogic/qlcnic/
H A Dqlcnic_sriov.h33 u16 seq_id;
42 u16 seq_id;
79 u16 cmd_id;
80 u16 req_pay_size;
81 u16 rsp_pay_size;
109 u16 num_tx_mac_filters;
110 u16 num_rx_ucast_mac_filters;
111 u16 num_rx_mcast_mac_filters;
113 u16 num_txvlan_keys;
115 u16 num_rx_queues;
116 u16 num_tx_queues;
118 u16 num_rx_buf_rings;
119 u16 num_rx_status_rings;
121 u16 num_destip;
123 u16 max_local_ipv6_addrs;
124 u16 max_remote_ipv6_addrs;
128 u16 handle;
129 u16 max_tx_bw;
130 u16 min_tx_bw;
131 u16 pvid;
140 u16 rx_ctx_id;
141 u16 tx_ctx_id;
142 u16 *sriov_vlans;
167 u16 trans_counter;
175 u16 vp_handle;
179 u16 num_allowed_vlans;
180 u16 *allowed_vlans;
181 u16 vlan;
201 struct qlcnic_info *, u16);
202 int qlcnic_sriov_cfg_vf_guest_vlan(struct qlcnic_adapter *, u16, u8);
207 struct qlcnic_vf_info *, u16);
209 struct qlcnic_vf_info *, u16);
240 int qlcnic_sriov_set_vf_vlan(struct net_device *, int, u16, u8);
/linux-4.4.14/drivers/crypto/caam/
H A Dpdb.h71 u16 ctr_initial;
95 u16 rsvd1;
96 u16 ip_hdr_len;
113 u16 ctr_initial;
122 u16 hmo_ip_hdr_len;
155 u16 mac_hdr_len;
160 u16 pn1;
162 u16 frm_ctrl_mask;
163 u16 seq_ctrl_mask;
169 u16 ctr_init;
173 u16 mac_hdr_len;
178 u16 pn1;
180 u16 frm_ctrl_mask;
181 u16 seq_ctrl_mask;
185 u16 ctr_init;
200 u16 ctr_init;
212 u16 ctr_init;
216 u16 antireplay_len;
228 u16 aad_len;
232 u16 ethertype;
241 u16 aad_len;
285 u16 epoch;
286 u16 seq_num[3];
309 u16 epoch;
310 u16 seq_num[3];
328 u16 cnst1;
329 u16 salt[7];
330 u16 cnst2;
343 u16 cnst1;
344 u16 salt[7];
345 u16 cnst2;
346 u16 rsvd1;
347 u16 seq_num;
/linux-4.4.14/include/net/
H A Dbond_3ad.h158 u16 requester_port; /* The number assigned to the port by the requester */
161 u16 pad; /* = 0 */
186 u16 aggregator_identifier;
188 u16 actor_admin_aggregator_key;
189 u16 actor_oper_aggregator_key;
191 u16 partner_system_priority;
192 u16 partner_oper_aggregator_key;
193 u16 receive_state; /* BOOLEAN */
194 u16 transmit_state; /* BOOLEAN */
198 u16 is_active; /* BOOLEAN. Indicates if this aggregator is active */
199 u16 num_of_ports;
204 u16 system_priority;
205 u16 key;
206 u16 port_number;
207 u16 port_priority;
208 u16 port_state;
213 u16 actor_port_number;
214 u16 actor_port_priority;
216 u16 actor_system_priority; /* This parameter is added here although it is not specified in the standard, just for simplification */
217 u16 actor_port_aggregator_identifier;
219 u16 actor_admin_port_key;
220 u16 actor_oper_port_key;
230 u16 sm_vars; /* all state machines variables for this port */
232 u16 sm_rx_timer_counter; /* state machine rx timer counter */
234 u16 sm_periodic_timer_counter; /* state machine periodic timer counter */
236 u16 sm_mux_timer_counter; /* state machine mux timer counter */
238 u16 sm_tx_timer_counter; /* state machine tx timer counter(allways on - enter to transmit state 3 time per second) */
239 u16 sm_churn_actor_timer_counter;
240 u16 sm_churn_partner_timer_counter;
254 u16 sys_priority;
269 u16 aggregator_identifier;
275 u16 id;
295 void bond_3ad_initialize(struct bonding *bond, u16 tick_resolution);
/linux-4.4.14/drivers/net/ethernet/chelsio/cxgb/
H A Dcpl5_cmd.h179 u16 mss;
196 u16 local_port;
197 u16 peer_port;
208 u16 local_port;
209 u16 peer_port;
218 u16 local_port;
219 u16 peer_port;
231 u16 local_port;
232 u16 peer_port;
238 u16 vlan_tag;
262 u16 local_port;
263 u16 peer_port;
274 u16 local_port;
275 u16 peer_port;
285 u16 local_port;
286 u16 peer_port;
302 u16 len;
309 u16 len;
310 u16 rsvd;
329 u16 dlen_in;
330 u16 dlen_out;
337 u16 rsvd2;
339 u16 len;
344 u16 len;
396 u16 urg;
397 u16 flags;
409 u16 urg;
425 u16 ddp_status;
432 * All fields are u8 or u16 except for the length. However that field is not
450 u16 vlan;
451 u16 len_hi;
452 u16 len_lo;
470 u16 vlan;
499 u16 csum;
500 u16 vlan;
501 u16 len;
542 u16 rsvd2;
543 u16 rsvd3;
545 u16 rsvd4;
565 u16 rsvd2;
580 u16 rsvd2;
581 u16 rsvd3;
583 u16 rsvd4;
/linux-4.4.14/arch/mn10300/proc-mn103e010/include/proc/
H A Dintctl-regs.h9 #define IAGR __SYSREG(0xd4000100, u16)
25 #define EXTMD __SYSREG(0xd4000200, u16)
/linux-4.4.14/drivers/staging/fsl-mc/include/
H A Ddpbp.h44 u16 *token);
48 u16 token);
61 u16 *token);
65 u16 token);
69 u16 token);
73 u16 token);
77 u16 token,
82 u16 token);
98 u16 token,
104 u16 token,
111 u16 token,
117 u16 token,
123 u16 token,
129 u16 token,
135 u16 token,
141 u16 token,
160 u16 major;
161 u16 minor;
163 u16 bpid;
168 u16 token,
/linux-4.4.14/include/sound/
H A Dmax98088.h20 u16 band1[5];
21 u16 band2[5];
22 u16 band3[5];
23 u16 band4[5];
24 u16 band5[5];
H A Dmax98095.h20 u16 band1[5];
21 u16 band2[5];
22 u16 band3[5];
23 u16 band4[5];
24 u16 band5[5];
31 u16 band1[5];
32 u16 band2[5];
/linux-4.4.14/drivers/ssb/
H A Dhost_soc.c15 static u8 ssb_host_soc_read8(struct ssb_device *dev, u16 offset) ssb_host_soc_read8()
23 static u16 ssb_host_soc_read16(struct ssb_device *dev, u16 offset) ssb_host_soc_read16()
31 static u32 ssb_host_soc_read32(struct ssb_device *dev, u16 offset) ssb_host_soc_read32()
41 size_t count, u16 offset, u8 reg_width) ssb_host_soc_block_read()
60 case sizeof(u16): { sizeof()
88 static void ssb_host_soc_write8(struct ssb_device *dev, u16 offset, u8 value) ssb_host_soc_write8()
96 static void ssb_host_soc_write16(struct ssb_device *dev, u16 offset, u16 value) ssb_host_soc_write16()
104 static void ssb_host_soc_write32(struct ssb_device *dev, u16 offset, u32 value) ssb_host_soc_write32()
114 size_t count, u16 offset, u8 reg_width) ssb_host_soc_block_write()
133 case sizeof(u16): { sizeof()
138 __raw_writew((__force u16)(*buf), addr); sizeof()
/linux-4.4.14/arch/sparc/lib/
H A DPeeCeeI.c27 __raw_writew(*(u16 *)src, addr); outsw()
28 src += sizeof(u16); outsw()
52 l = (*(u16 *)src) << 16; outsl()
53 l |= *(u16 *)(src + sizeof(u16)); outsl()
61 l |= (*(u16 *)(src + sizeof(u8))) << 8; outsl()
62 src += sizeof(u8) + sizeof(u16); outsl()
120 u16 *ps = dst; insw()
136 ps = (u16 *)pi; insw()
154 u16 *ps; insl()
169 ps = (u16 *)pi; insl()
178 ps = (u16 *)pb; insl()
201 ps = (u16 *)pi; insl()
/linux-4.4.14/drivers/usb/host/
H A Dr8a66597.h46 u16 pipenum;
47 u16 address; /* R8A66597 HCD usb address */
48 u16 epnum;
49 u16 maxpacket;
50 u16 type;
51 u16 bufnum;
52 u16 buf_bsize;
53 u16 interval;
54 u16 dir_in;
73 u16 type;
74 u16 pipenum;
77 u16 address; /* R8A66597's USB address */
78 u16 maxpacket;
86 u16 address; /* R8A66597's USB address */
87 u16 hub_port;
88 u16 root_port;
104 u16 old_syssts;
148 u16 pipenum) r8a66597_get_td()
158 u16 pipenum) r8a66597_get_urb()
166 static inline u16 r8a66597_read(struct r8a66597 *r8a66597, unsigned long offset) r8a66597_read()
172 unsigned long offset, u16 *buf, r8a66597_read_fifo()
193 static inline void r8a66597_write(struct r8a66597 *r8a66597, u16 val, r8a66597_write()
200 u16 val, u16 pat, unsigned long offset) r8a66597_mdfy()
202 u16 tmp; r8a66597_mdfy()
215 struct r8a66597_pipe *pipe, u16 *buf, r8a66597_write_fifo()
282 static inline u16 get_rh_usb_speed(struct r8a66597 *r8a66597, int port) get_rh_usb_speed()
304 static inline u16 get_xtal_from_pdata(struct r8a66597_platdata *pdata) get_xtal_from_pdata()
306 u16 clock = 0; get_xtal_from_pdata()
/linux-4.4.14/drivers/net/ethernet/intel/ixgbe/
H A Dixgbe_common.h35 u16 ixgbe_get_pcie_msix_count_generic(struct ixgbe_hw *hw);
44 enum ixgbe_bus_width ixgbe_convert_bus_width(u16 link_status);
45 enum ixgbe_bus_speed ixgbe_convert_bus_speed(u16 link_status);
54 s32 ixgbe_write_eeprom_generic(struct ixgbe_hw *hw, u16 offset, u16 data);
55 s32 ixgbe_write_eeprom_buffer_bit_bang_generic(struct ixgbe_hw *hw, u16 offset,
56 u16 words, u16 *data);
57 s32 ixgbe_read_eerd_generic(struct ixgbe_hw *hw, u16 offset, u16 *data);
58 s32 ixgbe_read_eerd_buffer_generic(struct ixgbe_hw *hw, u16 offset,
59 u16 words, u16 *data);
60 s32 ixgbe_write_eewr_generic(struct ixgbe_hw *hw, u16 offset, u16 data);
61 s32 ixgbe_write_eewr_buffer_generic(struct ixgbe_hw *hw, u16 offset,
62 u16 words, u16 *data);
63 s32 ixgbe_read_eeprom_bit_bang_generic(struct ixgbe_hw *hw, u16 offset,
64 u16 *data);
65 s32 ixgbe_read_eeprom_buffer_bit_bang_generic(struct ixgbe_hw *hw, u16 offset,
66 u16 words, u16 *data);
69 u16 *checksum_val);
100 s32 ixgbe_get_wwn_prefix_generic(struct ixgbe_hw *hw, u16 *wwnn_prefix,
101 u16 *wwpn_prefix);
110 s32 ixgbe_get_device_caps_generic(struct ixgbe_hw *hw, u16 *device_caps);
148 u16 ixgbe_read_pci_cfg_word(struct ixgbe_hw *hw, u32 reg);
149 void ixgbe_write_pci_cfg_word(struct ixgbe_hw *hw, u32 reg, u16 value);
/linux-4.4.14/drivers/net/usb/
H A Dsmsc95xx.h230 #define PHY_EDPD_CONFIG_TX_NLP_EN_ ((u16)0x8000)
231 #define PHY_EDPD_CONFIG_TX_NLP_1000_ ((u16)0x0000)
232 #define PHY_EDPD_CONFIG_TX_NLP_768_ ((u16)0x2000)
233 #define PHY_EDPD_CONFIG_TX_NLP_512_ ((u16)0x4000)
234 #define PHY_EDPD_CONFIG_TX_NLP_256_ ((u16)0x6000)
235 #define PHY_EDPD_CONFIG_RX_1_NLP_ ((u16)0x1000)
236 #define PHY_EDPD_CONFIG_RX_NLP_64_ ((u16)0x0000)
237 #define PHY_EDPD_CONFIG_RX_NLP_256_ ((u16)0x0400)
238 #define PHY_EDPD_CONFIG_RX_NLP_512_ ((u16)0x0800)
239 #define PHY_EDPD_CONFIG_RX_NLP_1000_ ((u16)0x0C00)
240 #define PHY_EDPD_CONFIG_EXT_CROSSOVER_ ((u16)0x0001)
247 #define MODE_CTRL_STS_EDPWRDOWN_ ((u16)0x2000)
248 #define MODE_CTRL_STS_ENERGYON_ ((u16)0x0002)
251 #define SPECIAL_CTRL_STS_OVRRD_AMDIX_ ((u16)0x8000)
252 #define SPECIAL_CTRL_STS_AMDIX_ENABLE_ ((u16)0x4000)
253 #define SPECIAL_CTRL_STS_AMDIX_STATE_ ((u16)0x2000)
256 #define PHY_INT_SRC_ENERGY_ON_ ((u16)0x0080)
257 #define PHY_INT_SRC_ANEG_COMP_ ((u16)0x0040)
258 #define PHY_INT_SRC_REMOTE_FAULT_ ((u16)0x0020)
259 #define PHY_INT_SRC_LINK_DOWN_ ((u16)0x0010)
262 #define PHY_INT_MASK_ENERGY_ON_ ((u16)0x0080)
263 #define PHY_INT_MASK_ANEG_COMP_ ((u16)0x0040)
264 #define PHY_INT_MASK_REMOTE_FAULT_ ((u16)0x0020)
265 #define PHY_INT_MASK_LINK_DOWN_ ((u16)0x0010)
270 #define PHY_SPECIAL_SPD_ ((u16)0x001C)
271 #define PHY_SPECIAL_SPD_10HALF_ ((u16)0x0004)
272 #define PHY_SPECIAL_SPD_10FULL_ ((u16)0x0014)
273 #define PHY_SPECIAL_SPD_100HALF_ ((u16)0x0008)
274 #define PHY_SPECIAL_SPD_100FULL_ ((u16)0x0018)
/linux-4.4.14/drivers/video/fbdev/omap2/dss/
H A Ddispc.h118 static inline u16 DISPC_DEFAULT_COLOR(enum omap_channel channel) DISPC_DEFAULT_COLOR()
135 static inline u16 DISPC_TRANS_COLOR(enum omap_channel channel) DISPC_TRANS_COLOR()
152 static inline u16 DISPC_TIMING_H(enum omap_channel channel) DISPC_TIMING_H()
170 static inline u16 DISPC_TIMING_V(enum omap_channel channel) DISPC_TIMING_V()
188 static inline u16 DISPC_POL_FREQ(enum omap_channel channel) DISPC_POL_FREQ()
206 static inline u16 DISPC_DIVISORo(enum omap_channel channel) DISPC_DIVISORo()
225 static inline u16 DISPC_SIZE_MGR(enum omap_channel channel) DISPC_SIZE_MGR()
242 static inline u16 DISPC_DATA_CYCLE1(enum omap_channel channel) DISPC_DATA_CYCLE1()
260 static inline u16 DISPC_DATA_CYCLE2(enum omap_channel channel) DISPC_DATA_CYCLE2()
278 static inline u16 DISPC_DATA_CYCLE3(enum omap_channel channel) DISPC_DATA_CYCLE3()
296 static inline u16 DISPC_CPR_COEF_R(enum omap_channel channel) DISPC_CPR_COEF_R()
314 static inline u16 DISPC_CPR_COEF_G(enum omap_channel channel) DISPC_CPR_COEF_G()
332 static inline u16 DISPC_CPR_COEF_B(enum omap_channel channel) DISPC_CPR_COEF_B()
351 static inline u16 DISPC_OVL_BASE(enum omap_plane plane) DISPC_OVL_BASE()
371 static inline u16 DISPC_BA0_OFFSET(enum omap_plane plane) DISPC_BA0_OFFSET()
387 static inline u16 DISPC_BA1_OFFSET(enum omap_plane plane) DISPC_BA1_OFFSET()
403 static inline u16 DISPC_BA0_UV_OFFSET(enum omap_plane plane) DISPC_BA0_UV_OFFSET()
423 static inline u16 DISPC_BA1_UV_OFFSET(enum omap_plane plane) DISPC_BA1_UV_OFFSET()
443 static inline u16 DISPC_POS_OFFSET(enum omap_plane plane) DISPC_POS_OFFSET()
458 static inline u16 DISPC_SIZE_OFFSET(enum omap_plane plane) DISPC_SIZE_OFFSET()
474 static inline u16 DISPC_ATTR_OFFSET(enum omap_plane plane) DISPC_ATTR_OFFSET()
491 static inline u16 DISPC_ATTR2_OFFSET(enum omap_plane plane) DISPC_ATTR2_OFFSET()
511 static inline u16 DISPC_FIFO_THRESH_OFFSET(enum omap_plane plane) DISPC_FIFO_THRESH_OFFSET()
528 static inline u16 DISPC_FIFO_SIZE_STATUS_OFFSET(enum omap_plane plane) DISPC_FIFO_SIZE_STATUS_OFFSET()
545 static inline u16 DISPC_ROW_INC_OFFSET(enum omap_plane plane) DISPC_ROW_INC_OFFSET()
562 static inline u16 DISPC_PIX_INC_OFFSET(enum omap_plane plane) DISPC_PIX_INC_OFFSET()
579 static inline u16 DISPC_WINDOW_SKIP_OFFSET(enum omap_plane plane) DISPC_WINDOW_SKIP_OFFSET()
595 static inline u16 DISPC_TABLE_BA_OFFSET(enum omap_plane plane) DISPC_TABLE_BA_OFFSET()
611 static inline u16 DISPC_FIR_OFFSET(enum omap_plane plane) DISPC_FIR_OFFSET()
629 static inline u16 DISPC_FIR2_OFFSET(enum omap_plane plane) DISPC_FIR2_OFFSET()
649 static inline u16 DISPC_PIC_SIZE_OFFSET(enum omap_plane plane) DISPC_PIC_SIZE_OFFSET()
668 static inline u16 DISPC_ACCU0_OFFSET(enum omap_plane plane) DISPC_ACCU0_OFFSET()
686 static inline u16 DISPC_ACCU2_0_OFFSET(enum omap_plane plane) DISPC_ACCU2_0_OFFSET()
706 static inline u16 DISPC_ACCU1_OFFSET(enum omap_plane plane) DISPC_ACCU1_OFFSET()
724 static inline u16 DISPC_ACCU2_1_OFFSET(enum omap_plane plane) DISPC_ACCU2_1_OFFSET()
745 static inline u16 DISPC_FIR_COEF_H_OFFSET(enum omap_plane plane, u16 i) DISPC_FIR_COEF_H_OFFSET()
764 static inline u16 DISPC_FIR_COEF_H2_OFFSET(enum omap_plane plane, u16 i) DISPC_FIR_COEF_H2_OFFSET()
785 static inline u16 DISPC_FIR_COEF_HV_OFFSET(enum omap_plane plane, u16 i) DISPC_FIR_COEF_HV_OFFSET()
804 static inline u16 DISPC_FIR_COEF_HV2_OFFSET(enum omap_plane plane, u16 i) DISPC_FIR_COEF_HV2_OFFSET()
825 static inline u16 DISPC_CONV_COEF_OFFSET(enum omap_plane plane, u16 i) DISPC_CONV_COEF_OFFSET()
843 static inline u16 DISPC_FIR_COEF_V_OFFSET(enum omap_plane plane, u16 i) DISPC_FIR_COEF_V_OFFSET()
863 static inline u16 DISPC_FIR_COEF_V2_OFFSET(enum omap_plane plane, u16 i) DISPC_FIR_COEF_V2_OFFSET()
883 static inline u16 DISPC_PRELOAD_OFFSET(enum omap_plane plane) DISPC_PRELOAD_OFFSET()
900 static inline u16 DISPC_MFLAG_THRESHOLD_OFFSET(enum omap_plane plane) DISPC_MFLAG_THRESHOLD_OFFSET()
/linux-4.4.14/drivers/infiniband/hw/nes/
H A Dnes_verbs.h54 u16 mmap_db_index[NES_MAX_USER_DB_REGIONS];
55 u16 first_free_db;
58 u16 first_free_wq;
67 u16 pd_id;
69 u16 mmap_db_index;
79 u16 pbls_used;
172 u16 active_conn:1;
173 u16 skip_lsmm:1;
174 u16 user_mode:1;
175 u16 hte_added:1;
176 u16 flush_issued:1;
177 u16 destroyed:1;
178 u16 sig_all:1;
179 u16 pau_mode:1;
180 u16 rsvd:8;
181 u16 private_data_len;
182 u16 term_sq_flush_code;
183 u16 term_rq_flush_code;
/linux-4.4.14/drivers/video/fbdev/aty/
H A Datyfb.h56 u16 unknown1;
57 u16 PCLK_min_freq;
58 u16 PCLK_max_freq;
59 u16 unknown2;
60 u16 ref_freq;
61 u16 ref_divider;
62 u16 unknown3;
63 u16 MCLK_pwd;
64 u16 MCLK_max_freq;
65 u16 XCLK_max_freq;
66 u16 SCLK_freq;
146 u16 pci_id;
163 u16 lcd_width;
164 u16 lcd_height;
166 u16 lcd_refreshrate;
167 u16 lcd_htotal;
168 u16 lcd_hdisp;
169 u16 lcd_hsync_dly;
170 u16 lcd_hsync_len;
171 u16 lcd_vtotal;
172 u16 lcd_vdisp;
173 u16 lcd_vsync_len;
174 u16 lcd_right_margin;
175 u16 lcd_lower_margin;
176 u16 lcd_hblank_len;
177 u16 lcd_vblank_len;
250 static inline void aty_st_le16(int regindex, u16 val, aty_st_le16()
346 static inline void wait_for_fifo(u16 entries, const struct atyfb_par *par) wait_for_fifo()
/linux-4.4.14/drivers/media/radio/wl128x/
H A Dfmdrv_rx.h27 int fm_rx_set_stereo_mono(struct fmdev *, u16);
30 int fm_rx_set_volume(struct fmdev *, u16);
34 int fm_rx_set_deemphasis_mode(struct fmdev *, u16);
44 int fm_rx_get_volume(struct fmdev *, u16 *);
47 int fm_rx_get_stereo_mono(struct fmdev *, u16 *);
48 int fm_rx_get_rssi_level(struct fmdev *, u16 *);
51 int fm_rx_get_deemph_mode(struct fmdev *, u16 *);
/linux-4.4.14/drivers/net/ethernet/intel/e1000e/
H A Dnvm.h31 s32 e1000e_read_nvm_eerd(struct e1000_hw *hw, u16 offset, u16 words, u16 *data);
32 s32 e1000e_valid_led_default(struct e1000_hw *hw, u16 *data);
34 s32 e1000e_write_nvm_spi(struct e1000_hw *hw, u16 offset, u16 words, u16 *data);
H A Dphy.h43 void e1000e_phy_force_speed_duplex_setup(struct e1000_hw *hw, u16 *phy_ctrl);
46 s32 e1000e_read_kmrn_reg(struct e1000_hw *hw, u32 offset, u16 *data);
47 s32 e1000e_read_kmrn_reg_locked(struct e1000_hw *hw, u32 offset, u16 *data);
48 s32 e1000_set_page_igp(struct e1000_hw *hw, u16 page);
49 s32 e1000e_read_phy_reg_igp(struct e1000_hw *hw, u32 offset, u16 *data);
50 s32 e1000e_read_phy_reg_igp_locked(struct e1000_hw *hw, u32 offset, u16 *data);
51 s32 e1000e_read_phy_reg_m88(struct e1000_hw *hw, u32 offset, u16 *data);
54 s32 e1000e_write_kmrn_reg(struct e1000_hw *hw, u32 offset, u16 data);
55 s32 e1000e_write_kmrn_reg_locked(struct e1000_hw *hw, u32 offset, u16 data);
56 s32 e1000e_write_phy_reg_igp(struct e1000_hw *hw, u32 offset, u16 data);
57 s32 e1000e_write_phy_reg_igp_locked(struct e1000_hw *hw, u32 offset, u16 data);
58 s32 e1000e_write_phy_reg_m88(struct e1000_hw *hw, u32 offset, u16 data);
64 s32 e1000e_write_phy_reg_bm(struct e1000_hw *hw, u32 offset, u16 data);
65 s32 e1000e_read_phy_reg_bm(struct e1000_hw *hw, u32 offset, u16 *data);
66 s32 e1000_enable_phy_wakeup_reg_access_bm(struct e1000_hw *hw, u16 *phy_reg);
67 s32 e1000_disable_phy_wakeup_reg_access_bm(struct e1000_hw *hw, u16 *phy_reg);
68 s32 e1000e_read_phy_reg_bm2(struct e1000_hw *hw, u32 offset, u16 *data);
69 s32 e1000e_write_phy_reg_bm2(struct e1000_hw *hw, u32 offset, u16 data);
72 s32 e1000e_read_phy_reg_mdic(struct e1000_hw *hw, u32 offset, u16 *data);
73 s32 e1000e_write_phy_reg_mdic(struct e1000_hw *hw, u32 offset, u16 data);
74 s32 e1000_read_phy_reg_hv(struct e1000_hw *hw, u32 offset, u16 *data);
75 s32 e1000_read_phy_reg_hv_locked(struct e1000_hw *hw, u32 offset, u16 *data);
76 s32 e1000_read_phy_reg_page_hv(struct e1000_hw *hw, u32 offset, u16 *data);
77 s32 e1000_write_phy_reg_hv(struct e1000_hw *hw, u32 offset, u16 data);
78 s32 e1000_write_phy_reg_hv_locked(struct e1000_hw *hw, u32 offset, u16 data);
79 s32 e1000_write_phy_reg_page_hv(struct e1000_hw *hw, u32 offset, u16 data);
117 ((u16)(((offset) >> PHY_PAGE_SHIFT) & 0xFFFF))
119 ((u16)(((offset) & MAX_PHY_REG_ADDRESS) |\
/linux-4.4.14/drivers/net/ethernet/broadcom/
H A Dcnic_defs.h85 u16 status;
86 u16 reserved1;
88 u16 reserved1;
89 u16 status;
103 u16 qe_self_seq;
105 u16 qe_self_seq;
126 u16 pg_status;
127 u16 pg_ipid_count;
129 u16 pg_ipid_count;
130 u16 pg_status;
142 u16 qe_self_seq;
144 u16 qe_self_seq;
170 u16 reserved0;
172 u16 reserved0;
235 u16 dst_port;
236 u16 src_port;
238 u16 src_port;
239 u16 dst_port;
332 u16 reserved0;
334 u16 reserved0;
358 u16 pmtu;
359 u16 mss;
361 u16 mss;
362 u16 pmtu;
383 u16 reserved0;
385 u16 reserved0;
443 u16 etype;
445 u16 etype;
450 u16 vlan_tag;
451 u16 ipid_start;
453 u16 ipid_start;
454 u16 vlan_tag;
457 u16 ipid_count;
458 u16 reserved3;
460 u16 reserved3;
461 u16 ipid_count;
480 u16 reserved0;
482 u16 reserved0;
510 u16 oper16;
512 u16 oper16;
533 u16 pg_ipid_count;
535 u16 pg_ipid_count;
546 u16 reserverd3;
552 u16 reserverd3;
583 u16 oper16;
585 u16 oper16;
647 u16 __agg_vars2;
649 u16 __agg_vars2;
656 u16 hq_cons;
657 u16 hq_prod;
659 u16 hq_prod;
660 u16 hq_cons;
674 u16 __reserved64;
675 u16 cq_u_prod;
677 u16 cq_u_prod;
678 u16 __reserved64;
682 u16 __agg_vars3;
683 u16 cq_u_pend;
685 u16 cq_u_pend;
686 u16 __agg_vars3;
689 u16 __aux2_th;
690 u16 aux2_val;
692 u16 aux2_val;
693 u16 __aux2_th;
705 u16 __agg_val2;
707 u16 __agg_val2;
712 u16 __agg_val5;
718 u16 __agg_val5;
778 u16 ulp_credit;
812 u16 ulp_credit;
815 u16 __agg_val4;
816 u16 agg_vars2;
842 u16 agg_vars2;
867 u16 __agg_val4;
882 u16 __agg_val2;
884 u16 __agg_val2;
889 u16 __agg_val5;
895 u16 __agg_val5;
955 u16 ulp_credit;
989 u16 ulp_credit;
992 u16 __agg_val4;
993 u16 agg_vars2;
1019 u16 agg_vars2;
1044 u16 __agg_val4;
1109 u16 pbf_tx_seq_ack;
1111 u16 pbf_tx_seq_ack;
1119 u16 agg_misc3;
1121 u16 agg_misc3;
1128 u16 cq_prod;
1129 u16 cq_cons;
1131 u16 cq_cons;
1132 u16 cq_prod;
1135 u16 __reserved2;
1189 u16 __reserved2;
1252 u16 __cq_local_comp_itt_val;
1254 u16 __cq_local_comp_itt_val;
1262 u16 agg_misc3;
1264 u16 agg_misc3;
1271 u16 agg_val2_th;
1272 u16 agg_val2;
1274 u16 agg_val2;
1275 u16 agg_val2_th;
1278 u16 __reserved2;
1332 u16 __reserved2;
1354 u16 __mtu;
1356 u16 __mtu;
1377 u16 tcp_agg_vars2;
1405 u16 tcp_agg_vars2;
1440 u16 __xfrq_cons;
1441 u16 __xfrq_prod;
1443 u16 __xfrq_prod;
1444 u16 __xfrq_cons;
1459 u16 __xfrqe_mng;
1460 u16 __tcp_agg_vars7;
1462 u16 __tcp_agg_vars7;
1463 u16 __xfrqe_mng;
1468 u16 __reserved3;
1474 u16 __reserved3;
1483 u16 agg_val1;
1521 u16 agg_val1;
1568 u16 agg_vars5;
1577 u16 sq_cons;
1579 u16 sq_cons;
1580 u16 agg_vars5;
1592 u16 agg_vars7;
1632 u16 agg_vars7;
1657 u16 __agg_val11_th;
1658 u16 __agg_val11;
1660 u16 __agg_val11;
1661 u16 __agg_val11_th;
1666 u16 __agg_val9;
1668 u16 __agg_val9;
1673 u16 confq_cons;
1674 u16 confq_prod;
1676 u16 confq_prod;
1677 u16 confq_cons;
1685 u16 __cache_wqe_db;
1686 u16 sq_prod;
1688 u16 sq_prod;
1689 u16 __cache_wqe_db;
1703 u16 __agg_misc1;
1704 u16 agg_limit1;
1706 u16 agg_limit1;
1707 u16 __agg_misc1;
1733 u16 mss;
1735 u16 mss;
1756 u16 tcp_agg_vars2;
1784 u16 tcp_agg_vars2;
1819 u16 __agg_val7_th;
1820 u16 __agg_val7;
1822 u16 __agg_val7;
1823 u16 __agg_val7_th;
1882 u16 __agg_misc6;
1883 u16 __tcp_agg_vars7;
1885 u16 __tcp_agg_vars7;
1886 u16 __agg_misc6;
1891 u16 __reserved3;
1897 u16 __reserved3;
1906 u16 agg_val1;
1944 u16 agg_val1;
1991 u16 agg_vars5;
2000 u16 sq_cons;
2002 u16 sq_cons;
2003 u16 agg_vars5;
2015 u16 agg_vars7;
2055 u16 agg_vars7;
2080 u16 __agg_val11_th;
2081 u16 __gen_data;
2083 u16 __gen_data;
2084 u16 __agg_val11_th;
2089 u16 __agg_val9;
2091 u16 __agg_val9;
2096 u16 hq_prod;
2097 u16 hq_cons;
2099 u16 hq_cons;
2100 u16 hq_prod;
2108 u16 r2tq_prod;
2109 u16 sq_prod;
2111 u16 sq_prod;
2112 u16 r2tq_prod;
2126 u16 __agg_misc1;
2127 u16 agg_limit1;
2129 u16 agg_limit1;
2130 u16 __agg_misc1;
2143 u16 agg_val1;
2181 u16 agg_val1;
2228 u16 agg_vars5;
2237 u16 agg_val4_th;
2239 u16 agg_val4_th;
2240 u16 agg_vars5;
2252 u16 agg_vars7;
2292 u16 agg_vars7;
2317 u16 __agg_val11_th;
2318 u16 __gen_data;
2320 u16 __gen_data;
2321 u16 __agg_val11_th;
2326 u16 __agg_val9;
2328 u16 __agg_val9;
2333 u16 agg_val2_th;
2334 u16 agg_val2;
2336 u16 agg_val2;
2337 u16 agg_val2_th;
2345 u16 agg_misc0;
2346 u16 agg_val4;
2348 u16 agg_val4;
2349 u16 agg_misc0;
2363 u16 __agg_misc1;
2364 u16 agg_limit1;
2366 u16 agg_limit1;
2367 u16 __agg_misc1;
2793 u16 vlan_tag;
3146 u16 rsrv0;
3148 u16 rsrv0;
3153 u16 dma_tce_ram_addr;
3154 u16 tce_ram_addr;
3156 u16 tce_ram_addr;
3157 u16 dma_tce_ram_addr;
3160 u16 ox_id;
3161 u16 wr_done_seq;
3163 u16 wr_done_seq;
3164 u16 ox_id;
3175 u16 fcoe_conn_id;
3176 u16 flags;
3194 u16 flags;
3211 u16 fcoe_conn_id;
3225 u16 rx_total_conc_seqs;
3226 u16 rx_max_fc_pay_len;
3228 u16 rx_max_fc_pay_len;
3229 u16 rx_total_conc_seqs;
3234 u16 rx_max_conc_seqs;
3236 u16 rx_max_conc_seqs;
3246 u16 fields;
3258 u16 val;
3266 u16 sge_off;
3272 u16 sge_off;
3335 u16 xfrq_prod;
3336 u16 cq_cons;
3338 u16 cq_cons;
3339 u16 xfrq_prod;
3342 u16 lcq_cons;
3343 u16 hc_cram_address;
3345 u16 hc_cram_address;
3346 u16 lcq_cons;
3349 u16 sq_xfrq_lcq_confq_size;
3350 u16 confq_prod;
3352 u16 confq_prod;
3353 u16 sq_xfrq_lcq_confq_size;
3367 u16 num_pend_tasks;
3368 u16 pbf_ack_ram_addr;
3370 u16 pbf_ack_ram_addr;
3371 u16 num_pend_tasks;
3411 u16 reserved_vlan_type;
3412 u16 params;
3420 u16 params;
3427 u16 reserved_vlan_type;
3474 u16 cached_sge_off;
3480 u16 cached_sge_off;
3485 u16 num_of_pending_tasks;
3486 u16 buf_len_0;
3488 u16 buf_len_0;
3489 u16 num_of_pending_tasks;
3494 u16 task_pbe_idx_off;
3495 u16 buf_len_1;
3497 u16 buf_len_1;
3498 u16 task_pbe_idx_off;
3503 u16 ox_id;
3504 u16 buf_len_2;
3506 u16 buf_len_2;
3507 u16 ox_id;
3528 u16 fields;
3542 u16 val;
3550 u16 vif;
3572 u16 sq_xfrq_lcq_confq_size;
3573 u16 tx_max_fc_pay_len;
3575 u16 tx_max_fc_pay_len;
3576 u16 sq_xfrq_lcq_confq_size;
3591 u16 mtu;
3597 u16 mtu;
3616 u16 fcoe_tx_stat_params_ram_addr;
3617 u16 fcoe_tx_fc_seq_ram_addr;
3619 u16 fcoe_tx_fc_seq_ram_addr;
3620 u16 fcoe_tx_stat_params_ram_addr;
3625 u16 pbf_addr;
3627 u16 pbf_addr;
3641 u16 fcp_cmd_frame_size;
3642 u16 pbf_addr_ff;
3644 u16 pbf_addr_ff;
3645 u16 fcp_cmd_frame_size;
3713 u16 cntr;
3714 u16 prod;
3716 u16 prod;
3717 u16 cntr;
3732 u16 sqn[8];
3747 u16 hq_bd_itt;
3748 u16 iscsi_conn_id;
3750 u16 iscsi_conn_id;
3751 u16 hq_bd_itt;
3768 u16 flags;
3781 u16 hq_cons;
3783 u16 hq_cons;
3784 u16 flags;
3819 u16 rsrv0;
3821 u16 rsrv0;
3878 u16 cq_sn;
3879 u16 prod;
3881 u16 prod;
3882 u16 cq_sn;
3895 u16 rq_prod;
3896 u16 r2tq_prod;
3898 u16 r2tq_prod;
3899 u16 rq_prod;
3913 u16 curr_sge_offset;
3914 u16 local_sge_0_size;
3916 u16 local_sge_0_size;
3917 u16 curr_sge_offset;
3924 u16 local_sge_1_size;
3926 u16 local_sge_1_size;
3933 u16 reserved7;
3935 u16 reserved7;
3970 u16 hdr_itt;
3971 u16 iscsi_conn_id;
3973 u16 iscsi_conn_id;
3974 u16 hdr_itt;
4005 u16 reserved3;
4011 u16 reserved3;
4017 u16 reserved5;
4019 u16 reserved5;
4090 u16 mss;
4096 u16 mss;
4135 u16 second_isle_address;
4136 u16 recent_seg_wnd;
4138 u16 recent_seg_wnd;
4139 u16 second_isle_address;
4144 u16 last_isle_address;
4146 u16 last_isle_address;
4152 u16 lsb_mac_address;
4153 u16 vlan_id;
4155 u16 vlan_id;
4156 u16 lsb_mac_address;
4159 u16 msb_mac_address;
4160 u16 mid_mac_address;
4162 u16 mid_mac_address;
4163 u16 msb_mac_address;
4192 u16 rq_cons;
4226 u16 rq_cons;
4232 u16 iscsi_conn_id;
4234 u16 iscsi_conn_id;
4276 u16 reserved_vlan_type;
4277 u16 vlan_params;
4285 u16 vlan_params;
4292 u16 reserved_vlan_type;
4312 u16 __pbf_hdr_cmd_rsvd_id;
4313 u16 __pbf_hdr_cmd_rsvd_flags_offset;
4315 u16 __pbf_hdr_cmd_rsvd_flags_offset;
4316 u16 __pbf_hdr_cmd_rsvd_id;
4321 u16 __pbf_hdr_cmd_rsvd_length;
4323 u16 __pbf_hdr_cmd_rsvd_length;
4331 u16 __pbf_hdr_cmd_rsvd_csum;
4333 u16 __pbf_hdr_cmd_rsvd_csum;
4354 u16 pbf_hdr_cmd_rsvd_payload_len;
4360 u16 pbf_hdr_cmd_rsvd_payload_len;
4390 u16 remote_port;
4391 u16 local_port;
4393 u16 local_port;
4394 u16 remote_port;
4399 u16 tcp_params;
4417 u16 tcp_params;
4438 u16 pseudo_csum;
4439 u16 window_scaling_factor;
4441 u16 window_scaling_factor;
4442 u16 pseudo_csum;
4445 u16 reserved2;
4463 u16 reserved2;
4544 u16 sge_offset;
4546 u16 sge_offset;
4566 u16 data_out_count;
4572 u16 data_out_count;
4584 u16 rxmit_sge_offset;
4585 u16 hq_rxmit_cons;
4587 u16 hq_rxmit_cons;
4588 u16 rxmit_sge_offset;
4591 u16 r2tq_cons;
4625 u16 r2tq_cons;
4667 u16 rsrv0;
4669 u16 rsrv0;
4736 u16 isid_hi;
4737 u16 tsih;
4739 u16 tsih;
4740 u16 isid_hi;
4744 u16 cid;
4745 u16 rsrv1;
4747 u16 rsrv1;
4748 u16 cid;
4766 u16 rsrv0;
4768 u16 rsrv0;
4784 u16 cid;
4785 u16 rsrv1;
4787 u16 rsrv1;
4788 u16 cid;
4806 u16 rsrv0;
4808 u16 rsrv0;
4844 u16 rsrv0;
4846 u16 rsrv0;
4880 u16 rsrv0;
4882 u16 rsrv0;
4920 u16 reserved1;
4921 u16 lcl_cmp_flg;
4923 u16 lcl_cmp_flg;
4924 u16 reserved1;
4931 u16 sge_offset;
4933 u16 sge_offset;
4970 u16 data_in_count;
4976 u16 data_in_count;
4999 u16 data_out_count;
5000 u16 rsrv0;
5002 u16 rsrv0;
5003 u16 data_out_count;
5067 u16 params;
5077 u16 params;
5088 u16 remote_tcp_port;
5089 u16 local_tcp_port;
5091 u16 local_tcp_port;
5092 u16 remote_tcp_port;
5101 u16 rsrv1;
5102 u16 params;
5108 u16 params;
5113 u16 rsrv1;
5116 u16 mss;
5117 u16 pseudo_header_checksum;
5119 u16 pseudo_header_checksum;
5120 u16 mss;
5133 u16 params;
5143 u16 params;
5171 u16 __opaque3;
5172 u16 __opaque2;
5174 u16 __opaque2;
5175 u16 __opaque3;
5218 u16 rsrv2;
5224 u16 rsrv2;
5262 u16 pcs_id;
5300 u16 pcs_id;
5321 u16 rsrv;
5322 u16 rx_seg_size;
5324 u16 rx_seg_size;
5325 u16 rsrv;
5401 u16 flags;
/linux-4.4.14/arch/mips/include/asm/mach-ath25/
H A Dath25_platform.h15 u16 cksum; /* checksum (starting with BD_REV 2) */
16 u16 rev; /* revision of this struct */
19 u16 major; /* Board major number */
20 u16 minor; /* Board minor number */
40 u16 reset_config_gpio; /* Reset factory GPIO pin */
41 u16 sys_led_gpio; /* System LED GPIO pin */
51 u16 pci_id; /* Pseudo PCIID for common code */
52 u16 mem_cap; /* cap bank1 in MB */
64 u16 devid;
/linux-4.4.14/drivers/usb/renesas_usbhs/
H A Dpipe.c50 static void usbhsp_pipectrl_set(struct usbhs_pipe *pipe, u16 mask, u16 val) usbhsp_pipectrl_set()
61 static u16 usbhsp_pipectrl_get(struct usbhs_pipe *pipe) usbhsp_pipectrl_get()
76 u16 dcp_reg, u16 pipe_reg, __usbhsp_pipe_xxx_set()
77 u16 mask, u16 val) __usbhsp_pipe_xxx_set()
87 static u16 __usbhsp_pipe_xxx_get(struct usbhs_pipe *pipe, __usbhsp_pipe_xxx_get()
88 u16 dcp_reg, u16 pipe_reg) __usbhsp_pipe_xxx_get()
101 static void usbhsp_pipe_cfg_set(struct usbhs_pipe *pipe, u16 mask, u16 val) usbhsp_pipe_cfg_set()
106 static u16 usbhsp_pipe_cfg_get(struct usbhs_pipe *pipe) usbhsp_pipe_cfg_get()
114 static void usbhsp_pipe_trn_set(struct usbhs_pipe *pipe, u16 mask, u16 val) usbhsp_pipe_trn_set()
119 u16 reg; usbhsp_pipe_trn_set()
150 static void usbhsp_pipe_tre_set(struct usbhs_pipe *pipe, u16 mask, u16 val) usbhsp_pipe_tre_set()
155 u16 reg; usbhsp_pipe_tre_set()
190 static void usbhsp_pipe_buf_set(struct usbhs_pipe *pipe, u16 mask, u16 val) usbhsp_pipe_buf_set()
201 static void usbhsp_pipe_maxp_set(struct usbhs_pipe *pipe, u16 mask, u16 val) usbhsp_pipe_maxp_set()
235 u16 val; usbhsp_pipe_barrier()
273 u16 val; usbhs_pipe_is_accessible()
287 u16 pid = usbhsp_pipectrl_get(pipe); __usbhsp_pid_try_nak_if_stall()
307 u16 val; usbhs_pipe_disable()
334 u16 pid = usbhsp_pipectrl_get(pipe); usbhs_pipe_stall()
354 u16 pid = usbhsp_pipectrl_get(pipe) & PID_MASK; usbhs_pipe_is_stall()
399 static u16 usbhsp_setup_pipecfg(struct usbhs_pipe *pipe, usbhsp_setup_pipecfg()
403 u16 type = 0; usbhsp_setup_pipecfg()
404 u16 bfre = 0; usbhsp_setup_pipecfg()
405 u16 dblb = 0; usbhsp_setup_pipecfg()
406 u16 cntmd = 0; usbhsp_setup_pipecfg()
407 u16 dir = 0; usbhsp_setup_pipecfg()
408 u16 epnum = 0; usbhsp_setup_pipecfg()
409 u16 shtnak = 0; usbhsp_setup_pipecfg()
410 u16 type_array[] = { usbhsp_setup_pipecfg()
473 static u16 usbhsp_setup_pipebuff(struct usbhs_pipe *pipe) usbhsp_setup_pipebuff()
480 u16 buff_size; usbhsp_setup_pipebuff()
481 u16 bufnmb; usbhsp_setup_pipebuff()
482 u16 bufnmb_cnt; usbhsp_setup_pipebuff()
549 void usbhs_pipe_config_update(struct usbhs_pipe *pipe, u16 devsel, usbhs_pipe_config_update()
550 u16 epnum, u16 maxp) usbhs_pipe_config_update()
612 u16 mask = (SQCLR | SQSET); usbhs_pipe_data_sequence()
613 u16 val; usbhs_pipe_data_sequence()
748 u16 pipecfg, pipebuf; usbhs_pipe_malloc()
/linux-4.4.14/drivers/staging/vt6655/
H A Drxtx.h58 u16 packing; /* packing to 48 bytes */
66 u16 reserved;
73 u16 reserved;
125 u16 reserved;
135 u16 wReserved;
146 u16 reserved;
153 u16 reserved;
163 u16 reserved;
165 u16 reserved2;
171 u16 reserved;
175 u16 reserved2;
188 u16 time_stamp;
/linux-4.4.14/drivers/s390/char/
H A Dsclp_sdias.h27 u16 reserved3;
37 u16 reserved7;
38 u16 dbs;
/linux-4.4.14/security/selinux/include/
H A Dnetlabel.h49 u16 family,
53 u16 family,
56 int selinux_netlbl_inet_conn_request(struct request_sock *req, u16 family);
57 void selinux_netlbl_inet_csk_clone(struct sock *sk, u16 family);
58 int selinux_netlbl_socket_post_create(struct sock *sk, u16 family);
61 u16 family,
94 u16 family, selinux_netlbl_skbuff_getsid()
103 u16 family, selinux_netlbl_skbuff_setsid()
116 u16 family) selinux_netlbl_inet_conn_request()
120 static inline void selinux_netlbl_inet_csk_clone(struct sock *sk, u16 family) selinux_netlbl_inet_csk_clone()
125 u16 family) selinux_netlbl_socket_post_create()
131 u16 family, selinux_netlbl_sock_rcv_skb()
/linux-4.4.14/include/linux/unaligned/
H A Dmemmove.h9 static inline u16 __get_unaligned_memmove16(const void *p) __get_unaligned_memmove16()
11 u16 tmp; __get_unaligned_memmove16()
30 static inline void __put_unaligned_memmove16(u16 val, void *p) __put_unaligned_memmove16()
H A Dpacked_struct.h6 struct __una_u16 { u16 x; } __packed;
10 static inline u16 __get_unaligned_cpu16(const void *p) __get_unaligned_cpu16()
28 static inline void __put_unaligned_cpu16(u16 val, void *p) __put_unaligned_cpu16()
/linux-4.4.14/include/linux/isdn/
H A Dcapilli.h47 void (*register_appl)(struct capi_ctr *, u16 appl,
49 void (*release_appl)(struct capi_ctr *, u16 appl);
50 u16 (*send_message)(struct capi_ctr *, struct sk_buff *skb);
85 void capi_ctr_handle_message(struct capi_ctr * card, u16 appl, struct sk_buff *skb);
106 void capilib_new_ncci(struct list_head *head, u16 applid, u32 ncci, u32 winsize);
107 void capilib_free_ncci(struct list_head *head, u16 applid, u32 ncci);
108 void capilib_release_appl(struct list_head *head, u16 applid);
110 void capilib_data_b3_conf(struct list_head *head, u16 applid, u32 ncci, u16 msgid);
111 u16 capilib_data_b3_req(struct list_head *head, u16 applid, u32 ncci, u16 msgid);
/linux-4.4.14/drivers/media/pci/ivtv/
H A Divtv-cards.h185 u16 video_input; /* hardware video input */
191 u16 muxer_input; /* hardware muxer input for boards with a
197 u16 video_output; /* hardware video output */
201 u16 device;
202 u16 subsystem_vendor;
203 u16 subsystem_device;
211 u16 direction; /* DIR setting. Leave to 0 if no init is needed */
212 u16 initial_value;
216 u16 mask; /* leave to 0 if not supported */
217 u16 tuner;
218 u16 composite;
219 u16 svideo;
223 u16 mask; /* leave to 0 if not supported */
224 u16 tuner;
225 u16 linein;
226 u16 radio;
230 u16 mask; /* leave to 0 if not supported */
231 u16 mute; /* set this value to mute, 0 to unmute */
235 u16 mask; /* leave to 0 if not supported */
236 u16 mono; /* set audio to mono */
237 u16 stereo; /* set audio to stereo */
238 u16 lang1; /* set audio to the first language */
239 u16 lang2; /* set audio to the second language */
240 u16 both; /* both languages are output */
244 u16 mask; /* leave to 0 if not supported */
245 u16 f32000;
246 u16 f44100;
247 u16 f48000;
251 u16 mask; /* leave to 0 if not supported */
252 u16 stereo; /* if the input matches this value then
303 int ivtv_get_input(struct ivtv *itv, u16 index, struct v4l2_input *input);
304 int ivtv_get_output(struct ivtv *itv, u16 index, struct v4l2_output *output);
305 int ivtv_get_audio_input(struct ivtv *itv, u16 index, struct v4l2_audio *input);
306 int ivtv_get_audio_output(struct ivtv *itv, u16 index, struct v4l2_audioout *output);
307 const struct ivtv_card *ivtv_get_card(u16 index);
/linux-4.4.14/include/media/
H A Dadv7842.h106 u16 scaling;
107 u16 A1;
108 u16 A2;
109 u16 A3;
110 u16 A4;
111 u16 B1;
112 u16 B2;
113 u16 B3;
114 u16 B4;
115 u16 C1;
116 u16 C2;
117 u16 C3;
118 u16 C4;
123 u16 hs_beg;
124 u16 hs_width;
125 u16 de_beg;
126 u16 de_end;
/linux-4.4.14/drivers/video/fbdev/mb862xx/
H A Dmb862xxfb_accel.c75 static void mb86290fb_imageblit1(u32 *cmd, u16 step, u16 dx, u16 dy, mb86290fb_imageblit1()
76 u16 width, u16 height, u32 fgcolor, mb86290fb_imageblit1()
82 u16 bytes; mb86290fb_imageblit1()
124 static void mb86290fb_imageblit8(u32 *cmd, u16 step, u16 dx, u16 dy, mb86290fb_imageblit8()
125 u16 width, u16 height, u32 fgcolor, mb86290fb_imageblit8()
131 u16 bytes; mb86290fb_imageblit8()
163 static void mb86290fb_imageblit16(u32 *cmd, u16 step, u16 dx, u16 dy, mb86290fb_imageblit16()
164 u16 width, u16 height, u32 fgcolor, mb86290fb_imageblit16()
170 u16 bytes; mb86290fb_imageblit16()
193 void (*cmdfn) (u32 *, u16, u16, u16, u16, u16, u32, u32, mb86290fb_imageblit()
197 u16 step; mb86290fb_imageblit()
199 u16 width = image->width, height = image->height; mb86290fb_imageblit()
200 u16 dx = image->dx, dy = image->dy; mb86290fb_imageblit()
/linux-4.4.14/drivers/mfd/
H A Dsi476x-prop.c24 u16 low, high;
27 static bool si476x_core_element_is_in_array(u16 element, si476x_core_element_is_in_array()
28 const u16 array[], si476x_core_element_is_in_array()
40 static bool si476x_core_element_is_in_range(u16 element, si476x_core_element_is_in_range()
54 u16 property) si476x_core_is_valid_property_a10()
56 static const u16 valid_properties[] = { si476x_core_is_valid_property_a10()
95 u16 property) si476x_core_is_valid_property_a20()
97 static const u16 valid_properties[] = { si476x_core_is_valid_property_a20()
116 u16 property) si476x_core_is_valid_property_a30()
118 static const u16 valid_properties[] = { si476x_core_is_valid_property_a30()
141 typedef bool (*valid_property_pred_t) (struct si476x_core *, u16);
144 u16 property) si476x_core_is_valid_property()
159 u16 property) si476x_core_is_readonly_property()
184 return si476x_core_is_valid_property(core, (u16) reg); si476x_core_regmap_readable_register()
194 return si476x_core_is_valid_property(core, (u16) reg) && si476x_core_regmap_writable_register()
195 !si476x_core_is_readonly_property(core, (u16) reg); si476x_core_regmap_writable_register()
/linux-4.4.14/drivers/net/ethernet/cisco/enic/
H A Denic_clsf.h9 int enic_addfltr_5t(struct enic *enic, struct flow_keys *keys, u16 rq);
10 int enic_delfltr(struct enic *enic, u16 filter_id);
13 struct enic_rfs_fltr_node *htbl_fltr_search(struct enic *enic, u16 fltr_id);
17 u16 rxq_index, u32 flow_id);
/linux-4.4.14/drivers/net/ethernet/emulex/benet/
H A Dbe.h66 #define BE_HDR_LEN ((u16) 64)
109 #define CNTL_SERIAL_NUM_WORD_SZ (sizeof(u16)) /* Byte-sz of serial num word */
122 u16 len;
123 u16 entry_size; /* Size of an element in the queue */
124 u16 id;
125 u16 tail, head;
130 static inline u32 MODULO(u16 val, u16 limit) MODULO()
136 static inline void index_adv(u16 *index, u16 val, u16 limit) index_adv()
141 static inline void index_inc(u16 *index, u16 limit) index_inc()
156 static inline void *queue_index_node(struct be_queue_info *q, u16 index) queue_index_node()
166 static inline void index_dec(u16 *index, u16 limit) index_dec()
189 u16 spurious_intr;
253 u16 end_index; /* Completed TXQ Index */
264 u16 pend_wrb_cnt; /* Number of WRBs yet to be given to HW */
265 u16 last_req_wrb_cnt; /* wrb cnt of the last req in the Q */
266 u16 last_req_hdr; /* index of the last req's hdr-wrb */
274 u16 page_offset;
293 u16 vlan_tag;
294 u16 pkt_size;
295 u16 port;
370 u16 vlan_tag;
407 u16 phy_type;
408 u16 interface_type;
410 u16 auto_speeds_supported;
411 u16 fixed_speeds_supported;
421 u16 max_vfs; /* Total VFs "really" supported by FW/HW */
422 u16 max_mcast_mac;
423 u16 max_tx_qs;
424 u16 max_rss_qs;
425 u16 max_rx_qs;
426 u16 max_cq_count;
427 u16 max_uc_mac; /* Max UC MACs programmable */
428 u16 max_vlans; /* Number of vlans supported */
429 u16 max_iface_count;
430 u16 max_mcc_count;
431 u16 max_evt_qs;
481 u16 vlan_tag; /* VLAN tag */
482 u16 lso_mss; /* MSS for LSO */
503 u16 cfg_num_qs; /* configured via set-channels */
504 u16 num_evt_qs;
505 u16 num_msix_vec;
511 u16 num_tx_qs;
515 u16 num_rx_qs;
516 u16 num_rss_qs;
517 u16 need_def_rxq;
524 u16 recommended_prio; /* Recommended Priority */
530 u16 work_counter;
546 u16 vlans_added;
576 u16 num_vfs; /* Number of VFs provisioned by PF */
582 u16 pvid;
589 u16 asic_rev;
590 u16 qnq_vid;
599 u16 serial_num[CNTL_SERIAL_NUM_WORDS];
625 static inline u16 be_max_qs(struct be_adapter *adapter) be_max_qs()
628 u16 num = max_t(u16, be_max_rss(adapter), 1); be_max_qs()
631 return min_t(u16, num, num_online_cpus()); be_max_qs()
830 void be_cq_notify(struct be_adapter *adapter, u16 qid, bool arm,
831 u16 num_popped);
/linux-4.4.14/drivers/gpu/drm/nouveau/include/nvkm/subdev/
H A Dpci.h24 u32 nvkm_pci_rd32(struct nvkm_pci *, u16 addr);
25 void nvkm_pci_wr08(struct nvkm_pci *, u16 addr, u8 data);
26 void nvkm_pci_wr32(struct nvkm_pci *, u16 addr, u32 data);
27 u32 nvkm_pci_mask(struct nvkm_pci *, u16 addr, u32 mask, u32 value);
H A Dvga.h6 u8 nvkm_rdport(struct nvkm_device *, int head, u16 port);
7 void nvkm_wrport(struct nvkm_device *, int head, u16 port, u8 value);
22 u8 nvkm_rdvgai(struct nvkm_device *, int head, u16 port, u8 index);
23 void nvkm_wrvgai(struct nvkm_device *, int head, u16 port, u8 index, u8 value);

Completed in 6586 milliseconds

1234567891011>>