/freebsd/sys/compat/linuxkpi/common/include/linux/ |
H A D | minmax.h | 58 #define max_t(type, x, y) ({ \ macro 63 #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/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() 431 new_rule->dfs_cac_ms = max_t(u32, rule1->dfs_cac_ms, in ath11k_reg_intersect_rules() 579 start_freq = max_t(u32, reg_rule->start_freq, in ath11k_reg_update_weather_radar_band()
|
/freebsd/sys/contrib/dev/mediatek/mt76/ |
H A D | mcu.c | 15 len = max_t(int, len, data_len); in __mt76_mcu_msg_alloc()
|
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() 557 dev->coverage_class = max_t(s16, coverage_class, 0); in mt76x02_set_coverage_class()
|
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/mediatek/mt76/mt7603/ |
H A D | init.c | 365 delta_off = max_t(u8, *delay_off / 10, 1); in mt7603_led_set_blink() 366 delta_on = max_t(u8, *delay_on / 10, 1); in mt7603_led_set_blink()
|
/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/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/iwlwifi/pcie/ |
H A D | tx.c | 859 slots_num = max_t(u32, IWL_CMD_QUEUE_SIZE, in iwl_trans_pcie_txq_disable() 862 slots_num = max_t(u32, IWL_DEFAULT_QUEUE_SIZE, in iwl_trans_pcie_txq_disable() 978 slots_num = max_t(u32, IWL_CMD_QUEUE_SIZE, in iwl_pcie_enqueue_hcmd() 981 slots_num = max_t(u32, IWL_DEFAULT_QUEUE_SIZE, in iwl_pcie_enqueue_hcmd()
|
H A D | trans-gen2.c | 235 int queue_size = max_t(u32, IWL_CMD_QUEUE_SIZE, in iwl_pcie_gen2_nic_init()
|
/freebsd/sys/contrib/dev/athk/ath12k/ |
H A D | reg.c | 372 new_rule->freq_range.start_freq_khz = max_t(u32, start_freq1, 393 new_rule->dfs_cac_ms = max_t(u32, rule1->dfs_cac_ms,
|
/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 | 428 *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/dev/ena/ |
H A D | ena.h | 544 #define clamp_t(type, _x, min, max) min_t(type, max_t(type, _x, min), max)
|
/freebsd/sys/dev/bnxt/bnxt_en/ |
H A D | bnxt.h | 274 #define max_t(type, x, y) ({ \ macro 279 #define clamp_t(type, _x, min, max) min_t(type, max_t(type, _x, min), max)
|
/freebsd/sys/contrib/ena-com/ |
H A D | ena_plat.h | 228 #define max_t(type, _x, _y) ((type)(_x) > (type)(_y) ? (type)(_x) : (type)(_y)) macro
|