Searched refs:min (Results 276 - 300 of 1295) sorted by relevance

<<11121314151617181920>>

/drivers/cpufreq/
H A Dcpufreq_governor.c439 else if (policy->min > cpu_cdbs->cur_policy->cur)
441 policy->min, CPUFREQ_RELATION_L);
H A Dcpufreq_interactive.c143 pcpu->target_freq > pcpu->policy->min) {
166 pcpu->target_freq > pcpu->policy->min) {
541 hvt = min(hvt, pjcpu->loc_hispeed_val_time);
1244 else if (policy->min > policy->cur)
1246 policy->min, CPUFREQ_RELATION_L);
1259 else if (policy->min > pcpu->target_freq)
1260 pcpu->target_freq = policy->min;
/drivers/gpu/drm/
H A Ddrm_rect.c46 r1->x2 = min(r1->x2, r2->x2);
47 r1->y2 = min(r1->y2, r2->y2);
/drivers/gpu/drm/nouveau/core/core/
H A Dmm.c147 this = region_head(mm, this, min(size_max, e - s));
217 a = min(a, size_max);
/drivers/gpu/drm/nouveau/core/engine/graph/
H A Dnv04.c538 u32 min = data & 0xffff, max; local
540 if (min & 0x8000)
546 max = min + w;
548 nv_wr32(priv, 0x40053c, min);
559 u32 min = data & 0xffff, max; local
561 if (min & 0x8000)
567 max = min + w;
569 nv_wr32(priv, 0x400540, min);
/drivers/gpu/drm/radeon/
H A Dradeon_atpx_handler.c166 size = min(sizeof(output), size);
216 size = min(sizeof(output), size);
H A Dradeon_cursor.c234 xorigin = min(-x, radeon_crtc->max_cursor_width - 1);
238 yorigin = min(-y, radeon_crtc->max_cursor_height - 1);
/drivers/media/pci/cx88/
H A Dcx88-dsp.c202 (max(stereo, dual) > min(stereo, dual))) {
212 (max(stereo, dual) > min(stereo, dual)*2)) {
/drivers/media/platform/omap3isp/
H A Disph3a_af.c26 #define IS_OUT_OF_BOUNDS(value, min, max) \
27 (((value) < (min)) || ((value) > (max)))
/drivers/mfd/
H A Dcros_ec_spi.c171 todo = min(todo, need_len);
186 todo = min(need_len, 256);
/drivers/net/ethernet/intel/ixgbe/
H A Dixgbe_dcb.c62 int val = min(bw[i] * multiplier, MAX_CREDIT_REFILL);
140 credit_refill = min(link_percentage * min_multiplier,
/drivers/net/wireless/ath/ath9k/
H A Deeprom_4k.c555 min(twiceMaxEdgePower,
564 minCtlPower = (u8)min(twiceMaxEdgePower, scaledPower);
570 min((u16)targetPowerCck.tPow2x[i],
577 min((u16)targetPowerOfdm.tPow2x[i],
584 min((u16)targetPowerHt20.tPow2x[i],
590 min((u16)targetPowerCckExt.tPow2x[0],
595 min((u16)targetPowerOfdmExt.tPow2x[0],
601 min((u16)targetPowerHt40.tPow2x[i],
/drivers/net/wireless/mwifiex/
H A D11ac.c136 min(mcs_user, mcs_resp));
158 min(mcs_user, mcs_resp));
/drivers/platform/x86/
H A Dintel_mid_thermal.c112 * @min: minimum value for the sensor
117 static int is_valid_adc(uint16_t adc_val, uint16_t min, uint16_t max) argument
119 return (adc_val >= min) && (adc_val <= max);
/drivers/regulator/
H A Ds2mpa01.c285 #define regulator_desc_buck6_10(num, min, step) { \
291 .min_uV = min, \
H A Ds2mps11.c305 #define regulator_desc_s2mps11_buck6_10(num, min, step) { \
311 .min_uV = min, \
467 #define regulator_desc_s2mps14_ldo(num, min, step) { \
473 .min_uV = min, \
482 #define regulator_desc_s2mps14_buck(num, min, step) { \
488 .min_uV = min, \
/drivers/rtc/
H A Drtc-bfin.c89 u32 min = (now % (60 * 60)) / 60; local
93 (min << MIN_BITS_OFF) +
/drivers/scsi/libsas/
H A Dsas_host_smp.c184 u8 phy_op, enum sas_linkrate min,
213 rates.minimum_linkrate = min;
183 sas_phy_control(struct sas_ha_struct *sas_ha, u8 phy_id, u8 phy_op, enum sas_linkrate min, enum sas_linkrate max, u8 *resp_data) argument
/drivers/tty/hvc/
H A Dhvsi_lib.c201 unsigned int l = min(count, (int)pv->inbuf_pktlen);
233 int rc, adjcount = min(count, HVSI_MAX_OUTGOING_DATA);
/drivers/usb/gadget/function/
H A Duvc_video.c52 nbytes = min((unsigned int)len, buf->bytesused - queue->buf_used);
77 len = min((int)(video->max_payload_size - video->payload_size), len);
/drivers/video/fbdev/omap2/displays-new/
H A Dconnector-dvi.c186 l = min(EDID_LENGTH, len);
195 l = min(EDID_LENGTH, len - EDID_LENGTH);
/drivers/video/adf/
H A Dadf_fops.c92 if (copy_to_user(dst, custom_data, min(*dst_size, custom_data_size))) {
131 sizeof(u32) * min(n_supported_formats,
419 size_t n = min(n_to, n_from);
589 modelist_size = min(data.n_available_modes, intf->n_modes) *
879 event_buf = kmalloc(min(buffer_size, sizeof(fpriv->event_buf)),
894 copy_size = min(buffer_size, cnt);
/drivers/mtd/nand/
H A Dpxa3xx_nand.c326 #define NDTR0_tCH(c) (min((c), 7) << 19)
327 #define NDTR0_tCS(c) (min((c), 7) << 16)
328 #define NDTR0_tWH(c) (min((c), 7) << 11)
329 #define NDTR0_tWP(c) (min((c), 7) << 8)
330 #define NDTR0_tRH(c) (min((c), 7) << 3)
331 #define NDTR0_tRP(c) (min((c), 7) << 0)
333 #define NDTR1_tR(c) (min((c), 65535) << 16)
334 #define NDTR1_tWHR(c) (min((c), 15) << 4)
335 #define NDTR1_tAR(c) (min((c), 15) << 0)
485 unsigned int do_bytes = min(inf
[all...]
/drivers/net/wireless/
H A Dwl3501_cs.c82 int min, max, deflt; member in struct:__anon4764
86 .min = 1,
92 .min = 1,
98 .min = 1,
104 .min = 10,
110 .min = 10,
116 .min = 14,
122 .min = 1,
128 .min = 3,
147 rc = channel >= iw_channel_table[i].min
[all...]
/drivers/isdn/i4l/
H A Disdn_ppp.c279 isdn_ppp_open(int min, struct file *file) argument
284 if (min < 0 || min >= ISDN_MAX_CHANNELS)
294 slot, min, is->state);
317 is->minor = min;
337 isdn_ppp_release(int min, struct file *file) argument
342 if (min < 0 || min >= ISDN_MAX_CHANNELS)
351 printk(KERN_DEBUG "ippp: release, minor: %d %lx\n", min, (long) is->lp);
470 isdn_ppp_ioctl(int min, struc argument
782 isdn_ppp_read(int min, struct file *file, char __user *buf, int count) argument
822 isdn_ppp_write(int min, struct file *file, const char __user *buf, int count) argument
[all...]

Completed in 4460 milliseconds

<<11121314151617181920>>