/linux-master/drivers/pnp/ |
H A D | resource.c | 99 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 D | polyval-clmulni_glue.c | 120 n = min(srclen, dctx->bytes); 136 nblocks = min(srclen, 4096U) / POLYVAL_BLOCK_SIZE;
|
/linux-master/drivers/gpu/drm/nouveau/nvkm/subdev/ltc/ |
H A D | base.c | 143 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 D | regset.h | 263 : min(*count, end_pos - *pos)); 290 : min(*count, end_pos - *pos));
|
/linux-master/drivers/power/supply/ |
H A D | 88pm860x_charger.c | 135 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 D | sysfs.h | 106 #define sysfs_strtoul_clamp(file, var, min, max) \ 111 ret = strtoul_safe_clamp(buf, v, min, max); \
|
/linux-master/drivers/crypto/ |
H A D | atmel-sha204a.c | 50 max = min(sizeof(work_data->cmd.data), max); 88 max = min(sizeof(cmd.data), max);
|
/linux-master/drivers/leds/flash/ |
H A D | leds-as3645a.c | 285 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 D | vega12_thermal.c | 181 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 D | wbt.h | 39 __entry->rmin = stat[0].min; 43 __entry->wmin = stat[1].min;
|
/linux-master/drivers/mmc/host/ |
H A D | sdhci-s3c.c | 206 "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 D | core.h | 200 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 D | nconf.gui.c | 173 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 D | unaccepted_memory.c | 36 unaccepted_start = min(unaccepted_start, d->phys_addr); 148 min(unaccepted_table->phys_base, end));
|
/linux-master/sound/soc/intel/boards/ |
H A D | bytcht_nocodec.c | 50 rate->min = rate->max = 48000; 51 channels->min = channels->max = 2;
|
H A D | hsw_rt5640.c | 39 rate->min = rate->max = 48000; 40 channels->min = channels->max = 2;
|
/linux-master/arch/s390/mm/ |
H A D | maccess.c | 34 size = min(8UL - offset, size); 94 len = min(count, MEMCPY_REAL_SIZE - offset);
|
/linux-master/arch/powerpc/platforms/pseries/ |
H A D | rtas-work-area.c | 170 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 D | i915_gem_internal.c | 48 max_order = min(max_order, get_order(max_segment)); 71 int order = min(fls(npages) - 1, max_order);
|
/linux-master/include/drm/ |
H A D | drm_property.h | 264 uint64_t min, uint64_t max); 267 int64_t min, int64_t max);
|
/linux-master/sound/soc/qcom/ |
H A D | x1e80100.c | 52 rate->min = rate->max = 48000; 58 channels->min = 1;
|
/linux-master/drivers/mfd/ |
H A D | rohm-bd718x7.c | 103 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 D | xe_hw_engine_class_sysfs.c | 20 * @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 D | pcsp.c | 71 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 D | enlighten_pvh.c | 57 min(ret * sizeof(char), 118 pages = min(extra_pages,
|