Home
last modified time | relevance | path

Searched refs:ARRAY_LENGTH (Results 1 – 10 of 10) sorted by relevance

/freebsd/sys/contrib/dev/ath/ath_hal/ar9300/
H A Dar9300_attach.c883 ARRAY_LENGTH(ar9331_hornet1_2_mac_core), 2); in ar9300_attach()
886 ARRAY_LENGTH(ar9331_hornet1_2_mac_postamble), 5); in ar9300_attach()
892 ARRAY_LENGTH(ar9331_hornet1_2_baseband_core), 2); in ar9300_attach()
895 ARRAY_LENGTH(ar9331_hornet1_2_baseband_postamble), 5); in ar9300_attach()
901 ARRAY_LENGTH(ar9331_hornet1_2_radio_core), 2); in ar9300_attach()
907 ARRAY_LENGTH(ar9331_hornet1_2_soc_preamble), 2); in ar9300_attach()
911 ARRAY_LENGTH(ar9331_hornet1_2_soc_postamble), 2); in ar9300_attach()
916 ARRAY_LENGTH(ar9331_common_rx_gain_hornet1_2), 2); in ar9300_attach()
919 ARRAY_LENGTH(ar9331_modes_lowest_ob_db_tx_gain_hornet1_2), 5); in ar9300_attach()
926 ARRAY_LENGTH( in ar9300_attach()
[all …]
H A Dar9300_radar.c390 ARRAY_LENGTH(ar9300_fcc_radars) - AR9300_FCC_RADARS_FCC_OFFSET;
392 *numb5radars = ARRAY_LENGTH(ar9300_bin5pulses);
397 *numradars = ARRAY_LENGTH(ar9300_etsi_radars);
399 *numb5radars = ARRAY_LENGTH(ar9300_bin5pulses);
404 *numradars = ARRAY_LENGTH(ar9300_fcc_radars);
406 *numb5radars = ARRAY_LENGTH(ar9300_bin5pulses);
H A Dar9300_gpio.c171 if ((int) hal_signal_type < ARRAY_LENGTH(mux_signal_conversion_table)) in ar9300_gpio_cfg_output()
290 if ((int) halSignalType < ARRAY_LENGTH(mux_signal_conversion_table)) in ar9300_gpio_cfg_output_led_off()
462 for (i = 0; i < ARRAY_LENGTH(regs); i++) { in ar9300_gpio_set_intr()
489 for (i = 0; i < ARRAY_LENGTH(regs); i++) { in ar9300_gpio_set_intr()
H A Dar9300_ani.c184 for (i = 0; i < ARRAY_LENGTH(ahp->ah_ani); i++) { in ar9300_get_ani_channel_index()
231 for (i = 0; i < ARRAY_LENGTH(ahp->ah_ani); i++) { in ar9300_ani_attach()
600 if (level >= ARRAY_LENGTH(firstep_table)) { in ar9300_ani_control()
603 __func__, level, (unsigned) ARRAY_LENGTH(firstep_table)); in ar9300_ani_control()
658 if (level >= ARRAY_LENGTH(cycpwr_thr1_table)) { in ar9300_ani_control()
662 __func__, level, (unsigned) ARRAY_LENGTH(cycpwr_thr1_table)); in ar9300_ani_control()
H A Dar9300_eeprom.c2637 ARRAY_LENGTH(ctl_modes_for11g) - SUB_NUM_CTL_MODES_AT_2G_40; in ar9300_eeprom_set_power_per_rate_table()
2641 num_ctl_modes = ARRAY_LENGTH(ctl_modes_for11g); /* All 2G CTL's */ in ar9300_eeprom_set_power_per_rate_table()
2647 ARRAY_LENGTH(ctl_modes_for11a) - SUB_NUM_CTL_MODES_AT_5G_40; in ar9300_eeprom_set_power_per_rate_table()
2651 num_ctl_modes = ARRAY_LENGTH(ctl_modes_for11a); /* All 5G CTL's */ in ar9300_eeprom_set_power_per_rate_table()
3499 for (j = 0; j < ARRAY_LENGTH(eep->modal_header); j++) { in ar9300_check_eeprom()
3621 return ARRAY_LENGTH(default9300); in ar9300_eeprom_struct_default_many()
3629 default_index < ARRAY_LENGTH(default9300)) in ar9300_eeprom_struct_default()
3642 for (it = 0; it < ARRAY_LENGTH(default9300); it++) { in ar9300_eeprom_struct_default_find_by_id()
4396 for (it = 0; it < ARRAY_LENGTH(default9300); it++) { in ar9300_eeprom_template_swap()
H A Dar9300.h35 #define ARRAY_LENGTH(a) (sizeof(a) / sizeof((a)[0])) macro
/freebsd/usr.sbin/moused/moused/
H A Dutil-evdev.c34 #define ARRAY_LENGTH(a) (sizeof(a) / (sizeof((a)[0]))) macro
63 for (i = 0; i < ARRAY_LENGTH(ev_names); ++i) { in type_from_prefix()
130 entry = lookup_name(code_names, ARRAY_LENGTH(code_names), &lookup); in libevdev_event_code_from_name()
144 entry = lookup_name(ev_names, ARRAY_LENGTH(ev_names), &lookup); in libevdev_event_type_from_name_n()
164 entry = lookup_name(prop_names, ARRAY_LENGTH(prop_names), &lookup); in libevdev_property_from_name_n()
H A Dutil.c316 if (!strv || ncodes == 0 || ncodes > ARRAY_LENGTH(evs)) in parse_evcode_property()
383 if (!strv || count == 0 || count > ARRAY_LENGTH(props)) in parse_input_prop_property()
H A Dutil.h41 #define ARRAY_LENGTH(a) (sizeof (a) / sizeof (a)[0]) macro
48 _elem < (_arr) + ARRAY_LENGTH(_arr); \
H A Dquirks.c593 unsigned int product[ARRAY_LENGTH(s->match.product)] = {0}; in parse_match()
594 const size_t max = ARRAY_LENGTH(s->match.product) - 1; in parse_match()
836 size_t nevents = ARRAY_LENGTH(events); in parse_attr()
855 size_t nprops = ARRAY_LENGTH(props); in parse_attr()
1652 size_t max = ARRAY_LENGTH(p->value.tuples.tuples); in quirk_merge_event_codes()