/linux-master/drivers/net/ethernet/mellanox/mlx5/core/fpga/ |
H A D | sdk.c | 76 actual_size = min(max_size, (size - bytes_done)); 108 actual_size = min(max_size, (size - bytes_done));
|
/linux-master/sound/usb/ |
H A D | mixer_us16x08.h | 8 * negative ranges or if mixer-min != 0 23 #define SND_US16X08_KCSET(bias, step, min, max) \ 24 (((bias) << 24) | ((step) << 16) | ((min) << 8) | (max))
|
/linux-master/drivers/crypto/caam/ |
H A D | dpseci_cmd.h | 14 #define DPSECI_VER(maj, min) (((maj) << 16) | (min))
|
/linux-master/arch/powerpc/mm/ |
H A D | dma-noncoherent.c | 62 size_t seg_size = min((size_t)(PAGE_SIZE - offset), size); 79 seg_size = min((size_t)PAGE_SIZE, size - cur_size);
|
/linux-master/arch/m68k/sun3x/ |
H A D | time.c | 51 h->min = bin2bcd(t->tm_min); 61 t->tm_min = bcd2bin(h->min);
|
/linux-master/drivers/gpu/drm/amd/pm/swsmu/inc/ |
H A D | smu_v11_0_7_pptable.h | 141 uint32_t min[SMU_11_0_7_MAX_ODSETTING]; //default minimum settings member in struct:smu_11_0_7_overdrive_table 169 uint32_t min[SMU_11_0_7_MAX_PPCLOCK]; //PowerSavingClock Mode Clock Minimum array In MHz member in struct:smu_11_0_7_power_saving_clock_table
|
H A D | smu_v13_0_pptable.h | 113 uint32_t min[SMU_13_0_MAX_ODSETTING]; //default minimum settings member in struct:smu_13_0_overdrive_table 136 uint32_t min[SMU_13_0_MAX_PPCLOCK]; //PowerSavingClock Mode Clock Minimum array In MHz member in struct:smu_13_0_power_saving_clock_table
|
H A D | smu_v11_0_pptable.h | 111 uint32_t min[SMU_11_0_MAX_ODSETTING]; //default minimum settings member in struct:smu_11_0_overdrive_table 134 uint32_t min[SMU_11_0_MAX_PPCLOCK]; //PowerSavingClock Mode Clock Minimum array In MHz member in struct:smu_11_0_power_saving_clock_table
|
/linux-master/drivers/mmc/core/ |
H A D | sdio_io.c | 167 blksz = min(func->max_blksize, func->card->host->max_blk_size); 168 blksz = min(blksz, 512u); 194 mval = min(mval, func->cur_blksize); 196 mval = min(mval, func->max_blksize); 199 return min(mval, 511u); 201 return min(mval, 512u); /* maximum size for byte mode */ 329 max_blocks = min(func->card->host->max_blk_count, 511u); 354 size = min(remainder, sdio_max_byte_size(func));
|
/linux-master/drivers/soc/mediatek/ |
H A D | mtk-regulator-coupler.c | 82 vsram_target_max_uV = min(vsram_max_uV, vsram_target_min_uV + max_spread); 85 vsram_target_min_uV = min(vsram_target_min_uV, vsram_max_uV);
|
/linux-master/tools/testing/selftests/drivers/net/mlxsw/ |
H A D | sch_red_ets.sh | 37 limit 1000000 min $BACKLOG1 max $((BACKLOG1 + 1)) \ 46 limit 1000000 min $BACKLOG2 max $((BACKLOG2 + 1)) \
|
/linux-master/drivers/gpu/drm/amd/amdgpu/ |
H A D | amdgpu_eeprom.c | 136 len = min(EEPROM_PAGE_SIZE - (eeprom_addr & 214 ps = min(limit, buf_size);
|
H A D | amdgpu_kms.c | 533 num_rings = min(amdgpu_ctx_num_entities[info->query_hw_ip.type], 616 return copy_to_user(out, &ui32, min(size, 4u)) ? -EFAULT : 0; 632 return copy_to_user(out, &ui32, min(size, 4u)) ? -EFAULT : 0; 676 return copy_to_user(out, &count, min(size, 4u)) ? -EFAULT : 0; 704 return copy_to_user(out, &count, min(size, 4u)) ? -EFAULT : 0; 708 return copy_to_user(out, &ui64, min(size, 8u)) ? -EFAULT : 0; 721 min((size_t)size, sizeof(fw_info))) ? -EFAULT : 0; 725 return copy_to_user(out, &ui64, min(size, 8u)) ? -EFAULT : 0; 728 return copy_to_user(out, &ui64, min(size, 8u)) ? -EFAULT : 0; 731 return copy_to_user(out, &ui64, min(siz [all...] |
/linux-master/arch/x86/pci/ |
H A D | bus_numa.c | 120 common_end = min(res->end, end); 124 final_start = min(res->start, start);
|
/linux-master/drivers/parisc/ |
H A D | iommu-helpers.h | 108 unsigned int max_seg_size = min(dma_get_max_seg_size(dev), 112 max_seg_size = min(max_seg_size, max_seg_boundary);
|
/linux-master/drivers/power/supply/ |
H A D | 88pm860x_battery.c | 533 int min, int max) 538 if (min <= 0) 541 data = (min << 8) / 1800; 543 dev_dbg(info->dev, "TEMP_HIGHTH : min: %d, 0x%x\n", min, data); 557 int min; local 582 min = TBAT_NEG_10D * GPBIAS2_GPADC1_UA / 1000; 584 set_temp_threshold(info, min, max); 587 min = TBAT_NEG_10D * GPBIAS2_GPADC1_UA / 1000; 589 set_temp_threshold(info, min, ma 532 set_temp_threshold(struct pm860x_battery_info *info, int min, int max) argument [all...] |
/linux-master/sound/soc/ti/ |
H A D | omap-mcbsp-st.c | 376 int min = mc->min; local 380 uinfo->value.integer.min = min; 395 int min = mc->min; \ 398 if (val < min || val > max) \ 457 {.min = xmin, .max = xmax} }
|
/linux-master/arch/nios2/kernel/ |
H A D | setup.c | 137 static void __init find_limits(unsigned long *min, unsigned long *max_low, argument 141 *min = PFN_UP(memblock_start_of_DRAM());
|
/linux-master/Documentation/driver-api/media/drivers/ccs/ |
H A D | mk-ccs-regs | 240 $size *= $apref->{max} - $apref->{min} + 1; 259 push @mins, $argparams->{$sorted_arg}->{min}; 265 $argdescs .= "\t{ \"$sorted_arg\", $h->{min}, $h->{max}, $h->{elsize} },\n"; 267 $lim_arg .= defined $lim_arg ? ", $h->{min}" : "$h->{min}"; 310 my ($arg, $min, $max, $elsize, @discontig) = split /\s+/; 313 foreach my $num ($min, $max) { 317 $hdr_data .= sprintf "#define %-62s %s", "CCS_LIM_" . (uc ${this{name}} . "_MIN_$arg"), $min . ($min =~ /0x/i ? "" : "U") . "\n"; 322 $h->{$arg} = { "min" [all...] |
/linux-master/sound/soc/qcom/ |
H A D | apq8096.c | 24 rate->min = rate->max = 48000; 25 channels->min = channels->max = 2;
|
/linux-master/drivers/misc/vmw_vmci/ |
H A D | vmci_handle_array.c | 19 capacity = min((u32)VMCI_HANDLE_ARRAY_DEFAULT_CAPACITY, 46 u32 capacity_bump = min(array->max_capacity - array->capacity,
|
/linux-master/net/core/ |
H A D | netdev-genl-gen.c | 15 .min = 1ULL, 20 .min = 1ULL,
|
/linux-master/drivers/ras/ |
H A D | cec.c | 188 int min = 0, max = ca->n - 1; local 191 while (min <= max) { 192 int i = (min + max) >> 1; 197 min = i + 1; 209 * When the loop terminates without finding @pfn, min has the index of 211 * terminates when min > max, which means the min index points to the 218 *to = min; 247 unsigned int min = FULL_COUNT_MASK; local 253 if (min > thi [all...] |
/linux-master/drivers/crypto/intel/qat/qat_common/ |
H A D | adf_clock.c | 104 * @min: Minimal allowed frequency value 107 * If the measurement result will go beyond the min/max thresholds the value 118 u32 *frequency, u32 min, u32 max) 127 *frequency = clamp(freq, min, max); 117 adf_dev_measure_clock(struct adf_accel_dev *accel_dev, u32 *frequency, u32 min, u32 max) argument
|
/linux-master/drivers/macintosh/ |
H A D | windfarm_pm81.c | 306 pid_param.min = wf_control_get_min(fan_system); 309 pid_param.min = 310 max(pid_param.min, wf_control_get_min(fan_hd)); 312 min(pid_param.max, wf_control_get_max(fan_hd)); 317 DBG(" itarged=%d.%03d, min=%d RPM, max=%d RPM\n", 318 FIX32TOPRINT(pid_param.itarget), pid_param.min, pid_param.max); 366 scaled = max(scaled, st->pid.param.min); 367 scaled = min(scaled, st->pid.param.max); 451 pid_param.min = wf_control_get_min(fan_cpu_main); 457 DBG(" ttarget=%d.%03d, tmax=%d.%03d, min [all...] |