/linux-master/drivers/net/wireless/broadcom/brcm80211/brcmsmac/ |
H A D | channel.c | 237 txpwr->cck[j] = min(txpwr->cck[j], local_constraint_qdbm); 241 txpwr->ofdm[j] = min(txpwr->ofdm[j], local_constraint_qdbm); 246 min(txpwr->ofdm_cdd[j], local_constraint_qdbm); 251 min(txpwr->ofdm_40_siso[j], local_constraint_qdbm); 256 min(txpwr->ofdm_40_cdd[j], local_constraint_qdbm); 261 min(txpwr->mcs_20_siso[j], local_constraint_qdbm); 266 min(txpwr->mcs_20_cdd[j], local_constraint_qdbm); 271 min(txpwr->mcs_20_stbc[j], local_constraint_qdbm); 276 min(txpwr->mcs_20_mimo[j], local_constraint_qdbm); 281 min(txpw [all...] |
/linux-master/drivers/gpu/drm/amd/pm/swsmu/smu13/ |
H A D | aldebaran_ppt.c | 328 dpm_table->min = dpm_table->dpm_levels[0].value; 341 dpm_table->min = dpm_table->dpm_levels[0].value; 347 dpm_table->min = dpm_table->dpm_levels[0].value; 363 dpm_table->min = dpm_table->dpm_levels[0].value; 379 dpm_table->min = dpm_table->dpm_levels[0].value; 514 pstate_table->gfxclk_pstate.min = gfx_table->min; 516 pstate_table->gfxclk_pstate.curr.min = gfx_table->min; 519 pstate_table->uclk_pstate.min 1259 aldebaran_set_soft_freq_limited_range(struct smu_context *smu, enum smu_clk_type clk_type, uint32_t min, uint32_t max) argument [all...] |
/linux-master/drivers/regulator/ |
H A D | atc260x-regulator.c | 171 #define atc2603c_reg_desc_dcdc(num, min, step, n_volt, vsel_h, vsel_l) { \ 179 .min_uV = min, \ 209 #define atc2603c_reg_desc_dcdc_fixed(num, min, step, n_volt, vsel_h, vsel_l) { \ 217 .min_uV = min, \ 226 #define atc2603c_reg_desc_ldo(num, min, step, n_volt, vsel_h, vsel_l) { \ 234 .min_uV = min, \ 245 #define atc2603c_reg_desc_ldo_fixed(num, min, step, n_volt, vsel_h, vsel_l) { \ 253 .min_uV = min, \ 275 #define atc2603c_reg_desc_ldo_switch(num, min, step, n_volt, vsel_h, vsel_l) { \ 283 .min_uV = min, \ [all...] |
/linux-master/arch/s390/boot/ |
H A D | startup.c | 118 static void rescue_initrd(unsigned long min, unsigned long max) argument 126 if (addr >= min && addr + size <= max) 249 ident_map_size = min(ident_map_size, memory_limit); 250 ident_map_size = min(ident_map_size, 1UL << MAX_PHYSMEM_BITS); 255 ident_map_size = min(ident_map_size, oldmem_data.size); 259 ident_map_size = min(ident_map_size, hsa_size); 297 vmax = min(vmax, KASAN_SHADOW_START); 308 vmalloc_size = min(vmalloc_size, vsize); 316 vmemmap_start = min(vmemmap_start, 1UL << MAX_PHYSMEM_BITS); 320 ident_map_size = min(ident_map_siz [all...] |
H A D | kaslr.c | 126 end = min(_max, end); 183 unsigned long min, unsigned long max) 190 max = min(max, get_physmem_alloc_pos()); 192 max_pos = iterate_valid_positions(size, align, min, max, res, ARRAY_SIZE(res), true, 0); 197 return iterate_valid_positions(size, align, min, max, res, ARRAY_SIZE(res), false, pos + 1); 182 randomize_within_range(unsigned long size, unsigned long align, unsigned long min, unsigned long max) argument
|
/linux-master/drivers/iio/dac/ |
H A D | ad5758.c | 96 int min; member in struct:ad5758_range 523 int max, min, ret; local 536 min = st->out_range.min; 538 *val = (max - min) / 1000; 542 min = st->out_range.min; 544 *val = ((min * (1 << 16)) / (max - min)) / 1000; 678 int min, in 675 ad5758_find_out_range(struct ad5758_state *st, const struct ad5758_range *range, unsigned int size, int min, int max) argument [all...] |
/linux-master/drivers/media/platform/st/sti/bdisp/ |
H A D | bdisp-hw.c | 44 u16 min; /* Filter min scale factor (6.10 fixed point) */ member in struct:bdisp_filter_addr 52 .min = 0, 66 .min = 921, 80 .min = 1024, 94 .min = 1126, 108 .min = 1228, 122 .min = 1331, 136 .min = 1433, 150 .min [all...] |
/linux-master/tools/perf/util/ |
H A D | dsos.c | 20 if (a->min > b->min) return -1; 21 if (a->min < b->min) return 1; 48 return !id->maj && !id->min && !id->ino && !id->ino_generation; 54 dso->id.min = id->min;
|
/linux-master/drivers/rtc/ |
H A D | rtc-mxc.c | 43 #define RTC_HOURMIN 0x00 /* 32bit rtc hour/min counter reg */ 45 #define RTC_ALRM_HM 0x08 /* 32bit rtc alarm hour/min reg */ 50 #define RTC_STPWCH 0x1C /* 32bit rtc stopwatch min reg */ 92 u32 day = 0, hr = 0, min = 0, sec = 0, hr_min = 0; local 108 min = hr_min & 0xff; 110 return ((((time64_t)day * 24 + hr) * 60) + min) * 60 + sec; 118 u32 tod, day, hr, min, sec, temp; local 129 min = tod / 60; 130 sec = tod - min * 60; 132 temp = (hr << 8) + min; [all...] |
H A D | rtc-bq4802.c | 95 u8 sec, min, hrs, day, mon, yrs, century, val; local 106 min = tm->tm_min; 110 min = bin2bcd(min); 123 p->write(p, 0x02, min);
|
/linux-master/drivers/watchdog/ |
H A D | at91sam9_wdt.c | 206 "min heartbeat and max heartbeat might be too close for the system to handle it correctly\n"); 267 u32 min = 0; local 281 if (!of_property_read_u32_index(np, "atmel,min-heartbeat-sec", 282 0, &min)) { 283 if (min >= max) 284 min = max - 1; 288 min = secs_to_ticks(min); 316 wdt->mr |= max | ((max - min) << 16);
|
/linux-master/drivers/pci/ |
H A D | bus.c | 178 resource_size_t min, unsigned long type_mask, 193 resource_size_t min_used = min; 212 * "min" is typically PCIBIOS_MIN_IO or PCIBIOS_MIN_MEM to 215 * overrides "min". 241 * @min: minimum /proc/iomem address to allocate 252 resource_size_t min, unsigned long type_mask, 263 rc = pci_bus_alloc_from_region(bus, res, size, align, min, 269 return pci_bus_alloc_from_region(bus, res, size, align, min, 275 return pci_bus_alloc_from_region(bus, res, size, align, min, 304 end = min( 176 pci_bus_alloc_from_region(struct pci_bus *bus, struct resource *res, resource_size_t size, resource_size_t align, resource_size_t min, unsigned long type_mask, resource_size_t (*alignf)(void *, const struct resource *, resource_size_t, resource_size_t), void *alignf_data, struct pci_bus_region *region) argument 250 pci_bus_alloc_resource(struct pci_bus *bus, struct resource *res, resource_size_t size, resource_size_t align, resource_size_t min, unsigned long type_mask, resource_size_t (*alignf)(void *, const struct resource *, resource_size_t, resource_size_t), void *alignf_data) argument [all...] |
/linux-master/drivers/staging/media/imx/ |
H A D | imx-media-fim.c | 119 /* disable tolerance range if max <= min */ 255 .min = 0, 265 .min = 1, /* no averaging */ 275 .min = 2, 285 .min = 0, 295 .min = 0, /* skip no frames */ 308 .min = IRQ_TYPE_NONE, 318 .min = 0,
|
/linux-master/drivers/platform/x86/intel/uncore-frequency/ |
H A D | uncore-frequency-tpmi.c | 76 /* Helper function to read MMIO offset for max/min control frequency */ 78 unsigned int *min, unsigned int *max) 84 *min = FIELD_GET(UNCORE_GENMASK_MIN_RATIO, control) * UNCORE_FREQ_KHZ_MULTIPLIER; 89 /* Callback for sysfs read for max/min frequencies. Called under mutex locks */ 90 static int uncore_read_control_freq(struct uncore_data *data, unsigned int *min, argument 101 *min = UNCORE_MAX_RATIO * UNCORE_FREQ_KHZ_MULTIPLIER; 105 * Get the max/min by looking at each cluster. Get the lowest 106 * min and highest max. 114 if (*min > _min) 115 *min 77 read_control_freq(struct tpmi_uncore_cluster_info *cluster_info, unsigned int *min, unsigned int *max) argument [all...] |
/linux-master/drivers/media/rc/img-ir/ |
H A D | img-ir-hw.c | 68 if (range->max < range->min) 69 range->max = range->min; 72 range->min = (range->min*unit)/1000; 103 if (!range->min) 104 range->min = defaults->min; 170 * Converts min and max from microseconds to IR clock cycles, applies a 180 unsigned int min = in->min; local [all...] |
/linux-master/drivers/base/regmap/ |
H A D | regcache-rbtree.c | 389 unsigned int min, max; local 396 min = 0; 398 min = reg - max_dist; 410 if (base_reg <= max && top_reg >= min) { 420 new_base_reg = min(reg, base_reg); 465 static int regcache_rbtree_sync(struct regmap *map, unsigned int min, argument 485 if (top_reg < min) 488 if (min > base_reg) 489 start = (min - base_reg) / map->reg_stride; 510 static int regcache_rbtree_drop(struct regmap *map, unsigned int min, argument [all...] |
/linux-master/sound/firewire/dice/ |
H A D | dice-pcm.c | 23 .min = UINT_MAX, .max = 0, .integer = 1 42 rates.min = min(rates.min, rate); 61 .min = UINT_MAX, .max = 0, .integer = 1 80 channels.min = min(channels.min, pcm_channels[mode]); 116 hw->channels_min = min(hw->channels_min, channels);
|
/linux-master/tools/power/cpupower/utils/ |
H A D | cpufreq-info.c | 62 unsigned long min, max; local 72 if (cpufreq_get_hardware_limits(cpu, &min, &max)) { 75 min_pctg = (policy->min * 100) / max; 79 cpu , policy->min, max ? min_pctg : 0, policy->max, 276 unsigned long min, max; local 278 if (cpufreq_get_hardware_limits(cpu, &min, &max)) { 285 print_speed(min, no_rounding); 290 printf("%lu %lu\n", min, max); 319 print_speed(policy->min, no_rounding);
|
/linux-master/lib/ |
H A D | idr.c | 368 * @min: Lowest ID to allocate. 372 * Allocate an ID between @min and @max, inclusive. The allocated ID will 380 int ida_alloc_range(struct ida *ida, unsigned int min, unsigned int max, argument 383 XA_STATE(xas, &ida->xa, min / IDA_BITMAP_BITS); 384 unsigned bit = min % IDA_BITMAP_BITS; 388 if ((int)min < 0) 398 if (xas.xa_index > min / IDA_BITMAP_BITS) 455 xas.xa_index = min / IDA_BITMAP_BITS; 456 bit = min % IDA_BITMAP_BITS; 469 xas_set(&xas, min / IDA_BITMAP_BIT [all...] |
/linux-master/drivers/hwmon/ |
H A D | menf21bmc_hwmon.c | 138 static SENSOR_DEVICE_ATTR_RO(in0_min, min, 0); 142 static SENSOR_DEVICE_ATTR_RO(in1_min, min, 1); 146 static SENSOR_DEVICE_ATTR_RO(in2_min, min, 2); 150 static SENSOR_DEVICE_ATTR_RO(in3_min, min, 3); 154 static SENSOR_DEVICE_ATTR_RO(in4_min, min, 4);
|
/linux-master/arch/mips/sibyte/swarm/ |
H A D | rtc_m41t81.c | 150 * believe we should finish writing min within a second. 188 unsigned int year, mon, day, hour, min, sec; local 192 * min is valid if two reads of sec are the same. 197 min = m41t81_read(M41T81REG_MN); 208 min = bcd2bin(min); 216 return mktime64(year, mon, day, hour, min, sec);
|
H A D | rtc_xicor1241.c | 169 unsigned int year, mon, day, hour, min, sec, y2k; local 174 min = xicor_read(X1241REG_MN); 191 min = bcd2bin(min); 200 return mktime64(year, mon, day, hour, min, sec);
|
/linux-master/drivers/macintosh/ |
H A D | windfarm_pid.c | 71 target = max(target, st->param.min); 72 target = min(target, st->param.max); 120 adj = min(st->param.ttarget, sval); 138 target = max(target, st->param.min); 139 target = min(target, st->param.max);
|
/linux-master/block/ |
H A D | early-lookup.c | 199 unsigned maj, min, offset; local 202 if (sscanf(name, "%u:%u%c", &maj, &min, &dummy) == 2 || 203 sscanf(name, "%u:%u:%u:%c", &maj, &min, &offset, &dummy) == 3) { 204 *devt = MKDEV(maj, min); 205 if (maj != MAJOR(*devt) || min != MINOR(*devt))
|
/linux-master/drivers/parisc/ |
H A D | ccio-dma.c | 1037 unsigned long avg = 0, min, max; local 1059 min = max = ioc->avg_search[0]; 1064 if(ioc->avg_search[j] < min) 1065 min = ioc->avg_search[j]; 1068 seq_printf(m, " Bitmap search : %ld/%ld/%ld (min/avg/max CPU Cycles)\n", 1069 min, avg, max); 1076 min = ioc->usingle_calls - ioc->usg_calls; 1079 min, max, (int)((max * 1000)/min)); 1393 unsigned long min, unsigne 1392 new_ioc_area(struct resource *res, unsigned long size, unsigned long min, unsigned long max, unsigned long align) argument 1411 expand_ioc_area(struct resource *res, unsigned long size, unsigned long min, unsigned long max, unsigned long align) argument 1443 ccio_allocate_resource(const struct parisc_device *dev, struct resource *res, unsigned long size, unsigned long min, unsigned long max, unsigned long align) argument [all...] |