| /freebsd/sys/contrib/dev/iwlwifi/pcie/ |
| H A D | utils.c | 33 alloc_size = max_t(u32, alloc_size, PCI_DUMP_SIZE + PREFIX_LEN); in iwl_trans_pcie_dump_regs() 34 alloc_size = max_t(u32, alloc_size, PCI_MEM_DUMP_SIZE + PREFIX_LEN); in iwl_trans_pcie_dump_regs() 35 alloc_size = max_t(u32, alloc_size, PCI_PARENT_DUMP_SIZE + PREFIX_LEN); in iwl_trans_pcie_dump_regs()
|
| /freebsd/sys/compat/linuxkpi/common/include/linux/ |
| H A D | minmax.h | 58 #define max_t(type, x, y) ({ \ macro 66 #define clamp_t(type, _x, min, max) min_t(type, max_t(type, _x, min), max)
|
| /freebsd/sys/dev/axgbe/ |
| H A D | xgbe-dcb.c | 155 max_tc = max_t(u8, max_tc, ets->prio_tc[i]); 157 max_tc = max_t(u8, max_tc, i);
|
| H A D | xgbe_osdep.h | 198 #define max_t(t, a, b) MAX((t)(a), (t)(b)) macro
|
| /freebsd/sys/dev/enic/ |
| H A D | enic_res.c | 83 max_t(u32, ENIC_MIN_WQ_DESCS, in enic_get_vnic_config() 89 max_t(u32, ENIC_MIN_RQ_DESCS, in enic_get_vnic_config()
|
| H A D | enic_compat.h | 60 #define max_t(type, x, y) ({ \ macro
|
| /freebsd/contrib/ofed/libmlx5/ |
| H A D | config.h | 8 #define max_t(type, x, y) ({ \ macro
|
| /freebsd/sys/contrib/dev/broadcom/brcm80211/brcmfmac/ |
| H A D | vendor.c | 58 payload = max_t(unsigned int, ret_len, len) + 1; in brcmf_cfg80211_vndr_cmds_dcmd_handler()
|
| /freebsd/sys/contrib/dev/mediatek/mt76/ |
| H A D | mt76x02_util.c | 119 delta_off = max_t(u8, *delay_off / 10, 1); in mt76x02_led_set_blink() 120 delta_on = max_t(u8, *delay_on / 10, 1); in mt76x02_led_set_blink() 556 dev->coverage_class = max_t(s16, coverage_class, 0); in mt76x02_set_coverage_class()
|
| H A D | mcu.c | 15 len = max_t(int, len, data_len); in __mt76_mcu_msg_alloc()
|
| H A D | scan.c | 117 duration = max_t(int, duration, in mt76_scan_work()
|
| H A D | mt76x02_mac.c | 455 nss = max_t(int, nss - 1, 1); in mt76x02_tx_rate_fallback() 470 rates[1].idx = max_t(int, rates[0].idx - 1, 0); in mt76x02_tx_rate_fallback() 513 info->status.rates[i].count = max_t(int, retry, 1); in mt76x02_mac_fill_tx_status()
|
| /freebsd/sys/dev/cxgb/ |
| H A D | cxgb_osdep.h | 134 #define max_t(type, a, b) (type)max((a), (b)) macro
|
| /freebsd/contrib/ofed/libirdma/ |
| H A D | osdep.h | 73 #define WQ_UNBOUND_MAX_ACTIVE max_t(int, 512, num_possible_cpus() * 4)
|
| /freebsd/sys/contrib/dev/athk/ath11k/ |
| H A D | reg.c | 410 new_rule->freq_range.start_freq_khz = max_t(u32, start_freq1, in ath11k_reg_intersect_rules() 436 new_rule->dfs_cac_ms = max_t(u32, rule1->dfs_cac_ms, in ath11k_reg_intersect_rules() 585 start_freq = max_t(u32, reg_rule->start_freq, in ath11k_reg_update_weather_radar_band()
|
| /freebsd/sys/dev/qlnx/qlnxe/ |
| H A D | bcm_osal.h | 105 #define max_t(type, val1, val2) \ macro 410 #define OSAL_MAX_T(type, __max1, __max2) max_t(type, __max1, __max2)
|
| /freebsd/sys/contrib/dev/mediatek/mt76/mt7603/ |
| H A D | init.c | 373 delta_off = max_t(u8, *delay_off / 10, 1); in mt7603_led_set_blink() 374 delta_on = max_t(u8, *delay_on / 10, 1); in mt7603_led_set_blink()
|
| /freebsd/sys/dev/irdma/ |
| H A D | osdep.h | 80 #define WQ_UNBOUND_MAX_ACTIVE max_t(int, 512, num_possible_cpus() * 4)
|
| /freebsd/sys/contrib/dev/mediatek/mt76/mt7615/ |
| H A D | init.c | 511 delta_off = max_t(u8, *delay_off / 10, 1); in mt7615_led_set_blink() 512 delta_on = max_t(u8, *delay_on / 10, 1); in mt7615_led_set_blink()
|
| /freebsd/sys/dev/bnxt/bnxt_re/ |
| H A D | qplib_res.c | 685 res_cnt = max_t(u32, BNXT_QPLIB_MAX_QPC_COUNT + 1, dattr->max_qp); in bnxt_qplib_alloc_reftbls() 694 res_cnt = max_t(u32, max_cq, dattr->max_cq); in bnxt_qplib_alloc_reftbls() 700 res_cnt = max_t(u32, BNXT_QPLIB_MAX_SRQC_COUNT, dattr->max_cq); in bnxt_qplib_alloc_reftbls()
|
| H A D | qplib_sp.h | 437 *max_sgid = max_t(u32, 256, *max_sgid); in bnxt_re_set_max_gid()
|
| /freebsd/sys/dev/mlx5/mlx5_en/ |
| H A D | mlx5_en_port_buffer.c | 136 speed = max_t(u32, speed, SPEED_40000); in calculate_xoff()
|
| /freebsd/sys/contrib/dev/iwlwifi/mld/ |
| H A D | power.c | 197 skip = max_t(int, 1, 900 / dtimper_tu); in iwl_mld_power_config_skip_dtim()
|
| /freebsd/sys/contrib/dev/rtw89/ |
| H A D | chan.c | 1205 lower = max_t(s16, 0, ref->duration - (mcc_intvl - bcn_ofst)); in __rtw89_mcc_calc_pattern_loose() 1209 lower = max_t(s16, lower, ref->duration - ref->limit.max_tob); in __rtw89_mcc_calc_pattern_loose() 1213 lower = max_t(s16, lower, res - aux->limit.max_tob); in __rtw89_mcc_calc_pattern_loose() 1285 lower_toa_ref = max_t(s16, lower_toa_ref, in __rtw89_mcc_calc_pattern_strict() 1295 lower_tob_aux = max_t(s16, lower_tob_aux, in __rtw89_mcc_calc_pattern_strict() 1301 lower_toa_ref = max_t(s16, lower_toa_ref, in __rtw89_mcc_calc_pattern_strict() 1584 p->parm[ordered_idx].room = max_t(s32, p->parm[ordered_idx].dur - min, 0); in rtw89_mcc_mod_dur_get_iterator()
|
| /freebsd/sys/dev/ena/ |
| H A D | ena.h | 546 #define clamp_t(type, _x, min, max) min_t(type, max_t(type, _x, min), max)
|