/freebsd/sys/contrib/dev/athk/ath11k/ |
H A D | debugfs_htt_stats.h | 149 DECLARE_FLEX_ARRAY(u32, data); 156 u32 mac_id__word; 157 u32 hw_queued; 158 u32 hw_reaped; 159 u32 underrun; 160 u32 hw_paused; 161 u32 hw_flush; 162 u32 hw_filt; 163 u32 tx_abort; 164 u32 mpdu_requeued; [all …]
|
H A D | wmi.h | 45 u32 cmd_id; 49 u32 header; 2218 u32 pdev_id; 2219 u32 start_freq; 2220 u32 end_freq; 2224 u32 numss_m1; 2225 u32 ru_bit_mask; 2226 u32 ppet16_ppet8_ru3_ru0[PSOC_HOST_MAX_NUM_SS]; 2230 u32 default_conc_scan_config_bits; 2231 u32 default_fw_config_bits; [all …]
|
H A D | core.h | 119 static inline enum wme_ac ath11k_tid_to_ac(u32 tid) in ath11k_tid_to_ac() 136 u32 cipher; 188 u32 irqs[ATH11K_EXT_IRQ_NUM_MAX]; 189 u32 num_irq; 190 u32 grp_id; 240 u32 numss_m1; 241 u32 ru_mask; 242 u32 ppet16_ppet8_ru3_ru0[HE_PPET16_PPET8_SIZE]; 247 u32 hecap_rxmcsnssmap; 248 u32 hecap_txmcsnssmap; [all …]
|
H A D | hw.h | 147 u32 bdf_addr; 161 u32 qmi_service_ins_id; 163 u32 ce_count; 165 u32 target_ce_count; 167 u32 svc_to_ce_map_len; 198 u32 num_vdevs; 199 u32 num_peers; 201 u32 hal_desc_sz; 225 u32 start; 226 u32 end; [all …]
|
/freebsd/sys/dev/bce/ |
H A D | if_bcefw.h | 43 u32 bce_COM_b06FwStartAddr = 0x08000118; 44 u32 bce_COM_b06FwTextAddr = 0x08000000; 46 u32 bce_COM_b06FwDataAddr = 0x00000000; 48 u32 bce_COM_b06FwRodataAddr = 0x08004a68; 50 u32 bce_COM_b06FwBssAddr = 0x08004ad8; 52 u32 bce_COM_b06FwSbssAddr = 0x08004aa0; 54 u32 bce_COM_b06FwSDataAddr = 0x00000000; 56 const u32 bce_COM_b06FwText[(0x4a68/4) + 1] = { 1248 const u32 bce_COM_b06FwData[(0x0/4) + 1] = { 0x0 }; 1249 const u32 bce_COM_b06FwRodata[(0x14/4) + 1] = { [all …]
|
/freebsd/sys/dev/cxgbe/cudbg/ |
H A D | cudbg_entity.h | 108 u32 pbt_dynamic[CUDBG_PBT_DYNAMIC_ENTRIES]; 109 u32 pbt_static[CUDBG_PBT_STATIC_ENTRIES]; 110 u32 lrf_table[CUDBG_LRF_ENTRIES]; 111 u32 pbt_data[CUDBG_PBT_DATA_ENTRIES]; 124 u32 rss_pf_map; 125 u32 rss_pf_mask; 126 u32 rss_pf_config; 136 u32 filter_start; 137 u32 server_start; 138 u32 clip_start; [all …]
|
/freebsd/sys/contrib/dev/athk/ath10k/ |
H A D | targaddrs.h | 39 u32 hi_app_host_interest; /* 0x00 */ 42 u32 hi_failure_state; /* 0x04 */ 45 u32 hi_dbglog_hdr; /* 0x08 */ 47 u32 hi_unused0c; /* 0x0c */ 53 u32 hi_option_flag; /* 0x10 */ 59 u32 hi_serial_enable; /* 0x14 */ 62 u32 hi_dset_list_head; /* 0x18 */ 65 u32 hi_app_start; /* 0x1c */ 68 u32 hi_skip_clock_init; /* 0x20 */ 69 u32 hi_core_clock_setting; /* 0x24 */ [all …]
|
H A D | core.h | 132 u32 ucast_cipher; 157 static inline u32 host_interest_item_address(u32 item_offset) in host_interest_item_address() 189 u32 len; 190 u32 req_id; 208 u32 mgmt_max_num_pending_tx; 213 u32 num_mem_chunks; 214 u32 rx_decap_mode; 222 u32 peer_rssi; 223 u32 peer_tx_rate; 224 u32 peer_rx_rate; /* 10x only */ [all …]
|
H A D | hw.h | 246 u32 rtc_soc_base_address; 247 u32 rtc_wmac_base_address; 248 u32 soc_core_base_address; 249 u32 wlan_mac_base_address; 250 u32 ce_wrapper_base_address; 251 u32 ce0_base_address; 252 u32 ce1_base_address; 253 u32 ce2_base_address; 254 u32 ce3_base_address; 255 u32 ce4_base_address; [all …]
|
/freebsd/sys/contrib/dev/athk/ath12k/ |
H A D | hw.h | 130 u32 wbm2sw_cc_enable; 145 u32 qmi_service_ins_id; 153 u32 ce_count; 155 u32 target_ce_count; 157 u32 svc_to_ce_map_len; 177 u32 hal_desc_sz; 178 u32 num_tcl_banks; 179 u32 max_tx_ring; 246 u32 hal_tcl1_ring_id; 247 u32 hal_tcl1_ring_misc; [all …]
|
H A D | core.h | 87 static inline enum wme_ac ath12k_tid_to_ac(u32 tid) in ath12k_tid_to_ac() 105 u32 cipher; 145 u32 irqs[ATH12K_EXT_IRQ_NUM_MAX]; 146 u32 num_irq; 147 u32 grp_id; 163 u32 numss_m1; 164 u32 ru_mask; 165 u32 ppet16_ppet8_ru3_ru0[HE_PPET16_PPET8_SIZE]; 170 u32 hecap_rxmcsnssmap; 171 u32 hecap_txmcsnssmap; [all …]
|
/freebsd/sys/contrib/dev/iwlwifi/ |
H A D | iwl-io.h | 11 void iwl_write8(struct iwl_trans *trans, u32 ofs, u8 val); 12 void iwl_write32(struct iwl_trans *trans, u32 ofs, u32 val); 14 u32 iwl_read32(struct iwl_trans *trans, u32 ofs); 16 static inline void iwl_set_bit(struct iwl_trans *trans, u32 reg, u32 mask) in iwl_set_bit() 21 static inline void iwl_clear_bit(struct iwl_trans *trans, u32 reg, u32 mask) in iwl_clear_bit() 26 int iwl_poll_bit(struct iwl_trans *trans, u32 addr, 27 u32 bits, u32 mask, int timeout); 28 int iwl_poll_direct_bit(struct iwl_trans *trans, u32 addr, u32 mask, 31 u32 iwl_read_direct32(struct iwl_trans *trans, u32 reg); 32 void iwl_write_direct32(struct iwl_trans *trans, u32 reg, u32 value); [all …]
|
/freebsd/sys/dev/mlx5/mlx5_core/ |
H A D | transobj.h | 29 int mlx5_alloc_transport_domain(struct mlx5_core_dev *dev, u32 *tdn, u32 uid); 30 void mlx5_dealloc_transport_domain(struct mlx5_core_dev *dev, u32 tdn, u32 uid); 31 int mlx5_core_create_rq(struct mlx5_core_dev *dev, u32 *in, int inlen, 32 u32 *rqn); 33 int mlx5_core_modify_rq(struct mlx5_core_dev *dev, u32 *in, int inlen); 34 void mlx5_core_destroy_rq(struct mlx5_core_dev *dev, u32 rqn); 35 int mlx5_core_query_rq(struct mlx5_core_dev *dev, u32 rqn, u32 *out); 36 int mlx5_core_create_sq(struct mlx5_core_dev *dev, u32 *in, int inlen, 37 u32 *sqn); 38 int mlx5_core_modify_sq(struct mlx5_core_dev *dev, u32 *in, int inlen); [all …]
|
H A D | mlx5_transobj.c | 33 int mlx5_alloc_transport_domain(struct mlx5_core_dev *dev, u32 *tdn, u32 uid) in mlx5_alloc_transport_domain() 35 u32 in[MLX5_ST_SZ_DW(alloc_transport_domain_in)] = {0}; in mlx5_alloc_transport_domain() 36 u32 out[MLX5_ST_SZ_DW(alloc_transport_domain_out)] = {0}; in mlx5_alloc_transport_domain() 51 void mlx5_dealloc_transport_domain(struct mlx5_core_dev *dev, u32 tdn, u32 uid) in mlx5_dealloc_transport_domain() 53 u32 in[MLX5_ST_SZ_DW(dealloc_transport_domain_in)] = {0}; in mlx5_dealloc_transport_domain() 54 u32 out[MLX5_ST_SZ_DW(dealloc_transport_domain_out)] = {0}; in mlx5_dealloc_transport_domain() 64 int mlx5_core_create_rq(struct mlx5_core_dev *dev, u32 *in, int inlen, u32 *rqn) in mlx5_core_create_rq() 66 u32 out[MLX5_ST_SZ_DW(create_rq_out)] = {0}; in mlx5_core_create_rq() 78 int mlx5_core_modify_rq(struct mlx5_core_dev *dev, u32 *in, int inlen) in mlx5_core_modify_rq() 80 u32 out[MLX5_ST_SZ_DW(modify_rq_out)] = {0}; in mlx5_core_modify_rq() [all …]
|
/freebsd/contrib/wireguard-tools/ |
H A D | curve25519-fiat32.h | 19 typedef struct fe { u32 v[10]; } fe; 24 typedef struct fe_loose { u32 v[10]; } fe_loose; 26 static __always_inline void fe_frombytes_impl(u32 h[10], const u8 *s) in fe_frombytes_impl() 29 u32 a0 = get_unaligned_le32(s); in fe_frombytes_impl() 30 u32 a1 = get_unaligned_le32(s+4); in fe_frombytes_impl() 31 u32 a2 = get_unaligned_le32(s+8); in fe_frombytes_impl() 32 u32 a3 = get_unaligned_le32(s+12); in fe_frombytes_impl() 33 u32 a4 = get_unaligned_le32(s+16); in fe_frombytes_impl() 34 u32 a5 = get_unaligned_le32(s+20); in fe_frombytes_impl() 35 u32 a6 = get_unaligned_le32(s+24); in fe_frombytes_impl() [all …]
|
/freebsd/sys/compat/linuxkpi/common/include/linux/ |
H A D | jhash.h | 46 static inline u32 jhash(const void *key, u32 length, u32 initval) in jhash() 48 u32 a, b, c, len; in jhash() 56 a += (k[0] +((u32)k[1]<<8) +((u32)k[2]<<16) +((u32)k[3]<<24)); in jhash() 57 b += (k[4] +((u32)k[5]<<8) +((u32)k[6]<<16) +((u32)k[7]<<24)); in jhash() 58 c += (k[8] +((u32)k[9]<<8) +((u32)k[10]<<16)+((u32)k[11]<<24)); in jhash() 68 case 11: c += ((u32)k[10]<<24); in jhash() 69 case 10: c += ((u32)k[9]<<16); in jhash() 70 case 9 : c += ((u32)k[8]<<8); in jhash() 71 case 8 : b += ((u32)k[7]<<24); in jhash() 72 case 7 : b += ((u32)k[6]<<16); in jhash() [all …]
|
/freebsd/sys/dev/cxgb/common/ |
H A D | jhash.h | 39 static inline u32 jhash(const void *key, u32 length, u32 initval) in jhash() 41 u32 a, b, c, len; in jhash() 49 a += (k[0] +((u32)k[1]<<8) +((u32)k[2]<<16) +((u32)k[3]<<24)); in jhash() 50 b += (k[4] +((u32)k[5]<<8) +((u32)k[6]<<16) +((u32)k[7]<<24)); in jhash() 51 c += (k[8] +((u32)k[9]<<8) +((u32)k[10]<<16)+((u32)k[11]<<24)); in jhash() 61 case 11: c += ((u32)k[10]<<24); in jhash() 62 case 10: c += ((u32)k[9]<<16); in jhash() 63 case 9 : c += ((u32)k[8]<<8); in jhash() 64 case 8 : b += ((u32)k[7]<<24); in jhash() 65 case 7 : b += ((u32)k[6]<<16); in jhash() [all …]
|
/freebsd/sys/dev/qlnx/qlnxe/ |
H A D | mcp_public.h | 49 typedef u32 offsize_t; /* In DWORDS !!! */ 70 u32 speed; /* 0 = autoneg, 1000/10000/20000/25000/40000/50000/100000 */ 74 u32 pause; /* bitmask */ 80 u32 adv_speed; /* Default should be the speed_cap_mask */ 81 u32 loopback_mode; 93 u32 eee_cfg; 104 u32 link_modes; /* Additional link modes */ 109 u32 dynamic_cfg; /* device control channel */ 114 u32 reserved[1]; 263 u32 config; [all …]
|
/freebsd/contrib/ofed/libirdma/ |
H A D | irdma_user.h | 46 #define irdma_stag_index u32 47 #define irdma_stag u32 50 #define irdma_access_privileges u32 190 volatile u32 head; 191 volatile u32 tail; /* effective tail */ 192 u32 size; 205 u32 num_sges; 206 u32 qkey; 207 u32 dest_qp; 208 u32 ah_id; [all …]
|
/freebsd/sys/dev/qat/qat_common/ |
H A D | adf_gen4vf_hw_csr_data.c | 7 build_csr_ring_base_addr(dma_addr_t addr, u32 size) in build_csr_ring_base_addr() 12 static u32 13 read_csr_ring_head(struct resource *csr_base_addr, u32 bank, u32 ring) in read_csr_ring_head() 20 u32 bank, in write_csr_ring_head() 21 u32 ring, in write_csr_ring_head() 22 u32 value) in write_csr_ring_head() 27 static u32 28 read_csr_ring_tail(struct resource *csr_base_addr, u32 bank, u32 ring) in read_csr_ring_tail() 35 u32 bank, in write_csr_ring_tail() 36 u32 ring, in write_csr_ring_tail() [all …]
|
H A D | adf_gen4_hw_data.c | 11 build_csr_ring_base_addr(bus_addr_t addr, u32 size) in build_csr_ring_base_addr() 16 static u32 17 read_csr_ring_head(struct resource *csr_base_addr, u32 bank, u32 ring) in read_csr_ring_head() 24 u32 bank, in write_csr_ring_head() 25 u32 ring, in write_csr_ring_head() 26 u32 value) in write_csr_ring_head() 31 static u32 32 read_csr_ring_tail(struct resource *csr_base_addr, u32 bank, u32 ring) in read_csr_ring_tail() 39 u32 bank, in write_csr_ring_tail() 40 u32 ring, in write_csr_ring_tail() [all …]
|
H A D | adf_gen2_hw_data.c | 7 build_csr_ring_base_addr(bus_addr_t addr, u32 size) in build_csr_ring_base_addr() 12 static u32 13 read_csr_ring_head(struct resource *csr_base_addr, u32 bank, u32 ring) in read_csr_ring_head() 20 u32 bank, in write_csr_ring_head() 21 u32 ring, in write_csr_ring_head() 22 u32 value) in write_csr_ring_head() 27 static u32 28 read_csr_ring_tail(struct resource *csr_base_addr, u32 bank, u32 ring) in read_csr_ring_tail() 35 u32 bank, in write_csr_ring_tail() 36 u32 ring, in write_csr_ring_tail() [all …]
|
/freebsd/sys/contrib/dev/iwlwifi/fw/ |
H A D | dump.c | 27 * read with u32-sized accesses, any members with a different size 31 u32 valid; /* (nonzero) valid, (0) log is empty */ 32 u32 error_id; /* type of error */ 33 u32 trm_hw_status0; /* TRM HW status */ 34 u32 trm_hw_status1; /* TRM HW status */ 35 u32 blink2; /* branch link */ 36 u32 ilink1; /* interrupt link */ 37 u32 ilink2; /* interrupt link */ 38 u32 data1; /* error-specific data */ 39 u32 data [all...] |
/freebsd/sys/contrib/dev/rtw88/ |
H A D | hci.h | 14 void (*flush_queues)(struct rtw_dev *rtwdev, u32 queues, bool drop); 22 int (*write_data_rsvd_page)(struct rtw_dev *rtwdev, u8 *buf, u32 size); 23 int (*write_data_h2c)(struct rtw_dev *rtwdev, u8 *buf, u32 size); 25 u8 (*read8)(struct rtw_dev *rtwdev, u32 addr); 26 u16 (*read16)(struct rtw_dev *rtwdev, u32 addr); 27 u32 (*read32)(struct rtw_dev *rtwdev, u32 addr); 28 void (*write8)(struct rtw_dev *rtwdev, u32 addr, u8 val); 29 void (*write16)(struct rtw_dev *rtwdev, u32 addr, u16 val); 30 void (*write32)(struct rtw_dev *rtwdev, u32 addr, u32 val); 76 rtw_hci_write_data_rsvd_page(struct rtw_dev *rtwdev, u8 *buf, u32 size) in rtw_hci_write_data_rsvd_page() [all …]
|
/freebsd/sys/contrib/dev/rtw89/ |
H A D | cam.h | 15 static inline void FWCMD_SET_ADDR_IDX(void *cmd, u32 value) in FWCMD_SET_ADDR_IDX() 20 static inline void FWCMD_SET_ADDR_OFFSET(void *cmd, u32 value) in FWCMD_SET_ADDR_OFFSET() 25 static inline void FWCMD_SET_ADDR_LEN(void *cmd, u32 value) in FWCMD_SET_ADDR_LEN() 30 static inline void FWCMD_SET_ADDR_VALID(void *cmd, u32 value) in FWCMD_SET_ADDR_VALID() 35 static inline void FWCMD_SET_ADDR_NET_TYPE(void *cmd, u32 value) in FWCMD_SET_ADDR_NET_TYPE() 40 static inline void FWCMD_SET_ADDR_BCN_HIT_COND(void *cmd, u32 value) in FWCMD_SET_ADDR_BCN_HIT_COND() 45 static inline void FWCMD_SET_ADDR_HIT_RULE(void *cmd, u32 value) in FWCMD_SET_ADDR_HIT_RULE() 50 static inline void FWCMD_SET_ADDR_BB_SEL(void *cmd, u32 value) in FWCMD_SET_ADDR_BB_SEL() 55 static inline void FWCMD_SET_ADDR_ADDR_MASK(void *cmd, u32 value) in FWCMD_SET_ADDR_ADDR_MASK() 60 static inline void FWCMD_SET_ADDR_MASK_SEL(void *cmd, u32 valu [all...] |