/drivers/scsi/fnic/ |
D | fnic_res.c | 74 min_t(u32, VNIC_FNIC_WQ_DESCS_MAX, in fnic_get_vnic_config() 80 min_t(u32, VNIC_FNIC_WQ_COPY_DESCS_MAX, in fnic_get_vnic_config() 86 min_t(u32, VNIC_FNIC_RQ_DESCS_MAX, in fnic_get_vnic_config() 92 min_t(u16, VNIC_FNIC_MAXDATAFIELDSIZE_MAX, in fnic_get_vnic_config() 96 min_t(u32, VNIC_FNIC_EDTOV_MAX, in fnic_get_vnic_config() 101 min_t(u32, VNIC_FNIC_RATOV_MAX, in fnic_get_vnic_config() 106 min_t(u32, VNIC_FNIC_FLOGI_RETRIES_MAX, c->flogi_retries); in fnic_get_vnic_config() 109 min_t(u32, VNIC_FNIC_FLOGI_TIMEOUT_MAX, in fnic_get_vnic_config() 114 min_t(u32, VNIC_FNIC_PLOGI_RETRIES_MAX, c->plogi_retries); in fnic_get_vnic_config() 117 min_t(u32, VNIC_FNIC_PLOGI_TIMEOUT_MAX, in fnic_get_vnic_config() [all …]
|
/drivers/net/ethernet/intel/ixgbe/ |
D | ixgbe_lib.c | 347 vmdq_i = min_t(u16, vmdq_i, 16); in ixgbe_set_dcb_sriov_queues() 351 vmdq_i = min_t(u16, vmdq_i, 32); in ixgbe_set_dcb_sriov_queues() 390 fcoe_i = min_t(u16, fcoe_i, fcoe->limit); in ixgbe_set_dcb_sriov_queues() 438 rss_i = min_t(u16, rss_i, 4); in ixgbe_set_dcb_queues() 442 rss_i = min_t(u16, rss_i, 8); in ixgbe_set_dcb_queues() 446 rss_i = min_t(u16, rss_i, 16); in ixgbe_set_dcb_queues() 452 rss_i = min_t(int, rss_i, f->limit); in ixgbe_set_dcb_queues() 469 f->indices = min_t(u16, rss_i, f->limit); in ixgbe_set_dcb_queues() 512 vmdq_i = min_t(u16, IXGBE_MAX_VMDQ_INDICES, vmdq_i); in ixgbe_set_sriov_queues() 518 rss_i = min_t(u16, rss_i, 2); in ixgbe_set_sriov_queues() [all …]
|
/drivers/media/platform/vsp1/ |
D | vsp1_rwpf.c | 199 sel->r.left = min_t(unsigned int, sel->r.left, format->width - 2); in vsp1_rwpf_set_selection() 200 sel->r.top = min_t(unsigned int, sel->r.top, format->height - 2); in vsp1_rwpf_set_selection() 202 sel->r.left = min_t(unsigned int, sel->r.left, 255); in vsp1_rwpf_set_selection() 203 sel->r.top = min_t(unsigned int, sel->r.top, 255); in vsp1_rwpf_set_selection() 205 sel->r.width = min_t(unsigned int, sel->r.width, in vsp1_rwpf_set_selection() 207 sel->r.height = min_t(unsigned int, sel->r.height, in vsp1_rwpf_set_selection()
|
/drivers/net/wireless/brcm80211/brcmfmac/ |
D | fwil.c | 48 len = min_t(uint, len, BRCMF_DCMD_MAXLEN); in brcmf_fil_cmd_data() 71 min_t(uint, len, MAX_HEX_DUMP_LEN), "data\n"); in brcmf_fil_cmd_data_set() 89 min_t(uint, len, MAX_HEX_DUMP_LEN), "data\n"); in brcmf_fil_cmd_data_get() 159 min_t(uint, len, MAX_HEX_DUMP_LEN), "data\n"); in brcmf_fil_iovar_data_set() 199 min_t(uint, len, MAX_HEX_DUMP_LEN), "data\n"); in brcmf_fil_iovar_data_get() 282 min_t(uint, len, MAX_HEX_DUMP_LEN), "data\n"); in brcmf_fil_bsscfg_data_set() 321 min_t(uint, len, MAX_HEX_DUMP_LEN), "data\n"); in brcmf_fil_bsscfg_data_get()
|
/drivers/crypto/nx/ |
D | nx-aes-gcm.c | 146 max_sg_len = min_t(u32, nx_driver.of.max_sg_len/sizeof(struct nx_sg), in nx_gca() 154 to_process = min_t(u64, nbytes - processed, in nx_gca() 156 to_process = min_t(u64, to_process, in nx_gca() 206 max_sg_len = min_t(u32, nx_driver.of.max_sg_len/sizeof(struct nx_sg), in gmac() 217 to_process = min_t(u64, nbytes - processed, in gmac() 219 to_process = min_t(u64, to_process, in gmac() 358 max_sg_len = min_t(u32, nx_driver.of.max_sg_len/sizeof(struct nx_sg), in gcm_aes_nx_crypt() 366 to_process = min_t(u64, nbytes - processed, in gcm_aes_nx_crypt() 368 to_process = min_t(u64, to_process, in gcm_aes_nx_crypt()
|
D | nx-aes-ccm.c | 280 max_sg_len = min_t(u32, in generate_pat() 287 to_process = min_t(u32, req->assoclen - processed, in generate_pat() 289 to_process = min_t(u64, to_process, in generate_pat() 364 max_sg_len = min_t(u32, nx_driver.of.max_sg_len/sizeof(struct nx_sg), in ccm_nx_decrypt() 372 to_process = min_t(u64, nbytes - processed, in ccm_nx_decrypt() 374 to_process = min_t(u64, to_process, in ccm_nx_decrypt() 441 max_sg_len = min_t(u32, nx_driver.of.max_sg_len/sizeof(struct nx_sg), in ccm_nx_encrypt() 448 to_process = min_t(u64, nbytes - processed, in ccm_nx_encrypt() 450 to_process = min_t(u64, to_process, in ccm_nx_encrypt()
|
D | nx-aes-ecb.c | 80 max_sg_len = min_t(u32, nx_driver.of.max_sg_len/sizeof(struct nx_sg), in ecb_aes_nx_crypt() 89 to_process = min_t(u64, nbytes - processed, in ecb_aes_nx_crypt() 91 to_process = min_t(u64, to_process, in ecb_aes_nx_crypt()
|
D | nx-aes-cbc.c | 80 max_sg_len = min_t(u32, nx_driver.of.max_sg_len/sizeof(struct nx_sg), in cbc_aes_nx_crypt() 89 to_process = min_t(u64, nbytes - processed, in cbc_aes_nx_crypt() 91 to_process = min_t(u64, to_process, in cbc_aes_nx_crypt()
|
D | nx-aes-ctr.c | 98 max_sg_len = min_t(u32, nx_driver.of.max_sg_len/sizeof(struct nx_sg), in ctr_aes_nx_crypt() 102 to_process = min_t(u64, nbytes - processed, in ctr_aes_nx_crypt() 104 to_process = min_t(u64, to_process, in ctr_aes_nx_crypt()
|
D | nx-sha256.c | 77 max_sg_len = min_t(u32, nx_driver.of.max_sg_len/sizeof(struct nx_sg), in nx_sha256_update() 86 to_process = min_t(u64, total, nx_ctx->ap->databytelen); in nx_sha256_update() 87 to_process = min_t(u64, to_process, in nx_sha256_update() 158 max_sg_len = min_t(u32, nx_driver.of.max_sg_len, nx_ctx->ap->sglen); in nx_sha256_final()
|
D | nx-sha512.c | 77 max_sg_len = min_t(u32, nx_driver.of.max_sg_len/sizeof(struct nx_sg), in nx_sha512_update() 86 to_process = min_t(u64, total, nx_ctx->ap->databytelen); in nx_sha512_update() 87 to_process = min_t(u64, to_process, in nx_sha512_update() 161 max_sg_len = min_t(u32, nx_driver.of.max_sg_len, nx_ctx->ap->sglen); in nx_sha512_final()
|
/drivers/base/regmap/ |
D | regmap-spmi.c | 142 len = min_t(size_t, val_size, 16); in regmap_spmi_ext_read() 154 len = min_t(size_t, val_size, 8); in regmap_spmi_ext_read() 182 len = min_t(size_t, val_size, 16); in regmap_spmi_ext_gather_write() 194 len = min_t(size_t, val_size, 8); in regmap_spmi_ext_gather_write()
|
/drivers/char/tpm/ |
D | tpm_i2c_atmel.c | 67 (int)min_t(size_t, 64, len), buf, len, status); in i2c_atmel_send() 93 (int)min_t(size_t, 64, expected_len), buf, count, in i2c_atmel_recv() 102 (int)min_t(size_t, 64, expected_len), buf, count, in i2c_atmel_recv()
|
/drivers/net/ethernet/cisco/enic/ |
D | enic_res.c | 77 min_t(u32, ENIC_MAX_WQ_DESCS, in enic_get_vnic_config() 83 min_t(u32, ENIC_MAX_RQ_DESCS, in enic_get_vnic_config() 90 c->mtu = min_t(u16, ENIC_MAX_MTU, in enic_get_vnic_config() 94 c->intr_timer_usec = min_t(u32, c->intr_timer_usec, in enic_get_vnic_config()
|
D | enic_ethtool.c | 218 tx_coalesce_usecs = min_t(u32, ecmd->tx_coalesce_usecs, in enic_set_coalesce() 220 rx_coalesce_usecs = min_t(u32, ecmd->rx_coalesce_usecs, in enic_set_coalesce() 223 rx_coalesce_usecs_low = min_t(u32, ecmd->rx_coalesce_usecs_low, in enic_set_coalesce() 225 rx_coalesce_usecs_high = min_t(u32, ecmd->rx_coalesce_usecs_high, in enic_set_coalesce()
|
/drivers/bluetooth/ |
D | btmrvl_debugfs.c | 43 if (copy_from_user(&buf, ubuf, min_t(size_t, sizeof(buf) - 1, count))) in btmrvl_hscfgcmd_write() 89 if (copy_from_user(&buf, ubuf, min_t(size_t, sizeof(buf) - 1, count))) in btmrvl_pscmd_write() 135 if (copy_from_user(&buf, ubuf, min_t(size_t, sizeof(buf) - 1, count))) in btmrvl_hscmd_write()
|
/drivers/net/wireless/ti/wlcore/ |
D | debug.h | 98 min_t(size_t, len, DEBUG_DUMP_LIMIT), \ 108 min_t(size_t, len, DEBUG_DUMP_LIMIT), \
|
/drivers/staging/lustre/lustre/include/ |
D | lustre_mdc.h | 156 min_t(__u32, body->max_mdsize, PAGE_CACHE_SIZE); in mdc_update_max_ea_from_body() 161 min_t(__u32, body->max_cookiesize, PAGE_CACHE_SIZE); in mdc_update_max_ea_from_body()
|
/drivers/i2c/busses/ |
D | i2c-pasemi.c | 229 len = min_t(u8, (rd & MRXFIFO_DATA_M), in pasemi_smb_xfer() 234 len = min_t(u8, data->block[0], I2C_SMBUS_BLOCK_MAX); in pasemi_smb_xfer() 251 len = min_t(u8, data->block[0], I2C_SMBUS_BLOCK_MAX - 1); in pasemi_smb_xfer() 261 len = min_t(u8, (rd & MRXFIFO_DATA_M), in pasemi_smb_xfer()
|
D | i2c-amd8111.c | 255 len = min_t(u8, data->block[0], in amd8111_access() 272 len = min_t(u8, data->block[0], in amd8111_access() 308 len = min_t(u8, data->block[0], in amd8111_access() 386 len = min_t(u8, len, I2C_SMBUS_BLOCK_MAX); in amd8111_access()
|
/drivers/infiniband/hw/mlx5/ |
D | mem.c | 72 m = min_t(unsigned long, m, find_first_bit(&tmp, sizeof(tmp))); in mlx5_ib_cont_pages() 93 m = min_t(unsigned long, ilog2(roundup_pow_of_two(i)), m); in mlx5_ib_cont_pages()
|
/drivers/net/wireless/mwifiex/ |
D | 11ac.c | 226 min_t(u8, IEEE80211_VHT_CHANWIDTH_80MHZ, in mwifiex_cmd_append_11ac_tlv() 231 min_t(u8, IEEE80211_VHT_CHANWIDTH_160MHZ, in mwifiex_cmd_append_11ac_tlv() 236 min_t(u8, IEEE80211_VHT_CHANWIDTH_80P80MHZ, in mwifiex_cmd_append_11ac_tlv()
|
/drivers/staging/rts5208/ |
D | rtsx_scsi.c | 322 len = min_t(unsigned short, srb->cmd_len, 16); in scsi_show_command() 843 unsigned int len = min_t(unsigned int, scsi_bufflen(srb), in mode_sense() 1054 buf_len = min_t(unsigned int, scsi_bufflen(srb), buf_len); in read_format_capacity() 1141 len = (unsigned short)min_t(unsigned int, scsi_bufflen(srb), len); in read_eeprom() 1180 len = (unsigned short)min_t(unsigned int, scsi_bufflen(srb), in write_eeprom() 1249 len = (unsigned short)min_t(unsigned int, scsi_bufflen(srb), len); in read_mem() 1281 len = (unsigned short)min_t(unsigned int, scsi_bufflen(srb), len); in write_mem() 1443 len = min_t(unsigned int, scsi_bufflen(srb), 4); in read_host_reg() 1466 len = min_t(unsigned int, scsi_bufflen(srb), 4); in write_host_reg() 1597 len = min_t(u16, len, scsi_bufflen(srb)); in dma_access_ring_buffer() [all …]
|
/drivers/staging/lustre/lustre/lclient/ |
D | lcommon_misc.c | 66 stripes = min_t(__u32, desc.ld_tgt_count, LOV_MAX_STRIPE_COUNT); in cl_init_ea_size() 70 def_stripes = min_t(__u32, desc.ld_default_stripe_count, in cl_init_ea_size()
|
/drivers/usb/gadget/function/ |
D | f_hid.c | 201 count = min_t(unsigned int, count, req->actual - list->pos); in f_hidg_read() 268 count = min_t(unsigned, count, hidg->report_length); in f_hidg_write() 386 length = min_t(unsigned, length, hidg->report_length); in hidg_setup() 415 length = min_t(unsigned short, length, in hidg_setup() 422 length = min_t(unsigned short, length, in hidg_setup()
|