Searched refs:min3 (Results 1 – 5 of 5) sorted by relevance
| /rk3399_rockchip-uboot/drivers/usb/host/ |
| H A D | dwc2.c | 620 len = min3(txlen, (int)sizeof(root_hub_dev_des), (int)wLength); in dwc_otg_submit_rh_msg_in_descriptor() 624 len = min3(txlen, (int)sizeof(root_hub_config_des), (int)wLength); in dwc_otg_submit_rh_msg_in_descriptor() 630 len = min3(txlen, (int)sizeof(root_hub_str_index0), in dwc_otg_submit_rh_msg_in_descriptor() 635 len = min3(txlen, (int)sizeof(root_hub_str_index1), in dwc_otg_submit_rh_msg_in_descriptor() 673 len = min3(txlen, (int)data[0], (int)wLength); in dwc_otg_submit_rh_msg_in_descriptor()
|
| H A D | ehci-hcd.c | 913 len = min3(srclen, (int)le16_to_cpu(req->length), length); in ehci_submit_root()
|
| /rk3399_rockchip-uboot/include/linux/ |
| H A D | kernel.h | 169 #define min3(x, y, z) min((typeof(x))min(x, y), z) macro
|
| /rk3399_rockchip-uboot/drivers/spi/ |
| H A D | pic32_spi.c | 117 return min3(tx_left, tx_room, (u32)(priv->fifo_n_word - rxtx_gap)); in pic32_tx_max()
|
| H A D | designware_spi.c | 278 return min3(tx_left, tx_room, (u32)(priv->fifo_len - rxtx_gap)); in tx_max()
|