/openbmc/u-boot/drivers/usb/host/ |
H A D | dwc2.c | 605 len = min3(txlen, (int)sizeof(root_hub_dev_des), (int)wLength); in dwc_otg_submit_rh_msg_in_descriptor() 609 len = min3(txlen, (int)sizeof(root_hub_config_des), (int)wLength); in dwc_otg_submit_rh_msg_in_descriptor() 615 len = min3(txlen, (int)sizeof(root_hub_str_index0), in dwc_otg_submit_rh_msg_in_descriptor() 620 len = min3(txlen, (int)sizeof(root_hub_str_index1), in dwc_otg_submit_rh_msg_in_descriptor() 658 len = min3(txlen, (int)data[0], (int)wLength); in dwc_otg_submit_rh_msg_in_descriptor()
|
/openbmc/linux/net/netfilter/ipvs/ |
H A D | ip_vs_pe_sip.c | 18 size_t len = min3(max_len, callid_len, buf_len - *idx - 1); in ip_vs_dbg_callid()
|
/openbmc/linux/arch/s390/include/asm/ |
H A D | pci_io.h | 135 size = min3(len, ZPCI_BOUNDARY_SIZE - offset, max); in zpci_get_max_io_size()
|
/openbmc/linux/drivers/gpu/drm/udl/ |
H A D | udl_transfer.c | 105 cmd_pixel_end = pixel + (min3(MAX_CMD_PIXELS + 1UL, in udl_compress_hline16()
|
/openbmc/linux/include/linux/ |
H A D | minmax.h | 117 #define min3(x, y, z) min((typeof(x))min(x, y), z) macro
|
/openbmc/linux/sound/usb/line6/ |
H A D | midi.c | 47 req = min3(line6_midibuf_bytes_free(mb), line6->max_packet_size, in line6_midi_transmit()
|
/openbmc/u-boot/include/linux/ |
H A D | kernel.h | 186 #define min3(x, y, z) min((typeof(x))min(x, y), z) macro
|
/openbmc/linux/arch/arm64/mm/ |
H A D | init.c | 267 zone_dma_bits = min3(32U, dt_zone_dma_bits, acpi_zone_dma_bits); in zone_sizes_init()
|
/openbmc/linux/arch/powerpc/mm/book3s32/ |
H A D | mmu.c | 108 return min3(max_size, 1U << base_shift, 1U << block_shift); in bat_block_size()
|
/openbmc/linux/drivers/hid/ |
H A D | hid-u2fzero.c | 230 actual_length = min3((size_t)ret - min_length, in u2fzero_rng_read()
|
/openbmc/u-boot/drivers/spi/ |
H A D | pic32_spi.c | 116 return min3(tx_left, tx_room, (u32)(priv->fifo_n_word - rxtx_gap)); in pic32_tx_max()
|
H A D | designware_spi.c | 312 return min3(tx_left, tx_room, (u32)(priv->fifo_len - rxtx_gap)); in tx_max()
|
/openbmc/linux/drivers/infiniband/hw/hfi1/ |
H A D | netdev_rx.c | 182 return min3(available_cpus, available_contexts, in hfi1_num_netdev_contexts()
|
/openbmc/linux/drivers/video/fbdev/omap2/omapfb/dss/ |
H A D | pll.c | 172 m_stop = min3((unsigned)(pll_max / fint / 2), in dss_pll_calc()
|
/openbmc/linux/drivers/net/ethernet/mellanox/mlx4/ |
H A D | qp.c | 655 size = min3(max_table_offset - last_offset, in mlx4_create_zones() 661 candidate_size = min3( in mlx4_create_zones()
|
/openbmc/linux/drivers/spi/ |
H A D | spi-sun4i.c | 153 len = min3(len, (int)cnt, sspi->len); in sun4i_spi_fill_fifo()
|
H A D | spi-pic32.c | 178 return min3(tx_left, tx_room, (u32)(pic32s->fifo_n_elm - rxtx_gap)); in pic32_tx_max()
|
/openbmc/linux/drivers/net/ethernet/netronome/nfp/bpf/ |
H A D | cmsg.c | 439 return min3(req_max, reply_max, NFP_BPF_MAP_CACHE_CNT); in nfp_bpf_ctrl_cmsg_cache_cnt()
|
/openbmc/linux/drivers/gpu/drm/omapdrm/dss/ |
H A D | pll.c | 240 m_stop = min3((unsigned)(pll_max / fint / 2), in dss_pll_calc_a()
|
/openbmc/linux/drivers/crypto/allwinner/sun4i-ss/ |
H A D | sun4i-ss-hash.c | 315 todo = min3((u32)(end - i) / 4, rx_cnt, (u32)in_r / 4); in sun4i_hash()
|
/openbmc/linux/drivers/ufs/core/ |
H A D | ufs-mcq.c | 188 hba->nr_queues[HCTX_TYPE_DEFAULT] = min3(rem, rw_queues, in ufshcd_mcq_config_nr_queues()
|
/openbmc/linux/mm/ |
H A D | swap_state.c | 759 end = min3(rpfn, PFN_DOWN(vma->vm_end), in swap_ra_info()
|
/openbmc/linux/arch/s390/pci/ |
H A D | pci_dma.c | 613 zdev->iommu_size = min3(s390_iommu_aperture, in zpci_dma_init_device()
|
/openbmc/linux/drivers/hid/intel-ish-hid/ |
H A D | ishtp-fw-loader.c | 654 payload_max_size = min3(fw->size, in ish_fw_xfer_direct_dma()
|
/openbmc/linux/drivers/cxl/ |
H A D | pci.c | 359 n = min3(mbox_cmd->size_out, mds->payload_size, out_len); in __cxl_pci_mbox_send_cmd()
|