| /linux/drivers/net/wireless/intel/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()
|
| /linux/drivers/gpu/drm/nouveau/nvkm/subdev/therm/ |
| H A D | temp.c | 50 s->thrs_fan_boost.hysteresis = max_t(u8, s->thrs_fan_boost.hysteresis, 2); in nvkm_therm_temp_safety_checks() 51 s->thrs_down_clock.hysteresis = max_t(u8, s->thrs_down_clock.hysteresis, 2); in nvkm_therm_temp_safety_checks() 52 s->thrs_critical.hysteresis = max_t(u8, s->thrs_critical.hysteresis, 2); in nvkm_therm_temp_safety_checks() 53 s->thrs_shutdown.hysteresis = max_t(u8, s->thrs_shutdown.hysteresis, 2); in nvkm_therm_temp_safety_checks()
|
| /linux/drivers/scsi/snic/ |
| H A D | snic_res.c | 51 max_t(u32, in snic_get_vnic_config() 59 max_t(u32, in snic_get_vnic_config() 65 max_t(u32, in snic_get_vnic_config() 79 max_t(u32, in snic_get_vnic_config()
|
| /linux/tools/perf/scripts/python/ |
| H A D | powerpc-hcalls.py | 302 max_t = output[opcode]['max'] 304 print(print_ptrn % (h_name, cnt, min_t, max_t, time//cnt))
|
| /linux/fs/coda/ |
| H A D | upcall.c | 71 #define SIZE(tag) max_t(unsigned int, INSIZE(tag), OUTSIZE(tag)) 140 insize = max_t(unsigned int, offset + length +1, OUTSIZE(lookup)); in venus_lookup() 211 insize = max_t(unsigned int, offset + length + 1, OUTSIZE(mkdir)); in venus_mkdir() 243 insize = max_t(unsigned int, offset + new_length + old_length + 8, in venus_rename() 279 insize = max_t(unsigned int, offset + length + 1, OUTSIZE(create)); in venus_create() 311 insize = max_t(unsigned int, offset + length + 1, OUTSIZE(rmdir)); in venus_rmdir() 333 insize = max_t(unsigned int, offset + length + 1, OUTSIZE(remove)); in venus_remove() 356 insize = max_t(unsigned int, in venus_readlink() 388 insize = max_t(unsigned int, offset + len + 1, OUTSIZE(link)); in venus_link() 415 insize = max_t(unsigned int, offset + len + symlen + 8, OUTSIZE(symlink)); in venus_symlink()
|
| /linux/drivers/interconnect/qcom/ |
| H A D | icc-rpmh.c | 98 qn->max_peak[i] = max_t(u32, qn->max_peak[i], peak_bw); in qcom_icc_aggregate() 102 qn->sum_avg[i] = max_t(u64, qn->sum_avg[i], node->init_avg); in qcom_icc_aggregate() 103 qn->max_peak[i] = max_t(u64, qn->max_peak[i], node->init_peak); in qcom_icc_aggregate() 108 *agg_peak = max_t(u32, *agg_peak, peak_bw); in qcom_icc_aggregate()
|
| H A D | icc-rpm.c | 287 qn->max_peak[i] = max_t(u32, qn->max_peak[i], peak_bw); in qcom_icc_bw_aggregate() 292 *agg_peak = max_t(u32, *agg_peak, peak_bw); in qcom_icc_bw_aggregate() 317 agg_rate = max_t(u64, agg_avg_rate, agg_peak_rate); in qcom_icc_calc_rate() 341 agg_clk_rate[ctx] = max_t(u64, agg_clk_rate[ctx], in qcom_icc_bus_aggregate() 389 active_rate = max_t(u64, active_rate, sleep_rate); in qcom_icc_set()
|
| /linux/include/linux/ |
| H A D | closure.h | 467 _t = max_t(long, 1L, _until - jiffies); \ 470 _t = max_t(long, 0L, _until - jiffies); \ 488 ? max_t(long, 1L, _until - jiffies) \
|
| /linux/drivers/gpu/drm/vmwgfx/ |
| H A D | vmw_surface_cache.h | 67 .width = max_t(u32, base_level.width >> mip_level, 1), in vmw_surface_get_mip_size() 68 .height = max_t(u32, base_level.height >> mip_level, 1), in vmw_surface_get_mip_size() 69 .depth = max_t(u32, base_level.depth >> mip_level, 1) in vmw_surface_get_mip_size() 185 total_size *= max_t(u32, 1, num_samples); in vmw_surface_get_serialized_size_extended()
|
| /linux/net/smc/ |
| H A D | smc_cdc.h | 154 return max_t(int, 0, in smc_curs_diff() 157 return max_t(int, 0, (new->count - old->count)); in smc_curs_diff() 192 return max_t(int, 0, (new->count - old->count)); in smc_curs_diff_large()
|
| /linux/fs/xfs/libxfs/ |
| H A D | xfs_btree.h | 452 #define XFS_EXTLEN_MAX(a,b) max_t(xfs_extlen_t, (a), (b)) 454 #define XFS_AGBLOCK_MAX(a,b) max_t(xfs_agblock_t, (a), (b)) 456 #define XFS_FILEOFF_MAX(a,b) max_t(xfs_fileoff_t, (a), (b)) 458 #define XFS_FILBLKS_MAX(a,b) max_t(xfs_filblks_t, (a), (b))
|
| /linux/drivers/mtd/nand/raw/ |
| H A D | stm32_fmc2_nand.c | 741 max_bitflips = max_t(unsigned int, max_bitflips, stat); in stm32_fmc2_nfc_read_page() 1097 max_bitflips = max_t(unsigned int, max_bitflips, stat); in stm32_fmc2_nfc_seq_correct() 1424 tar = max_t(unsigned long, hclkp, sdrt->tAR_min); in stm32_fmc2_nfc_calc_timings() 1428 tclr = max_t(unsigned long, hclkp, sdrt->tCLR_min); in stm32_fmc2_nfc_calc_timings() 1440 twait = max_t(unsigned long, hclkp, sdrt->tRP_min); in stm32_fmc2_nfc_calc_timings() 1441 twait = max_t(unsigned long, twait, sdrt->tWP_min); in stm32_fmc2_nfc_calc_timings() 1442 twait = max_t(unsigned long, twait, sdrt->tREA_max + FMC2_TIO); in stm32_fmc2_nfc_calc_timings() 1467 thold_mem = max_t(unsigned long, hclkp, sdrt->tCH_min); in stm32_fmc2_nfc_calc_timings() 1516 thold_att = max_t(unsigned long, hclkp, sdrt->tALH_min); in stm32_fmc2_nfc_calc_timings() 1517 thold_att = max_t(unsigned long, thold_att, sdrt->tCH_min); in stm32_fmc2_nfc_calc_timings() [all …]
|
| /linux/arch/sh/kernel/ |
| H A D | io_trapped.c | 236 max_t(unsigned long, cnt, in from_device() 259 dst_addr, max_t(unsigned long, cnt, in to_device()
|
| /linux/arch/powerpc/boot/ |
| H A D | types.h | 41 #define max_t(type, a, b) max(((type) a), ((type) b)) macro
|
| /linux/arch/mips/include/asm/octeon/ |
| H A D | cvmx-stxx-defs.h | 250 uint64_t max_t:16; member 252 uint64_t max_t:16;
|
| /linux/drivers/net/ethernet/cisco/enic/ |
| H A D | enic_res.c | 76 max_t(u32, ENIC_MIN_WQ_DESCS, c->wq_desc_count)); in enic_get_vnic_config() 81 max_t(u32, ENIC_MIN_RQ_DESCS, c->rq_desc_count)); in enic_get_vnic_config() 86 c->mtu = min_t(u16, ENIC_MAX_MTU, max_t(u16, ENIC_MIN_MTU, c->mtu)); in enic_get_vnic_config()
|
| /linux/drivers/net/wireless/intersil/p54/ |
| H A D | eeprom.c | 287 rawpower = max_t(u16, in p54_get_maxpower() 289 rawpower = max_t(u16, in p54_get_maxpower() 291 rawpower = max_t(u16, in p54_get_maxpower() 293 rawpower = max_t(u16, in p54_get_maxpower() 333 max_channel_num = max_t(unsigned int, priv->output_limit->entries, in p54_generate_channel_lists() 335 max_channel_num = max_t(unsigned int, max_channel_num, in p54_generate_channel_lists()
|
| /linux/drivers/gpu/drm/qxl/ |
| H A D | qxl_draw.c | 173 right = max_t(int, right, (int)clips_ptr->x2); in qxl_draw_dirty_fb() 175 bottom = max_t(int, bottom, (int)clips_ptr->y2); in qxl_draw_dirty_fb()
|
| /linux/drivers/md/ |
| H A D | dm-inlinecrypt.c | 589 max_t(unsigned int, limits->logical_block_size, sector_size); in inlinecrypt_io_hints() 591 max_t(unsigned int, limits->physical_block_size, sector_size); in inlinecrypt_io_hints() 592 limits->io_min = max_t(unsigned int, limits->io_min, sector_size); in inlinecrypt_io_hints()
|
| /linux/net/batman-adv/ |
| H A D | main.c | 374 header_len = max_t(int, header_len, in batadv_max_header_len() 376 header_len = max_t(int, header_len, in batadv_max_header_len() 378 header_len = max_t(int, header_len, in batadv_max_header_len()
|
| /linux/drivers/bluetooth/ |
| H A D | btmrvl_sdio.h | 25 #define ALLOC_BUF_SIZE (((max_t (int, MRVDRV_BT_RX_PACKET_BUFFER_SIZE, \
|
| /linux/net/dccp/ccids/lib/ |
| H A D | tfrc_equation.c | |
| /linux/fs/xfs/scrub/ |
| H A D | tempfile.c | 771 ddelta = max_t(int64_t, 0, req->ip2_bcount - req->ip1_bcount); in xrep_tempexch_reserve_quota() 772 rdelta = max_t(int64_t, 0, req->ip2_rtbcount - req->ip1_rtbcount); in xrep_tempexch_reserve_quota() 779 ddelta = max_t(int64_t, 0, req->ip1_bcount - req->ip2_bcount); in xrep_tempexch_reserve_quota() 780 rdelta = max_t(int64_t, 0, req->ip1_rtbcount - req->ip2_rtbcount); in xrep_tempexch_reserve_quota()
|
| /linux/drivers/net/ipa/ |
| H A D | ipa_table.c | 197 WARN_ON(count > max_t(u32, ipa->filter_count, ipa->route_count)); in ipa_table_addr() 726 count = max_t(u32, ipa->filter_count, ipa->route_count); in ipa_table_init() 766 u32 count = max_t(u32, 1 + ipa->filter_count, ipa->route_count); in ipa_table_exit()
|
| /linux/drivers/net/ethernet/microchip/lan966x/ |
| H A D | lan966x_ets.c | 15 return max_t(u32, 1, res) - 1; in lan966x_ets_hw_cost()
|