Searched refs:min (Results 401 - 425 of 3859) sorted by relevance

<<11121314151617181920>>

/linux-master/drivers/pnp/
H A Dresource.c99 resource_size_t min, resource_size_t max,
111 port->min = min;
122 resource_size_t min, resource_size_t max,
134 mem->min = min;
661 if (port->min == start && port->size == size)
666 if (mem->min == start && mem->size == size)
98 pnp_register_port_resource(struct pnp_dev *dev, unsigned int option_flags, resource_size_t min, resource_size_t max, resource_size_t align, resource_size_t size, unsigned char flags) argument
121 pnp_register_mem_resource(struct pnp_dev *dev, unsigned int option_flags, resource_size_t min, resource_size_t max, resource_size_t align, resource_size_t size, unsigned char flags) argument
/linux-master/arch/x86/crypto/
H A Dpolyval-clmulni_glue.c120 n = min(srclen, dctx->bytes);
136 nblocks = min(srclen, 4096U) / POLYVAL_BLOCK_SIZE;
/linux-master/drivers/gpu/drm/nouveau/nvkm/subdev/ltc/
H A Dbase.c143 ltc->zbc_color_max = min(func->zbc_color, NVKM_LTC_MAX_ZBC_COLOR_CNT) - 1;
145 ltc->zbc_depth_max = min(func->zbc_depth, NVKM_LTC_MAX_ZBC_DEPTH_CNT) - 1;
/linux-master/include/linux/
H A Dregset.h263 : min(*count, end_pos - *pos));
290 : min(*count, end_pos - *pos));
/linux-master/drivers/power/supply/
H A D88pm860x_charger.c135 int min, int max)
140 if (min <= 0)
143 data = (min << 5) / 1125;
145 dev_dbg(info->dev, "VCHG_LOWTH:%dmv, 0x%x\n", min, data);
157 int min, int max)
162 if (min <= 0)
165 data = (min << 5) / 675;
167 dev_dbg(info->dev, "VBAT Min:%dmv, LOWTH:0x%x\n", min, data);
134 set_vchg_threshold(struct pm860x_charger_info *info, int min, int max) argument
156 set_vbatt_threshold(struct pm860x_charger_info *info, int min, int max) argument
/linux-master/drivers/md/bcache/
H A Dsysfs.h106 #define sysfs_strtoul_clamp(file, var, min, max) \
111 ret = strtoul_safe_clamp(buf, v, min, max); \
/linux-master/drivers/crypto/
H A Datmel-sha204a.c50 max = min(sizeof(work_data->cmd.data), max);
88 max = min(sizeof(cmd.data), max);
/linux-master/drivers/leds/flash/
H A Dleds-as3645a.c285 static unsigned int __as3645a_current_to_reg(unsigned int min, unsigned int max, argument
289 if (val < min)
290 val = min;
295 return (val - min) / step;
594 cfg->min = AS_FLASH_INTENSITY_MIN;
600 cfg->min = AS_FLASH_TIMEOUT_MIN;
639 .min = AS_TORCH_INTENSITY_MIN,
647 .min = AS_INDICATOR_INTENSITY_MIN,
/linux-master/drivers/gpu/drm/amd/pm/powerplay/hwmgr/
H A Dvega12_thermal.c181 if (low < range->min / PP_TEMPERATURE_UNITS_PER_CENTIGRADES)
182 low = range->min / PP_TEMPERATURE_UNITS_PER_CENTIGRADES;
/linux-master/include/trace/events/
H A Dwbt.h39 __entry->rmin = stat[0].min;
43 __entry->wmin = stat[1].min;
/linux-master/drivers/mmc/host/
H A Dsdhci-s3c.c206 "clk %d: rate %ld, min rate %lu > wanted %u\n",
308 unsigned long rate, min = ULONG_MAX; local
315 if (rate < min)
316 min = rate;
319 return min;
348 unsigned long rate, min = ULONG_MAX; local
359 if (rate < min)
360 min = rate;
363 return min;
/linux-master/net/tipc/
H A Dcore.h200 static inline int tipc_in_range(u16 val, u16 min, u16 max) argument
202 return !less(val, min) && !more(val, max);
/linux-master/scripts/kconfig/
H A Dnconf.gui.c173 total_lines = min(total_lines, y);
178 strncpy(tmp, line, min(len, x));
342 win_lines = min(prompt_lines+6, lines-2);
343 win_cols = min(prompt_width+7, columns-2);
372 cursor_form_win = min(cursor_position, prompt_width-1);
433 cursor_form_win = min(cursor_position, prompt_width-1);
546 win_lines = min(total_lines+4, lines-2);
547 win_cols = min(total_cols+2, columns-2);
/linux-master/drivers/firmware/efi/libstub/
H A Dunaccepted_memory.c36 unaccepted_start = min(unaccepted_start, d->phys_addr);
148 min(unaccepted_table->phys_base, end));
/linux-master/sound/soc/intel/boards/
H A Dbytcht_nocodec.c50 rate->min = rate->max = 48000;
51 channels->min = channels->max = 2;
H A Dhsw_rt5640.c39 rate->min = rate->max = 48000;
40 channels->min = channels->max = 2;
/linux-master/arch/s390/mm/
H A Dmaccess.c34 size = min(8UL - offset, size);
94 len = min(count, MEMCPY_REAL_SIZE - offset);
/linux-master/arch/powerpc/platforms/pseries/
H A Drtas-work-area.c170 pr_debug("arena [%pa-%pa] (%uK), min/max alloc sizes %u/%u\n",
193 const phys_addr_t min = MEMBLOCK_LOW_LIMIT; local
209 rwa_state.arena = memblock_alloc_try_nid(size, align, min, limit, nid);
/linux-master/drivers/gpu/drm/i915/gem/
H A Di915_gem_internal.c48 max_order = min(max_order, get_order(max_segment));
71 int order = min(fls(npages) - 1, max_order);
/linux-master/include/drm/
H A Ddrm_property.h264 uint64_t min, uint64_t max);
267 int64_t min, int64_t max);
/linux-master/sound/soc/qcom/
H A Dx1e80100.c52 rate->min = rate->max = 48000;
58 channels->min = 1;
/linux-master/drivers/mfd/
H A Drohm-bd718x7.c103 short_press_value = min(15u, (short_press_ms + 250) / 500);
116 long_press_value = min(15u, (long_press_ms + 500) / 1000);
/linux-master/drivers/gpu/drm/xe/
H A Dxe_hw_engine_class_sysfs.c20 * @min: min value of valid range
23 * This helper helps to validate if timeout is in min-max range of HW engine
28 bool xe_hw_engine_timeout_in_range(u64 timeout, u64 min, u64 max) argument
30 return timeout >= min && timeout <= max;
120 u32 min = eclass->sched_props.job_timeout_min; local
129 if (!xe_hw_engine_timeout_in_range(timeout, min, max))
186 u32 min = eclass->sched_props.timeslice_min; local
195 if (!xe_hw_engine_timeout_in_range(duration, min, max))
329 u32 min local
[all...]
/linux-master/sound/drivers/pcsp/
H A Dpcsp.c71 pcsp_chip.max_treble = min(order, PCSP_MAX_TREBLE);
72 pcsp_chip.treble = min(pcsp_chip.max_treble, PCSP_DEFAULT_TREBLE);
/linux-master/arch/x86/xen/
H A Denlighten_pvh.c57 min(ret * sizeof(char),
118 pages = min(extra_pages,

Completed in 314 milliseconds

<<11121314151617181920>>