Home
last modified time | relevance | path

Searched refs:nitems (Results 1 – 25 of 122) sorted by relevance

12345

/haiku/src/add-ons/kernel/drivers/network/wlan/realtekwifi/dev/rtwn/rtl8812a/
H A Dr12a_priv.h168 nitems(rtl8812au_bb_regs0),
182 nitems(rtl8812au_bb_regs1),
196 nitems(rtl8812au_bb_regs1),
204 nitems(rtl8812au_bb_regs2),
289 nitems(rtl8812au_agc_vals0_lna_g0),
296 nitems(rtl8812au_agc_vals0_lna_g5),
303 nitems(rtl8812au_agc_vals0),
314 nitems(rtl8812au_agc_vals1_lna_a0),
321 nitems(rtl8812au_agc_vals1),
493 nitems(rtl8812au_rf0_regs0),
[all …]
H A Dr12a_calib.c211 uint32_t bb_vals[nitems(r12a_iq_bb_regs)]; in r12a_iq_calib_sw()
212 uint32_t afe_vals[nitems(r12a_iq_afe_regs)]; in r12a_iq_calib_sw()
213 uint32_t rf_vals[nitems(r12a_iq_rf_regs) * R12A_MAX_NRXCHAINS]; in r12a_iq_calib_sw()
221 nitems(r12a_iq_bb_regs)); in r12a_iq_calib_sw()
229 nitems(r12a_iq_afe_regs)); in r12a_iq_calib_sw()
231 nitems(r12a_iq_rf_regs)); in r12a_iq_calib_sw()
240 nitems(r12a_iq_rf_regs)); in r12a_iq_calib_sw()
242 nitems(r12a_iq_afe_regs)); in r12a_iq_calib_sw()
269 nitems(r12a_iq_bb_regs)); in r12a_iq_calib_sw()
/haiku/src/add-ons/kernel/drivers/network/wlan/realtekwifi/dev/rtwn/rtl8821a/
H A Dr21a_priv.h132 nitems(rtl8821au_bb_regs),
187 nitems(rtl8821au_agc_vals0),
196 nitems(rtl8821au_agc_vals1_pa_lna_5g),
203 nitems(rtl8821au_agc_vals1),
210 nitems(rtl8821au_agc_vals2),
334 nitems(rtl8821au_rf_regs0),
344 nitems(rtl8821au_rf_regs1),
352 nitems(rtl8821au_rf_regs1),
360 nitems(rtl8821au_rf_regs1),
372 nitems(rtl8821au_rf_regs2),
[all …]
H A Dr21a_calib.c77 uint32_t saved_bb_vals[nitems(r21a_iq_bb_regs)]; in r21a_iq_calib_sw()
78 uint32_t saved_afe_vals[nitems(r21a_iq_afe_regs)]; in r21a_iq_calib_sw()
79 uint32_t saved_rf_vals[nitems(r21a_iq_rf_regs) * R21A_MAX_NRXCHAINS]; in r21a_iq_calib_sw()
89 nitems(r21a_iq_bb_regs)); in r21a_iq_calib_sw()
91 nitems(r21a_iq_afe_regs)); in r21a_iq_calib_sw()
93 nitems(r21a_iq_rf_regs)); in r21a_iq_calib_sw()
103 nitems(r21a_iq_rf_regs)); in r21a_iq_calib_sw()
105 nitems(r21a_iq_afe_regs)); in r21a_iq_calib_sw()
121 nitems(r21a_iq_bb_regs)); in r21a_iq_calib_sw()
/haiku/src/add-ons/kernel/drivers/network/wlan/realtekwifi/dev/rtwn/rtl8192c/usb/
H A Dr92cu_priv.h179 nitems(rtl8192cu_bb_regs0),
185 nitems(rtl8192cu_bb_regs0_88ru),
191 nitems(rtl8192cu_bb_regs0),
201 nitems(rtl8192cu_bb_regs1),
207 nitems(rtl8192cu_bb_regs1),
213 nitems(rtl8192cu_bb_regs1),
222 nitems(rtl8192cu_bb_regs2),
230 nitems(rtl8192c_bb_regs3),
236 nitems(rtl8192c_bb_regs3),
244 nitems(rtl8192c_bb_regs4),
[all …]
H A Dr92cu_attach.c71 sc->agc_size = nitems(rtl8188ru_agc); in r92cu_postattach()
75 sc->agc_size = nitems(rtl8192ce_agc); in r92cu_postattach()
217 sc->mac_size = nitems(rtl8192cu_mac); in r92cu_attach()
219 sc->bb_size = nitems(rtl8192cu_bb); in r92cu_attach()
/haiku/src/add-ons/kernel/drivers/network/wlan/realtekwifi/dev/rtwn/rtl8192c/
H A Dr92c_priv.h126 nitems(rtl8192ce_agc_vals),
212 nitems(rtl8192c_rf0_regs0),
218 nitems(rtl8192c_rf0_regs0),
227 nitems(rtl8192c_rf0_regs1),
233 nitems(rtl8192c_rf0_regs1),
239 nitems(rtl8192c_rf0_regs1),
248 nitems(rtl8192c_rf0_regs2),
256 nitems(rtl8192c_rf0_regs3),
262 nitems(rtl8192c_rf0_regs3),
268 nitems(rtl8192c_rf0_regs3),
[all …]
/haiku/src/libs/compat/freebsd_wlan/net80211/
H A Dieee80211_action.c88 if (act >= nitems(ba_send_action)) in ieee80211_send_action_register()
93 if (act >= nitems(ht_send_action)) in ieee80211_send_action_register()
98 if (act >= nitems(meshpl_send_action)) in ieee80211_send_action_register()
103 if (act >= nitems(meshaction_send_action)) in ieee80211_send_action_register()
108 if (act >= nitems(vendor_send_action)) in ieee80211_send_action_register()
113 if (act >= nitems(vht_send_action)) in ieee80211_send_action_register()
134 if (act < nitems(ba_send_action)) in ieee80211_send_action()
138 if (act < nitems(ht_send_action)) in ieee80211_send_action()
142 if (act < nitems(meshpl_send_action)) in ieee80211_send_action()
146 if (act < nitems(meshaction_send_action)) in ieee80211_send_action()
[all …]
H A Dieee80211_regdomain.c128 int nchan = nitems(def_chan_2ghz); in ieee80211_init_channels()
140 nchans, def_chan_5ghz_band1, nitems(def_chan_5ghz_band1), in ieee80211_init_channels()
143 nchans, def_chan_5ghz_band2, nitems(def_chan_5ghz_band2), in ieee80211_init_channels()
146 nchans, def_chan_5ghz_band3, nitems(def_chan_5ghz_band3), in ieee80211_init_channels()
158 nchans, def_chan_5ghz_band1, nitems(def_chan_5ghz_band1), in ieee80211_init_channels()
161 nchans, def_chan_5ghz_band2, nitems(def_chan_5ghz_band2), in ieee80211_init_channels()
164 nchans, def_chan_5ghz_band3, nitems(def_chan_5ghz_band3), in ieee80211_init_channels()
/haiku/src/add-ons/kernel/drivers/network/wlan/realtekwifi/dev/rtwn/rtl8192c/pci/
H A Dr92ce_priv.h125 nitems(rtl8192ce_bb_regs0),
130 nitems(rtl8192ce_bb_regs0),
138 nitems(rtl8192ce_bb_regs1),
145 nitems(rtl8192c_bb_regs3),
150 nitems(rtl8192c_bb_regs3),
158 nitems(rtl8192c_bb_regs4),
165 nitems(rtl8192c_bb_regs5),
170 nitems(rtl8192c_bb_regs5),
H A Dr92ce_calib.c148 for (i = 0; i < nitems(reg_adda); i++) in r92ce_iq_calib_run()
159 for (i = 1; i < nitems(reg_adda); i++) in r92ce_iq_calib_run()
162 for (i = 0; i < nitems(reg_adda); i++) in r92ce_iq_calib_run()
217 for (i = 0; i < nitems(reg_adda); i++) in r92ce_iq_calib_run()
271 for (i = 0; i < nitems(reg_adda); i++) in r92ce_iq_calib_run()
H A Dr92ce_attach.c225 sc->mac_size = nitems(rtl8192ce_mac); in r92ce_attach()
227 sc->bb_size = nitems(rtl8192ce_bb); in r92ce_attach()
229 sc->agc_size = nitems(rtl8192ce_agc); in r92ce_attach()
/haiku/src/add-ons/kernel/drivers/network/wlan/realtekwifi/dev/rtwn/rtl8192e/
H A Dr92e_priv.h139 nitems(rtl8192eu_bb_regs),
178 nitems(rtl8192eu_agc_vals),
240 nitems(rtl8192eu_rf0_regs),
249 nitems(rtl8192eu_rf1_regs),
/haiku/src/libs/compat/freebsd_iflib/
H A Dnvlist.c256 size_t nitems; in nvlist_update_size() local
274 nvlarray = nvpair_get_nvlist_array(new, &nitems); in nvlist_update_size()
275 PJDLOG_ASSERT(nitems > 0); in nvlist_update_size()
277 size += (nvpair_header_size() + 1) * nitems; in nvlist_update_size()
278 for (ii = 0; ii < nitems; ii++) { in nvlist_update_size()
552 size_t nitems; in nvlist_dump() local
554 value = nvpair_get_bool_array(nvp, &nitems); in nvlist_dump()
556 for (ii = 0; ii < nitems; ii++) { in nvlist_dump()
558 if (ii != nitems - 1) in nvlist_dump()
568 size_t nitems; in nvlist_dump() local
[all …]
H A Dnv_impl.h131 nvpair_t *nvpair_create_bool_array(const char *name, const bool *value, size_t nitems);
132 nvpair_t *nvpair_create_number_array(const char *name, const uint64_t *value, size_t nitems);
133 nvpair_t *nvpair_create_string_array(const char *name, const char * const *value, size_t nitems);
134 nvpair_t *nvpair_create_nvlist_array(const char *name, const nvlist_t * const *value, size_t nitems
135 nvpair_t *nvpair_create_descriptor_array(const char *name, const int *value, size_t nitems);
141 nvpair_t *nvpair_move_bool_array(const char *name, bool *value, size_t nitems);
142 nvpair_t *nvpair_move_nvlist_array(const char *name, nvlist_t **value, size_t nitems);
143 nvpair_t *nvpair_move_descriptor_array(const char *name, int *value, size_t nitems);
144 nvpair_t *nvpair_move_number_array(const char *name, uint64_t *value, size_t nitems);
145 nvpair_t *nvpair_move_string_array(const char *name, char **value, size_t nitems);
/haiku/src/add-ons/kernel/drivers/network/wlan/realtekwifi/dev/rtwn/rtl8188e/
H A Dr88e_priv.h138 nitems(rtl8188e_bb_regs),
177 nitems(rtl8188e_agc_vals),
219 nitems(rtl8188e_rf_regs),
H A Dr88e_rom.c66 for (i = 0; i < nitems(rom->cck_tx_pwr); i++) in r88e_parse_rom()
68 for (i = 0; i < nitems(rom->ht40_tx_pwr); i++) in r88e_parse_rom()
/haiku/src/libs/compat/freebsd_iflib/compat/sys/
H A Dnv.h156 void nvlist_add_bool_array(nvlist_t *nvl, const char *name, const bool *value, size_t nitems);
157 void nvlist_add_number_array(nvlist_t *nvl, const char *name, const uint64_t *value, size_t nitems);
158 …nvlist_add_string_array(nvlist_t *nvl, const char *name, const char * const *value, size_t nitems);
159 …st_add_nvlist_array(nvlist_t *nvl, const char *name, const nvlist_t * const *value, size_t nitems);
162 void nvlist_add_descriptor_array(nvlist_t *nvl, const char *name, const int *value, size_t nitems);
181 void nvlist_move_bool_array(nvlist_t *nvl, const char *name, bool *value, size_t nitems);
182 void nvlist_move_string_array(nvlist_t *nvl, const char *name, char **value, size_t nitems);
183 void nvlist_move_nvlist_array(nvlist_t *nvl, const char *name, nvlist_t **value, size_t nitems);
184 void nvlist_move_number_array(nvlist_t *nvl, const char *name, uint64_t *value, size_t nitems);
187 void nvlist_move_descriptor_array(nvlist_t *nvl, const char *name, int *value, size_t nitems);
/haiku/src/add-ons/kernel/drivers/network/wlan/realtekwifi/dev/rtwn/rtl8821a/usb/
H A Dr21au_attach.c108 KASSERT(rvp->id >= 0 && rvp->id <= nitems(rs->rs_newstate), in r21au_vap_preattach()
238 sc->chan_num_5ghz[0] = nitems(r12a_chan_5ghz_0); in r21au_attach()
239 sc->chan_num_5ghz[1] = nitems(r12a_chan_5ghz_1); in r21au_attach()
240 sc->chan_num_5ghz[2] = nitems(r12a_chan_5ghz_2); in r21au_attach()
243 sc->mac_size = nitems(rtl8821au_mac); in r21au_attach()
245 sc->bb_size = nitems(rtl8821au_bb); in r21au_attach()
247 sc->agc_size = nitems(rtl8821au_agc); in r21au_attach()
/haiku/src/libs/bsd/
H A Dfts.c148 size_t len, nitems; in fts_open() local
189 for (root = NULL, nitems = 0; *argv != NULL; ++argv, ++nitems) { in fts_open()
219 if (compar && nitems > 1) in fts_open()
220 root = fts_sort(sp, root, nitems); in fts_open()
685 size_t dnamlen, len, maxlen, nitems; in fts_build() local
795 for (head = tail = NULL, nitems = 0; in fts_build()
880 ++nitems; in fts_build()
889 cur->fts_info = nitems ? FTS_ERR : FTS_DNR; in fts_build()
916 if (descend && (type == BCHILD || !nitems) && in fts_build()
927 if (!nitems) { in fts_build()
[all …]
/haiku/src/add-ons/kernel/drivers/network/wlan/realtekwifi/dev/rtwn/rtl8812a/usb/
H A Dr12au_attach.c252 sc->chan_num_5ghz[0] = nitems(r12a_chan_5ghz_0); in r12au_attach()
253 sc->chan_num_5ghz[1] = nitems(r12a_chan_5ghz_1); in r12au_attach()
254 sc->chan_num_5ghz[2] = nitems(r12a_chan_5ghz_2); in r12au_attach()
257 sc->mac_size = nitems(rtl8812au_mac); in r12au_attach()
259 sc->bb_size = nitems(rtl8812au_bb); in r12au_attach()
261 sc->agc_size = nitems(rtl8812au_agc); in r12au_attach()
/haiku/src/libs/compat/openbsd_wlan/net80211/
H A Dieee80211_regdomain.c101 nitems(ieee80211_r_ctry), sizeof(struct ieee80211_countryname), in ieee80211_name2countrycode()
118 nitems(ieee80211_r_names), sizeof(struct ieee80211_regdomainname), in ieee80211_name2regdomain()
179 for (i = 0; i < nitems(ieee80211_r_ctry); i++) in ieee80211_countrycode2regdomain()
/haiku/src/add-ons/kernel/drivers/network/wlan/broadcom43xx/dev/bwi/
H A Dbwiphy.c187 for (i = 0; i < nitems(bwi_sup_bphy); ++i) { in bwi_phy_attach()
193 if (i == nitems(bwi_sup_bphy)) { in bwi_phy_attach()
761 for (i = 0; i < nitems(bwi_phy_freq_11g_rev1); ++i) { in bwi_phy_config_11g()
767 for (i = 0; i < nitems(bwi_phy_noise_11g_rev1); ++i) { in bwi_phy_config_11g()
773 for (i = 0; i < nitems(bwi_phy_rotor_11g_rev1); ++i) { in bwi_phy_config_11g()
796 for (i = 0; i < nitems(bwi_phy_noise_11g); ++i) { in bwi_phy_config_11g()
807 n = nitems(bwi_phy_noise_scale_11g_rev2); in bwi_phy_config_11g()
810 n = nitems(bwi_phy_noise_scale_11g_rev7); in bwi_phy_config_11g()
813 n = nitems(bwi_phy_noise_scale_11g); in bwi_phy_config_11g()
823 n = nitems(bwi_phy_sigma_sq_11g_rev2); in bwi_phy_config_11g()
[all …]
/haiku/src/add-ons/kernel/drivers/network/wlan/realtekwifi/dev/rtwn/rtl8192e/usb/
H A Dr92eu_attach.c168 sc->mac_size = nitems(rtl8192eu_mac); in r92eu_attach()
170 sc->bb_size = nitems(rtl8192eu_bb); in r92eu_attach()
172 sc->agc_size = nitems(rtl8192eu_agc); in r92eu_attach()
/haiku/src/add-ons/kernel/drivers/network/wlan/realtekwifi/dev/rtwn/rtl8188e/usb/
H A Dr88eu_attach.c188 sc->mac_size = nitems(rtl8188e_mac); in r88eu_attach()
190 sc->bb_size = nitems(rtl8188e_bb); in r88eu_attach()
192 sc->agc_size = nitems(rtl8188e_agc); in r88eu_attach()

12345